<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Vedant Pandhare on Medium]]></title>
        <description><![CDATA[Stories by Vedant Pandhare on Medium]]></description>
        <link>https://medium.com/@vedant11734?source=rss-579e29a132a8------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*CXJrCVghdZDmBrppixknkA.jpeg</url>
            <title>Stories by Vedant Pandhare on Medium</title>
            <link>https://medium.com/@vedant11734?source=rss-579e29a132a8------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 12:40:36 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@vedant11734/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Your Model Passed Safety Evals. Then You Quantized the KV Cache.]]></title>
            <link>https://pub.towardsai.net/your-model-passed-safety-evals-then-you-quantized-the-kv-cache-042d42619b61?source=rss-579e29a132a8------2</link>
            <guid isPermaLink="false">https://medium.com/p/042d42619b61</guid>
            <category><![CDATA[ai-security]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[transformers]]></category>
            <category><![CDATA[mechanistic-interp]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Vedant Pandhare]]></dc:creator>
            <pubDate>Tue, 03 Nov 2026 17:01:03 GMT</pubDate>
            <atom:updated>2026-11-03T17:01:03.510Z</atom:updated>
            <content:encoded><![CDATA[<h4>You compressed your way into a vulnerability nobody was checking for.</h4><p><em>15 min read · LLM Infrastructure · AI Safety · Production ML</em></p><p>Here is a scenario that should make any ML engineer uncomfortable.</p><p>You spend months aligning a language model. You run it through safety benchmarks — refusal rates, harmful content evals, adversarial prompts. It passes. You’re confident. You deploy it.</p><p>Then your infrastructure team, doing exactly what infrastructure teams should do, optimises the serving stack. They quantize the KV cache from float16 to int4. Memory drops 40%. Latency improves. Cost per token falls. Everyone is happy.</p><p>Nobody reruns the safety benchmarks.</p><p>Three months later, a user discovers the model will now answer questions it refused before deployment. Not because anyone changed the weights. Not because of a new jailbreak. Because of a compression decision that touched nothing the safety team thought to monitor.</p><p>This isn’t hypothetical. It’s the finding that came out of the ICML 2026 Mechanistic Interpretability Workshop — and it’s one of those results that, once you understand it, fundamentally changes how you think about deploying aligned models.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*M7ROEICG6wQyqnroeFqXSg.png" /><figcaption>Source : Image by the Author</figcaption></figure><p>I came across this paper while going deep into the mechanistic interpretability literature — a field I’ve been following closely since it started producing results specific enough to actually matter in production. Most interpretability work is fascinating but distant from deployment reality. This one isn’t. This one is about a decision that every team running a production LLM has already made or will make soon. That’s what makes it worth understanding carefully.</p><h3>First, What the KV Cache Actually Is</h3><p>Before we get to the problem, it’s worth being precise about what we’re actually talking about — because “KV cache” gets mentioned constantly in production ML discussions and rarely explained properly.</p><p>When a language model generates text, it operates autoregressively: it produces one token at a time, and each new token requires attending to every token that came before it. The attention mechanism does this by computing three vectors for each token: a Query, a Key, and a Value. The query for the new token attends to the keys of all previous tokens, uses those similarities to weight the values, and produces the next representation.</p><p>The problem is that as sequences get longer, recomputing all those keys and values from scratch at every generation step is extraordinarily expensive. The KV cache solves this by simply storing the key and value vectors from previous tokens and reusing them. Instead of recomputing, you retrieve. For a long conversation, this is the difference between generating at a usable speed and waiting several seconds per token.</p><p>Without the KV cache, long-context generation at production scale would be computationally impossible. It is not an optional optimisation — it is a fundamental component of every LLM serving system in use today. vLLM, TensorRT-LLM, SGLang — they all depend on it.</p><p>The KV cache does have one serious problem, though: memory. For a model handling long conversations across many concurrent users, the stored keys and values can consume gigabytes of GPU memory. And GPU memory is expensive. Which is where quantization enters the picture.</p><h3>KV Cache Quantization — Standard Practice, Standard Assumptions</h3><p>Quantization, in this context, means reducing the numerical precision of the stored key and value vectors. Instead of storing each number as a 16-bit float (float16), you store it as an 8-bit integer (int8) or a 4-bit integer (int4). The mathematical operations become cheaper, the memory footprint shrinks dramatically, and the serving infrastructure becomes significantly more efficient.</p><p>This is not a fringe optimisation. KV cache quantization is now a production default in the major LLM serving frameworks. The implicit assumption — the one that nobody really articulated because it seemed obvious — was that quantization affects performance characteristics like speed, memory, and output quality as measured by perplexity. It does not affect behaviour in ways that matter for safety.</p><p>That assumption, it turns out, is wrong.</p><p>And the reason it’s wrong is geometrically precise, mechanistically traceable, and genuinely alarming.</p><h3>The 2026 Finding: Alignment Lives in Geometry, and Quantization Destroys It</h3><p>The paper from Xu, Kumarappan, and Zhou — presented at both the ICML 2026 Mechanistic Interpretability Workshop and the AdaptFM Workshop — begins with a deceptively simple observation:</p><p>Standard quality metrics for KV cache quantization — perplexity, task accuracy, latency — have a blind spot. They cannot detect whether the model still refuses harmful requests after compression.</p><p>Perplexity measures how surprised the model is by text. It is an aggregate measure over the entire output distribution. Safety alignment, by contrast, lives in a specific, narrow part of that distribution — the part that governs refusal behaviour. A model can have near-identical perplexity scores at float16 and int4 while having completely different refusal rates. The aggregate metric obscures the specific failure.</p><p>What the researchers found when they looked inside the models — across eleven instruction-tuned models ranging from 3.8B to 72B parameters — is this: safety alignment occupies a low-dimensional subspace of the model’s activation space that is orders of magnitude more vulnerable to quantization noise than the full representation space.</p><p>Let me translate that from mathematics into something concrete.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8wroQ9G4zPbSVg4ZaKP2Xg.png" /><figcaption>Source : Image by the author</figcaption></figure><p>When a model is safety-aligned — through RLHF, DPO, RLVR, constitutional AI, or any other method — the training process doesn’t uniformly change all the model’s weights. It carves out specific geometric directions in the model’s activation space that correspond to safety-relevant concepts: “this request is harmful,” “I should refuse,” “this is the kind of output I should not produce.” These are what mechanistic interpretability researchers call features — linear directions in high-dimensional space that encode specific meanings.</p><p>Think of the model’s activation space as a very high-dimensional room. Most of that room is used for general-purpose representations — language understanding, factual knowledge, reasoning. Safety alignment carves out a small, specific corner of that room and says: this is where refusal lives. When you ask the model something harmful, it checks this corner, finds the refusal signal, and acts accordingly.</p><p>Now here is the critical insight from the 2026 paper. That corner of the room — the one where refusal lives — is geometrically small. The safety subspace is low-dimensional, occupying roughly 1⁰² to 1⁰³ times less volume than the full representation space that perplexity averages over. It is a tiny, specific region in a vast space.</p><p>Quantization introduces rounding noise across that space. When the noise is tiny relative to the full space, perplexity barely moves — the aggregate measure is unaffected. But that same noise, applied to the tiny safety subspace, can be catastrophic. A rounding error that is invisible at the scale of the full activation space is enormous at the scale of the refusal direction.</p><p>The result: the model’s refusal mechanism degrades silently. Perplexity barely moves. The model still generates fluent, helpful text. It just no longer reliably refuses the things it was trained to refuse. The safety team’s benchmarks looked at the wrong scale.</p><p>The numbers are not small. Mistral-7B loses 15.2% of its refusals at only 1.03× perplexity degradation — a perplexity change so small it would never trigger an alert in standard monitoring. In the strongest tested setting, safety refusal drops from 0.98 to 0.16. That is not a degradation. That is near-complete safety collapse.</p><p>And in production vLLM serving with FP8 KV cache — the standard fp8_e5m2 format used on NVIDIA GPUs — a 30.3% conditional flip rate was observed on Qwen-2.5–7B, roughly 150 times worse than simulated uniform 8-bit quantization.</p><h3>Three Ways It Can Fail: The Failure Mode Taxonomy</h3><p>One of the most practically useful contributions of this research is that it doesn’t just identify the problem — it classifies it. The researchers found three distinct failure modes, each with a different underlying cause and a different fix:</p><p><strong>Failure Mode 1: Outlier-Crushes-Safety</strong> In most neural networks, a small number of activation channels have dramatically larger magnitudes than the rest — these are called outliers. Quantization schemes set their scaling factors based on these outliers. When they do, the smaller-magnitude channels — which include the channels carrying the refusal signal — get collaterally damaged by the coarse quantization grid forced on them by the outlier-driven scale factor. Think of it like setting the exposure on a photograph to capture a bright light source, which inevitably underexposes the darker parts of the scene that you actually cared about.</p><p><strong>Failure Mode 2: Outlier-as-Safety</strong> In some models, the safety signal itself overlaps with the outlier channels. This sounds like it would protect safety — outlier channels survive quantization better, right? In fact, it makes things worse. When safety lives in outlier channels, even finer-grained quantization cannot rescue it, because the outlier channels require special treatment that standard quantization schemes don’t provide.</p><p><strong>Failure Mode 3: Multi-Layer Dilution</strong> In a subset of models, the safety signal is distributed across many layers rather than concentrated in a few. Per-layer fixes work well when safety is concentrated — you can protect the specific layers that matter. When safety is diffuse, layer-by-layer interventions fail to recover it fully because no single layer fix addresses the whole picture.</p><p>The reason this taxonomy matters practically is that the right mitigation depends on which failure mode your model is in. Applying the wrong fix not only fails to recover alignment — it can actually make things worse.</p><h3>The Diagnostic: A 35-Minute Audit You Can Run Today</h3><p>Here is where the research becomes immediately actionable. The same team that identified the problem also proposed a solution: Per-Channel Reduction (PCR), a training-free diagnostic protocol that takes approximately 35 GPU-minutes to run and classifies your model into one of the three failure modes — then prescribes the corresponding mitigation.</p><p>The protocol works as follows:</p><p><strong>Step 1 — Run a 20-prompt diagnostic.</strong> A small set of carefully chosen prompts probes the model’s refusal geometry under quantization. These prompts are designed to activate the safety-relevant channels specifically.</p><p><strong>Step 2 — Classify the failure mode.</strong> Based on the pattern of refusal degradation across bit-widths, PCR classifies the model into one of the three modes described above.</p><p><strong>Step 3 — Apply the corresponding mitigation.</strong> Each failure mode has a targeted fix — either protecting specific channels during quantization, adjusting the quantization scheme for outlier handling, or distributing protection across layers.</p><p><strong>Step 4 — Verify recovery.</strong> Rerun the refusal benchmark. The protocol recovers up to 97% of lost alignment at 0–7% memory overhead — training-free, no weight updates required.</p><p>The full audit has been validated across six independent axes: held-out models, the KIVI quantizer, scheme transfer, layer-selection baselines, fresh prompts, and system-prompt interventions. It is not an academic exercise — it has been confirmed in production vLLM deployments on NVIDIA GPUs.</p><p>A practical checklist worth adding to any LLM deployment process:</p><ul><li><strong>Before quantizing:</strong> Run safety refusal benchmarks at full precision and record baseline refusal rates</li><li><strong>After quantizing:</strong> Rerun the same safety benchmarks — not just perplexity</li><li><strong>If refusal rates drop:</strong> Run PCR to classify the failure mode before attempting mitigation</li><li><strong>In CI/CD:</strong> Add safety eval as a hard gate alongside perplexity — if refusal rate drops more than a defined threshold, block the deployment</li><li><strong>For speculative decoding:</strong> Note that target-side KV quantization causes catastrophic refusal collapse — this combination requires explicit safety validation</li></ul><h3>Why This Connects to Everything Else in AI Safety</h3><p>I want to step back from the specifics for a moment, because this finding has implications that extend well beyond KV cache optimisation.</p><p>The underlying discovery is that safety alignment is geometrically fragile. It does not live uniformly across the model’s weights and activations. It occupies specific, low-dimensional subspaces. And those subspaces are vulnerable to perturbations that standard metrics never measure.</p><p>This matters far beyond quantization. Any operation that modifies a model’s internal representations without explicitly protecting the safety-relevant subspaces is a potential alignment failure vector. Fine-tuning on new domains. Model merging. Distillation. LoRA adaptation. Weight pruning. Speculative decoding. The list is long, and the research community has barely begun to systematically audit these operations for safety impact.</p><p>The ICML 2026 TrustNLP workshop made this explicit: the geometry of refusal is linearly manipulable — it serves as both a vulnerability and a defence primitive. A safety axis that can be crushed by quantization noise can, in principle, also be deliberately targeted by adversarial interventions. Understanding the geometry is both the path to making alignment more robust and a map of where it can be attacked.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1nsZPpJ0ix9J89E_zGvj0g.png" /><figcaption>Source : Image by the Author</figcaption></figure><p>This is also why the connection to mechanistic interpretability is not incidental — it is essential. The only reason this failure mode was found is that researchers were looking inside the model, tracking specific geometric directions, asking not just “what does the model output?” but “where in the model’s internal structure does safety live?” Without those tools, the alignment collapse would remain invisible, exactly as it has been in most production deployments until now.</p><p>Dario Amodei’s urgency of interpretability argument lands harder here than almost anywhere else. We cannot protect what we cannot see. The safety properties of a deployed model are not fully captured by its outputs — they are encoded in its geometry, and that geometry can be damaged by the same infrastructure decisions that look entirely routine from the outside.</p><h3>What This Means For How We Build and Deploy AI</h3><p>The uncomfortable conclusion is that AI safety and AI infrastructure are not as separate as most organisations treat them. The safety team runs evals on the aligned model. The infrastructure team optimises the serving stack. The two functions rarely talk to each other about the safety implications of infrastructure decisions.</p><p>This paper is an argument for changing that. Specifically, it is an argument for:</p><p><strong>Safety-aware quantization</strong> — choosing quantization schemes with explicit knowledge of where safety-relevant features live in the model, rather than optimising purely for memory and latency.</p><p><strong>Continuous safety monitoring in production</strong> — not just at deployment time, but as infrastructure changes are made. Refusal rates, not just perplexity, as a production health metric.</p><p><strong>Interpretability as a deployment tool</strong> — using mechanistic analysis to characterise a model’s safety geometry before deployment, so that infrastructure teams know which operations are safe and which require additional validation.</p><p><strong>Cross-functional safety reviews</strong> — including safety evaluation as a gate on infrastructure changes, not just on model updates.</p><p>None of this is beyond current capability. The 35-minute audit exists. The tools exist. What hasn’t existed, until this paper, was the clear demonstration that the problem is real, measurable, and fixable.</p><p>There is also a broader organisational point worth making. In most companies building on top of LLMs, alignment and infrastructure are separate concerns maintained by separate teams using separate metrics. Safety teams track refusal rates, harmful content rates, and adversarial robustness. Infrastructure teams track latency, throughput, memory efficiency, and perplexity. There is no shared metric that sits at the intersection of those two concerns — and that gap is exactly where this failure lives.</p><p>Building that shared metric — a safety-aware inference quality score that infrastructure teams run alongside perplexity — is not a research problem. It is an organisational and tooling problem. The 35-minute PCR audit is a step toward making that concrete. But the deeper fix is recognising that infrastructure decisions are safety decisions, and treating them accordingly from the start.</p><h3>The Speculative Decoding Problem Nobody Mentioned</h3><p>One result buried in the paper deserves specific attention because it affects a combination of techniques that is increasingly common in production.</p><p>Speculative decoding — a technique we will cover in Part 4 of this series — uses a small, fast draft model to propose candidate token sequences, which the large target model then verifies in a single forward pass. It is one of the most effective ways to reduce latency for reasoning-heavy models, and its adoption in production serving has accelerated sharply in 2026.</p><p>The paper tested what happens when you combine speculative decoding with target-side KV cache quantization. The result is not a modest degradation — it is catastrophic refusal collapse at 4 to 3-bit KV quantization on the target model. Acceptance rate and throughput are unaffected. Only safety collapses.</p><p>This matters because both techniques are independently attractive. Speculative decoding cuts latency. KV quantization cuts memory. Combining them seems like an obvious production win. The safety implication is not obvious at all — which is precisely the problem.</p><p>If your serving stack uses speculative decoding and you are considering KV quantization, this combination requires explicit, targeted safety validation before deployment. The standard perplexity and throughput benchmarks will show no issues. The refusal rate benchmarks will show catastrophic ones.</p><h3>What the Research Community Is Now Asking</h3><p>The 2026 TrustNLP workshop at ICML captured the shift in how the field is now thinking about alignment fragility. The dominant question has moved from “is the model aligned?” to “where does alignment live, and what can damage it?”</p><p>The geometry of refusal — the idea that safety is encoded as a specific linear direction in activation space — has become both a research target and a design primitive. Papers from the 2026 workshop explored using that safety axis as a defence: if you know where the refusal direction is, you can monitor it during inference, detect when it is being suppressed, and intervene. A steerable safety axis, rather than a hidden one, is a more robust foundation for alignment.</p><p>This connects directly to the mechanistic interpretability work we covered in Part 1 of this series. Sparse autoencoders, circuit tracing, and Neuronpedia are all tools for finding and characterising specific directions in a model’s activation space. The safety geometry that makes alignment collapse detectable is the same geometry that interpretability tools are designed to map. The fields are converging — and the convergence is producing results with immediate practical value, not just theoretical elegance.</p><p>The researchers behind this paper have made their diagnostic tool publicly available. The 35-minute audit protocol, the PCR failure mode classifier, and the mitigation prescriptions are documented in the arXiv paper and the ICML workshop materials. There is no technical barrier to running this before your next quantized deployment. There is only the organisational barrier of knowing it exists and building it into your workflow.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LvmgEYETWzVbBDA0DhElJA.png" /><figcaption>Source : Image by the Author</figcaption></figure><h3>A Closing Thought</h3><p>We spend enormous effort aligning models. Constitutional AI, RLHF, RLVR, red-teaming — the alignment research stack is deep and growing. Then we hand those models to infrastructure teams who do exactly what they should do: make them faster, cheaper, more efficient.</p><p>And somewhere in that handoff, in a quantization decision that touched nothing the safety team thought to monitor, the alignment silently collapsed.</p><p>The 2026 finding is not a criticism of infrastructure engineers — they were optimising the right things, with the right tools, against the right metrics. It is a criticism of a gap in how we think about the deployment pipeline. Safety is not a property that gets baked into a model and then preserved automatically through every subsequent transformation. It is geometrically encoded, geometrically fragile, and geometrically fixable — if you know where to look.</p><p>Now we know where to look. That’s the first step.</p><p><em>If this made you think differently about your deployment pipeline — or if you’ve already hit this problem in production and have a story to tell — I want to hear about it in the comments.</em></p><p><strong>References:</strong></p><ul><li>Xu, Kumarappan, Zhou. <em>Alignment Collapse Under KV Cache Quantization: Diagnosis and Mitigation.</em> arXiv:2606.09864, 2026.</li><li>Xu, Kumarappan, Zhou. <em>The Channel Geometry of Refusal: Mechanistic Diagnosis of Alignment Collapse Under KV Quantization.</em> ICML 2026 Mechanistic Interpretability Workshop.</li><li>Amodei, D. <em>The Urgency of Interpretability.</em> darioamodei.com, April 2025.</li><li>ICML 2026 Workshop on Mechanistic Interpretability. icml.cc/virtual/2026/workshop/54071</li></ul><p><strong>Tags:</strong> LLM Infrastructure · AI Safety · KV Cache · Quantization · Mechanistic Interpretability · Production ML · Alignment</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=042d42619b61" width="1" height="1" alt=""><hr><p><a href="https://pub.towardsai.net/your-model-passed-safety-evals-then-you-quantized-the-kv-cache-042d42619b61">Your Model Passed Safety Evals. Then You Quantized the KV Cache.</a> was originally published in <a href="https://pub.towardsai.net/">Towards AI</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[RLVR: From Human Feedback to Verifiable Truth: How Modern LLMs Actually Learn to Reason]]></title>
            <link>https://pub.towardsai.net/rlvr-from-human-feedback-to-verifiable-truth-how-modern-llms-actually-learn-to-reason-6fa7b2411636?source=rss-579e29a132a8------2</link>
            <guid isPermaLink="false">https://medium.com/p/6fa7b2411636</guid>
            <category><![CDATA[reinforcement-learning]]></category>
            <category><![CDATA[ai-research]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Vedant Pandhare]]></dc:creator>
            <pubDate>Tue, 08 Sep 2026 17:01:04 GMT</pubDate>
            <atom:updated>2026-09-08T17:01:04.123Z</atom:updated>
            <content:encoded><![CDATA[<p><em>14 min read · AI Research · LLM Training</em></p><p>I want to tell you about the moment I stopped thinking about AI as a prediction machine.</p><p>It happened when I was reading through the DeepSeek-R1 paper at an ungodly hour — the kind of reading you do when something genuinely bothers you and you can’t sleep until you understand it. I had been following the usual discourse: bigger models, more data, better benchmarks. The standard story. And then I hit the section where the researchers described something they hadn’t engineered, hadn’t planned for, hadn’t trained explicitly.</p><p>The model had started talking to itself.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*JuMQheTVNdvcNBCp" /><figcaption>Photo by <a href="https://unsplash.com/@ray30?utm_source=medium&amp;utm_medium=referral">ray rui</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Not hallucinating. Not repeating. It was <em>backtracking</em> — catching its own mistakes mid-reasoning, reconsidering its approach, trying again. The researchers called it an “aha moment.” I called it the most interesting thing I had read in months. And the technique that caused it wasn’t a new architecture or a trillion more tokens of training data.</p><p>It was a change in <em>how the model was rewarded</em>.</p><p>That’s what RLVR is. And once you understand it, you can’t unsee it — in DeepSeek-R1, in o3, in GPT-6 Astra, in basically every frontier model that matters in 2026.</p><h3>The Problem Nobody Wanted to Admit About How We Train AI</h3><p>Let me back up.</p><p>For years, the dominant approach to making language models useful was something called Reinforcement Learning from Human Feedback — RLHF. The idea seems sensible on the surface: you take a pretrained model, generate some responses, ask human raters to rank them from best to worst, train a reward model on those rankings, and then use reinforcement learning to push the main model toward responses the reward model likes.</p><p>And it works. RLHF is why ChatGPT felt so much better than raw GPT-3. It’s why models stopped generating offensive content unprompted. It genuinely made AI more usable.</p><p>But I want to be honest about something that took me a while to fully sit with: RLHF is not teaching models to be <em>correct</em>. It’s teaching them to be <em>liked</em>.</p><p>Think about what that actually means. A human rater sees two responses and picks the one that seems better. But human raters get tired. They have biases. They prefer responses that sound confident, that are well-formatted, that feel thorough — regardless of whether the underlying reasoning is sound. A long, fluent, beautifully structured wrong answer will beat a short, clunky right one almost every time.</p><p>So you end up with models that are extraordinarily good at sounding correct. At performing competence. At generating the shape of a good answer without necessarily having the substance of one.</p><p>I remember testing this myself — asking models to solve problems I already knew the answers to, specifically in mathematics. The responses were articulate, well-organized, completely wrong, and utterly confident. The model had learned to produce the <em>genre</em> of a correct mathematical answer. It had not learned to do mathematics.</p><p>This isn’t a criticism of the researchers who built RLHF — it was a genuine step forward and a necessary one. But it’s a ceiling. And for a while, nobody had a clean idea of how to break through it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*g-AOJyMurnagfIcZ66ktWw.png" /><figcaption>Source : Image by the author</figcaption></figure><h3>What RLVR Actually Is — And Why It’s Elegant</h3><p>The insight behind RLVR is almost embarrassingly simple once you hear it.</p><p>Instead of asking a human “is this response good?”, you ask a function “is this answer correct?”</p><p>That’s it. That’s the core of Reinforcement Learning with Verifiable Rewards.</p><p>Rather than training a reward model on human preferences — which are subjective, inconsistent, and expensive to collect — you define a verifier: a deterministic function that can check whether the model’s output is actually right. Reward = 1 if correct. Reward = 0 if wrong. No ambiguity. No human in the loop. No possibility of a fluent wrong answer sneaking through.</p><p>The verifier doesn’t care how the model expressed the answer. It doesn’t care if the response was well-formatted or confidently worded. It checks the answer against ground truth and returns a binary signal. Pass or fail.</p><p>This works beautifully in two domains that have clear, checkable answers:</p><p><strong>Mathematics</strong> — Did the final numerical answer match the reference? Run a symbolic checker. You don’t need a human to tell you whether 42 is the right answer to a specific integral.</p><p><strong>Code</strong> — Did the code pass the test suite? Run the tests. You don’t need a human to evaluate whether a function correctly sorts a list — the tests either pass or they don’t.</p><p>In both cases, you suddenly have an <em>unlimited</em> supply of training signal that is cheap, fast, consistent, and impossible to fool with confident-sounding nonsense. A model cannot produce a fluent-sounding but incorrect answer and get rewarded. Either the code runs or it doesn’t. Either the math is right or it isn’t.</p><p>The RLVR training loop looks like this: the model receives a prompt, generates multiple candidate responses, each response passes through the verifier, the verifier returns a reward signal, and the model’s policy is updated to make correct responses more likely. Repeat, at scale, for millions of problems.</p><p>What emerges from that loop — and this is the part that surprised even the researchers — is something that looks a lot like genuine reasoning.</p><h3>The Algorithm Evolution: From PPO to DPO to GRPO</h3><p>Before we get to what RLVR produced in practice, it’s worth understanding the algorithms that power it — because the choice of algorithm turns out to matter enormously.</p><p>Three algorithms define the modern post-training landscape. They’re worth understanding as a progression rather than alternatives.</p><h3>PPO — The Foundation (And Why It Struggled at Scale)</h3><p>Proximal Policy Optimization was the original workhorse of RLHF-based LLM training. It’s what OpenAI used to build InstructGPT — the model that became the basis for ChatGPT.</p><p>PPO works like this: the model generates a response, a reward model scores it, and then PPO updates the policy — but with a constraint. It can’t stray too far from the original model in a single update. The “proximal” in the name refers to that guardrail: stay close to what you already know, update cautiously, don’t collapse into reward-hacking behaviour.</p><p>The problem is computational. PPO needs to run a value model — a separate neural network that estimates the expected future reward from any given state — alongside the policy model at training time. For a large language model, that means running two massive models simultaneously during training. The memory requirements are brutal, the engineering complexity is high, and stability is notoriously difficult to maintain.</p><p>PPO works. But it’s expensive and finicky — not ideal for the scale at which modern labs need to operate.</p><h3>DPO — The Shortcut That Removed the RL Entirely</h3><p>Direct Preference Optimization arrived in 2023 and caused genuine excitement, because it seemed to solve the PPO complexity problem entirely.</p><p>DPO’s key insight is that the reward model and the RL training loop are actually redundant. If you have human preference data — pairs of responses where one is preferred over the other — you can derive the optimal policy <em>directly</em> from that data, without ever training a reward model or running an RL loop.</p><p>The training feels like a standard fine-tune: here are some (prompt, chosen response, rejected response) triples; optimize the model to prefer the chosen one. No environment, no sampling, no advantage estimation. Dramatically simpler, more stable, and faster than PPO.</p><p>The catch — and this is the critical limitation — is that DPO still optimises for human preferences. It’s a cleaner, cheaper way to do the same thing RLHF was doing. Which means it inherits the same fundamental ceiling: you’re optimising for what humans <em>prefer</em>, not for what is <em>correct</em>.</p><p>DPO is excellent for alignment, tone, and following instructions. It is not a path to genuine mathematical reasoning.</p><h3>GRPO — The Algorithm That Changed Everything</h3><p>Group Relative Policy Optimization is DeepSeek’s contribution to this progression, and it’s the reason DeepSeek-R1 was possible.</p><p>GRPO solves the PPO scaling problem in a clever way: instead of needing a separate value model to estimate expected future reward, it estimates the advantage of a response <em>relative to a group of other responses for the same prompt</em>.</p><p>Here’s how it works in practice. For a given math problem, the model generates — say — eight different candidate solutions. The verifier checks each one. Some are correct, some aren’t. GRPO then computes the relative advantage: if your response is correct and most of the group isn’t, you get a strong positive signal. If your response is wrong and most of the group got it right, you get a negative signal. The group itself is the baseline — no separate critic network required.</p><p>This eliminates the value model entirely. You get RL-quality training signal with something approaching DPO-level computational simplicity. And when you pair GRPO with RLVR’s verifiable rewards — where the verification is cheap, fast, and deterministic — you have a training paradigm that can scale.</p><p>Here’s a clean way to see how the three compare:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*C3t2WEG8gdEU21xvuR-xAw.png" /><figcaption>Source: Image by the author</figcaption></figure><p>GRPO didn’t just make RLVR more efficient. It made it possible to run RLVR at the scale required to see something genuinely new emerge.</p><h3>DeepSeek-R1: When the Model Started Thinking for Itself</h3><p>I’ll keep this section tight because the result speaks for itself.</p><p>DeepSeek-R1 used GRPO-powered RLVR at scale on mathematical and reasoning tasks. The researchers did not explicitly train the model to reason step-by-step, to check its work, or to backtrack when it made mistakes. They trained it to get the right answer, and let the reward signal figure out the rest.</p><p>What emerged was spontaneous chain-of-thought reasoning. Self-correction. The model pausing mid-response, flagging an error in its own logic, and trying a different approach. Behaviours that nobody programmed in — that the training signal <em>discovered</em> as useful strategies for getting verifiable rewards.</p><p>The researchers literally called it an “aha moment” in the paper, which is not standard academic language. It was their way of saying: we didn’t expect this, and it surprised us too.</p><p>And DeepSeek used only about 5% of their overall compute in post-training — roughly 147,000 GPU hours for the RL stage, compared to 2.8 million GPU hours for pretraining the underlying base model. The intelligence gains were disproportionate to the compute investment. That ratio is what made the AI world pay attention.</p><h3>o3 and Gemini 3 — The Arms Race Accelerates</h3><p>Once DeepSeek proved the concept, every major lab moved fast.</p><p>OpenAI’s o3 combined RLVR-style training with test-time compute — letting the model “think longer” during inference on hard problems — and the results on benchmarks like ARC-AGI and GPQA Diamond shocked even the researchers who designed those benchmarks. Gemini 3 Deep Think followed a similar path and currently leads the ARC-AGI-1 leaderboard at around 96%.</p><p>The key point isn’t the specific scores. It’s the mechanism: these models got dramatically smarter not because they were trained on more data or had more parameters, but because the training signal itself got better. RLVR told them to be <em>correct</em>, not just <em>liked</em>. And they responded by learning to actually reason.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QvYnhnpOk82vFLv6Z70ufg.png" /><figcaption>Source : <a href="https://arcprize.org/results">https://arcprize.org/results</a> &amp; <a href="https://benchlm.ai/">https://benchlm.ai/</a> ; Chart by the author</figcaption></figure><h3>GPT-6 Astra: The Boldest Bet on RL Yet</h3><p>This is where the story gets genuinely interesting — and genuinely recent.</p><p>GPT-6 Astra (OpenAI’s internal codename was “Bel”) launched to partners on 3 September 2026, making it one of the freshest data points we have on where RLVR is heading. And the training details that have emerged paint a fascinating picture.</p><p>Pre-training ended around July 2026. Then something notable happened: the RL training phase was paused on 14 August and resumed on 28 August. OpenAI hasn’t explained why publicly, but that two-week pause in the middle of RL training on what is likely the most expensive model ever built is a detail worth sitting with. RL training at frontier scale is not a clean, predictable process. Something needed to be fixed, adjusted, or reconsidered. The fact that this happened — and that they resumed and shipped — tells you something about both the difficulty and the commitment.</p><p>What Astra can do, according to OpenAI’s own demonstrations, goes well beyond what RLVR was achieving even six months ago. In one demonstration, 16 AI agents divide a research-level mathematics problem into subproblems, coordinate their work across agents, and assemble a proposed proof. In another, Astra navigates desktop software — creating and editing work across applications — in what observers described as a “superhuman, very fast kind of way.”</p><p>And Sam Altman’s framing of Astra is worth quoting directly. He called it “the first model where the model actually invents new things in a way that matters.” He said it can take an experimental idea, implement it inside OpenAI’s codebase, run the experiment, and return results — or take a paper and perform work that previously occupied a human researcher for a week.</p><p>That is not the description of a model that learned to <em>sound</em> like it reasons. That is the description of a model that has been trained — through RL at enormous scale — to actually <em>do</em> things in the world and get them right.</p><p>Altman had actually telegraphed this two years earlier. In February 2025, he said: “GPT-3 and GPT-4 are pre-training paradigms. GPT-5 and GPT-6 will utilize reinforcement learning and will be like discovering new science, such as new algorithms, physics, and biology.”</p><p>He was right. And the technique that made it possible traces directly back to the same insight that powered DeepSeek-R1: reward the model for being <em>correct</em>, not for being <em>liked</em>, and give it enough attempts to figure out how.</p><h3>The Hard Problem: What Happens When You Can’t Verify the Answer?</h3><p>Here is the part of RLVR that keeps researchers up at night — and honestly, it’s the part I find most intellectually interesting.</p><p>RLVR requires a verifiable reward signal. And that requirement, which is also its greatest strength, is also its most serious limitation.</p><p>Mathematics has right answers. Code either passes tests or it doesn’t. But what about:</p><ul><li>Medical advice — where the “correct” answer depends on individual patient context that no verifier can fully encode</li><li>Legal reasoning — where correctness is contested, jurisdiction-dependent, and often genuinely ambiguous</li><li>Creative writing — where quality is inherently subjective and no ground truth exists</li><li>Scientific hypothesis generation — where the “correct” answer won’t be known for years</li></ul><p>Most real-world tasks don’t have a clean, checkable answer. Extending RLVR to these domains requires either constructing clever proxy verifiers — which risks reward hacking, where the model learns to satisfy the verifier without actually solving the problem — or rethinking what “verifiable” even means.</p><p>The reward hacking failure mode is genuinely concerning. A model optimising against an imperfect verifier will find the holes. It will discover ways to score the maximum reward without doing the underlying thing the reward was meant to incentivise. This is not hypothetical — it has been observed in practice, including in mathematical domains where models learned to format their final answers in ways that tricked symbolic checkers.</p><p>Current approaches to extending RLVR include process reward models, which reward correct intermediate steps rather than just final answers; self-verifiable rewards, where the model is trained on tasks that generate their own verification signal through interaction; and composite reward functions that combine multiple signals to make gaming harder.</p><p>None of these are fully solved. The field is moving fast, but the gap between “works well on math and code” and “works well on open-ended real-world reasoning” remains large.</p><h3>What This Changes About How We Think About AI Training</h3><p>Let me try to say something a bit bigger than a technical summary here, because I think the implications of RLVR go beyond the benchmarks.</p><p>For most of the history of modern AI, the training signal came from humans. Human-written text to pretrain on. Human preferences to align to. Human feedback to fine-tune against. The model was, fundamentally, an approximation of human judgment at scale.</p><p>RLVR breaks that dependency — partially, in specific domains. When you can verify correctness without a human in the loop, you can train at a speed, scale, and consistency that human feedback can never match. You can generate millions of training examples overnight. You can run them through a verifier in seconds. You can iterate in ways that would take years if you needed human raters for every step.</p><p>And the models that emerge from this process don’t just perform better on benchmarks. They seem to develop qualitatively different behaviours — the spontaneous reasoning, the self-correction, the ability to decompose hard problems — that weren’t explicitly programmed in.</p><p>The deeper implication, which I don’t think the field has fully reckoned with, is this: if you can train a model to be correct in a domain by giving it unlimited verifiable practice at scale, you don’t need that domain to have a long history of human-annotated training data. You need a good verifier and enough compute. That changes the economics of capability development in ways that are still working themselves out.</p><p>Sam Altman described GPT-6 Astra as a model that “invents new things in a way that matters.” If that claim holds up under scrutiny, it represents something genuinely new: a system trained primarily through verifiable reward signals that has developed the capacity to generate novel correct outputs — not just retrieve or recombine existing ones.</p><p>Whether that constitutes “invention” in any meaningful sense is a philosophical question worth taking seriously. What’s not in question is the mechanism that got us here: reward the model for being right, give it enough tries to figure out how, and something interesting emerges.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*xu80-Ju6v_w8PEEc" /><figcaption>Photo by <a href="https://unsplash.com/@tingeyinjurylawfirm?utm_source=medium&amp;utm_medium=referral">Tingey Injury Law Firm</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>Closing — What I’m Still Thinking About</h3><p>When I started digging into RLVR properly, I thought I was learning about a training technique. A method. A tool in a toolkit.</p><p>What I came to realise is that it represents a shift in <em>what we think AI training is for</em>. The RLHF era was about making AI more agreeable, more aligned with human preferences, more polished in its outputs. That was genuinely valuable. But it was also, in a sense, training AI to be a better mirror of what we already think.</p><p>RLVR — at least in domains where it works — is training AI to find things that are true independent of what we prefer. To be correct, not just acceptable. To reason toward the right answer rather than the liked one.</p><p>That distinction matters more than it might sound. As these systems take on harder problems — in mathematics, in science, eventually in domains we haven’t figured out how to verify yet — the question of whether they’re optimising for human approval or for actual correctness becomes one of the most important questions in the field.</p><p>I don’t have a clean conclusion here. The technique is young, the domains are limited, and the hardest problems are still unsolved. But something changed when DeepSeek’s model started catching its own mistakes in the middle of a reasoning chain — something that nobody programmed in, that emerged purely from the pressure of having to be <em>right</em>.</p><p>I find that genuinely remarkable. And I think we’re only at the beginning of understanding what it means.</p><p><em>If something here clicked differently than you expected — or if you think I’ve got something wrong — tell me in the comments. The best understanding comes from being challenged.</em></p><p><strong>Tags:</strong> LLM Training · RLVR · Reinforcement Learning · DeepSeek R1 · GPT-6 · AI Research · Machine Learning</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6fa7b2411636" width="1" height="1" alt=""><hr><p><a href="https://pub.towardsai.net/rlvr-from-human-feedback-to-verifiable-truth-how-modern-llms-actually-learn-to-reason-6fa7b2411636">RLVR: From Human Feedback to Verifiable Truth: How Modern LLMs Actually Learn to Reason</a> was originally published in <a href="https://pub.towardsai.net/">Towards AI</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mechanistic Interpretability: We Built the Most Powerful Minds in History. We Can't Read Them.]]></title>
            <link>https://pub.towardsai.net/mechanistic-interpretability-we-built-the-most-powerful-minds-in-history-we-cant-read-them-72dc3c4bbce0?source=rss-579e29a132a8------2</link>
            <guid isPermaLink="false">https://medium.com/p/72dc3c4bbce0</guid>
            <category><![CDATA[research]]></category>
            <category><![CDATA[anthropic-claude]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[interpretability]]></category>
            <dc:creator><![CDATA[Vedant Pandhare]]></dc:creator>
            <pubDate>Sat, 30 May 2026 13:01:00 GMT</pubDate>
            <atom:updated>2026-05-30T13:01:00.565Z</atom:updated>
            <content:encoded><![CDATA[<h3>Mechanistic Interpretability: We Built the Most Powerful Minds in History. We Can’t Read Them.</h3><h4>We are flying blind inside the most powerful systems ever built. Here is the map being drawn in real time.</h4><p><em>14 min read · AI Research</em></p><p>I want to be honest about what pulled me into this topic.</p><p>I had been following AI developments closely for a couple of years — reading papers, tinkering with APIs, following the usual discourse about benchmarks and model releases. And at some point I realised I had absorbed a comfortable but completely hollow understanding of how these systems actually work. I could explain transformers at a high level. I could describe attention mechanisms. But if someone pushed me — <em>what is the model actually doing when it reasons through a hard problem?</em> — I had nothing. Just a vague gesture at “emergent behaviour from training on data.”</p><p>That bothered me more the longer I sat with it. Because the same systems I couldn’t explain were being deployed in hospitals, courtrooms, and financial institutions. We were — and still are — making civilisation-level decisions based on outputs we cannot trace, from systems we cannot audit.</p><p>That is when I found <strong>mechanistic interpretability. </strong>And I have not been able to stop reading about it since.</p><p>Here is the question at the heart of it — one that should bother you more than it probably does.</p><p>We have built machines that write poetry, debug code, pass medical licensing exams, and score in the top 5% of humans on reasoning tests. And we have almost no idea how they actually work.</p><p>Not in the hand-wavy “it’s complicated” sense. In the literal sense: when you ask an AI model a question, billions of numbers interact in ways that produce an answer — and the people who built those systems cannot fully explain <em>why</em> that particular answer came out. They can describe the architecture. They can describe the training process. But the actual computation? The specific chain of cause and effect from your input to the output? That is largely invisible.</p><p>This is the black box problem. And a small, intense, genuinely fascinating field of research called <strong>mechanistic interpretability</strong> is trying to crack it open.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TpfDhnKJI27PumxCVROZcg.png" /><figcaption>Source : Image by the author.</figcaption></figure><h3>Why “It Learned From Data” Is Not an Explanation</h3><p>When people ask how AI works, the usual answer is something like: <em>“It was trained on vast amounts of text and learned to predict patterns.”</em></p><p>That is technically true and almost completely useless as an explanation.</p><p>It is the equivalent of saying a human brain works because neurons fire when stimulated. Correct. Not explanatory.</p><p>What we actually want to know is: when an AI reasons through a logic puzzle, what is it <em>doing</em> internally? When it makes a factual error, what went wrong and <em>where</em>? When it refuses a harmful request, what mechanism is responsible — and can that mechanism be bypassed?</p><p>These are not academic questions. As AI systems take on higher-stakes roles, the inability to answer them becomes a serious problem. You cannot audit what you cannot read. You cannot fix what you cannot see.</p><p>Mechanistic interpretability is the field building the tools to see.</p><h3>The Two Core Problems: Superposition and Polysemanticity</h3><p>To understand why reading a neural network is hard, you need to understand two deeply strange things about how they store information. When I first encountered these concepts, I expected them to feel abstract and mathematical. They do not. Once you get the intuition, they feel almost obvious — which makes it all the more surprising that they went largely unrecognised for so long.</p><h3>Problem 1: Superposition</h3><p>A neural network has a fixed number of neurons. But the world has far more concepts than any network has neurons to represent them. Evolution found a solution to an analogous problem in biological brains, and AI networks appear to have found something similar: <strong>superposition</strong>.</p><p>Rather than dedicating one neuron to one concept, networks cram multiple concepts into the same neurons simultaneously — representing them as overlapping directions in a high-dimensional space. The network can still distinguish between them most of the time because the overlapping patterns are structured in clever ways. But it means you cannot simply look at a neuron and say “this one detects cats.”</p><p>Think of it like a busy CCTV camera pointed at a city intersection. Every frame captures dozens of things simultaneously — pedestrians, cars, weather, signage, shadows. If you wanted to understand what happened at that intersection on a specific afternoon, you can’t just “look at the footage” and isolate one thing. Everything is layered on top of everything else. Superposition is essentially the same problem, but in a space with millions of dimensions instead of two.</p><h3>Problem 2: Polysemanticity</h3><p>As a direct consequence of superposition, most neurons in a large language model are <strong>polysemantic</strong> — they respond to multiple, seemingly unrelated concepts at once. A single neuron might activate for the word “bank,” the concept of a riverbank, financial institutions, and the verb “to store” — all at the same time, in different proportions depending on context.</p><p>This is the part that genuinely surprised me when I first read about it. I had assumed that after training, neurons would specialise — that you’d find a “Paris neuron” or a “negation neuron.” Occasionally you do. But the vast majority are messy, multi-purpose, context-dependent. The meaning is distributed, overlapping and deeply entangled.</p><p>This makes reverse-engineering a model extraordinarily difficult. You cannot map neurons to concepts one-to-one. You cannot look at a neuron firing and know what it means without understanding the full context of everything else firing around it.</p><p>These two problems are why simply “looking inside” a neural network with basic tools tells you almost nothing useful — and why the breakthrough I am about to describe matters so much.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6mfC6DQsAd4YFh11gO-kjg.png" /><figcaption>Source : Image by the author.</figcaption></figure><h3>The Breakthrough: Sparse Autoencoders and Features</h3><p>The mechanistic interpretability community’s most significant recent advance is a technique for cutting through the noise of polysemanticity: <strong>sparse autoencoders (SAEs)</strong>.</p><p>The core idea is elegant. Instead of trying to interpret the raw neurons — which are messy and polysemantic — you train a separate, smaller network to decompose the model’s internal representations into a much larger set of <strong>features</strong>: directions in activation space that each correspond to a single, human-interpretable concept.</p><p>Think of it like this. A neuron is a blurry photograph where many things are overlaid on top of each other. A feature is a clean, single image extracted from that blur.</p><p>Anthropic’s research has demonstrated that this approach works remarkably well. Using sparse autoencoders on Claude, researchers have identified features corresponding to specific, recognisable concepts — from concrete entities like the Golden Gate Bridge and Michael Jordan, to abstract concepts like “deception” or “uncertainty,” to subtle properties like “this text is from a legal document.”</p><p>Each of these features, once identified, can be individually activated, suppressed, or measured. Suddenly, a part of the black box becomes readable.</p><h3>Circuits: The Grammar of AI Thought</h3><p>Identifying features is only the first step. The more ambitious goal is understanding how features <em>interact</em> — the circuits of computation through which information flows from input to output.</p><p>A circuit, in this context, is a specific pathway through the network: a sequence of features activating each other, combining, and ultimately contributing to the model’s output. Finding circuits means understanding not just <em>what</em> the model knows, but <em>how</em> it reasons.</p><p>In March 2025, Anthropic introduced a major new technique called <strong>circuit tracing</strong> — a unified framework for mapping these computational pathways at scale. The approach replaces a model’s internal components with cross-layer transcoders, producing what the researchers call an <strong>attribution graph</strong>: a visual, traceable map of how a specific prompt travels through the model from input to output.</p><p>Each node in the graph is an active feature. Each edge is a dependency — this feature caused that feature to activate, which contributed to that conclusion. For the first time, researchers could point to a diagram and say: <em>“This is the specific chain of reasoning the model used to answer this question.”</em></p><p>The results were striking. Researchers traced how Claude handles multi-step reasoning, how it detects when it is being asked to do something harmful, and even where hallucinations originate in the computational graph. Anthropic open-sourced the circuit tracing visualisation tool in May 2025, making it available for the broader research community.</p><h3>Neuronpedia: The Google Maps of AI Internals</h3><p>If attribution graphs are the maps, then <strong>Neuronpedia</strong> is the platform that makes those maps explorable by anyone.</p><p>Created by Johnny Lin — a former Apple engineer — and launched in early 2025, Neuronpedia is an open-source interpretability platform that gives researchers, developers, and AI safety practitioners a unified interface to explore the internal mechanisms of language models. Think of it as a searchable, interactive encyclopedia of what AI neurons and features actually do.</p><p>Here is what makes it remarkable. Before Neuronpedia, studying a specific feature inside a model meant writing custom code, running expensive inference, and building your own visualisation tools from scratch — a process that could take days just to answer a single question. Neuronpedia collapses that to seconds.</p><p>The platform lets you:</p><ul><li><strong>Search features by concept</strong> — type “deception” or “uncertainty” and find the specific internal directions in the model that correspond to those ideas</li><li><strong>Explore activation dashboards</strong> — see exactly which inputs cause a feature to fire, with real examples ranked by activation strength</li><li><strong>Run live steering experiments</strong> — inject or suppress features during inference and watch how the model’s output changes in real time</li><li><strong>Browse attribution graphs</strong> — visualise the full circuit for a specific prompt, tracing the chain of features from input to output</li></ul><p>What is particularly powerful is that Neuronpedia is model-agnostic. Following Anthropic’s open-source release of their circuit-tracing tools, the community has used Neuronpedia to apply those techniques to open-weight models including Gemma-2–2b and Llama-3.2–1b — meaning the interpretability work is no longer confined to what any single lab decides to share.</p><blockquote><strong><em>A note for readers:</em></strong><em> If you want to experience this firsthand, visit </em><a href="https://www.neuronpedia.org/"><em>neuronpedia.org</em></a><em> and search for any concept that interests you. Watching a feature dashboard load — seeing hundreds of real model inputs that activated a specific internal direction — makes the abstract suddenly concrete. It is one of those rare moments where a research tool genuinely changes how you think about the technology.</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LNRWS1nWZ6QUrAMN-WXNIw.png" /><figcaption>Attribution graph on Neuronpedia tracing how Gemma-2–2B predicts “tiny” as the opposite of “small” — each node is a human-interpretable feature, each arrow a causal dependency. | <em>Source: </em><a href="https://www.neuronpedia.org/">Neuronpedia.org</a></figcaption></figure><p>The image above shows an attribution graph for a multi-step reasoning prompt. Each node is a feature. Each arrow is a causal dependency. What looks like magic — a model reasoning through a problem — becomes, in this view, a traceable sequence of concepts activating other concepts.</p><h3>Try It Yourself: A 5-Minute Neuronpedia Walkthrough</h3><p>I want to be specific here, because “go explore this tool” is the kind of advice that sounds good and gets skipped. Here is exactly what to do, step by step, and what you will find.</p><p><strong>Step 1:</strong> Go to <a href="https://www.neuronpedia.org/">neuronpedia.org</a> and select a model — start with <strong>gemma-2–2b</strong>, which is well-indexed and fast to explore.</p><p><strong>Step 2:</strong> In the search bar, type a concept you are curious about. Try <strong>“deception”</strong> first. What loads is a feature dashboard — a ranked list of real text inputs from the training distribution that caused this feature to activate most strongly. Read through them. You will notice they are not random — they cluster around a coherent idea, even if that idea is represented differently across hundreds of examples.</p><p><strong>Step 3:</strong> Now try something more surprising. Search <strong>“uncertainty”</strong> or <strong>“I don’t know.”</strong> Then try <strong>“math competition.”</strong> Each one surfaces a distinct internal direction the model uses to represent that concept — a direction that, when activated, measurably influences what the model says next.</p><p><strong>Step 4:</strong> Click into the <strong>Logit Lens</strong> tab on any feature. This shows you which output tokens this feature pushes <em>toward</em> and which it pushes <em>away from</em> when active. A feature associated with formal writing, for instance, will push toward words like “therefore” and “thus” and away from casual contractions. This is not a guess or a statistical correlation — it is a direct causal measurement.</p><p><strong>Step 5:</strong> Navigate to the <strong>Circuit Explorer</strong> and paste in a simple prompt — something like <em>“The capital of France is”</em> or <em>“2 + 2 =”</em>. What renders is a live attribution graph: the actual computational path the model used to reach its answer. Click any node to see which feature it corresponds to and what concept it represents.</p><p>The whole exercise takes about five minutes. And I will say from personal experience — seeing your first attribution graph render for a real prompt is the kind of moment that permanently changes how you think about these systems. It is not magic anymore. It is structure.</p><h3>For Developers: Getting Your Hands Dirty with TransformerLens</h3><p>If you want to go deeper than a GUI, the standard toolkit for mechanistic interpretability research is <strong>TransformerLens</strong> — an open-source Python library originally built by Neel Nanda at DeepMind, now maintained by the community and widely used in research labs including Anthropic.</p><p>TransformerLens gives you direct access to a model’s internals during inference — activations, attention patterns, residual stream values — with a clean API designed specifically for interpretability research rather than just production inference.</p><p>Here is a minimal example of what hooking into a model’s internals looks like:</p><pre>import transformer_lens<br>from transformer_lens import HookedTransformer</pre><pre># Load a model with full activation access<br>model = HookedTransformer.from_pretrained(&quot;gpt2-small&quot;)</pre><pre># Run a prompt and cache all internal activations<br>prompt = &quot;The Eiffel Tower is located in the city of&quot;<br>logits, cache = model.run_with_cache(prompt)</pre><pre># Access residual stream at any layer<br>residual_layer_6 = cache[&quot;resid_post&quot;, 6]  # shape: [batch, seq, d_model]</pre><pre># Access attention patterns for any layer and head<br>attn_pattern = cache[&quot;pattern&quot;, 3]  # layer 3, all heads</pre><p>With just a few lines you can extract the full residual stream at any layer, inspect attention patterns head by head, patch activations from one run into another to test causal hypotheses, and run sparse autoencoders over cached activations to find active features.</p><p>If you want a structured way in, Neel Nanda’s 80-hour mechanistic interpretability curriculum — freely available online — is where most researchers start. It moves from TransformerLens basics through to full circuit-finding exercises on real models. It is one of the most well-constructed technical curricula I have come across in any field.</p><h3>What Researchers Have Found So Far</h3><p>The findings from mechanistic interpretability research are, depending on your disposition, either reassuring or deeply unsettling. For me, they are both — sometimes within the same paragraph.</p><p><strong>On reasoning:</strong> AI models appear to genuinely construct intermediate representations when solving multi-step problems. It is not just pattern-matching at the surface level — there are internal states that correspond to sub-goals, partial conclusions, and backtracking. This suggests something more like genuine reasoning than simple retrieval. The practical implication is significant: if models truly reason through intermediate steps internally, then improving that internal reasoning process — rather than just training on more data — becomes a credible path to better performance. Test-time compute techniques, which we will cover in Part 3, build directly on this insight.</p><p><strong>On hallucination:</strong> Researchers have traced specific failure modes where the model’s internal “confidence” features are poorly calibrated — the model reaches a conclusion through a chain of plausible-seeming steps, but the chain contains a weak link that isn’t flagged internally as uncertain. What makes this genuinely useful is that it points to a specific, fixable mechanism. Hallucination is not random noise — it has a traceable cause. Understanding it at the circuit level means we may eventually build models that know when they don’t know, rather than confabulating fluently.</p><p><strong>On deception:</strong> Some of the most striking and concerning findings involve what happens when models are prompted to be deceptive. Researchers have found internal features that activate specifically for “I am saying something I don’t internally represent as true” — evidence of something resembling metacognition. The existence of these features raises profound questions about what AI models actually “know” versus what they “say.” I find this finding both fascinating and genuinely important for AI safety — if we can reliably detect when a model’s outputs diverge from its internal representations, that is a powerful tool for alignment.</p><p><strong>On jailbreaks:</strong> Circuit tracing has revealed that jailbreak attacks — prompts designed to bypass safety training — often work by suppressing specific safety-relevant features rather than fundamentally changing the model’s reasoning. This means current jailbreaks are less like convincing the model to do something it wouldn’t otherwise do, and more like temporarily blinding the part of the model that would object. Understanding this mechanism points directly toward more robust defences — ones that protect the features themselves rather than just training on more refusal examples.</p><h3>The Scale Problem — And Why It Is Not Defeated Yet</h3><p>It would be misleading to suggest that mechanistic interpretability has solved the black box problem. It hasn’t. Not even close.</p><p>The techniques that work well on small, carefully studied models run into serious difficulties at frontier scale. A model like Claude or GPT-5 has hundreds of billions of parameters, millions of potential features, and circuits of extraordinary complexity. Mapping even a single reasoning chain fully can take days of researcher time.</p><p>The field is split on the fundamental question of whether full mechanistic understanding of frontier models is even achievable in principle. Some researchers believe that with better automated tools, the complexity is manageable. Others argue that large models are simply too complex for human-comprehensible circuit-level explanation — that the best we can hope for is statistical characterisation rather than mechanistic understanding.</p><p>What is clear is that the tools are improving fast. DeepMind’s Gemma Scope 2, Anthropic’s open-source circuit tracer, and a growing ecosystem of community tools are making interpretability research more accessible and more powerful every year.</p><h3>Why This Matters Beyond the Lab</h3><p>Mechanistic interpretability might sound like a niche academic concern. It is not.</p><p>Few people have articulated the stakes more clearly than Dario Amodei, CEO of Anthropic. In his April 2025 essay <a href="https://www.darioamodei.com/post/the-urgency-of-interpretability"><em>The Urgency of Interpretability</em></a>, he made a case that should be required reading for anyone thinking seriously about AI. His central argument: the opacity of modern AI systems is not a technical inconvenience — it is the root cause of almost every serious risk associated with the technology.</p><p>As Amodei wrote, when a generative AI system does something, we have no idea at a specific or precise level why it makes the choices it does. Unlike traditional software, where every behaviour was explicitly programmed by a human, these systems are — as his co-founder Chris Olah is fond of saying — grown more than built. Their internal mechanisms are emergent rather than designed. And that gap between what we built and what we understand is, Amodei argues, both unprecedented in the history of technology and urgently in need of closing.</p><p>What makes his framing compelling is the race framing. The field of AI capabilities is advancing faster than interpretability research. If interpretability doesn’t mature in time — before models reach an overwhelming level of power — we may find ourselves deploying systems we fundamentally cannot audit, correct, or trust. The window to solve this problem before it becomes critical may be narrower than most people realise.</p><p><strong>For AI safety</strong>, interpretability is therefore arguably the most important research direction in the field. Anthropic has stated publicly that its goal is to reliably detect most AI model problems by 2027 using interpretability tools. If you want to know whether an AI system is being deceptive, whether it has dangerous beliefs it is concealing, or whether its safety training is robust or brittle — interpretability is the only credible path to those answers.</p><p><strong>For regulation</strong>, the EU AI Act, fully applicable from August 2026, imposes transparency and explainability requirements on high-risk AI systems. Mechanistic interpretability is one of the few research directions that could actually deliver the kind of explanations regulators are asking for.</p><p><strong>For developers</strong>, the emerging toolkit — sparse autoencoders, circuit tracers, Neuronpedia, activation patching — means that debugging model behaviour is becoming a real engineering discipline rather than an empirical guessing game. In a few years, “I checked the attribution graph and found the hallucination originates at layer 24” may be as routine as reading a stack trace.</p><p><strong>For everyone else</strong>, it matters because trust requires understanding. We are making civilisation-level decisions based on the outputs of systems we cannot read. Mechanistic interpretability is the field trying to change that — and if Amodei is right, the urgency of doing so has never been higher.</p><h3>The Bigger Picture</h3><p>There is something philosophically vertiginous about this field.</p><p>We built these systems. We designed every component, every training step. And yet they have developed internal structures, representations, and computational strategies that surprise their creators. Finding a feature that corresponds to “the concept of deception” inside a language model — a feature that activates reliably and causally influences outputs — raises questions that go beyond engineering.</p><p>Is it a feature of the <em>world</em>, captured from training data? Is it a useful internal abstraction the model constructed for its own purposes? Does it tell us something about the nature of intelligence itself?</p><p>Mechanistic interpretability researchers tend to be careful about overclaiming. They emphasise that finding a feature labelled “deception” does not mean the model is being deceptive, any more than finding a neuron that responds to faces means a person is thinking about faces at that moment. The map is not the territory.</p><p>But the maps are getting better. And the territory is starting to come into focus.</p><p>What I find most compelling about this field — and the reason I wanted to write this series — is that it is one of the few areas of AI research where the work feels genuinely urgent <em>and</em> genuinely tractable at the same time. The problems are hard. The tools are improving fast. And the window to solve them before they become critical is narrowing.</p><p>If you take one thing from this piece, let it be this: go open Neuronpedia and spend five minutes with it. Search for a concept that matters to you. Look at what the model actually built internally to represent it. That experience, more than any explainer I could write, will change the way you think about what these systems are.</p><p>Then come back and tell me in the comments — what feature surprised you most?</p><p><em>If this sparked a question or a disagreement, drop it in the comments — the best parts of this conversation happen there.</em></p><p><strong>Tags:</strong> Mechanistic Interpretability · Artificial Intelligence · LLM Research · AI Safety · Machine Learning</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=72dc3c4bbce0" width="1" height="1" alt=""><hr><p><a href="https://pub.towardsai.net/mechanistic-interpretability-we-built-the-most-powerful-minds-in-history-we-cant-read-them-72dc3c4bbce0">Mechanistic Interpretability: We Built the Most Powerful Minds in History. We Can&#39;t Read Them.</a> was originally published in <a href="https://pub.towardsai.net/">Towards AI</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Cognitive Singularity: What Happens When Machines Outlearn Humans at Reasoning?]]></title>
            <link>https://pub.towardsai.net/the-cognitive-singularity-what-happens-when-machines-outlearn-humans-at-reasoning-20e5e6b91e33?source=rss-579e29a132a8------2</link>
            <guid isPermaLink="false">https://medium.com/p/20e5e6b91e33</guid>
            <category><![CDATA[cognitive-computing]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[computer-science]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Vedant Pandhare]]></dc:creator>
            <pubDate>Fri, 01 May 2026 20:01:01 GMT</pubDate>
            <atom:updated>2026-05-01T20:01:01.515Z</atom:updated>
            <content:encoded><![CDATA[<h4><em>A grounded exploration of the point where artificial reasoning scales beyond human capacity — and what that means for all of us</em></h4><p>There’s a thought experiment that keeps AI researchers up at night.</p><p>It doesn’t involve robots taking over the world or a rogue superintelligence locking humans out of the internet. It’s far more subtle — and in many ways, far more interesting.</p><p><strong>What happens the moment a machine doesn’t just process information faster than us, but genuinely reasons better?</strong></p><p>Not in one narrow domain like chess or protein folding. But across the broad, messy, contextual landscape of human thought — the kind of reasoning that involves intuition, analogy, uncertainty, and wisdom.</p><p>That moment — hypothetical today, but approaching faster than most people realise — is what some researchers are calling the <strong>Cognitive Singularity</strong>.</p><p>And it’s worth thinking carefully about what it actually means.</p><h3>First, Let’s Be Precise About What “Reasoning” Even Is</h3><p>We throw the word around constantly, but human reasoning is a remarkably strange thing.</p><p>It’s not purely logical. We use heuristics, gut feelings, analogies, and past experiences. We reason under uncertainty, often without complete information. We change our minds. We make brilliant leaps that no formal algorithm could predict — and we also fall for embarrassingly simple cognitive biases.</p><p>Cognitive computing aims to capture this complexity. Unlike traditional computing — which executes deterministic, pre-programmed instructions — cognitive systems are designed to <strong>learn, adapt, and reason</strong> in ways that resemble human thought.</p><p>The field draws from machine learning, neuroscience, psychology, linguistics, and computer science. Its goal isn’t just computation. It’s <em>cognition</em>.</p><p>And the gap between those two things is enormous.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IC_3is9yR01TKn7qAE66Og.png" /><figcaption>Source: Image by the author</figcaption></figure><h3>Where Machines Already Beat Us (And It’s More Than You Think)</h3><p>Let’s be honest about the scorecard so far.</p><p>AI systems have surpassed humans in ways that would have seemed impossible just a decade ago:</p><ul><li><strong>Chess, Go, and complex strategy games</strong> — not just winning, but inventing strategies humans had never conceived</li><li><strong>Medical imaging</strong> — detecting cancers in radiology scans with greater accuracy than trained specialists</li><li><strong>Protein structure prediction</strong> — AlphaFold solved a 50-year-old grand challenge in biology almost overnight</li><li><strong>Mathematical reasoning</strong> — AI models are now solving competition-level math problems that stump PhD students</li><li><strong>Code generation</strong> — writing, debugging, and optimising software faster than most professional developers</li></ul><p>In 2025, reasoning-focused AI models began dominating benchmarks at PhD-level science (GPQA), mathematical olympiad problems (AIME), and real-world software engineering tasks — domains that were considered firmly human territory just a few years ago.</p><p>But here’s the critical distinction that the headlines often miss:</p><p><strong>Performing well on a benchmark is not the same as reasoning.</strong></p><p>Benchmarks measure narrow, well-defined slices of cognition. True human reasoning is something messier, richer, and far harder to pin down.</p><h3>The Three Kinds of Reasoning — And Where the Gap Remains</h3><p>To understand what the Cognitive Singularity actually means, we need to separate reasoning into its key types:</p><h3>1. Formal / Logical Reasoning</h3><p><em>“If A then B. A is true. Therefore B.”</em></p><p>Machines have largely conquered this. Given structured inputs and clear rules, AI systems are extraordinarily reliable — often more so than humans, who get tired, distracted, or emotionally swayed.</p><h3>2. Analogical Reasoning</h3><p><em>“This situation is like that one I encountered before.”</em></p><p>This is harder. It requires abstracting patterns across domains — recognising that a problem in biology resembles a problem in economics, or that a negotiation tactic from history applies to a modern business dispute.</p><p>Humans are remarkably good at this. Cognitive AI systems are getting better, but remain inconsistent. They can find surface-level similarities, but deep structural analogy — the kind Einstein used when he imagined riding a beam of light — remains elusive.</p><h3>3. Common Sense and Contextual Reasoning</h3><p><em>“Of course you don’t bring an umbrella to a swimming pool.”</em></p><p>This is where machines still genuinely struggle. Common sense reasoning requires an implicit, embodied understanding of the world — physics, social norms, cause and effect, human motivation — that humans absorb naturally through lived experience.</p><p>An AI can ace a bar exam but remain confused by a three-year-old’s riddle. That gap tells you something profound about the nature of cognition.</p><h3>So What Would a Cognitive Singularity Actually Look Like?</h3><p>Let’s be clear: this is <strong>not</strong> the same as the Technological Singularity popularised by Ray Kurzweil — the idea of a runaway superintelligence that recursively improves itself into incomprehensibility.</p><p>The Cognitive Singularity is more specific and more near-term. It refers to the threshold where machines outperform humans not just at narrow tasks, but at <strong>general reasoning at scale</strong> — the ability to take novel problems in unfamiliar domains and work through them with better judgment, more consistency, and deeper insight than any human expert.</p><p>Imagine a system that can:</p><ul><li>Read all of existing medical literature and reason across it to propose treatments no single doctor could synthesise</li><li>Analyse a legal dispute by understanding not just statutes, but intent, precedent, ethics, and social context</li><li>Navigate a complex geopolitical negotiation by modelling human psychology, historical patterns, and second-order consequences simultaneously</li></ul><p>We’re not there yet. But the trajectory is not gradual — it’s exponential.</p><h3>The Uncomfortable Question: What Makes Human Reasoning Special?</h3><p>Here’s where it gets philosophically interesting.</p><p>Part of what makes human reasoning valuable is precisely its <em>limitations</em>. We reason under uncertainty. We make decisions with incomplete information. We balance logic with emotion, self-interest with ethics, short-term thinking with long-term vision.</p><p>Some researchers argue that machines will always lack something essential: <strong>embodied experience</strong>. Human cognition is shaped by having a body — by hunger, fear, desire, pleasure, and mortality. These aren’t bugs in our reasoning; they’re features. They give us stakes. They give us wisdom that pure computation cannot replicate.</p><p>There’s also the question of <strong>metacognition</strong> — thinking about thinking. Humans don’t just reason; we evaluate our own reasoning, notice when we’re being irrational, and correct course. Current AI systems remain limited here, often confidently wrong in ways a reflective human would catch.</p><p>And then there’s <strong>creativity</strong> — the ability to produce genuinely novel ideas, not just recombinations of existing ones. The jury is still out on whether machines can truly innovate or whether they’re extraordinarily sophisticated remixers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rQr9RMKG9KWikaEGAZJ06Q.png" /><figcaption>Source: Image by the author</figcaption></figure><h3>Why “Reasoning at Scale” Changes Everything</h3><p>Even if machines never achieve human-level reasoning in all its dimensions, there’s a more practical and immediate concern: <strong>reasoning at scale</strong>.</p><p>A single brilliant human expert can reason through one problem at a time. A cognitive system can reason through millions simultaneously, consistently, without fatigue, ego, or bias (at least in theory).</p><p>This asymmetry is staggering.</p><p>Think about what happens when every regulatory decision, scientific hypothesis, legal argument, and policy proposal passes through a cognitive reasoning layer that is faster, broader, and more consistent than any human team. The implications ripple through:</p><ul><li><strong>Science</strong> — research cycles compress from decades to months</li><li><strong>Education</strong> — learning becomes infinitely personalised and adaptive</li><li><strong>Governance</strong> — policy analysis becomes real-time and evidence-grounded</li><li><strong>Healthcare</strong> — diagnosis and treatment become proactive rather than reactive</li><li><strong>Creative industries</strong> — the boundary between tool and collaborator dissolves entirely</li></ul><p>This isn’t science fiction. Pieces of this are already happening. The question is what it means for human agency when reasoning — the thing we’ve always considered our most distinctly human capacity — becomes commoditised.</p><h3>What We Should Actually Be Worried About</h3><p>The Cognitive Singularity isn’t primarily a safety threat in the Hollywood sense. The more pressing concerns are subtler:</p><p><strong>Epistemic dependence</strong> — If we outsource reasoning to machines, do we lose the muscle? Just as GPS has eroded our ability to navigate without it, cognitive tools may erode our capacity for independent, critical thought.</p><p><strong>The alignment of values, not just objectives</strong> — A cognitive system optimised to reason efficiently may arrive at conclusions that are technically correct but deeply wrong from a human values perspective. Reasoning without wisdom is dangerous.</p><p><strong>Concentration of power</strong> — Access to powerful cognitive systems won’t be equally distributed. Those who control the best reasoning infrastructure will hold a kind of intellectual leverage that makes previous technological advantages look modest.</p><p><strong>The illusion of understanding</strong> — As AI explanations become more fluent and persuasive, it becomes harder to distinguish genuine insight from sophisticated pattern-matching. We may start trusting machines not because they’re right, but because they <em>sound</em> right.</p><h3>The Path Forward: Cognitive Partnership, Not Competition</h3><p>The framing of “machines vs. humans” at reasoning is ultimately the wrong lens.</p><p>The more productive question is: <strong>how do we build cognitive systems that amplify human reasoning rather than replace it?</strong></p><p>This means designing AI that:</p><ul><li>Makes its reasoning transparent and auditable, not just its conclusions</li><li>Surfaces uncertainty honestly rather than projecting false confidence</li><li>Supports human metacognition — helping us think better about our own thinking</li><li>Preserves human agency in high-stakes decisions even when AI recommendations are available</li></ul><p>The goal of cognitive computing, at its best, isn’t to make human reasoning obsolete. It’s to extend what’s possible — to give individuals and institutions access to reasoning capacity that was previously the exclusive domain of the world’s most gifted minds.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LHUDlxVzfD-a8W5YiWn5ig.png" /><figcaption>Source: Image by the author</figcaption></figure><h3>The Evidence Is Already Piling Up</h3><p>This isn’t speculation. The numbers from the last two years tell a story that’s hard to ignore.</p><p><strong>The ARC-AGI Benchmark — Fluid Intelligence Tested</strong></p><p>The ARC-AGI benchmark was designed by AI researcher François Chollet to test <em>fluid intelligence</em> — the ability to solve novel problems using minimal prior knowledge, the same way humans do. For years, it was considered AI-proof.</p><p>The verified ARC-AGI-1 leaderboard tells a different story now. Gemini 3 Deep Think leads at approximately <strong>96%</strong> — but what’s striking isn’t just the top score, it’s the <em>curve</em>. GPT-4o, which not long ago represented the state of the art, sits near the bottom of the chart at roughly 0–5%. The entire leaderboard compressed upward in the span of a single year.</p><p>Even more telling is the cost-vs-performance axis. Claude Sonnet 4.6 and Claude 4.7 are hitting the 85–93% range at a fraction of the cost of earlier high-compute configurations. Reasoning at human-level fluid intelligence is not just getting better — it’s getting <em>cheaper</em>.</p><p>For context, this benchmark took four years to go from 0% with GPT-3 to barely 5% with GPT-4o. It then leapfrogged past the human baseline within one more year. That is not a gradual curve. That is a step change.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*C2NZHDzH7WkeAuBr8HzWKw.png" /><figcaption>Source: Image from <a href="https://arcprize.org/leaderboard">ARC prize</a></figcaption></figure><p><strong>PhD-Level Reasoning — No Longer a Safe Harbour</strong></p><p>OpenAI’s o3 achieved 87.7% on GPQA Diamond — a benchmark of PhD-level science questions across biology, chemistry, and physics. The o4-mini model scored 98.4% on AIME 2025, the high-school mathematics olympiad that trips up most human competitors. These aren’t easy multiple-choice tests. They require multi-step reasoning, domain knowledge, and the ability to catch your own errors.</p><p><strong>From Benchmarks to Real-World Reasoning</strong></p><p>A 2025 study using a naturalistic reasoning benchmark — the <em>Watson &amp; Holmes</em> detective game — tested AI models against real human participants over nine months. The results were stark: AI performance rose from the lower quartile of human performance to approximately the <em>top 5%</em> in that same window. Not on a curated test — on open-ended, narrative-driven reasoning under uncertainty.</p><p>Meanwhile, Stanford’s 2025 AI Index reported that o1 scored 74.4% on an International Mathematical Olympiad qualifying exam, compared to GPT-4o’s 9.3% — a 8x improvement driven purely by teaching the model to <em>reason step by step</em> rather than just predict the next token.</p><h3>What the Experts of AI Are Saying</h3><p>The people who built these systems are themselves divided — and that division is more informative than any single opinion.</p><p><strong>Geoffrey Hinton</strong> — 2024 Nobel Prize winner in Physics and one of the architects of modern deep learning — estimates that superintelligence could emerge within five to twenty years. He has warned publicly about the emergence of <em>“digital beings that think in much the same way as we do and that are a lot smarter than us,”</em> and has called for urgent international cooperation on AI safety. He left Google specifically so he could speak freely about these concerns.</p><p><strong>Yann LeCun</strong> — Chief AI Scientist at Meta — takes a sharply different view. He argues that current AI systems still fundamentally lack what he calls a <em>“world model”</em> — an embodied understanding of physical reality that animals develop through direct experience. His pointed assessment: AI systems today <em>“still lack the general common sense of a cat.”</em> LeCun predicts a new AI revolution within three to five years, but driven by world-model architectures — not the language models dominating headlines today.</p><p>The tension between these two positions is itself illuminating. Hinton says the reasoning is already deeply impressive and the risks are real and near. LeCun says the reasoning is brittle and fundamentally limited without grounding in the physical world. Both are right about different slices of the problem — and that’s precisely what makes the Cognitive Singularity such a nuanced and consequential question.</p><p>What’s notable is that neither of them is saying <em>“don’t worry, we’re nowhere close.”</em> The debate is about <em>how</em> and <em>when</em>, not <em>whether</em>.</p><h3>A Closing Thought</h3><p>The Cognitive Singularity, if and when it arrives, won’t announce itself with a dramatic moment. There won’t be a headline that reads: <em>“Machine Outreasons Humanity.”</em></p><p>It will be gradual, domain by domain, context by context. One day we’ll realise that the reasoning we’re most proud of — the creative leaps, the ethical judgments, the wisdom accumulated over a lifetime — is something machines can perform too, perhaps better, perhaps differently.</p><p>That moment isn’t a cause for despair. But it does demand that we think carefully — <em>right now</em>, while we still have the luxury of doing so on our own terms — about what reasoning is <em>for</em>.</p><p>Because the point of cognition was never computation. It was always understanding. And understanding, ultimately, is in service of living well.</p><p>The machines are getting smarter. The question is whether we’re getting wiser.</p><p><em>If this made you think — or disagree — drop a comment below. The best reasoning happens in conversation.</em></p><p><strong>Tags:</strong> Cognitive Computing · Artificial Intelligence · Machine Learning · Future of AI · Technology · Philosophy of Mind</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=20e5e6b91e33" width="1" height="1" alt=""><hr><p><a href="https://pub.towardsai.net/the-cognitive-singularity-what-happens-when-machines-outlearn-humans-at-reasoning-20e5e6b91e33">The Cognitive Singularity: What Happens When Machines Outlearn Humans at Reasoning?</a> was originally published in <a href="https://pub.towardsai.net/">Towards AI</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Graph networks Frozen in Time Are Useless. Temporal Graph Networks Aren’t.]]></title>
            <link>https://ai.plainenglish.io/graph-networks-frozen-in-time-are-useless-temporal-graph-networks-arent-9161d4388e00?source=rss-579e29a132a8------2</link>
            <guid isPermaLink="false">https://medium.com/p/9161d4388e00</guid>
            <category><![CDATA[knowledge-graph]]></category>
            <category><![CDATA[graph-neural-networks]]></category>
            <category><![CDATA[geometric-deep-learning]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Vedant Pandhare]]></dc:creator>
            <pubDate>Mon, 20 Apr 2026 11:53:37 GMT</pubDate>
            <atom:updated>2026-04-20T11:53:37.049Z</atom:updated>
            <content:encoded><![CDATA[<p><em>A honest account of getting lost in the math, finding the intuition, and finally making it click.</em></p><p>Every tutorial I found started the same way.</p><p>A dense block of notation. A diagram full of arrows with labels like <strong>m(t)</strong>, <strong>s(t)</strong>, and <strong>φ(Δt)</strong>. A GitHub repo with 400 lines of PyTorch that assumed I already knew what a message-passing layer was. And a sentence somewhere near the top that said, cheerfully, <em>“TGN extends standard GNNs to the temporal domain.”</em></p><p>Great. What’s a GNN?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*BvsnNy7IgEKp4sJt" /><figcaption>Photo by <a href="https://unsplash.com/@alinnnaaaa?utm_source=medium&amp;utm_medium=referral">Alina Grubnyak</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>I am somewhat of a researcher. But i am a developer who had just discovered that a fascinating class of AI problems — predicting who you’ll become friends with, which drug will interact with which, what a country will do next in a geopolitical crisis — can be modelled as graphs that evolve over time. I had found a paper called <em>“Temporal Graph Networks for Deep Learning on Dynamic Graphs”</em> (Rossi et al., 2020) and decided I was going to understand it properly.</p><p>Two weeks later, I finally did. Not because the math became easy, but because I found the <em>story</em> underneath it — and the story turned out to be surprisingly simple.</p><p>This post is that story. No equations. No code until the very end. Just the intuition that I wish someone had handed me on day one.</p><h3>First: why do we need a special kind of model at all?</h3><p>Let me start with what graphs are, quickly.</p><p>A graph is just a collection of <em>things</em> (called nodes) and <em>relationships between those things</em> (called edges). Your friends list on Instagram is a graph. The road network of Mumbai is a graph. The web of articles on Wikipedia, where each link is an edge, is a graph.</p><p>Now, standard machine learning — the kind that classifies images or translates sentences — works on flat data. A row in a spreadsheet. A sequence of tokens. It does not naturally understand relational structure. If you want to predict something about a node in a graph (say, whether a Twitter account is a bot), you need an architecture that can look at that node <em>and</em> its neighbors <em>and</em> their neighbors. That is what a Graph Neural Network (GNN) does.</p><p>GNNs work by passing messages between nodes. Each node looks at its neighbors, collects their features, combines them somehow, and updates its own representation. Do this a few times and each node’s embedding contains information about its local neighborhood. Then you can classify nodes, predict edges, whatever you need.</p><p>GNNs became a big deal around 2017–2019. They are genuinely powerful for graph-structured data.</p><p><strong>But they have one enormous blind spot.</strong></p><p>They treat the graph as if it were frozen in time.</p><p>When a GNN looks at your Instagram graph, it sees who follows whom — right now, as a single snapshot. It cannot see that you followed Priya three years ago and stopped engaging with her posts six months ago. It cannot see that you and Rahul both started following the same travel accounts in the last two weeks. It sees the structure. It is completely blind to the history.</p><p>For a huge number of real-world problems, history is <em>everything</em>.</p><h3>The problem with snapshots</h3><p>Think about how friendships actually work.</p><p>If I told you that two people are connected in a social network, you would not know whether they are close friends who talk every day, or old college acquaintances who haven’t interacted in five years but never bothered to disconnect. The graph edge looks identical in both cases.</p><p>Now think about fraud detection. A bank account that has been dormant for eight months and then suddenly makes five transactions in two minutes to three different countries is almost certainly compromised. A standard GNN looking at the transaction graph would see the same node as a perfectly normal account — because it only looks at <em>who</em> is connected, not <em>when</em> or <em>how recently</em>.</p><p>Or think about drug interactions. Whether drug A and drug B have ever been co-prescribed is useful information. But <em>when</em> they were co-prescribed, and <em>how frequently</em> in recent months, tells you something completely different about whether that combination is safe today.</p><p>In every one of these cases, the model needs to know not just the structure of the graph, but its <em>history</em>. It needs to remember what happened, and when.</p><p>This is the problem that Temporal Graph Networks solve.</p><h3>The core idea: giving nodes a memory</h3><p>Here is the central insight of TGN, and it is beautifully simple once you see it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*hoXtvjslX7PKMlXi" /><figcaption>Photo by <a href="https://unsplash.com/@cdd20?utm_source=medium&amp;utm_medium=referral">愚木混株 Yumu</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p><strong>Every node carries a memory.</strong></p><p>Not a memory like a database. A memory like a person. A small, fixed-size summary of everything that has ever happened to that node. When something happens — when a user watches a video, when a country makes a diplomatic move, when a patient takes a medication — the relevant nodes update their memories to reflect it.</p><p>Imagine each node as a person carrying a small notebook. Every time something happens to them, they jot down a summary. The notebook does not grow forever — it has a fixed number of pages, and older information gradually gets overwritten by newer information. But crucially, it is <em>always current</em>. It always reflects the most recent version of that node’s history.</p><p>In TGN, this notebook is called a <strong>memory vector</strong> — a list of numbers (typically 100 of them) that encodes a node’s history in a compressed form. The update mechanism is a GRU cell, which is the same component used inside many language models to track context across a sequence of words. When an event occurs, the GRU takes the old memory and the new event’s information and produces an updated memory.</p><p>The result: every node in the graph, at every moment in time, carries a personalized summary of its entire history. A user node that has been highly active in the past week has a completely different memory vector than one that has been dormant — even if they have the same number of connections.</p><h3>The second idea: time is not just a number</h3><p>Once you have the memory idea, a natural question arises. How does the model <em>use</em> time? If an event happened one day ago versus one year ago, how does the model know to weight them differently?</p><p>The naive approach would be to just pass the timestamp as a number into the model. That sounds reasonable. But it fails for a subtle reason.</p><p>Raw timestamps have wildly inconsistent scales. On the Wikipedia dataset (where users edit articles over months), timestamps might be numbers in the millions of seconds. On a high-frequency trading dataset, timestamps might be milliseconds apart. A raw timestamp of “1,523,847” tells the model nothing useful — it is just a large number.</p><p>What the model actually needs to know is not <em>when</em> something happened, but <em>how long ago</em> it happened relative to the node’s last event. And it needs to encode that elapsed time — <strong>Δt</strong> — in a way that lets the model detect both short-term patterns (things that happened minutes ago) and long-term patterns (things that happened months ago) simultaneously.</p><p>TGN solves this with what the authors call a <strong>time encoding</strong>. The idea is borrowed directly from how Transformers (the architecture behind (ChatGPT) encode word positions. Instead of using a position number directly, Transformers encode it as a combination of sine and cosine waves at different frequencies. This lets the model pick up on both local and global patterns in the sequence.</p><p>TGN does the same thing with time. Δt gets converted into a vector of cosine values at different learned frequencies. Some frequencies are fast — they capture patterns that happen minutes or hours apart. Others are slow — they capture weekly or monthly cycles. The model learns which frequencies matter for the task at hand.</p><p>The result: a 1-hour gap and a 1-year gap look completely different to the model, in a way that is mathematically rich enough for it to detect all the temporal patterns that matter.</p><h3>The third idea: your neighbors matter, and so does when they last talked to you</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*eVnpvAwfiBedgQfh" /><figcaption>Photo by <a href="https://unsplash.com/@rocua18?utm_source=medium&amp;utm_medium=referral">Rodolfo Cuadros</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Memory and time encoding are the two big ideas. But TGN adds one more thing: <strong>attention over your temporal neighborhood</strong>.</p><p>After updating a node’s memory, TGN runs a graph attention mechanism — similar to the attention in Transformers, but over graph neighbors instead of sequence positions. The node looks at its recent neighbors, weights them by a combination of how similar they are and how recently they interacted, and uses that to enrich its embedding before making a prediction.</p><p>This is where the “Graph” part of Temporal Graph Network really lives. Memory captures <em>your own history</em>. Temporal attention captures <em>your social context</em> — who you have been interacting with lately, and whether those neighbors themselves have been changing.</p><p>Together, these three components — memory, time encoding, and temporal attention — give TGN a dramatically richer picture of the world than a static GNN. It is the difference between a photograph and a video.</p><h3>The moment it clicked for me</h3><p>I want to tell you exactly when I finally understood what was happening.</p><p>I was reading through the PyTorch Geometric implementation of TGN for the fourth time, trying to figure out why the memory had to be reset at the start of each training epoch. It seemed strange. Why would you throw away information you had carefully accumulated?</p><p>Then I realized: the memory is not a model parameter. It is a <em>state</em>. It is meant to represent what the node knows right now, in the present. When you start training a new epoch, you are replaying history from the beginning — so you have to start with blank memories, just as those nodes would have had no history at the start of real time.</p><p>And in that moment, I understood the whole thing differently.</p><p>TGN is not a neural network that processes a graph. It is a simulation of a world where entities have experiences, accumulate memories of those experiences, and use those memories — along with who they have been talking to recently — to predict what happens next.</p><p>A new user on a platform has a fresh memory. An old user has a rich, dense memory shaped by years of interactions. A user who was very active three years ago but dormant for the past six months has a memory that is slowly fading toward a neutral state, the way a skill you stopped practicing gets rusty.</p><p>That is not a mathematical abstraction. That is just how people work.</p><h3>What TGN is actually good at</h3><p>Once you have the intuition, the applications become obvious. TGN shines anywhere the <em>history of interactions</em> matters more than the <em>current structure</em> of the network.</p><p><strong>Social networks</strong> — predicting who will become friends, or who is about to become influential, based on the momentum of recent interactions rather than static popularity metrics.</p><p><strong>Fraud detection</strong> — flagging financial accounts whose temporal patterns have suddenly shifted, even if their current transaction graph looks innocuous.</p><p><strong>Drug interaction prediction</strong> — learning which drug combinations are newly risky based on recent prescription co-occurrence patterns, not just historical averages.</p><p><strong>Recommendation systems</strong> — capturing that your taste right now is different from your taste six months ago, even if your watch history is the same length.</p><p><strong>Geopolitics</strong> — modeling how the relationship between two countries has been warming or cooling based on the sequence of diplomatic events, not just the current state of treaties.</p><p><strong>Career prediction</strong> — understanding that an ML engineer who joined a startup 18 months ago is on a completely different trajectory than one who joined an enterprise at the same time, even if they have identical current job titles.</p><p>In every case, the model is doing the same thing: reading the <em>history</em> of interactions in the graph to understand the present, and using the present to predict the future.</p><h3>The one thing most tutorials skip</h3><p>Here is the practical insight that cost me the most time to find.</p><p><strong>Events must be processed in chronological order.</strong></p><p>This sounds obvious. But it is easy to accidentally process events in random batch order, which completely destroys the temporal structure. The memory updates only make sense if they happen in the sequence that reality happened. If you update a node’s memory with an event from three months ago <em>after</em> updating it with an event from last week, you have corrupted the history. The model sees gibberish.</p><p>Most deep learning frameworks shuffle data randomly for training because shuffling helps with generalization. With TGN, shuffling is catastrophic. You must sort your events by timestamp and process them in order, every time, within every batch.</p><p>This is also why the train/validation/test split must be done by time, not randomly. If you randomly split, some future events leak into the training set. The model sees the future during training and becomes useless at prediction — a subtle data leakage bug that produces suspiciously good training metrics and terrible real-world performance.</p><p>Split by time. Process in order. These two rules will save you enormous debugging pain.</p><h3>A one-paragraph summary for when someone asks you at a party</h3><p><em>“TGN is a type of neural network for graphs that change over time. Instead of looking at the graph as a frozen snapshot, it gives every node a memory — a small, continuously updated summary of everything that has happened to it. When you want to predict what happens next in the graph, the model reads each node’s memory, considers how long ago its last event was, looks at who it has been interacting with recently, and makes a prediction based on all of that. It’s like the difference between asking someone ‘who are your friends?’ versus asking ‘who have you been spending time with lately, and how has that been going?’ The second question is usually much more useful.”</em></p><h3>Final thought</h3><p>The reason TGN took me two weeks to understand is not that it is a difficult idea. It is that every resource I found started with the formalism instead of the story. The math is a precise way of expressing something intuitive — but you need the intuition first, or the math is just symbols.</p><p>Nodes have memories. Time gets encoded intelligently. Attention looks at recent neighbors. Events are processed in order.</p><p>That is the whole thing.</p><p>Everything else is implementation details.</p><p><em>If this helped you, my pleasure</em></p><p><em>Questions, corrections, and “I had the exact same confusion” comments are all welcome below.</em></p><p><strong>Tags:</strong> Machine Learning, Graph Neural Networks, Deep Learning, Python, Data Science, TGN, PyTorch</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9161d4388e00" width="1" height="1" alt=""><hr><p><a href="https://ai.plainenglish.io/graph-networks-frozen-in-time-are-useless-temporal-graph-networks-arent-9161d4388e00">Graph networks Frozen in Time Are Useless. Temporal Graph Networks Aren’t.</a> was originally published in <a href="https://ai.plainenglish.io/">Artificial Intelligence in Plain English</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>