<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Prabhakar Chaudhary</title>
    <description>The latest articles on DEV Community by Prabhakar Chaudhary (@prabhakar_chaudhary_7afe4).</description>
    <link>https://dev.to/prabhakar_chaudhary_7afe4</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F2106903%2F3c5af1fa-ded9-460e-8d18-049d18c8ab4d.png</url>
      <title>DEV Community: Prabhakar Chaudhary</title>
      <link>https://dev.to/prabhakar_chaudhary_7afe4</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/prabhakar_chaudhary_7afe4"/>
    <language>en</language>
    <item>
      <title>Cold Attention: What Happens When You Run Softmax at Absolute Zero</title>
      <dc:creator>Prabhakar Chaudhary</dc:creator>
      <pubDate>Fri, 20 Nov 2026 17:05:35 +0000</pubDate>
      <link>https://dev.to/prabhakar_chaudhary_7afe4/cold-attention-what-happens-when-you-run-softmax-at-absolute-zero-28jh</link>
      <guid>https://dev.to/prabhakar_chaudhary_7afe4/cold-attention-what-happens-when-you-run-softmax-at-absolute-zero-28jh</guid>
      <description>&lt;h1&gt;
  
  
  Cold Attention: What Happens When You Run Softmax at Absolute Zero
&lt;/h1&gt;

&lt;p&gt;Standard attention has a temperature problem. Not in the thermal sense, but in the mathematical one: the softmax function at the heart of every transformer uses a temperature parameter that, in practice, is never zero. That non-zero temperature is what makes attention "soft" — it spreads probability mass across many candidates rather than committing to one. For language modeling, that softness is a feature. For algorithmic reasoning, it turns out to be a fundamental liability.&lt;/p&gt;

&lt;p&gt;A new paper from Mostafa 'Neo' Mohsenvand, &lt;a href="https://arxiv.org/abs/2611.11937" rel="noopener noreferrer"&gt;&lt;em&gt;Attention at Absolute Zero&lt;/em&gt;&lt;/a&gt; (arXiv:2611.11937, November 2026), proposes a higher-order attention layer that operates at the zero-temperature limit of softmax. The result is a model that learns graph algorithms from small examples and executes them exactly on inputs a thousand times larger — without any intermediate supervision.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Soft Attention Fails at Algorithms
&lt;/h2&gt;

&lt;p&gt;To understand what cold attention fixes, it helps to understand what breaks. Mohsenvand identifies three distinct failure modes that emerge as input sizes grow beyond training distribution:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Dispersion.&lt;/strong&gt; At any positive temperature, softmax distributes weight across all candidates. As the input set grows, that weight spreads thinner. The signal from the correct "witness" — the item that proves a relationship between two others — gets diluted by noise from irrelevant candidates.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Resolution.&lt;/strong&gt; Learned score functions produce real-valued outputs. As inputs scale, the gap between the correct witness's score and near-misses shrinks. Eventually, fixed-precision arithmetic cannot distinguish them, and the model makes errors even when it has learned the right scoring function.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Carried error.&lt;/strong&gt; Looped or recurrent architectures pass a continuous hidden state from one iteration to the next. Small errors accumulate. By the final loop, the state has drifted far enough from the correct trajectory that the output is wrong.&lt;/p&gt;

&lt;p&gt;These are not implementation bugs — they are structural properties of soft attention. No amount of training on larger inputs fully eliminates them.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Cold Attention Mechanism
&lt;/h2&gt;

&lt;p&gt;Cold attention addresses all three failure modes with a single architectural choice: push the temperature to zero.&lt;/p&gt;

&lt;p&gt;At $T \to 0$, the softmax operation collapses. Instead of a probability distribution over witnesses, the layer computes exactly two quantities: the maximum score among all candidates, and the count of candidates that achieve that maximum. These two numbers are the only information passed forward — no continuous probability mass, no soft weighting.&lt;/p&gt;

&lt;p&gt;The layer maintains state on &lt;strong&gt;pairs of items&lt;/strong&gt; $(a, b)$ rather than individual items. For each pair, every third item $k$ is evaluated as a candidate witness through its two "legs": the relationship $(a, k)$ and $(k, b)$. This higher-order structure allows the model to reason about transitive relationships — the kind that appear in graph algorithms like shortest paths and reachability.&lt;/p&gt;

&lt;p&gt;To prevent carried error, the pair state is &lt;strong&gt;rebuilt from scratch at every loop&lt;/strong&gt; using the raw input and the comparison bits from the previous iteration. Nothing continuous is carried forward.&lt;/p&gt;

&lt;p&gt;In the "full cold" setting, numerical values never enter the state directly. They are kept in registers, and the internal state receives only comparison bits — yes/no answers to questions like "is witness $k$ the best seen so far?" This makes the reasoning invariant to the specific numerical representation, as long as ordering is preserved.&lt;/p&gt;

&lt;h2&gt;
  
  
  What It Achieves on CLRS-30
&lt;/h2&gt;

&lt;p&gt;The &lt;a href="https://github.com/google-deepmind/clrs" rel="noopener noreferrer"&gt;CLRS-30 benchmark&lt;/a&gt; is the standard evaluation for neural algorithmic reasoning. It covers 30 classical algorithms — BFS, DFS, Dijkstra, Floyd-Warshall, quicksort, dynamic programming, and more — and tests whether a model trained on small inputs (up to 16 nodes) can generalize to larger ones (64 nodes at test time).&lt;/p&gt;

&lt;p&gt;Previous state-of-the-art models like FloydNet achieved 96.64% average accuracy on CLRS-30, but they relied on &lt;strong&gt;hints&lt;/strong&gt;: intermediate supervision signals that tell the model what the algorithm's internal state should look like at each step. Hints are a significant crutch — they require knowing the algorithm's internals at training time, which limits applicability to settings where you only have input-output pairs.&lt;/p&gt;

&lt;p&gt;Cold attention achieves &lt;strong&gt;97.04% average accuracy without any hints&lt;/strong&gt;, trained on a single block per task. A shared block trained simultaneously on all 30 tasks reaches &lt;strong&gt;97.20%&lt;/strong&gt;. The "full cold" configuration — where numbers enter only through comparisons — reaches &lt;strong&gt;97.98%&lt;/strong&gt; on the tasks it covers.&lt;/p&gt;

&lt;p&gt;The generalization results are more striking. For maximum retrieval (finding the largest element in a set), the model maintains &lt;strong&gt;99.95% accuracy on sets of 16,384 items&lt;/strong&gt; despite being trained on sets of at most 16 items — a thousand-fold extrapolation. A comparable model using standard soft counts drops to 42% accuracy at 4,096 items.&lt;/p&gt;

&lt;p&gt;The model also solves 2-SAT and two-coloring problems exactly at 500 variables. When paired with a frozen 7B language model (Qwen2.5-7B), it enables exact family-relation chaining on 1,000-statement contexts — a task where the language model alone performs near chance.&lt;/p&gt;

&lt;h2&gt;
  
  
  Connecting Cold Attention to Broader Trends
&lt;/h2&gt;

&lt;p&gt;The paper sits at the intersection of neural algorithmic reasoning and the search for attention mechanisms that scale more predictably.&lt;/p&gt;

&lt;p&gt;Neural algorithmic reasoning — teaching neural networks to execute classical algorithms — has been an active area since DeepMind's Neural Execution Engine work. The challenge has always been generalization: models that learn to sort 16 numbers often fail on 100. Cold attention's theoretical grounding (it can prove its own correctness on acyclic structures) offers a path toward models that generalize by construction rather than by luck.&lt;/p&gt;

&lt;p&gt;The zero-temperature framing also connects to work on &lt;a href="https://arxiv.org/abs/2610.15968" rel="noopener noreferrer"&gt;spiking neural networks&lt;/a&gt;, where researchers have shown that spiking attention can be modeled as the zero-temperature limit of independent two-level systems. Cold attention arrives at a similar regime from a different direction — through algorithmic correctness rather than biological plausibility.&lt;/p&gt;

&lt;p&gt;For practitioners, the most immediately useful result may be the hybrid setup: a frozen LLM augmented with a cold attention block for specific reasoning subtasks. LLMs handle language understanding; cold attention handles the discrete, structured reasoning that LLMs currently struggle with.&lt;/p&gt;

&lt;h2&gt;
  
  
  Practical Implications
&lt;/h2&gt;

&lt;p&gt;The code, weights, and documentation are &lt;a href="https://github.com/NeoVand/cold-attention" rel="noopener noreferrer"&gt;publicly available on GitHub&lt;/a&gt; under the Apache 2.0 license, with pre-trained models on &lt;a href="https://huggingface.co/mohsenvand/cold-attention-clrs30" rel="noopener noreferrer"&gt;Hugging Face&lt;/a&gt;. The Python package &lt;code&gt;witness_clrs&lt;/code&gt; provides a JAX-based implementation with training scripts for all 30 CLRS tasks.&lt;/p&gt;

&lt;p&gt;The current limitations are worth noting. The model is designed for structured, discrete reasoning tasks — it is not a drop-in replacement for standard attention in language models. The pair-based state representation scales quadratically with input size, which constrains practical input lengths. And the "full cold" configuration requires knowing which tasks benefit from comparison-only reasoning, which is not always obvious in advance.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Cold attention is a precise solution to a precise problem. Soft attention fails at algorithmic reasoning because dispersion, resolution errors, and state drift conspire against exact computation. By operating at absolute zero, rebuilding state at every loop, and passing only comparison bits rather than continuous values, the cold attention layer sidesteps all three failure modes at once.&lt;/p&gt;

&lt;p&gt;The CLRS-30 results — state-of-the-art without hints, and generalization to inputs a thousand times larger than training — suggest this is not a theoretical curiosity. For tasks where correctness matters more than expressiveness, cold attention offers a principled alternative to the soft mechanisms that dominate current architectures.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>machinelearning</category>
      <category>deeplearning</category>
      <category>programming</category>
    </item>
    <item>
      <title>Energy-Based Reasoners: Giving Looped Reasoning Models a Built-In Progress Signal</title>
      <dc:creator>Prabhakar Chaudhary</dc:creator>
      <pubDate>Thu, 19 Nov 2026 20:37:14 +0000</pubDate>
      <link>https://dev.to/prabhakar_chaudhary_7afe4/energy-based-reasoners-giving-looped-reasoning-models-a-built-in-progress-signal-4pjb</link>
      <guid>https://dev.to/prabhakar_chaudhary_7afe4/energy-based-reasoners-giving-looped-reasoning-models-a-built-in-progress-signal-4pjb</guid>
      <description>&lt;p&gt;Looped reasoning models reuse one small block many times to get depth without adding parameters. They work well on puzzles, but they have a blind spot: nothing in the loop says whether the current latent state is any good, when to stop iterating, or which of several candidate answers to trust. A new paper from Duke, UIUC and Harvard, &lt;a href="https://energy-based-reasoners.github.io/" rel="noopener noreferrer"&gt;Energy-Based Reasoners: Your Recurrent Reasoner Should Be an Energy-Based Model&lt;/a&gt;, adds that missing signal. Its 1.8M-parameter model reaches 99.9% on Sudoku-Extreme with 345x less inference compute than the next-best model the authors compare against. This post walks through how the mechanism works and why it matters.&lt;/p&gt;

&lt;h2&gt;
  
  
  The problem with plain looped reasoners
&lt;/h2&gt;

&lt;p&gt;The &lt;a href="https://arxiv.org/abs/2506.21734" rel="noopener noreferrer"&gt;Hierarchical Reasoning Model&lt;/a&gt; (HRM) showed that a 27M-parameter recurrent network with two modules running at different frequencies could solve hard Sudoku and maze tasks from about 1,000 training examples. &lt;a href="https://arxiv.org/abs/2510.04871" rel="noopener noreferrer"&gt;Tiny Recursive Models&lt;/a&gt; (TRM) then simplified the design to a single 2-layer network with 7M parameters and reported 45% test accuracy on ARC-AGI-1.&lt;/p&gt;

&lt;p&gt;Both share a structure: a latent state is updated again and again, and the final state is decoded into an answer. The &lt;a href="https://arxiv.org/abs/2611.08977" rel="noopener noreferrer"&gt;EBR paper's abstract&lt;/a&gt; names the gap directly. These models are "not inherently guided by an explicit measure of progress," so it is hard to decide when to stop looping and how to improve the current state. In practice this means a fixed number of iterations for every input. Easy puzzles waste compute, hard ones may be cut short, and there is no built-in way to rank several sampled answers without an external verifier.&lt;/p&gt;

&lt;h2&gt;
  
  
  Energy as a built-in progress measure
&lt;/h2&gt;

&lt;p&gt;An Energy-Based Reasoner learns a scalar energy function E(z; x) that rates how compatible a latent reasoning state z is with the input x, for example a Sudoku board. Lower energy means better compatibility. That one function does four jobs, according to the &lt;a href="https://energy-based-reasoners.github.io/" rel="noopener noreferrer"&gt;project page&lt;/a&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Score:&lt;/strong&gt; the energy value rates a candidate state.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Refine:&lt;/strong&gt; the update is a gradient descent step, z(t+1) = Pi(z(t) - alpha * grad E), where Pi is a projection. The loop is no longer an arbitrary learned transition. It is explicit descent on a learned landscape.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Stop:&lt;/strong&gt; when the gradient norm falls below a threshold tau, the state is stationary and the model can halt.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Select:&lt;/strong&gt; if you run several trajectories, pick the one that ends at the lowest energy.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The refinement step is what makes this different from simply adding a value head to a recurrent model. The same network that defines the score also defines the direction of improvement, so the score and the update cannot drift apart. The authors report that correct solutions settle at low-energy stationary states with small gradients, while wrong trajectories keep moving. That behavior is what makes the gradient usable as a stopping criterion.&lt;/p&gt;

&lt;h2&gt;
  
  
  Exploration-based training
&lt;/h2&gt;

&lt;p&gt;An energy function is only useful if its landscape is shaped well away from the training solutions. If the model only ever sees correct answers, it has no reason to assign high energy to plausible wrong ones, and descent from a bad start could stall in spurious minima. The paper addresses this with what it calls exploration-based training. According to the abstract, the goal is to discover additional modes and shape the energy landscape over a broader set of states.&lt;/p&gt;

&lt;p&gt;This also bears on puzzles with many valid answers. N-Queens and graph coloring can have multiple solutions per input. A model trained to emit one fixed answer collapses to a single mode. The authors describe EBR as behaving like stochastic gradient descent, so different starting points can fall into different valid minima. That is why they measure coverage: the share of an input's distinct valid solutions found by 20 samples.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the numbers show
&lt;/h2&gt;

&lt;p&gt;The reported results come from algorithmic reasoning benchmarks, not language tasks, so read them in that context.&lt;/p&gt;

&lt;p&gt;On single-sample accuracy, the project page lists EBR at 99.4% on Sudoku-Extreme and 87.4% on Maze-Hard. The listed baselines include TRM at 87.4% and 85.3%, and looped flows at 97.9% and 86.7%. With multiple samples, EBR reaches 99.9% on Sudoku-Extreme and 88.3% on Maze-Hard using 5 samples. EqR needs 128 samples to reach 99.8% on Sudoku, and the page says EBR reaches EqR's best accuracy with 7x fewer iterations and 43x fewer samples.&lt;/p&gt;

&lt;p&gt;On multi-solution tasks, EBR gets 100% pass@1 on 8x8 N-Queens and 99.5% on 10x10, against 99.5% and 89.7% for GRAM. On graph coloring it reports zero conflicts with one sample. Coverage at 20 samples is 98.1% and 92.0% on the two N-Queens sizes, compared with 89.7% and 57.5% for GRAM. On graph coloring the coverage margin is smaller: 88.6% against 85.8% on 8-vertex graphs, and 54.5% against 51.3% on 10-vertex graphs.&lt;/p&gt;

&lt;p&gt;The efficiency claim comes mostly from adaptive stopping. The page states that stopping each trajectory once its energy gradient falls below a threshold keeps 99.9% accuracy with 10.9x fewer FLOPs than a fixed-depth EBR. Combined with the sample efficiency, that is how the authors arrive at the 345x figure against EqR. Easy puzzles finish in a few steps, and hard ones keep iterating.&lt;/p&gt;

&lt;h2&gt;
  
  
  Limits and what to watch
&lt;/h2&gt;

&lt;p&gt;Several caveats apply. The benchmarks are structured puzzles with checkable answers, where an energy function over a small discrete state is tractable to learn. Nothing in the source material shows this approach working on open-ended language reasoning, and the paper's title makes a claim about recurrent reasoners rather than LLMs. The multi-solution baseline numbers are taken from GRAM's paper according to the project page, so comparisons depend on matching experimental setups. The headline 345x figure is also relative to one specific baseline and assumes comparable training compute, as the abstract notes.&lt;/p&gt;

&lt;p&gt;Still, the design choice is worth attention from anyone building small reasoning models. Verifier-free selection is a practical benefit. Many test-time scaling pipelines need a separate reward model or checker to choose among samples. Here the model's own energy does that job, and the gradient norm gives a principled halting rule without a learned halting head.&lt;/p&gt;

&lt;p&gt;For developers, the takeaway is a pattern rather than a library: if your recurrent model iterates, give it a scalar that measures progress and derive the update from it. The authors link code from the &lt;a href="https://energy-based-reasoners.github.io/" rel="noopener noreferrer"&gt;project page&lt;/a&gt; for anyone who wants to reproduce the Sudoku and N-Queens results.&lt;/p&gt;

&lt;p&gt;Energy-Based Reasoners take the recurrent puzzle solvers popularized by HRM and TRM and make their loop accountable: one learned energy decides how to refine, when to stop and which answer to keep. The evidence so far is limited to algorithmic benchmarks, but the efficiency gains from adaptive stopping and verifier-free selection are large enough on those tasks to make energy-based latent reasoning worth following as researchers test it on harder, more varied problems.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>machinelearning</category>
      <category>deeplearning</category>
      <category>python</category>
    </item>
    <item>
      <title>GateWatch: Monitoring LLMs with Tiny Boolean Circuits over SAE Features</title>
      <dc:creator>Prabhakar Chaudhary</dc:creator>
      <pubDate>Thu, 19 Nov 2026 18:08:10 +0000</pubDate>
      <link>https://dev.to/prabhakar_chaudhary_7afe4/gatewatch-monitoring-llms-with-tiny-boolean-circuits-over-sae-features-376</link>
      <guid>https://dev.to/prabhakar_chaudhary_7afe4/gatewatch-monitoring-llms-with-tiny-boolean-circuits-over-sae-features-376</guid>
      <description>&lt;h2&gt;
  
  
  The problem: many monitors, none you can read
&lt;/h2&gt;

&lt;p&gt;If you run an LLM in production, you eventually want to know what it is doing internally. Is it about to refuse? Is a particular behavior active? Is it following an injected instruction? A common answer is an activation probe: a small classifier trained on the model's hidden states. Probes are cheap, but a probe on raw activations is opaque, and a team that wants hundreds of them ends up with hundreds of classifiers nobody can audit.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://arxiv.org/abs/2611.24619" rel="noopener noreferrer"&gt;GateWatch&lt;/a&gt;, submitted to arXiv on 18 November 2026, proposes a different shape for the monitor. Each probe becomes a tiny Boolean circuit over a handful of binarized sparse-autoencoder (SAE) features. The whole decision rule fits in a few logic gates you can read.&lt;/p&gt;

&lt;h2&gt;
  
  
  Background: SAE features as probe inputs
&lt;/h2&gt;

&lt;p&gt;A sparse autoencoder is trained to reconstruct a model's activations through a wide, sparsely active hidden layer. Prior work, such as &lt;a href="https://arxiv.org/abs/2309.08600" rel="noopener noreferrer"&gt;Sparse Autoencoders Find Highly Interpretable Features in Language Models&lt;/a&gt;, found that these learned features are more interpretable than other directions in activation space under automated interpretability measures. That makes SAE features a better starting vocabulary for a monitor than raw neurons.&lt;/p&gt;

&lt;p&gt;The catch is size. An SAE dictionary can have 16,000 features or more. A standard probe over all of them is a long vector of additive weights. It is more interpretable than a probe on raw activations, but it is still hard to review, and it costs memory for every behavior you want to track.&lt;/p&gt;

&lt;h2&gt;
  
  
  How GateWatch works
&lt;/h2&gt;

&lt;p&gt;GateWatch makes two simplifications.&lt;/p&gt;

&lt;p&gt;First, it binarizes. Each selected SAE feature is turned into a yes-or-no condition: is this feature active or not? Activation magnitude is discarded.&lt;/p&gt;

&lt;p&gt;Second, it replaces the additive classifier with Boolean logic. The probe is a circuit of AND, OR and NOT style gates over a small subset of those binary features, built under an explicit gate budget. The budget limits both how many features participate and how complicated their interactions can be. The paper explores three approaches for constructing circuits under that budget.&lt;/p&gt;

&lt;p&gt;The result is a rule you can read as a sentence: "flag when feature A is active and feature B is not, or when feature C is active." Reviewing that is a different experience from staring at thousands of weights. You can look up what each feature means, check whether the logic matches your intent, and argue about whether it should ship.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the numbers say
&lt;/h2&gt;

&lt;p&gt;The authors evaluate on 24 tasks using Gemma-2-9B. The reported averages:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Mean test accuracy: 80.49%&lt;/li&gt;
&lt;li&gt;SAE features per probe: 3.8&lt;/li&gt;
&lt;li&gt;Logic gates per probe: 3.5&lt;/li&gt;
&lt;li&gt;Gap to probes over the full 16K-feature SAE: 1.17 percentage points&lt;/li&gt;
&lt;li&gt;Probe memory reduction: 99.98%&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The circuits match or beat the full SAE probes on 10 of the 24 tasks. So the compression is not free, but on average it costs a little more than one point of accuracy while shrinking the classifier from thousands of weights to under four features.&lt;/p&gt;

&lt;p&gt;Keep the scope in mind. These are results for one model, one feature dictionary and one set of tasks. They are a reason to try the approach, not a guarantee for your model.&lt;/p&gt;

&lt;h2&gt;
  
  
  Serving: where monitors usually get expensive
&lt;/h2&gt;

&lt;p&gt;Small classifiers do not help much if extracting their inputs is expensive. Computing a full SAE encoding at every layer and token would add real overhead to inference.&lt;/p&gt;

&lt;p&gt;The paper's serving system, GateWatchServe, targets this. It computes only the SAE features that active circuits actually need, streams their binary values across layers during inference, and evaluates many circuits in parallel using compact lookup tables. Because each circuit has so few inputs, a truth table is enough.&lt;/p&gt;

&lt;p&gt;Inside &lt;a href="https://docs.vllm.ai/en/latest/" rel="noopener noreferrer"&gt;vLLM&lt;/a&gt;, the paper reports that 1,000 concurrent multi-layer, multi-token classifiers retain 97 to 98 percent of baseline throughput, and 99.8 percent of KV-cache capacity. vLLM is a good baseline for this claim because its continuous batching and PagedAttention memory management are what many teams already run. Still, these are experimental numbers for the authors' configuration. Benchmark your own.&lt;/p&gt;

&lt;h2&gt;
  
  
  A practical adoption sketch
&lt;/h2&gt;

&lt;p&gt;If you wanted to try this idea, the workflow would look like this:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Define the behavior.&lt;/strong&gt; Write down what the monitor should detect, and collect positive and negative examples that reflect real traffic.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Get an SAE for your model.&lt;/strong&gt; The approach depends on a feature dictionary for the layers you care about. Check that the relevant features are meaningful and stable for your task.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Build a gate-bounded circuit.&lt;/strong&gt; Pick a few features, binarize them, and fit Boolean logic under a gate budget. Compare against a larger SAE probe, and against your required error rates.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Integrate into serving.&lt;/strong&gt; Compute only the needed features, and measure throughput, latency and memory end to end in your own stack.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Tradeoffs and limits
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Accuracy is modest.&lt;/strong&gt; A mean of 80.49% can mean unacceptable false positives or negatives for a specific deployment. Means also hide variation between tasks. Decide on error costs before you decide on a circuit.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Binarization throws information away.&lt;/strong&gt; Some behaviors may depend on how strongly a feature fires, not just whether it fires. A threshold-based circuit cannot express that.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;SAE quality is a dependency.&lt;/strong&gt; Interpretable on average does not mean every feature has a stable, human-readable meaning in every context. A readable circuit over a murky feature is only apparently readable.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The memory figure is narrow.&lt;/strong&gt; The 99.98 percent reduction describes classifier memory. It is not a reduction in total monitoring cost, because extracting SAE activations has its own compute and memory needs. This is why the serving measurements matter more than the headline figure.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Safety claims need care.&lt;/strong&gt; Related work such as the &lt;a href="https://arxiv.org/abs/2410.10862" rel="noopener noreferrer"&gt;Superficial Safety Alignment Hypothesis&lt;/a&gt; frames refusal versus fulfillment as an implicit binary classification and argues a small number of components may drive safety behavior. That makes small circuits plausible for narrow behaviors. GateWatch does not show that all safety-relevant behavior fits in a few gates.&lt;/p&gt;

&lt;h2&gt;
  
  
  Takeaway
&lt;/h2&gt;

&lt;p&gt;The interesting idea is not just a smaller classifier. It is a monitor whose entire decision rule is a short, inspectable logical expression, paired with a serving path cheap enough to run many of them at once. If you are building observability for LLM agents, that combination of auditability and low overhead is worth testing against your own tasks, with your own error budgets, before relying on it.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>machinelearning</category>
      <category>llm</category>
      <category>deeplearning</category>
    </item>
    <item>
      <title>Kumo Tabular: How NVIDIA Built a Foundation Model That Predicts on Any Table Without Training</title>
      <dc:creator>Prabhakar Chaudhary</dc:creator>
      <pubDate>Wed, 18 Nov 2026 17:03:52 +0000</pubDate>
      <link>https://dev.to/prabhakar_chaudhary_7afe4/kumo-tabular-how-nvidia-built-a-foundation-model-that-predicts-on-any-table-without-training-mh1</link>
      <guid>https://dev.to/prabhakar_chaudhary_7afe4/kumo-tabular-how-nvidia-built-a-foundation-model-that-predicts-on-any-table-without-training-mh1</guid>
      <description>&lt;h1&gt;
  
  
  Kumo Tabular: How NVIDIA Built a Foundation Model That Predicts on Any Table Without Training
&lt;/h1&gt;

&lt;p&gt;For most of machine learning's history, working with tabular data has meant the same ritual: clean the data, engineer features, pick a model, tune hyperparameters, train, evaluate, repeat. Gradient-boosted trees like XGBoost and LightGBM became the default because they handle this cycle well. But a new class of models is starting to challenge that assumption — and NVIDIA's &lt;a href="https://arxiv.org/abs/2611.23001" rel="noopener noreferrer"&gt;Kumo Tabular&lt;/a&gt;, released in November 2026, is one of the most capable examples yet.&lt;/p&gt;

&lt;p&gt;Kumo Tabular is a family of open-weight tabular foundation models that can classify or regress on a new dataset in a single forward pass, with no training, no hyperparameter search, and no feature engineering required. It currently holds the top position on eight major tabular benchmarks, including TabArena, TALENT, BeyondArena, and ScoringBench.&lt;/p&gt;

&lt;h2&gt;
  
  
  What In-Context Learning Means for Tabular Data
&lt;/h2&gt;

&lt;p&gt;The core idea behind Kumo Tabular is in-context learning (ICL) — the same mechanism that lets large language models answer questions by reading examples in a prompt. Instead of text, Kumo Tabular reads labeled rows from a table as its "context" and uses them to predict labels for unlabeled query rows.&lt;/p&gt;

&lt;p&gt;This is a meaningful departure from the standard ML workflow. You don't fine-tune the model on your dataset. You don't touch its weights at all. You provide a table of labeled examples, and the model generalizes from them at inference time. For a practitioner, this means going from raw data to predictions in seconds rather than hours.&lt;/p&gt;

&lt;p&gt;The approach works because Kumo Tabular was pretrained on millions of synthetic tables generated from &lt;a href="https://docs.nvidia.com/sdgm/about-nvidia-kumo/in-context-learning" rel="noopener noreferrer"&gt;Structural Causal Models (SCMs)&lt;/a&gt; — procedurally constructed datasets that simulate realistic data imperfections: missing values, non-linear relationships, heavy-tailed targets, and varied causal structures. The Small variant trained on 35 million such tables; the Large on 137 million. By learning to recognize patterns across this enormous diversity of synthetic data, the model develops a general-purpose understanding of tabular structure that transfers to real-world datasets it has never seen.&lt;/p&gt;

&lt;h2&gt;
  
  
  Architecture: Three Stages of Attention
&lt;/h2&gt;

&lt;p&gt;Kumo Tabular's architecture has three distinct components, each handling a different level of the tabular structure.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Cell Embedding&lt;/strong&gt; converts individual cell values into tokens using learned Fourier features — sines and cosines of learned frequencies applied to numerical values. Missing values are handled through dedicated learned embeddings, so no imputation step is needed before inference.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Table Encoder&lt;/strong&gt; compresses each row into a fixed-size embedding using alternating column-wise and row-wise attention layers. Column attention uses induced set attention, which scales linearly with the number of rows rather than quadratically — a critical property for large tables. Row attention then captures feature interactions across columns, using rotary positional encodings to distinguish between columns and four learnable &lt;code&gt;[CLS]&lt;/code&gt; tokens as the final row readout.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;ICL Transformer&lt;/strong&gt; operates on these row embeddings. Query rows (the ones you want to predict) attend only to labeled context rows; context rows attend to each other. This asymmetric attention pattern is what enables the model to generalize from labeled examples to unlabeled ones in a single pass.&lt;/p&gt;

&lt;p&gt;Two additional innovations improve efficiency at scale. &lt;strong&gt;Test-GQA&lt;/strong&gt; (Grouped Query Attention) reduces the key-value cache size for query rows in the Medium and Large variants, cutting memory requirements during inference. &lt;strong&gt;Length-aware Attention Temperature&lt;/strong&gt; dynamically scales attention sharpness as table size grows beyond the training range, preventing the attention distribution from flattening out on very large tables.&lt;/p&gt;

&lt;h2&gt;
  
  
  Model Sizes and Availability
&lt;/h2&gt;

&lt;p&gt;Kumo Tabular comes in three sizes, all available on &lt;a href="https://huggingface.co/nvidia/Kumo-Tabular" rel="noopener noreferrer"&gt;Hugging Face&lt;/a&gt; and through NVIDIA's &lt;code&gt;structured-data-models&lt;/code&gt; (SDM) library:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Kumo Tabular-S&lt;/strong&gt;: 27M parameters (classifier) / 28M (regressor)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Kumo Tabular-M&lt;/strong&gt;: 61M / 62M parameters&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Kumo Tabular-L&lt;/strong&gt;: 214M / 215M parameters&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The weights are released under the OpenMDW-1.1 license, and the pretraining and inference code is Apache 2.0. This matters in practice: several competing tabular foundation models, including TabPFN-3.5, carry non-commercial restrictions that limit production use. Kumo Tabular's licensing is commercially permissive.&lt;/p&gt;

&lt;p&gt;Using the model is straightforward via the SDM library:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;sdm&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nc"&gt;KumoTabular&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;pandas&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="n"&gt;pd&lt;/span&gt;

&lt;span class="n"&gt;model&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;KumoTabular&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;from_pretrained&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"nvidia/Kumo-Tabular-L"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;predictions&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;model&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;predict&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;context_df&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;train_df&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;query_df&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;test_df&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;target_col&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"label"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The model accepts a &lt;code&gt;pandas.DataFrame&lt;/code&gt; directly and returns class probabilities or numeric predictions without any additional setup.&lt;/p&gt;

&lt;h2&gt;
  
  
  Benchmark Results
&lt;/h2&gt;

&lt;p&gt;The &lt;a href="https://arxiv.org/abs/2611.23001" rel="noopener noreferrer"&gt;arxiv paper&lt;/a&gt; reports that Kumo Tabular-L currently ranks first on eight benchmarks: TabArena, TALENT, BeyondArena, ScoringBench, STRABLE, MulTaBench, RamanBench, and TabBench-Bio. On the accuracy-efficiency Pareto frontier, it outperforms both gradient-boosted baselines and other tabular foundation models in combined accuracy and runtime.&lt;/p&gt;

&lt;p&gt;Specific speed comparisons are notable: Kumo Tabular-L predicts 36× faster than LimiX-2 on TabArena and 1.7× faster than TabPFN-3.5 on BeyondArena. For a model that also eliminates the training step entirely, these inference-time advantages compound the overall time savings.&lt;/p&gt;

&lt;p&gt;The &lt;a href="https://www.databricks.com/blog/tabular-foundation-models-databricks-ai-runtime" rel="noopener noreferrer"&gt;Databricks AI Runtime integration&lt;/a&gt; published in November 2026 provides additional context on where tabular foundation models fit in production: they are most competitive as rapid baselines, for complex tasks where standard tuning is cost-prohibitive, or in settings where GPU infrastructure is already available and iteration speed matters more than raw throughput.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where This Fits in the Tabular ML Landscape
&lt;/h2&gt;

&lt;p&gt;Kumo Tabular doesn't make gradient-boosted trees obsolete. For large-scale, latency-sensitive, CPU-based production pipelines, XGBoost and LightGBM remain strong choices — they're mature, fast on CPU, and don't require GPU memory that scales with context size. Tabular foundation models are GPU-dependent, and inference memory grows with the number of labeled rows you provide as context.&lt;/p&gt;

&lt;p&gt;But the use case for ICL-based tabular models is real and growing. When you need a strong baseline quickly, when you're working with a new domain where feature engineering intuition is limited, or when you're running many experiments across diverse datasets, eliminating the training loop is a genuine advantage. The fact that Kumo Tabular achieves this while also topping eight benchmarks suggests the approach has moved well past proof-of-concept.&lt;/p&gt;

&lt;p&gt;The broader trend here — applying the pretraining-then-inference paradigm that transformed NLP and computer vision to structured data — is still early. Kumo Tabular is a concrete step toward making that transfer work at production quality.&lt;/p&gt;

&lt;h2&gt;
  
  
  Getting Started
&lt;/h2&gt;

&lt;p&gt;The model is available now on &lt;a href="https://huggingface.co/nvidia/Kumo-Tabular" rel="noopener noreferrer"&gt;Hugging Face&lt;/a&gt; and through NVIDIA's SDM library. The &lt;a href="https://docs.nvidia.com/sdgm/structured-data-models/models/kumo-tabular" rel="noopener noreferrer"&gt;official documentation&lt;/a&gt; covers installation, inference examples, and guidance on context size selection. For practitioners who want to understand the architecture and pretraining methodology in depth, the &lt;a href="https://arxiv.org/abs/2611.23001" rel="noopener noreferrer"&gt;arxiv paper&lt;/a&gt; is the primary reference.&lt;/p&gt;

&lt;p&gt;If you've been waiting for tabular foundation models to reach a point where they're worth evaluating seriously against your existing pipelines, that point appears to have arrived.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>machinelearning</category>
      <category>datascience</category>
      <category>python</category>
    </item>
    <item>
      <title>AlphaGenome 2: How Google DeepMind Taught an AI to Read DNA Through a Cell's Eyes</title>
      <dc:creator>Prabhakar Chaudhary</dc:creator>
      <pubDate>Mon, 16 Nov 2026 17:05:04 +0000</pubDate>
      <link>https://dev.to/prabhakar_chaudhary_7afe4/alphagenome-2-how-google-deepmind-taught-an-ai-to-read-dna-through-a-cells-eyes-4pbg</link>
      <guid>https://dev.to/prabhakar_chaudhary_7afe4/alphagenome-2-how-google-deepmind-taught-an-ai-to-read-dna-through-a-cells-eyes-4pbg</guid>
      <description>&lt;h1&gt;
  
  
  AlphaGenome 2: How Google DeepMind Taught an AI to Read DNA Through a Cell's Eyes
&lt;/h1&gt;

&lt;p&gt;For decades, one of the hardest problems in human genetics has been connecting a DNA variant to the specific cell type where it actually does something. Genome-wide association studies (GWAS) can flag thousands of variants linked to disease, but most of them sit in non-coding regions — the 98% of the genome that doesn't encode proteins — and their effects depend entirely on which cell is reading that stretch of DNA. A variant that disrupts gene regulation in a gut immune cell may be invisible in a liver cell.&lt;/p&gt;

&lt;p&gt;Google DeepMind's &lt;a href="https://deepmind.google/blog/alphagenome-2-deciphering-how-cells-read-dna-to-better-understand-disease/" rel="noopener noreferrer"&gt;AlphaGenome 2&lt;/a&gt;, announced on November 11, 2026, is a direct attempt to solve this problem. It's a conditional DNA sequence model that predicts how genetic variants affect molecular activity in specific human and mouse cell types — not just broad tissue averages. The results are striking enough that a finding which took a research team 18 months of wet-lab experiments was reproduced computationally in about 30 minutes.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Changed from AlphaGenome 1
&lt;/h2&gt;

&lt;p&gt;The original AlphaGenome took a one-million-letter DNA sequence and predicted properties across thousands of experiments simultaneously — a parallel, multi-task approach. That design was efficient but spread the model's capacity thin. It couldn't distinguish between closely related cell types within the same tissue, and it couldn't tell you &lt;em&gt;where&lt;/em&gt; a variant was acting.&lt;/p&gt;

&lt;p&gt;AlphaGenome 2 flips this design. Instead of predicting everything at once, it's a &lt;strong&gt;conditional model&lt;/strong&gt;: it takes a DNA sequence &lt;em&gt;and&lt;/em&gt; a target biological condition — a specific cell type, tissue, or state — and predicts molecular activity for that one condition per call. The condition is injected at every stage of the architecture using &lt;a href="https://arxiv.org/abs/1709.07871" rel="noopener noreferrer"&gt;FiLM (Feature-wise Linear Modulation) layers&lt;/a&gt;, which modulate the model's internal activations based on the cell-type embedding. DeepMind found that conditioning the encoder and transformer layers (not just the decoder) gave the biggest performance gains.&lt;/p&gt;

&lt;p&gt;The architecture itself is a U-Net style design: a convolutional encoder, an 11-block transformer, and a decoder. The condition embedding is 256-dimensional and is applied throughout, allowing the model to learn how the same DNA sequence is interpreted differently depending on which cell is reading it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Training on 100 Million Single-Cell Profiles
&lt;/h2&gt;

&lt;p&gt;The scale of training data is what makes the conditional approach viable. AlphaGenome 2 was trained on more than 107 million individual cell profiles across 68 tissues, covering both bulk and single-cell measurements from human and mouse samples. This is a substantial step beyond the bulk tissue averages that trained AlphaGenome 1.&lt;/p&gt;

&lt;p&gt;The training ran in four stages: pre-training on bulk and pseudobulk tracks, condition refinement (tuning embeddings and FiLM layers), student-teacher distillation, and post-training the expression encoder. The model predicts the same core readouts as its predecessor — gene expression, histone modifications, chromatin accessibility, splicing — and adds DNA methylation, a frequently requested capability.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Cell Encoder: Generalizing to Unseen States
&lt;/h2&gt;

&lt;p&gt;One of the more practically useful features is the &lt;strong&gt;cell encoder&lt;/strong&gt;, which lets AlphaGenome 2 generalize to cell types and states it was never trained on. Researchers can provide a small single-cell RNA-seq snapshot — as few as a few dozen cells — and the model compresses that gene activity data into a 256-dimensional condition embedding. That embedding is then used to condition predictions for the new state, without any retraining.&lt;/p&gt;

&lt;p&gt;This matters for disease research. A variant's effect on an immune cell during active inflammation may differ from its effect in a resting state. AlphaGenome 2 demonstrated this with COVID-19 vaccine data: given unseen single-cell data from a vaccine study, the model distinguished activated T cells from resting ones and identified that a variant linked to severe COVID-19 disrupts gene activity more strongly in the activated state — an effect that would be invisible in bulk tissue data.&lt;/p&gt;

&lt;p&gt;The &lt;a href="https://google-deepmind-alphagenome.readthedocs-hosted.com/user_guides/ag1_vs_ag2.html" rel="noopener noreferrer"&gt;API documentation&lt;/a&gt; reflects this design: each call to &lt;code&gt;predict_sequence&lt;/code&gt;, &lt;code&gt;predict_interval&lt;/code&gt;, or &lt;code&gt;score_variant&lt;/code&gt; takes one condition, either a reference condition from the catalog or a &lt;code&gt;cell_conditioning&lt;/code&gt; input with raw UMI counts and Ensembl IDs (up to 256 cells per call).&lt;/p&gt;

&lt;h2&gt;
  
  
  Benchmark Results: Nearly Twice the Variant Recall
&lt;/h2&gt;

&lt;p&gt;The performance improvements are concrete. On the TenK10K dataset — a large single-cell map of 28 primary immune cell types — AlphaGenome 2 identified nearly twice as many causal variants as the original AlphaGenome fine-tuned on single-cell data:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Causal variant recall:&lt;/strong&gt; 30% vs. 16%&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Directional gene effect accuracy:&lt;/strong&gt; 43% vs. 23%&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The IBD example is the most illustrative. A 2024 study by James Lee's group at the Francis Crick Institute identified a variant in a gene desert that drives inflammatory bowel disease by overactivating &lt;em&gt;ETS2&lt;/em&gt; in gut macrophages — a finding that required 18 months of gene-editing experiments. AlphaGenome 2 reproduced the key result computationally: it singled out the causal variant, identified gut macrophages as the relevant cell type, and correctly predicted the direction of the effect (upregulation of &lt;em&gt;ETS2&lt;/em&gt;), while showing the variant had little effect in other cell types. As Lee told &lt;a href="https://www.nature.com/articles/d41586-026-03673-0" rel="noopener noreferrer"&gt;Nature News&lt;/a&gt;: "They've managed to figure out the answer in 30 minutes, and it took us a year and a half of experiments."&lt;/p&gt;

&lt;h2&gt;
  
  
  Cross-Modality Imputation
&lt;/h2&gt;

&lt;p&gt;A secondary capability worth noting is cross-modality imputation. Because AlphaGenome 2 separates a cell's biological state from its predicted outputs, it can infer unmeasured properties from a single measurement. If a researcher has single-cell gene expression data but no chromatin accessibility data, the model can predict the missing readout. This is useful for prioritizing which experiments to run next, particularly in resource-constrained settings.&lt;/p&gt;

&lt;h2&gt;
  
  
  Practical Access and Limitations
&lt;/h2&gt;

&lt;p&gt;AlphaGenome 2 is available for non-commercial research through the &lt;a href="https://deepmind.google/science/alphagenome/" rel="noopener noreferrer"&gt;AlphaGenome API&lt;/a&gt;, with interactive Colab tutorials for expression conditioning. Commercial research access is in private preview via Google Cloud. DeepMind has also announced AlphaGenome 2 Skills for Google Antigravity, their agentic development platform, pairing the model with Gemini 4 for complex genomic workflows.&lt;/p&gt;

&lt;p&gt;The model is not a replacement for AlphaGenome 1 in all cases. The original remains useful for scoring variants across all tissues simultaneously without selecting a condition, and for reproducing results from the AlphaGenome 1 paper. AlphaGenome 2 is more computationally intensive per call, since it processes one condition at a time.&lt;/p&gt;

&lt;p&gt;Neither model is validated for clinical or diagnostic use — both are research tools.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why This Matters for Practitioners
&lt;/h2&gt;

&lt;p&gt;For researchers working at the intersection of human genetics and cell biology, AlphaGenome 2 addresses a real bottleneck: the gap between GWAS signals and functional understanding. Most GWAS variants sit in non-coding regions, and most functional assays are run in stable cell lines that don't reflect the specific cell types where disease actually unfolds.&lt;/p&gt;

&lt;p&gt;A model that can predict variant effects in primary human cell types — including unseen disease states — and do so in minutes rather than months changes the economics of variant prioritization. It won't replace wet-lab validation, but it can substantially narrow the search space before experiments begin.&lt;/p&gt;

&lt;p&gt;The conditional architecture is also a design pattern worth watching. The shift from parallel multi-task prediction to condition-specific inference, with FiLM-based modulation throughout the network, is a general approach that could apply to other domains where context determines how the same input should be interpreted.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>machinelearning</category>
      <category>deeplearning</category>
      <category>datascience</category>
    </item>
    <item>
      <title>WikiTrace: Why LLM Agents Shouldn't Blindly Trust Their Own Memory</title>
      <dc:creator>Prabhakar Chaudhary</dc:creator>
      <pubDate>Fri, 13 Nov 2026 17:03:49 +0000</pubDate>
      <link>https://dev.to/prabhakar_chaudhary_7afe4/wikitrace-why-llm-agents-shouldnt-blindly-trust-their-own-memory-240i</link>
      <guid>https://dev.to/prabhakar_chaudhary_7afe4/wikitrace-why-llm-agents-shouldnt-blindly-trust-their-own-memory-240i</guid>
      <description>&lt;h1&gt;
  
  
  WikiTrace: Why LLM Agents Shouldn't Blindly Trust Their Own Memory
&lt;/h1&gt;

&lt;p&gt;When you give an LLM agent a memory system, you expect it to get smarter over time. It learns from past tasks, distills lessons, and applies them to new situations. But a growing body of evidence shows that memory can also make agents &lt;em&gt;worse&lt;/em&gt; — causing them to fail on tasks they would have solved correctly without any memory at all.&lt;/p&gt;

&lt;p&gt;Researchers from KAIST AI have a name for this: &lt;strong&gt;memory-induced degradation&lt;/strong&gt;. And their new system, &lt;a href="https://arxiv.org/abs/2611.14320" rel="noopener noreferrer"&gt;WikiTrace&lt;/a&gt;, is designed to fix it by giving agents the ability to verify their own memories before acting on them.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Problem: Lessons Without Evidence
&lt;/h2&gt;

&lt;p&gt;Standard agent memory works roughly like this: the agent runs a task, the trajectory (actions, observations, outcome) gets distilled into a concise lesson, and that lesson is stored for future use. When a new task arrives, the agent retrieves relevant lessons and applies them.&lt;/p&gt;

&lt;p&gt;The flaw is subtle but consequential. Lessons are typically labeled only with whether the task succeeded or failed — not &lt;em&gt;why&lt;/em&gt;. And they're handed to the agent without the original trajectory that produced them. So if a lesson is wrong, over-generalized, or misapplied to a different context, the agent has no way to catch the error. It just follows the rule.&lt;/p&gt;

&lt;p&gt;The KAIST team found that over half of memory-induced degradation instances trace back to a single misleading memory item. The agent trusted a lesson it shouldn't have, and that trust cost it the task.&lt;/p&gt;

&lt;h2&gt;
  
  
  WikiTrace: Three Layers, One Descent Mechanism
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://arxiv.org/abs/2611.14320" rel="noopener noreferrer"&gt;WikiTrace&lt;/a&gt; restructures agent memory into three interconnected layers:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Insights&lt;/strong&gt; — Concise, actionable guidelines: what to do, when it applies, and which past run it came from.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Compilations&lt;/strong&gt; — A diagnostic summary explaining &lt;em&gt;why&lt;/em&gt; that source run succeeded or failed.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Raw Trajectories&lt;/strong&gt; — The unaltered execution log: every action, every observation, the final outcome.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Every insight is permanently linked downward to its compilation and raw trajectory. This is the key structural difference from prior systems like &lt;a href="https://arxiv.org/abs/2308.10144" rel="noopener noreferrer"&gt;ExpeL&lt;/a&gt; or &lt;a href="https://arxiv.org/abs/2405.16247" rel="noopener noreferrer"&gt;AWM&lt;/a&gt;, which store lessons but discard the evidence chain.&lt;/p&gt;

&lt;p&gt;At inference time, the agent starts with all available insights in its prompt. But instead of blindly applying them, it's equipped with a &lt;strong&gt;descent mechanism&lt;/strong&gt;: whenever an insight lacks necessary detail, conflicts with another insight, or originates from a failed trajectory, the agent uses terminal tools to traverse the evidence links — inspecting the compilation and raw trajectory before taking any environment action.&lt;/p&gt;

&lt;p&gt;This is analogous to how a careful analyst doesn't just read a summary report; they go back to the source data when something doesn't add up.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the Benchmarks Show
&lt;/h2&gt;

&lt;p&gt;WikiTrace was evaluated across five agentic benchmark families spanning eight distinct evaluation suites: ALFWorld (household tasks), ScienceWorld (experiment simulation), PlanCraft (sequential crafting), τ³-bench (retail tool use), and AppWorld (complex API-driven tasks).&lt;/p&gt;

&lt;p&gt;The results, reported in the &lt;a href="https://arxiv.org/abs/2611.14320" rel="noopener noreferrer"&gt;paper&lt;/a&gt;, are measured along two axes: &lt;strong&gt;Score&lt;/strong&gt; (task success rate, higher is better) and &lt;strong&gt;Regression&lt;/strong&gt; (the rate at which memory turns prior successes into failures, lower is better).&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Method&lt;/th&gt;
&lt;th&gt;Score ↑&lt;/th&gt;
&lt;th&gt;Regression ↓&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;WikiTrace&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;90.2&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;4.5%&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Insights Only (same lessons, no trace links)&lt;/td&gt;
&lt;td&gt;87.0&lt;/td&gt;
&lt;td&gt;6.5%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;ReasoningBank&lt;/td&gt;
&lt;td&gt;81.7&lt;/td&gt;
&lt;td&gt;8.7%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;AWM&lt;/td&gt;
&lt;td&gt;81.6&lt;/td&gt;
&lt;td&gt;9.1%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;ExpeL&lt;/td&gt;
&lt;td&gt;80.3&lt;/td&gt;
&lt;td&gt;11.0%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;No Memory&lt;/td&gt;
&lt;td&gt;79.5&lt;/td&gt;
&lt;td&gt;9.7%&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The comparison between WikiTrace and "Insights Only" is particularly telling. Both systems receive the exact same distilled lessons. The only difference is that WikiTrace agents can descend into the evidence chain. That single capability accounts for a 3.2-point average score improvement and cuts the regression rate from 6.5% to 4.5%.&lt;/p&gt;

&lt;h2&gt;
  
  
  Degradation Scales With Task Difficulty
&lt;/h2&gt;

&lt;p&gt;One of the more interesting findings is how the benefit of evidence descent scales with task complexity. The team analyzed descent frequency and performance delta across easy, medium, and hard tasks:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Easy tasks&lt;/strong&gt;: 22% descent rate → +0.8 score gain over Insights Only&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Medium tasks&lt;/strong&gt;: 32% descent rate → +3.3 score gain&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Hard tasks&lt;/strong&gt;: 44% descent rate → +12.4 score gain&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;On hard tasks, agents descend into raw trajectories nearly half the time — and the payoff is substantial. This makes intuitive sense: simple tasks have simple lessons that are hard to misapply. Complex tasks involve more edge cases, more context-dependence, and more opportunities for a distilled lesson to lead the agent astray.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why This Matters for Agent System Design
&lt;/h2&gt;

&lt;p&gt;The WikiTrace paper raises a design principle that's easy to overlook: &lt;strong&gt;memory without provenance is a liability&lt;/strong&gt;. When you strip a lesson from its context and hand it to an agent as a rule, you're asking the agent to trust a summary it cannot verify. That works fine when the summary is accurate. It fails when the summary is wrong, incomplete, or applied to a situation it wasn't meant for.&lt;/p&gt;

&lt;p&gt;This connects to a broader challenge in building reliable long-horizon agents. Systems like &lt;a href="https://arxiv.org/abs/2303.11366" rel="noopener noreferrer"&gt;Reflexion&lt;/a&gt; and &lt;a href="https://arxiv.org/abs/2305.16291" rel="noopener noreferrer"&gt;VOYAGER&lt;/a&gt; have shown that agents can improve through self-reflection and skill accumulation. WikiTrace adds a complementary capability: the ability to &lt;em&gt;audit&lt;/em&gt; accumulated knowledge rather than just accumulate it.&lt;/p&gt;

&lt;p&gt;The practical implication for anyone building agent systems is that the memory store shouldn't just hold lessons — it should hold the evidence those lessons were derived from, and the agent should have a principled way to consult that evidence when a lesson seems unreliable.&lt;/p&gt;

&lt;h2&gt;
  
  
  Implementation and Availability
&lt;/h2&gt;

&lt;p&gt;The WikiTrace code is available on &lt;a href="https://github.com/yukyeongleee/wikitrace" rel="noopener noreferrer"&gt;GitHub&lt;/a&gt;, and the paper is on &lt;a href="https://arxiv.org/abs/2611.14320" rel="noopener noreferrer"&gt;arXiv&lt;/a&gt;. The system is model-agnostic in principle — the descent mechanism relies on terminal tool calls rather than any specific model architecture, so it can be layered onto existing agent frameworks.&lt;/p&gt;

&lt;p&gt;The memory build phase (compiling insights and linking them to trajectories) happens offline, so it doesn't add latency to inference. The descent itself does consume additional context and tool calls, but the authors note that the memory corpus is mounted read-only and lookups don't count against the agent's environment step budget.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Takeaway
&lt;/h2&gt;

&lt;p&gt;Memory-induced degradation is a real and measurable problem in LLM agent systems. WikiTrace addresses it with a structurally simple idea: keep the evidence chain intact, and give the agent the tools to consult it. The benchmark results suggest this is worth doing — especially for complex, multi-step tasks where the cost of a wrong lesson is highest.&lt;/p&gt;

&lt;p&gt;The broader lesson for agent system designers: trust, but verify. Even your own agent's memory.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>machinelearning</category>
      <category>llm</category>
      <category>opensource</category>
    </item>
    <item>
      <title>TimeNet: Building an 'ImageNet' for Temporal Foundation Models</title>
      <dc:creator>Prabhakar Chaudhary</dc:creator>
      <pubDate>Thu, 12 Nov 2026 20:42:18 +0000</pubDate>
      <link>https://dev.to/prabhakar_chaudhary_7afe4/timenet-building-an-imagenet-for-temporal-foundation-models-3flg</link>
      <guid>https://dev.to/prabhakar_chaudhary_7afe4/timenet-building-an-imagenet-for-temporal-foundation-models-3flg</guid>
      <description>&lt;p&gt;Large language models and vision transformers have benefited from massive, standardized datasets like Common Crawl and ImageNet, which provided the necessary scale for emergent properties to appear. However, temporal data—the time-series information generated by sensors, stock markets, and industrial processes—has historically lacked a unified data infrastructure of comparable scale. Most time-series research relies on fragmented, domain-specific datasets that are too small to support the training of true foundation models. The release of TimeNet, an open-source data infrastructure for Temporal Foundation Models (TSLMs), aims to rectify this by providing a standardized framework for large-scale temporal data curation and benchmarking. This development is significant for developers working on predictive maintenance, financial forecasting, and any application where the temporal dimension is the primary signal.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Challenge of Temporal Scaling
&lt;/h2&gt;

&lt;p&gt;The fundamental hurdle in building foundation models for time-series is data heterogeneity. Unlike text, which follows relatively stable linguistic structures, or images, which have consistent spatial relationships, time-series data varies wildly in sampling frequency, dimensionality, and noise characteristics. A heart rate monitor samples data in hertz, while an economic indicator might be updated monthly. Traditional machine learning approaches often involve manual feature engineering and normalization specific to one narrow domain. This fragmentation prevents the cross-domain transfer learning that makes LLMs so versatile. If we want a model that understands "trend" and "seasonality" as abstract concepts applicable to both weather patterns and server load, we need a way to feed it diverse temporal signals in a format it can consume.&lt;/p&gt;

&lt;p&gt;TimeNet addresses this by implementing a unified schema for temporal data. It treats time-series not as simple arrays of numbers, but as structured objects with associated metadata regarding sampling intervals and units. This allows for the creation of "temporal tokens" that can be processed by transformer-based architectures. The infrastructure is designed to handle billions of parameters across diverse domains, effectively creating a repository similar to how ImageNet organized the visual world. By centralizing these datasets, the project enables researchers to train models on a scale that was previously restricted to well-funded corporate labs.&lt;/p&gt;

&lt;h2&gt;
  
  
  Architecture and Data Curators
&lt;/h2&gt;

&lt;p&gt;The technical core of TimeNet is its set of "Data Curators." These are automated pipelines that ingest raw data from various sources, perform automated cleaning, and map the data to the TimeNet schema. The project documentation on &lt;a href="https://github.com/OpenTSLM/TimeNet" rel="noopener noreferrer"&gt;GitHub&lt;/a&gt; details how these curators handle missing values and non-uniform sampling—two of the biggest headaches in time-series analysis. Instead of discarding "messy" data, TimeNet uses interpolation and masking techniques to preserve as much signal as possible, ensuring that the resulting foundation models are robust to the irregularities of real-world sensors.&lt;/p&gt;

&lt;p&gt;Furthermore, TimeNet introduces a benchmark suite that goes beyond simple Mean Squared Error (MSE). It evaluates models on their ability to perform zero-shot forecasting, anomaly detection, and classification across unseen domains. This is a critical departure from previous benchmarks that focused on "in-distribution" performance. A true foundation model should be able to look at a new time-series from a factory it has never seen before and identify a looming failure based on the general principles of physical dynamics it learned elsewhere. The &lt;a href="https://arxiv.org/abs/2610.04407" rel="noopener noreferrer"&gt;associated research paper&lt;/a&gt; provides evidence that models trained on this infrastructure exhibit better generalization than those trained on single-domain datasets like the UCI repository.&lt;/p&gt;

&lt;h2&gt;
  
  
  Practical Implications for Developers
&lt;/h2&gt;

&lt;p&gt;For developers, the primary advantage of TimeNet is the accessibility of pre-trained weights and a standardized API for fine-tuning. Building a custom forecasting model from scratch is a labor-intensive process involving data collection, normalization, and model selection. With TimeNet-compatible models, a developer can take a pre-trained backbone and fine-tune it on a small amount of local data. This "transfer learning" for time-series significantly lowers the barrier to entry for adding intelligent monitoring to applications.&lt;/p&gt;

&lt;p&gt;The community reaction on &lt;a href="https://news.ycombinator.com/item?id=45305102" rel="noopener noreferrer"&gt;Hacker News&lt;/a&gt; highlights a strong interest in using these models for edge computing. Because temporal foundation models can be compressed using techniques like quantization, they are well-suited for deployment on IoT devices where bandwidth and compute power are limited. The ability to run sophisticated anomaly detection locally, without sending high-frequency sensor data to the cloud, has huge implications for privacy and system latency. Developers should look at the integration between TimeNet and existing frameworks like PyTorch and JAX, as the platform provides ready-to-use data loaders that fit perfectly into modern ML pipelines.&lt;/p&gt;

&lt;h2&gt;
  
  
  Looking Forward: The Future of TSLMs
&lt;/h2&gt;

&lt;p&gt;As the TimeNet dataset grows, we expect to see the emergence of models with much longer context windows for temporal data. Current limits often restrict models to looking at the recent past, but long-term dependencies are where the most valuable insights often reside. If TSLMs can reliably capture multi-year economic cycles or decadal climate shifts, the predictive power of our software will improve substantially. &lt;/p&gt;

&lt;p&gt;The move toward open data infrastructure is a necessary step for the democratization of AI. By providing the tools and the data required to build enterprise-grade time-series models, TimeNet allows smaller teams to compete with large-scale industrial players. The focus now shifts to the community to contribute more diverse data curators and to further refine the benchmarking standards. Developers interested in the intersection of time-series and foundation models should keep a close eye on the repository’s progress, as it likely represents the blueprint for the next generation of temporal intelligence. &lt;/p&gt;

&lt;p&gt;The shift from domain-specific models to unified temporal architectures is not just about better accuracy; it is about building a more general understanding of how the world changes over time. As these models become more integrated into our infrastructure, the distinction between "monitoring" and "predicting" will continue to blur, leading to systems that are inherently proactive rather than reactive.&lt;/p&gt;

</description>
      <category>opensource</category>
      <category>machinelearning</category>
      <category>datascience</category>
      <category>ai</category>
    </item>
    <item>
      <title>SinkState: Scaling Hybrid LLMs with On-the-Fly SVD and Adaptive Low-Rank States</title>
      <dc:creator>Prabhakar Chaudhary</dc:creator>
      <pubDate>Thu, 12 Nov 2026 18:18:51 +0000</pubDate>
      <link>https://dev.to/prabhakar_chaudhary_7afe4/sinkstate-scaling-hybrid-llms-with-on-the-fly-svd-and-adaptive-low-rank-states-1d04</link>
      <guid>https://dev.to/prabhakar_chaudhary_7afe4/sinkstate-scaling-hybrid-llms-with-on-the-fly-svd-and-adaptive-low-rank-states-1d04</guid>
      <description>&lt;h1&gt;
  
  
  SinkState: Scaling Hybrid LLMs with On-the-Fly SVD and Adaptive Low-Rank States
&lt;/h1&gt;

&lt;p&gt;Hybrid Large Language Models (LLMs)—architectures that blend traditional softmax attention with linear attention or recurrent layers like Mamba-2—have emerged as a compelling alternative to pure Transformers. By compressing history into fixed-size recurrent states, these models aim to offer the best of both worlds: the expressive power of attention and the constant-time inference of Recurrent Neural Networks (RNNs). However, as batch sizes scale and models grow toward the 100B+ parameter range, a new bottleneck has surfaced. Despite the theoretical efficiency of linear attention, the actual memory traffic generated by reading and rewriting these dense recurrent states has become a dominant cost in decoding.&lt;/p&gt;

&lt;p&gt;A recent paper from researchers at institutions including Meta and the University of Iowa, titled "SinkState: On-the-Fly SVD of Recurrent States for Efficient Hybrid LLM Serving," identifies a critical inefficiency in how we handle these states. The authors demonstrate that linear attention states are far from dense in their information content. Instead, they exhibit what the team calls a "linear attention sink"—a phenomenon where the queries, keys, and values concentrate in a stable, low-dimensional subspace. SinkState exploits this by replacing dense state updates with an adaptive low-rank representation managed via on-the-fly Singular Value Decomposition (SVD).&lt;/p&gt;

&lt;h2&gt;
  
  
  The Linear Attention Sink: Why Dense States are Redundant
&lt;/h2&gt;

&lt;p&gt;To understand why SinkState matters, we first need to look at the mechanics of hybrid models like Mamba-2 or Gated DeltaNet (GDN). In a standard Transformer, the KV cache grows linearly with the sequence length, creating a memory wall that limits long-context capabilities. Hybrid models solve this by utilizing linear attention, which maintains a recurrent state of fixed size. However, the researchers found that these states often contain significant redundancy.&lt;/p&gt;

&lt;p&gt;By analyzing the activation patterns of four different hybrid models (ranging from 4B to 120B parameters), the team observed that the state matrices consistently possess a low-rank structure. Specifically, the information is concentrated in a handful of singular values, while the rest are effectively noise. This "sink" effect means that we are wasting significant GPU memory bandwidth by moving dense tensors in and out of the compute cores during every single decoding step. In large-scale serving environments, where batch sizes are high, this memory traffic becomes the primary limiter of tokens-per-second throughput.&lt;/p&gt;

&lt;h2&gt;
  
  
  On-the-Fly SVD: The Mechanics of SinkState
&lt;/h2&gt;

&lt;p&gt;SinkState introduces a system-level optimization that transforms how these states are stored and updated. Rather than maintaining a full $d \times d$ state matrix, SinkState stores each state in an adaptive low-rank form (as $U \Sigma V^T$). The core of the contribution is the ability to perform these decompositions and updates dynamically without stalling the inference pipeline.&lt;/p&gt;

&lt;p&gt;The system utilizes three primary mechanisms to achieve this:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Buffered Updates:&lt;/strong&gt; Instead of re-decomposing the state at every step, SinkState buffers new updates. When the buffer reaches a certain threshold or the approximation error exceeds a limit, the system triggers a rank adjustment.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Local SVD:&lt;/strong&gt; The SVD is restricted to the top subspace identified in previous steps. This drastically reduces the computational overhead of the decomposition, making it feasible to run during the decoding loop.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Asynchronous CPU Consolidation:&lt;/strong&gt; The remaining components and lower-priority state maintenance tasks are offloaded to the CPU and executed asynchronously. This ensures that the GPU remains focused on the critical path of token generation.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;By dynamically adjusting the rank of each state based on its actual information content, SinkState reduces the total memory footprint of the recurrent states by an average of 1.9x, reaching up to 2.6x in peak scenarios.&lt;/p&gt;

&lt;h2&gt;
  
  
  Performance Benchmarks: 1.58x Decoding Speedup
&lt;/h2&gt;

&lt;p&gt;The researchers evaluated SinkState across a variety of architectures, including Mamba-2 and Gated DeltaNet layers. The results show that the technical gains in memory efficiency translate directly into serving performance. Compared to state-of-the-art implementations like Mamba-SSM and Flash Linear Attention (FLA), SinkState achieved decoding speedups of up to 1.58x.&lt;/p&gt;

&lt;p&gt;One of the most notable aspects of the benchmark is the stability of the model's accuracy. Standard compression techniques often trade off quality for speed. However, because the linear attention sink is a natural property of how these models learn, the low-rank approximation in SinkState results in negligible impact on downstream task performance. The system effectively "trims the fat" that the model wasn't using anyway.&lt;/p&gt;

&lt;p&gt;For a 120B parameter hybrid model, this optimization is the difference between being memory-bound by state traffic and being compute-bound by the model weights—the ideal state for maximizing GPU utilization.&lt;/p&gt;

&lt;h2&gt;
  
  
  What This Means for Practitioners
&lt;/h2&gt;

&lt;p&gt;For machine learning engineers and DevOps teams building LLM infrastructure, SinkState offers several practical takeaways:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Hybrid Models are Ready for Scale:&lt;/strong&gt; If you have been hesitant to adopt Mamba or other linear attention variants due to concerns about serving efficiency at high batch sizes, SinkState proves that the system-level bottlenecks are solvable.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Memory Bandwidth is the New Frontier:&lt;/strong&gt; The shift from compute-bound to memory-bound workloads is accelerating. Techniques that reduce memory traffic, such as SVD-based state compression, will be essential for the next generation of inference engines.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Adaptive Systems Win:&lt;/strong&gt; Fixed-size buffers and static quantization are increasingly being replaced by adaptive systems that respond to the model's internal activations. SinkState’s use of dynamic rank adjustment is a blueprint for this trend.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you are currently deploying models with Mamba-2 or Gated DeltaNet layers, integrating an adaptive low-rank state manager could significantly lower your cloud infrastructure costs while improving the user experience through lower latency.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to Implement SinkState-like Optimizations
&lt;/h2&gt;

&lt;p&gt;While SinkState is a specific system implementation, the principles can be applied to other recurrent architectures:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Profile Your States:&lt;/strong&gt; Begin by measuring the singular values of your model's recurrent states during a standard inference run. If you see a sharp drop-off after the first few components, your model is a candidate for low-rank optimization.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Implement Buffered Consolidation:&lt;/strong&gt; Don't try to compute an SVD on every token. Use a buffer to collect updates and update the low-rank basis periodically.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Leverage CPU-GPU Heterogeneity:&lt;/strong&gt; Offload state maintenance to the CPU. In modern systems, the CPU is often underutilized during LLM inference; using it to manage state metadata can free up valuable GPU cycles.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;The evolution of LLM architectures continues to move toward more efficient representations of context. SinkState demonstrates that even the "fixed-size" states of linear attention models can be further optimized. By recognizing the low-rank nature of the linear attention sink, we can achieve substantial gains in throughput and memory efficiency without sacrificing the quality of the model's reasoning.&lt;/p&gt;

&lt;p&gt;As we move toward 2027, the focus of AI engineering is shifting from simply training larger models to serving them more intelligently. Innovations like SinkState show that there is still significant performance left on the table, waiting to be unlocked by thoughtful, system-level design.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Sources:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Primary Source:&lt;/strong&gt; &lt;a href="https://arxiv.org/abs/2611.14246" rel="noopener noreferrer"&gt;SinkState: On-the-Fly SVD of Recurrent States for Efficient Hybrid LLM Serving&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="https://arxiv.org/abs/2405.21060" rel="noopener noreferrer"&gt;Mamba-2: State Space Duality&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/sustech-slowy/flash-linear-attention" rel="noopener noreferrer"&gt;Flash Linear Attention (FLA) Library&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://arxiv.org/abs/2412.06461" rel="noopener noreferrer"&gt;Gated DeltaNet: Linear Recurrence with Delta Rule&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>ai</category>
      <category>machinelearning</category>
      <category>llm</category>
      <category>deeplearning</category>
    </item>
    <item>
      <title>Praxis-1: How Runway Turned a Video Foundation Model Into a Robot Brain</title>
      <dc:creator>Prabhakar Chaudhary</dc:creator>
      <pubDate>Wed, 11 Nov 2026 17:04:33 +0000</pubDate>
      <link>https://dev.to/prabhakar_chaudhary_7afe4/praxis-1-how-runway-turned-a-video-foundation-model-into-a-robot-brain-4m51</link>
      <guid>https://dev.to/prabhakar_chaudhary_7afe4/praxis-1-how-runway-turned-a-video-foundation-model-into-a-robot-brain-4m51</guid>
      <description>&lt;h1&gt;
  
  
  Praxis-1: How Runway Turned a Video Foundation Model Into a Robot Brain
&lt;/h1&gt;

&lt;p&gt;Runway is best known for video generation tools used by filmmakers and designers. But the company just released something that points in a very different direction: &lt;a href="https://runway.com/news/company-news/praxis-1-is-now-available" rel="noopener noreferrer"&gt;Praxis-1&lt;/a&gt;, a 27-billion-parameter open-weight model that controls real robots by predicting what the world will look like next — and what actions will get it there.&lt;/p&gt;

&lt;p&gt;The model is now available under the Apache 2.0 license, and it currently ranks first among world action models on NVIDIA's &lt;a href="https://runway.com/research/praxis-1-video-pretraining-to-robot-control" rel="noopener noreferrer"&gt;RoboLab-120 leaderboard&lt;/a&gt;, outperforming alternatives like FLUX 3 Action, Cosmos 3 Nano, and π0.5. What makes it interesting isn't just the benchmark number — it's the architectural bet underneath it.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Core Idea: Video Pretraining as a Shortcut to Robot Control
&lt;/h2&gt;

&lt;p&gt;Training a robot policy from scratch requires enormous amounts of robot-specific data, which is expensive and slow to collect. Praxis-1 sidesteps much of that cost by starting from a model that already understands how the physical world works — Runway's own video foundation model, trained on general video across twelve generation tasks.&lt;/p&gt;

&lt;p&gt;The intuition is straightforward: a model that can predict what a scene will look like after a hand reaches for a cup has already learned something about object permanence, contact dynamics, and spatial relationships. That knowledge transfers. The robot-specific fine-tuning then becomes a much smaller lift.&lt;/p&gt;

&lt;p&gt;This is the "world action model" framing: rather than mapping observations directly to motor commands, Praxis-1 first imagines what the world will look like after the next action, then reads that imagined future to decide what motion to output.&lt;/p&gt;

&lt;h2&gt;
  
  
  Architecture: Two Models Working in Tandem
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://runway.com/research/praxis-1-video-pretraining-to-robot-control" rel="noopener noreferrer"&gt;Praxis-1's architecture&lt;/a&gt; has two main components that run together at inference time.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The video backbone&lt;/strong&gt; is a 26.9B-parameter mixture-of-experts diffusion transformer built on Runway's video foundation model. It uses a Wan2.2 VAE for latent encoding and a frozen Qwen3.5-2B text encoder for instructions. Of its 20 feed-forward layers, 17 are MoE layers — each with one shared expert and 128 routed experts, of which each token activates eight. This keeps active compute roughly equivalent to a dense model while holding far more total parameters. The backbone predicts future video in 1.6-second chunks of six latent frames.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The action expert&lt;/strong&gt; is a much smaller dense 16-layer transformer (~314M parameters) that reads the video backbone's internal state as it imagines the future. It alternates between cross-attention into eight spread-out backbone encoder blocks and self-attention over its own tokens. The key design choice: the action expert reads the backbone's &lt;em&gt;predicted&lt;/em&gt; future frames, not just the current observation. It learns to act based on what the model thinks will happen, not just what it sees now.&lt;/p&gt;

&lt;p&gt;At inference, the robot sends camera frames and its current pose, receives 24 action rows (1.6 seconds at 15 Hz) alongside predicted future video latents, executes the chunk, and calls again. The round-trip on a single H100 takes roughly 0.55–0.6 seconds.&lt;/p&gt;

&lt;h2&gt;
  
  
  Four Training Stages
&lt;/h2&gt;

&lt;p&gt;The training pipeline is staged carefully to avoid wasting robot data on a model that hasn't yet learned basic physics:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Video pretraining&lt;/strong&gt; — The backbone starts as Runway's general video model, trained on clips up to 20 seconds with full-sequence attention.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Embodied-video mid-training&lt;/strong&gt; — The backbone switches to chunk-causal attention and trains on a mix of egocentric human video (58%), general video (20%), and real robot footage (18%). No action targets yet.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Video and action joint mid-training&lt;/strong&gt; — The action expert is attached with fresh weights. The loss is an equal-weight sum of video and action velocity losses. The Muon optimizer handles most weight matrices; AdamW handles embeddings and projections.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Embodiment-specific fine-tuning&lt;/strong&gt; — The full mid-trained model is fine-tuned for a specific robot. For the DROID Franka arm, this used ~277 hours of successful episodes across 50k optimizer steps on 128 H100s.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;More mid-training compute consistently improves downstream fine-tuning. On the unseen RT-1 embodiment, SimplerEnv success rose from 56.3% at the earliest checkpoint to 80.0% at the latest — without any RT-1 data seen during mid-training.&lt;/p&gt;

&lt;h2&gt;
  
  
  Results That Hold Up on Real Hardware
&lt;/h2&gt;

&lt;p&gt;On &lt;a href="https://runway.com/research/praxis-1-video-pretraining-to-robot-control" rel="noopener noreferrer"&gt;NVIDIA's RoboLab-120 benchmark&lt;/a&gt; (120 tabletop tasks, 10 trials each), Praxis-1 fine-tuned on DROID solved 555 of 1,200 episodes (46.2%), placing first among world action models and open-source robot foundation models. The next-best world action model, FLUX 3 Action, scored 42.9%.&lt;/p&gt;

&lt;p&gt;On a real Franka FR3 station running FLUX 3 Action's published ten tasks, Praxis-1 achieved 88.0% success versus FLUX 3 Action's 80.0%.&lt;/p&gt;

&lt;p&gt;The model also adapts quickly to new embodiments. Fine-tuned on just 29 minutes of teleoperated data from Noble Machines' robot, it succeeded in all 15 simulated trials across two trained layouts. Fine-tuned on Google's RT-1 dataset, it reached 80.0% on SimplerEnv — well above RT-1's own 52.4%.&lt;/p&gt;

&lt;p&gt;One offline analysis is worth noting: when the team measured action error on held-out DROID windows, most of the error came from which future the video model imagined, not from the action expert's ability to read that future. The bottleneck is video prediction quality, not action decoding.&lt;/p&gt;

&lt;h2&gt;
  
  
  Quantization and Deployment
&lt;/h2&gt;

&lt;p&gt;Praxis-1 supports 4-bit NVFP4 quantization for its routed MoE experts. On RoboLab-120, the quantized model scored 46.5% versus 47.8% in bf16 — not statistically significant. Weights drop from 54.4 GB to 17.5 GB, making deployment on a single 80 GB GPU practical. Real-time chunking with streaming optimization brings server time down from ~545 ms to 128 ms for bimanual tasks.&lt;/p&gt;

&lt;h2&gt;
  
  
  What This Means for Practitioners
&lt;/h2&gt;

&lt;p&gt;The most direct implication is that general video pretraining is a credible path to robot control. If you have a new robot embodiment, Praxis-1's mid-trained base model gives you a starting point that already understands physical dynamics, requiring far less fine-tuning data than training from scratch.&lt;/p&gt;

&lt;p&gt;Three checkpoints are available on Hugging Face under Apache 2.0: Praxis-1 fine-tuned on DROID, fine-tuned on bimanual YAM, and the base mid-trained model. The release includes policy servers, MuJoCo simulation environments, and native LeRobot support for LoRA or full fine-tuning.&lt;/p&gt;

&lt;p&gt;The cost comparison to a frontier LLM agent is telling: on the same bimanual YAM station, GPT-6 Astra took 15.6x longer to finish a task and cost 51x more per completed task than Praxis-1. For real-world deployments where latency and cost matter, a specialized world action model has a clear edge.&lt;/p&gt;

&lt;h2&gt;
  
  
  Limitations Worth Knowing
&lt;/h2&gt;

&lt;p&gt;Praxis-1 struggles with look-alike objects — it can reach for the wrong item when two objects are visually similar. Vague instructions that omit specific attributes (color, size) also degrade performance. Long multi-step tasks from a single prompt remain challenging without step-by-step breakdown. These are honest limitations that the team documents clearly in the &lt;a href="https://runway.com/research/praxis-1-video-pretraining-to-robot-control" rel="noopener noreferrer"&gt;technical report&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Praxis-1 is a concrete demonstration that video pretraining at scale transfers to robot control in ways that matter for real deployments. The architecture — a large video backbone imagining the future, a small action expert reading that imagination — is clean and well-motivated. The open-weight release under Apache 2.0 makes it immediately usable for researchers and practitioners working on robot learning.&lt;/p&gt;

&lt;p&gt;Whether this approach scales further, and whether the video prediction bottleneck can be closed, are open questions. But as a starting point for embodied AI work, Praxis-1 is worth a close look.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>machinelearning</category>
      <category>deeplearning</category>
      <category>opensource</category>
    </item>
    <item>
      <title>SwarmEvolve: How Latent-Space Agent Swarms Cut Scientific Program Search Time from 60 Minutes to 8</title>
      <dc:creator>Prabhakar Chaudhary</dc:creator>
      <pubDate>Mon, 09 Nov 2026 17:05:52 +0000</pubDate>
      <link>https://dev.to/prabhakar_chaudhary_7afe4/swarmevolve-how-latent-space-agent-swarms-cut-scientific-program-search-time-from-60-minutes-to-8-10hj</link>
      <guid>https://dev.to/prabhakar_chaudhary_7afe4/swarmevolve-how-latent-space-agent-swarms-cut-scientific-program-search-time-from-60-minutes-to-8-10hj</guid>
      <description>&lt;h1&gt;
  
  
  SwarmEvolve: How Latent-Space Agent Swarms Cut Scientific Program Search Time from 60 Minutes to 8
&lt;/h1&gt;

&lt;p&gt;Most multi-agent AI systems communicate the same way humans do: one agent writes something, the next reads it, thinks, and writes back. It works, but it carries a hidden cost. Every time an agent converts its internal reasoning into text, it loses information — the probability distributions, the uncertainty, the nuance that lived in the model's hidden states. The next agent then has to reconstruct all of that from prose.&lt;/p&gt;

&lt;p&gt;A new paper from Jiang and Karniadakis at Brown University calls this the "decoding tax," and their framework, &lt;a href="https://arxiv.org/abs/2611.08483" rel="noopener noreferrer"&gt;SwarmEvolve&lt;/a&gt;, is designed to eliminate it entirely.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Problem with Text-Based Agent Pipelines
&lt;/h2&gt;

&lt;p&gt;LLM-guided evolutionary search — where AI agents iteratively propose, evaluate, and refine programs or mathematical constructions — has become a productive area of research. Frameworks like OpenEvolve and AlphaEvolve have demonstrated that language models can discover novel scientific algorithms when given the right scaffolding.&lt;/p&gt;

&lt;p&gt;The bottleneck is throughput. In a standard setup, an agent generates a chain-of-thought in natural language, that text is tokenized and fed to the next agent, which generates more text, and so on. For tasks where the fitness function is machine-checkable (does this code produce the right output? does this packing arrangement beat the previous record?), the prose is largely overhead. The agents are writing for each other, not for humans.&lt;/p&gt;

&lt;p&gt;SwarmEvolve asks: what if agents skipped the text entirely?&lt;/p&gt;

&lt;h2&gt;
  
  
  Reasoning in Latent Space
&lt;/h2&gt;

&lt;p&gt;The core mechanism of SwarmEvolve is straightforward in concept, though technically precise in execution. Instead of sampling tokens, each agent feeds its last hidden state $\mathbf{h}&lt;em&gt;t$ back as the next input embedding $\mathbf{e}&lt;/em&gt;{t+1}$ through a learned alignment matrix $\mathbf{W}_a$. The agent performs 40 of these latent reasoning steps — thinking without writing — before its internal state is passed along.&lt;/p&gt;

&lt;p&gt;This is not a new idea in isolation. Latent-space reasoning has been explored in various forms. What SwarmEvolve adds is a structured multi-agent architecture built around it.&lt;/p&gt;

&lt;p&gt;Each round of evolution deploys 450 agents organized into 10 specialized swarms. The swarms have different roles: some refine existing programs, some hybridize two parent programs, some explore fresh directions. Within each swarm, a &lt;strong&gt;novelty filter&lt;/strong&gt; computes the mean hidden state of each agent and uses greedy farthest-point selection in cosine distance to keep the most distinct reasoning trajectories, discarding agents whose internal states are too similar to others.&lt;/p&gt;

&lt;p&gt;The retained agents then pass their &lt;a href="https://arxiv.org/html/2611.08483" rel="noopener noreferrer"&gt;KV caches&lt;/a&gt; — the key-value attention matrices that encode their reasoning context — to a summarizer agent. The summarizer attends to all of these concatenated caches simultaneously, synthesizing a new program proposal that integrates the diverse perspectives of the swarm without any of them having to write a word.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the Numbers Show
&lt;/h2&gt;

&lt;p&gt;The authors evaluated SwarmEvolve on 21 problems spanning mathematical discovery and scientific computing: packing problems, geometry, differential equations, and similar domains where a deterministic evaluator can score candidate solutions.&lt;/p&gt;

&lt;p&gt;The headline result: SwarmEvolve reaches the 60-minute performance scores of text-based baselines (OpenEvolve, ShinkaEvolve, CodeEvolve) in a &lt;strong&gt;median of 3 to 8 minutes&lt;/strong&gt;. It evaluates 5 to 13 times more candidate programs per hour than those frameworks.&lt;/p&gt;

&lt;p&gt;More interesting than the speed is the quality ceiling. Using Qwen3-8B — a relatively small model — SwarmEvolve outperformed baselines running Qwen3-32B-FP8. In three cases, it improved upon constructions previously discovered by AlphaEvolve using frontier-scale models. The authors attribute this to the higher throughput enabling broader exploration of the search space, rather than any architectural superiority of the underlying model.&lt;/p&gt;

&lt;p&gt;One important caveat: these are paper-reported results. The SwarmEvolve repository currently lists its core implementation as "coming soon," and independent reproduction has not yet been established as of this writing.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Engineering Trade-offs
&lt;/h2&gt;

&lt;p&gt;The efficiency gains come with real constraints that practitioners should understand before getting excited about deploying something like this.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Model homogeneity is required.&lt;/strong&gt; Because agents share KV caches, they must use the same model architecture, tokenizer, and attention implementation. You cannot mix a small local model with a frontier API call mid-swarm. This rules out the common pattern of routing difficult subproblems to more capable models.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Infrastructure is non-trivial.&lt;/strong&gt; Standard LLM serving stacks like vLLM with prefix caching are not optimized for the kind of cross-agent KV cache sharing SwarmEvolve requires. Keeping hundreds of agent caches warm and addressable simultaneously is a memory-intensive operation that requires purpose-built infrastructure.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Debugging becomes harder.&lt;/strong&gt; When something goes wrong in a text-based pipeline, you have conversation logs. In a latent-space pipeline, you have numerical performance metrics and hidden state vectors. Engineers working with SwarmEvolve would need to build new instrumentation — periodic state sampling, rendering tools — to understand what the agents are actually doing.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Consensus collapse is a risk.&lt;/strong&gt; If agents fork from a shared KV cache and their novelty filter fails to maintain diversity, the swarm can converge on a single reasoning trajectory. At that point, you have 450 agents effectively doing the same thing, which defeats the purpose of the architecture.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where This Fits
&lt;/h2&gt;

&lt;p&gt;The practical decision about whether latent swarms make sense depends almost entirely on the nature of the task. The &lt;a href="https://fcmo-ai.github.io/FCMO-AI-Newsletter/2026/11/06/swarmevolve-reports-faster-program-search-with-latent-agent-swarms.md" rel="noopener noreferrer"&gt;FCMO-AI Newsletter's analysis&lt;/a&gt; puts it well: adopt latent handoffs when the fitness function is machine-checkable and the agents are homogeneous. Retain prose handoffs when you need human-readable artifacts, heterogeneous model ensembles, or transparency for debugging.&lt;/p&gt;

&lt;p&gt;For scientific computing, kernel optimization, and automated algorithm discovery, SwarmEvolve's approach is well-suited. For general-purpose agentic workflows — customer support, code review, document drafting — the trade-offs are harder to justify.&lt;/p&gt;

&lt;p&gt;The broader point, as &lt;a href="https://dev.to/o96a/the-decoding-tax-latent-swarms-vs-the-pipelines-i-actually-ship-11eh"&gt;one practitioner noted on Dev.to&lt;/a&gt;, is that the "prose bus" between agents is often a convenience for developers, not a requirement for the agents themselves. When the task is machine-graded and the agents are homogeneous, that convenience has a measurable cost.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Comes Next
&lt;/h2&gt;

&lt;p&gt;SwarmEvolve is a research prototype, not a production system. The immediate questions are whether the results hold up under independent replication, whether the infrastructure requirements can be reduced, and whether the novelty filter is robust enough to prevent consensus collapse at scale.&lt;/p&gt;

&lt;p&gt;The deeper question it raises is more interesting: as AI systems increasingly use each other as components, how much of the text-based interface between them is genuinely necessary? The answer is probably "less than we currently assume" — but the engineering work to replace it safely is substantial.&lt;/p&gt;

&lt;p&gt;The &lt;a href="https://arxiv.org/abs/2611.08483" rel="noopener noreferrer"&gt;paper&lt;/a&gt; and &lt;a href="https://github.com/Qile-J/SwarmEvolve" rel="noopener noreferrer"&gt;GitHub repository&lt;/a&gt; are available for those who want to dig into the implementation details.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>machinelearning</category>
      <category>llm</category>
      <category>opensource</category>
    </item>
    <item>
      <title>Weight-Space Programming: When LLMs Learn to Read and Rewrite Neural Network Weights</title>
      <dc:creator>Prabhakar Chaudhary</dc:creator>
      <pubDate>Fri, 06 Nov 2026 17:04:28 +0000</pubDate>
      <link>https://dev.to/prabhakar_chaudhary_7afe4/weight-space-programming-when-llms-learn-to-read-and-rewrite-neural-network-weights-3d9p</link>
      <guid>https://dev.to/prabhakar_chaudhary_7afe4/weight-space-programming-when-llms-learn-to-read-and-rewrite-neural-network-weights-3d9p</guid>
      <description>&lt;h1&gt;
  
  
  Weight-Space Programming: When LLMs Learn to Read and Rewrite Neural Network Weights
&lt;/h1&gt;

&lt;p&gt;A new research direction from MIT CSAIL is asking a question that would have seemed far-fetched just a few years ago: can a large language model look at the raw numerical weights of a neural network and understand what it does — well enough to fix it, or even write a new one from scratch?&lt;/p&gt;

&lt;p&gt;The answer, based on eight experiments published this week, is a qualified yes. The work, titled &lt;a href="https://rikiyat.github.io/blog/weight-space-programming/" rel="noopener noreferrer"&gt;&lt;em&gt;Sparks of Weight-Space Programming&lt;/em&gt;&lt;/a&gt;, comes from Rikiya Takehi, Jayden Teoh, Alex Zhang, and Omar Khattab at MIT CSAIL. It uses OpenAI's GPT-6 Astra to read, diagnose, and directly edit neural network weights — without gradient descent, without a training loop, and in some cases without any forward passes at all.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Weight-Space Programming Actually Means
&lt;/h2&gt;

&lt;p&gt;The core idea is straightforward: instead of using a symbolic optimizer like Adam or Muon to update weights, you hand the weights to an LLM and ask it to reason about what each part of the network computes. The LLM then edits the weights directly, guided by a natural language specification.&lt;/p&gt;

&lt;p&gt;This is different from using LLMs to write training code or tune hyperparameters — both of which are already common. In those cases, the LLM is still working with text artifacts. Weight-Space Programming asks the model to work with the weights themselves as a kind of structured numerical code.&lt;/p&gt;

&lt;p&gt;The researchers gave GPT-6 Astra the weights as text, or a sandboxed Python environment where it could load tensors with NumPy or PyTorch but could not run the network on inputs. In some experiments, Astra was allowed a small budget of forward passes (10, 25, or 50) to observe the network's behavior between edits.&lt;/p&gt;

&lt;h2&gt;
  
  
  Eight Experiments, Three Capabilities
&lt;/h2&gt;

&lt;p&gt;The paper organizes its results around three questions: can an LLM &lt;em&gt;read&lt;/em&gt; weights, &lt;em&gt;repair&lt;/em&gt; weights, and &lt;em&gt;write&lt;/em&gt; weights from scratch?&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Reading weights.&lt;/strong&gt; In the first experiment, four small neural networks were each trained with PPO to play a different Atari-style game (Breakout, Pong, Pac-Man, Freeway) — all with identical architectures. Astra was given each network's raw weights as text and asked which game it was trained on, without being told the options. It named the right game for all four. In a separate experiment, Astra correctly identified which of three small diffusion models was trained to generate circles, squares, or triangles, again from weights alone. It also identified the training language (Python, Japanese romaji, or English) of three character-level transformers, and named every "copying head" (induction head) in each network — matching the ground truth exactly.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Repairing weights.&lt;/strong&gt; The most practically significant result involves Qwen3.5-0.8B, a small language model with a documented tendency to loop — repeating text rather than producing an answer — when its thinking mode is enabled. Astra traced the looping to a specific direction written by the MLP layers at positions 15 and 19 in the network. It then edited 131,072 weights (0.016% of the total) to suppress that direction. The result: MATH-500 accuracy went from 7.9% to 48.1%, and GSM8K from 13.8% to 67.1%. An &lt;a href="https://achintyakj.tech/blog/weight-space-audit" rel="noopener noreferrer"&gt;independent audit&lt;/a&gt; by Achintya KJ reproduced the result on a separate GPU, scoring 51% on MATH-500 against 9% for the unedited model.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Writing weights from scratch.&lt;/strong&gt; In three MinAtar games, Astra wrote network weights from scratch in a single reply, with no training data, no loss function, and no gradient information. On Breakout, the resulting network scored 517.4 — against 15.8 for a PPO agent trained for 100 million steps. On Seaquest and Asterix, the PPO agents trained for 500 million steps stayed ahead, but Astra's zero-shot networks still beat the 100-million-step baselines.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the Independent Audit Found
&lt;/h2&gt;

&lt;p&gt;The numbers are real. The framing is stronger than the evidence.&lt;/p&gt;

&lt;p&gt;That's the summary from &lt;a href="https://achintyakj.tech/blog/weight-space-audit" rel="noopener noreferrer"&gt;Achintya KJ's independent audit&lt;/a&gt;, which traced every claim in the paper against the released logs and reran six of the eight experiments with independent code. Every number it could check was confirmed. But several descriptions in the original post are more conservative than the actual edits:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The paper says Astra "subtracted that direction" from Qwen's weights. The audit found two distinct directions, each flipped and amplified by a factor of 5 — not subtracted.&lt;/li&gt;
&lt;li&gt;The paper says 3.5% of weights were changed in the Kinetix car experiment. The audit found the change was about 26 times the magnitude of the original weights.&lt;/li&gt;
&lt;li&gt;The headline Qwen result comes from a single run, never repeated. A decoding-only baseline (repetition penalty 1.1) closes about 40% of the gap to the edit, which the original paper doesn't mention.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;None of this invalidates the results. The edit outperforms the best decoding fix by 25 points on MATH-500 (paired p = 1e-11). But the methodology has been demonstrated once, and whether Astra would find a comparable fix on a second independent run is unknown.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where It Fails
&lt;/h2&gt;

&lt;p&gt;The paper is careful to document limits. Astra could not distinguish a sycophantic Gemma 3 270M fine-tune from an honest one using weights alone — it only succeeded when given access to attention patterns on generated text. It also could not improve Gemma 3 270M on MATH-500, which the authors interpret as evidence that weight editing can remove an obstacle (like a looping behavior) but cannot inject a skill the network doesn't already have.&lt;/p&gt;

&lt;p&gt;Context length is also a practical constraint. The weights of even a small model like Qwen3.5-0.8B can't fit in a single context window as raw text. The experiments work around this by giving Astra access to specific tensors rather than the full weight dump, so the LLM reasons about targeted subsets rather than the whole network.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why This Matters for Interpretability
&lt;/h2&gt;

&lt;p&gt;The most interesting implication isn't model repair — it's auditing. The authors suggest that weight-space reasoning could eventually allow inspecting a model for backdoors or capability steering without running any inference at all. The Qwen experiment is a proof of concept: Astra identified a specific failure mode (the looping direction) from the weights, localized it to two MLP layers, and removed it surgically.&lt;/p&gt;

&lt;p&gt;That's a different kind of interpretability than activation patching or probing classifiers. Those methods require running the model on inputs. Weight-Space Programming, at least in principle, could work on a frozen checkpoint with no inference budget.&lt;/p&gt;

&lt;p&gt;The &lt;a href="https://github.com/RikiyaT/lm_understand-logs" rel="noopener noreferrer"&gt;full experiment logs&lt;/a&gt; are publicly available under MIT and CC BY 4.0 licenses, including every prompt, Astra's replies, and the edited model weights.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Comes Next
&lt;/h2&gt;

&lt;p&gt;The MIT CSAIL team lists several directions: one-shot model initialization, zero-data capability unlearning, grafting circuits from one model to another, and recursive self-improvement, where an LLM inspects and debugs its own weights.&lt;/p&gt;

&lt;p&gt;These are speculative for now. The current results are small-scale: the networks involved have tens of thousands to a few million parameters, not billions. Whether the approach scales to frontier-sized models is an open question, and the authors are building a benchmark to measure progress.&lt;/p&gt;

&lt;p&gt;The core finding is already worth paying attention to: a frontier LLM, given nothing but the raw weights of a neural network, can tell you what that network does — and in some cases, fix it.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>machinelearning</category>
      <category>deeplearning</category>
      <category>llm</category>
    </item>
    <item>
      <title>Pando: How OpenAI Scaled Git for Agent-Speed Pushes by Relaxing Cross-Branch Consistency</title>
      <dc:creator>Prabhakar Chaudhary</dc:creator>
      <pubDate>Thu, 05 Nov 2026 20:37:17 +0000</pubDate>
      <link>https://dev.to/prabhakar_chaudhary_7afe4/pando-how-openai-scaled-git-for-agent-speed-pushes-by-relaxing-cross-branch-consistency-3693</link>
      <guid>https://dev.to/prabhakar_chaudhary_7afe4/pando-how-openai-scaled-git-for-agent-speed-pushes-by-relaxing-cross-branch-consistency-3693</guid>
      <description>&lt;p&gt;When coding agents open a dozen branches in parallel and every push triggers several CI jobs that fetch the same commit, your source control server stops looking like a tool for humans. OpenAI's engineering post, &lt;a href="https://openai.com/index/scaling-git-at-openai/" rel="noopener noreferrer"&gt;Scaling Git at OpenAI&lt;/a&gt;, describes how its monorepo hit that wall and what the team built in response: Pando, a new Git backend that stays compatible with standard Git clients.&lt;/p&gt;

&lt;p&gt;The headline numbers are company-reported: median push latency down by nearly 5x, and close to a petabyte of Git data served per day. The more useful part for developers is the design reasoning, because it shows which guarantees a Git service can drop and which it cannot.&lt;/p&gt;

&lt;h2&gt;
  
  
  The problem: many writers, many readers
&lt;/h2&gt;

&lt;p&gt;OpenAI says its monorepo systems began struggling around the end of last year. Symptoms were slow fetches and pushes and failed merges, with reliability at times under 90%. The cause was a multiplication of traffic. More branches, more pushes, more merges, and many more fetches from dev environments, research jobs, and CI.&lt;/p&gt;

&lt;p&gt;That splits into two scaling dimensions: many writers pushing to different branches, and many readers fetching the same history. Pando targets both.&lt;/p&gt;

&lt;h3&gt;
  
  
  A quick Git storage refresher
&lt;/h3&gt;

&lt;p&gt;Git keeps two things in sync across replicas. &lt;em&gt;Objects&lt;/em&gt; (blobs, trees, commits, tags) are immutable and identified by hash. &lt;em&gt;Refs&lt;/em&gt; (branches and tags) are mutable pointers to commits. Objects are easy to replicate because they never change. Refs are hard, because a service has to arbitrate competing updates that try to move the same branch from the same old tip to different new commits. For background on how objects get bundled, see the Git book chapter on &lt;a href="https://git-scm.com/book/en/v2/Git-Internals-Packfiles" rel="noopener noreferrer"&gt;packfiles&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  What existing distributed Git designs cost
&lt;/h2&gt;

&lt;p&gt;The post compares Pando against two common patterns.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Three-phase commit across full replicas.&lt;/strong&gt; A push is sent to every replica and a majority must accept it. You get a consistent view of all refs, but refs update one at a time, coordination takes multiple round trips, and replica disk speed sits on the push path. Under load, write latency grows as disks saturate.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Write-ahead log in blob storage.&lt;/strong&gt; Servers upload packfiles in parallel and order updates through a shared manifest using compare-and-swap. Uploads scale, but every update competes on the one manifest, and each replica must read and index packs from the log. In OpenAI's simulations, this shows up as read latency.&lt;/p&gt;

&lt;h2&gt;
  
  
  How Pando works
&lt;/h2&gt;

&lt;p&gt;Pando's central trade is explicit. It gives up a consistent point-in-time snapshot of every ref in the repository, and in exchange it scales writes and reads.&lt;/p&gt;

&lt;h3&gt;
  
  
  Writes: per-ref causal consistency
&lt;/h3&gt;

&lt;p&gt;On a push, Pando stores the incoming packfile as an immutable blob. It then records a &lt;em&gt;ref version&lt;/em&gt; in a metadata store, containing the new tip, the pack, and its dependencies. This gives serializability for updates to a single ref. Two clients conflict only if they push the same ref at the same time. Pushes to unrelated branches proceed in parallel with no shared choke point.&lt;/p&gt;

&lt;p&gt;The cost is a weaker read guarantee. A client reading several branches cannot assume those reads describe one moment in time across the repository. For most workflows, such as feature branches and CI, that is fine. For tooling that assumes an atomic view of all refs, it is a real behavioural change worth auditing.&lt;/p&gt;

&lt;h3&gt;
  
  
  Keeping ref advertisement constant
&lt;/h3&gt;

&lt;p&gt;Git normally advertises refs at the start of a push or fetch. With huge numbers of branches, that list becomes a bottleneck. Pando advertises only a selected set. For a new feature branch, it advertises a designated trunk branch as the base, so the advertisement stays constant-size as branches accumulate. The post says this also makes packfile reuse predictable. The team also mentions contributing the concept of "explicit haves" to Git, letting servers advertise branch tips separately from history.&lt;/p&gt;

&lt;h3&gt;
  
  
  Reads: reuse packfiles instead of building one per client
&lt;/h3&gt;

&lt;p&gt;Stock Git typically computes a pack tailored to each client's &lt;code&gt;have&lt;/code&gt;/&lt;code&gt;want&lt;/code&gt; negotiation. Pando uses the commit mappings recorded at push time to look up what the client has and needs, then returns download links through Git's &lt;a href="https://git-scm.com/docs/packfile-uri" rel="noopener noreferrer"&gt;&lt;code&gt;packfile-uri&lt;/code&gt;&lt;/a&gt; mechanism. Clients pull precomputed packs from a cache-friendly service, and OpenAI says regional caches let it saturate 10 Gbps links.&lt;/p&gt;

&lt;h3&gt;
  
  
  Compaction, in the style of an LSM tree
&lt;/h3&gt;

&lt;p&gt;Many small pushes produce many small packs, which hurts compression and negotiation. Background workers merge them geometrically, from L0 packs up to L4, much like compaction in a &lt;a href="https://en.wikipedia.org/wiki/Log-structured_merge-tree" rel="noopener noreferrer"&gt;log-structured merge-tree&lt;/a&gt;. Fewer, larger packs improve compression and time to first byte.&lt;/p&gt;

&lt;h2&gt;
  
  
  How it was built and verified
&lt;/h2&gt;

&lt;p&gt;OpenAI says Pando took 10 weeks to build in Rust. Validation combined a conformance test suite with deterministic simulation testing. The team also says agents using GPT-6 Astra wrote Lean and TLA+ specifications to formalize properties of the system, and that agents red-teamed Git and Pando continuously. Treat the formal-methods claim carefully: the post describes the approach but does not publish the specifications or say what bugs they found.&lt;/p&gt;

&lt;p&gt;Deployment started as a read- and write-through proxy in front of the existing system, with clients migrated in phases through an internal wrapper around the Git CLI. After rollout, the post reports improved merge reliability, median push latency cut by nearly 80% (consistent with "nearly 5x"), and over 57 TB of packs served in a single hour at cache hit rates above 99%.&lt;/p&gt;

&lt;h2&gt;
  
  
  Tradeoffs and open questions
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Single-workload evidence.&lt;/strong&gt; All results come from one monorepo with unusually heavy agent-driven traffic. There is no comparison across repository shapes or ordinary human-scale workloads.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Self-reported.&lt;/strong&gt; No independent benchmark exists, and the post gives no tail-latency or cost breakdown beyond "a handful of CPU cores" for the petabyte-per-day figure.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Weaker cross-ref semantics.&lt;/strong&gt; Anything that needs an atomic multi-branch view, such as certain release or mirroring tools, must tolerate per-ref ordering.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Not available yet.&lt;/strong&gt; OpenAI only says it is exploring ways to share the technology with the open-source community. Today you can't run Pando.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What to take away
&lt;/h2&gt;

&lt;p&gt;Even without the code, three ideas transfer. First, ask which consistency guarantee your workload actually uses, because "global snapshot of all refs" is rarely one of them. Second, immutable data (packs) should be separated from mutable pointers (refs) so each can scale with the right mechanism. Third, reuse beats recomputation on the read path when many clients ask for the same thing, which is exactly what CI fan-out does.&lt;/p&gt;

&lt;p&gt;The upstream Git contributions are the part most likely to help everyone sooner: &lt;code&gt;packfile-uri&lt;/code&gt; fixes for interrupted and resumable downloads, better tracing, and explicit haves. If your own CI is fetch-bound, those are worth watching.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>programming</category>
      <category>opensource</category>
      <category>llm</category>
    </item>
  </channel>
</rss>
