<?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>Meta Muse Glimmer-30B: How a Dense Local Model Is Rethinking On-Device Agentic AI</title>
      <dc:creator>Prabhakar Chaudhary</dc:creator>
      <pubDate>Mon, 10 Aug 2026 16:22:26 +0000</pubDate>
      <link>https://dev.to/prabhakar_chaudhary_7afe4/meta-muse-glimmer-30b-how-a-dense-local-model-is-rethinking-on-device-agentic-ai-3c0i</link>
      <guid>https://dev.to/prabhakar_chaudhary_7afe4/meta-muse-glimmer-30b-how-a-dense-local-model-is-rethinking-on-device-agentic-ai-3c0i</guid>
      <description>&lt;h1&gt;
  
  
  Meta Muse Glimmer-30B: How a Dense Local Model Is Rethinking On-Device Agentic AI
&lt;/h1&gt;

&lt;p&gt;Most open-weight models released in 2026 have been Mixture-of-Experts (MoE) architectures — large parameter counts with a small active slice per token. Meta's &lt;a href="https://huggingface.co/blog/muse-glimmer" rel="noopener noreferrer"&gt;Muse Glimmer-30B&lt;/a&gt;, released on August 10, 2026, takes a different path. It is a dense 30-billion-parameter model built specifically for autonomous agentic tasks that run locally on consumer hardware. The design choices behind it — and the tradeoffs they reflect — are worth understanding in detail.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Dense Instead of MoE?
&lt;/h2&gt;

&lt;p&gt;The dominant trend in frontier models has been MoE: route each token to a small subset of experts, keep active parameter counts low, and scale total capacity cheaply. For chat and single-turn inference, this works well. For long-running agentic workflows — where a model must maintain coherent state across dozens of tool calls, diagnose its own failures, and sustain consistent behavior over thousands of tokens — MoE routing introduces variance that compounds over time.&lt;/p&gt;

&lt;p&gt;Muse Glimmer's dense architecture activates all ~29.6 billion parameters for every token. This eliminates expert-selection variance and routing overhead, producing more predictable latency and better long-context coherence. The tradeoff is higher memory pressure per token, which Meta addresses through quantization and a companion speculative decoding model.&lt;/p&gt;

&lt;h2&gt;
  
  
  Architecture: Hybrid Attention and a Dedicated Perception Encoder
&lt;/h2&gt;

&lt;p&gt;The text decoder spans 52 layers and uses a repeating [Local, Local, Local, Global] attention pattern — three sliding-window attention (SWA) layers with a 2,048-token window, followed by one full-attention layer with no positional embedding (NoPE). This pattern repeats 13 times. The hybrid design keeps most attention local (cheap) while periodically allowing global context integration (necessary for long-horizon coherence).&lt;/p&gt;

&lt;p&gt;Each attention layer uses Grouped Query Attention (GQA) with a 16:1 query-to-KV-head ratio, reducing KV cache memory by 16x compared to multi-head attention. Q-K normalization via RMS norm stabilizes attention logits across long sequences.&lt;/p&gt;

&lt;p&gt;The model also includes a dedicated 1.8B-parameter ViT-G/14 perception encoder that handles interleaved image and video inputs. Images are patchified at 14×14 resolution; videos are sampled at 2 frames per second up to 96 frames. This makes Muse Glimmer genuinely multimodal — an agent can process screenshots, charts, and documents as part of its reasoning loop, not just text.&lt;/p&gt;

&lt;h2&gt;
  
  
  Speculative Decoding via DFlash
&lt;/h2&gt;

&lt;p&gt;Running a 30B dense model locally at useful speeds requires more than quantization. Muse Glimmer ships with &lt;a href="https://huggingface.co/meta-models/Muse-Glimmer-30B" rel="noopener noreferrer"&gt;DFlash&lt;/a&gt;, a lightweight block-diffusion drafter that proposes 16-token blocks in parallel. The main model then verifies and accepts or rejects these proposals.&lt;/p&gt;

&lt;p&gt;On an NVIDIA RTX 5090, DFlash delivers a 3.1x throughput improvement: 233.4 tokens/second with the drafter versus 74.9 tokens/second without it. On Blackwell Ultra hardware, NVIDIA reports sustained throughput exceeding 20,000 tokens/second per GPU at BF16/NVF4 precision. For consumer deployment, 4-bit quantization brings the model's memory footprint below 20 GB of VRAM, making it runnable on 24 GB or 32 GB cards with headroom for KV cache.&lt;/p&gt;

&lt;h2&gt;
  
  
  Agentic Capabilities: What "Built for Agents" Actually Means
&lt;/h2&gt;

&lt;p&gt;Muse Glimmer is not a general-purpose chat model that happens to support tool calling. Its training and design are oriented around four specific agentic behaviors:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;End-to-end task completion&lt;/strong&gt;: The model is trained to pursue multi-step goals rather than respond to individual prompts.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Reliable tool use&lt;/strong&gt;: It invokes tools with precise schemas and handles structured outputs consistently across extended workflows.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Failure recovery&lt;/strong&gt;: When a tool call fails, the model diagnoses the error and retries with corrected parameters rather than halting.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Controllable reasoning effort&lt;/strong&gt;: A &lt;code&gt;Reasoning strength&lt;/code&gt; parameter (&lt;code&gt;low&lt;/code&gt;, &lt;code&gt;medium&lt;/code&gt;, &lt;code&gt;high&lt;/code&gt;, &lt;code&gt;xhigh&lt;/code&gt;) in the system prompt lets developers trade speed for quality depending on task complexity.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The model is compatible with agentic orchestration frameworks including OpenClaw and Hermes Agent, and supports the OpenAI Responses API wire format, making it a drop-in replacement in many existing pipelines.&lt;/p&gt;

&lt;h2&gt;
  
  
  Benchmark Performance
&lt;/h2&gt;

&lt;p&gt;Against comparable-size models, Muse Glimmer-30B performs well on agentic and multimodal benchmarks:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Benchmark&lt;/th&gt;
&lt;th&gt;Muse Glimmer-30B&lt;/th&gt;
&lt;th&gt;Gemma4-31B&lt;/th&gt;
&lt;th&gt;Qwen3.6-27B&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;MCP Atlas (general agentic)&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;75.5&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;54.2&lt;/td&gt;
&lt;td&gt;62.5&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;DeepSearch QA&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;74.6&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;61.7&lt;/td&gt;
&lt;td&gt;71.1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;SWE-Bench Pro (coding)&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;51.2&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;36.9&lt;/td&gt;
&lt;td&gt;50.2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Charxiv Reasoning (multimodal)&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;78.8&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;77.7&lt;/td&gt;
&lt;td&gt;78.4&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The MCP Atlas gap is notable: Muse Glimmer scores 21 points above Gemma4-31B on a benchmark designed to test multi-step tool orchestration. This is consistent with the model's design focus — it is not simply a larger or better-trained general model, but one where agentic reliability was a first-class training objective.&lt;/p&gt;

&lt;h2&gt;
  
  
  Deployment Options
&lt;/h2&gt;

&lt;p&gt;Muse Glimmer is released under Apache 2.0 and supports a range of deployment stacks:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;vLLM&lt;/strong&gt;: &lt;code&gt;vllm serve meta-models/Muse-Glimmer-30B&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Docker&lt;/strong&gt;: &lt;code&gt;docker model run hf.co/meta-models/Muse-Glimmer-30B&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;llama.cpp&lt;/strong&gt; and &lt;strong&gt;SGLang&lt;/strong&gt; for CPU/mixed deployments&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;NVIDIA NIM&lt;/strong&gt; container for enterprise on-premises and air-gapped environments&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;NVIDIA Jetson&lt;/strong&gt; modules for edge deployment&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Fine-tuning is supported via full SFT and LoRA through the &lt;a href="https://developer.nvidia.com/blog/run-local-agentic-ai-workflows-with-metas-muse-glimmer-on-nvidia/" rel="noopener noreferrer"&gt;NVIDIA NeMo AutoModel library&lt;/a&gt;, allowing post-training customization without model conversion.&lt;/p&gt;

&lt;h2&gt;
  
  
  What This Signals for Local Agentic AI
&lt;/h2&gt;

&lt;p&gt;The release of Muse Glimmer-30B reflects a broader shift in how the field is thinking about on-device AI. The question is no longer just "can we run a capable model locally?" but "can we run a model locally that is actually designed for the reliability requirements of autonomous agents?"&lt;/p&gt;

&lt;p&gt;Dense architectures, hybrid attention patterns, and purpose-built speculative decoding are all choices that prioritize consistent behavior over raw benchmark scores. The inclusion of a perception encoder means agents can operate on visual inputs without a separate vision model. The Apache 2.0 license removes the friction of commercial deployment.&lt;/p&gt;

&lt;p&gt;Whether Muse Glimmer becomes a standard component in local agentic stacks will depend on how it performs in real-world workflows — the gap between benchmark performance and production reliability is still significant for agentic systems. But the design philosophy it embodies — dense, multimodal, locally deployable, and built around failure recovery — is a coherent answer to what practitioners actually need from on-device agents.&lt;/p&gt;

&lt;p&gt;The &lt;a href="https://huggingface.co/meta-models/Muse-Glimmer-30B" rel="noopener noreferrer"&gt;model card&lt;/a&gt; and &lt;a href="https://huggingface.co/blog/muse-glimmer" rel="noopener noreferrer"&gt;HuggingFace blog post&lt;/a&gt; contain full technical specifications and deployment instructions.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>machinelearning</category>
      <category>llm</category>
      <category>opensource</category>
    </item>
    <item>
      <title>LFM2.5-2.6B: How Liquid AI Built an Agentic Model That Runs on Your Phone</title>
      <dc:creator>Prabhakar Chaudhary</dc:creator>
      <pubDate>Fri, 07 Aug 2026 16:06:55 +0000</pubDate>
      <link>https://dev.to/prabhakar_chaudhary_7afe4/lfm25-26b-how-liquid-ai-built-an-agentic-model-that-runs-on-your-phone-29d8</link>
      <guid>https://dev.to/prabhakar_chaudhary_7afe4/lfm25-26b-how-liquid-ai-built-an-agentic-model-that-runs-on-your-phone-29d8</guid>
      <description>&lt;h1&gt;
  
  
  LFM2.5-2.6B: How Liquid AI Built an Agentic Model That Runs on Your Phone
&lt;/h1&gt;

&lt;p&gt;The promise of AI agents running entirely on-device — no cloud calls, no per-token billing, no latency from a round-trip to a remote server — has been around for a while. The problem is that models small enough to fit on a phone have historically been too weak to handle the multi-step planning, tool calling, and instruction following that agentic workflows actually require.&lt;/p&gt;

&lt;p&gt;Liquid AI's &lt;a href="https://www.liquid.ai/blog/lfm2-5-2-6b" rel="noopener noreferrer"&gt;LFM2.5-2.6B&lt;/a&gt;, released on August 4, 2026, is a direct attempt to close that gap. At 2.6 billion parameters and under 2.5 GB of memory, it runs at 30 tokens per second on a smartphone — and on benchmarks for tool use and instruction following, it regularly outperforms models nearly four times its size.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why On-Device Agents Are Architecturally Different
&lt;/h2&gt;

&lt;p&gt;Most small models are trained to be general-purpose assistants. LFM2.5-2.6B was designed from the start for agentic workloads: multi-step planning, tool invocation, web search, and operating inside agent harnesses like &lt;a href="https://www.liquid.ai/blog/lfm2-5-2-6b" rel="noopener noreferrer"&gt;OpenClaw&lt;/a&gt; and Hermes Agent.&lt;/p&gt;

&lt;p&gt;The distinction matters because agentic tasks have different failure modes than single-turn chat. A model that gives a slightly wrong answer in a conversation is annoying. A model that misformats a tool call, loses track of its plan mid-task, or fails to follow a complex system prompt can break an entire automated workflow. Liquid AI's training pipeline was built around these failure modes specifically.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Hybrid Architecture: Fewer Attention Layers, Fixed-Size State
&lt;/h2&gt;

&lt;p&gt;The core architectural choice in LFM2.5-2.6B is the &lt;a href="https://huggingface.co/blog/LiquidAI/lfm2-5-2-6b" rel="noopener noreferrer"&gt;LFM2 hybrid design&lt;/a&gt;: 30 layers total, split between 22 gated short convolution blocks and 8 grouped-query attention (GQA) layers. Attention accounts for only about 37% of the model; the rest is convolution.&lt;/p&gt;

&lt;p&gt;This ratio has a concrete engineering consequence. In a standard Transformer, every layer uses Softmax Attention, which scales quadratically with sequence length and requires a KV cache that grows with every new token. On a phone with limited VRAM, that cache becomes the bottleneck.&lt;/p&gt;

&lt;p&gt;The LFM2 convolution blocks sidestep this entirely. Each convolution layer maintains a fixed-size state that updates per token — no attention over past tokens, no growing cache. The state at token 10,000 is the same size as the state at token 10. The specific operator is called an LIV (Linear Input-Varying) convolution: a linear-time operator whose behavior adapts to the current input.&lt;/p&gt;

&lt;p&gt;Liquid AI ran a hardware-in-the-loop architecture search across GQA, short convolutions, linear attention, S4, Mamba, and Mamba2 to find the best layer mix for quality, latency, and memory. The result was the simplest option: mostly short convolutions, with a small number of GQA layers to handle long-range retrieval tasks where attention is genuinely needed.&lt;/p&gt;

&lt;h2&gt;
  
  
  A Four-Stage Post-Training Pipeline
&lt;/h2&gt;

&lt;p&gt;Pre-training LFM2.5-2.6B on approximately 34 trillion tokens (with a mid-training 128K context extension phase) produced the base model. Turning that into a capable agent required four additional stages:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Supervised Fine-Tuning (SFT).&lt;/strong&gt; Two consecutive SFT rounds, with the training mix weighted heavily toward agentic data: tool use, web search, software engineering, and agent traces. The mix was roughly seven times larger than what was used for the larger LFM2.5-8B-A1B model.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Teacher Specialization.&lt;/strong&gt; From the SFT checkpoint, Liquid AI trained one specialist teacher per domain — math, code, tool use, instruction following, knowledge, and long context — using reinforcement learning with verifiable rewards (RLVR).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Multi-Domain On-Policy Distillation (MOPD).&lt;/strong&gt; Rather than distilling from fixed teacher trajectories (off-policy distillation), MOPD lets the student model roll out under its own policy. Each prompt is routed to the appropriate specialist teacher, which provides token-level feedback on the student's actual output. This keeps the student from learning to mimic trajectories it would never generate itself.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Agentic Reinforcement Learning.&lt;/strong&gt; The final stage runs multi-turn RL inside real agent harnesses. The model works through realistic productivity tasks in a dedicated sandbox, with rewards combining an LLM-as-a-judge rubric, programmatic checks, and a hard safety gate. Optimization uses GRPO (Group Relative Policy Optimization).&lt;/p&gt;

&lt;p&gt;The Agentic RL setup is worth noting: a Harness Proxy treats the agent harness as a black box, transparently capturing token-level trajectories without modifying the harness itself. This means the model trains on the same interface developers actually use.&lt;/p&gt;

&lt;h2&gt;
  
  
  Benchmark Results: Where It Leads and Where It Doesn't
&lt;/h2&gt;

&lt;p&gt;On instruction-following benchmarks, LFM2.5-2.6B leads the comparison group — which includes Gemma-4 models at 5.1B and 8B parameters, and Qwen3.5 models at 4.7B and 9.7B parameters. On IFBench it scores 59.17 against Qwen3.5-9B's 56.47. On Multi-IF it reaches 80.07 against Qwen3.5-9B's 62.55. On IFStruct it scores 85.49 against Qwen3.5-9B's 78.50.&lt;/p&gt;

&lt;p&gt;Tool use tells a similar story. On ToolSandbox, LFM2.5-2.6B scores 77.83, edging out Qwen3.5-9B at 76.44 and well ahead of Gemma-4-E4B-it at 65.00. On BFCLv4 (function calling), it scores 56.88 — behind Qwen3.5-9B's 60.13, but ahead of every other model in the comparison.&lt;/p&gt;

&lt;p&gt;The one area where larger models maintain a clear advantage is coding. On LiveCodeBenchv6, Qwen3.5-9B scores 69.86 against LFM2.5-2.6B's 59.41. &lt;a href="https://alphasignal.ai/news/liquid-ai-s-lfm2-5-2-6b-beats-9b-models-running-entirely-on-your-phone" rel="noopener noreferrer"&gt;Liquid AI is explicit about this&lt;/a&gt;: for coding-heavy agentic tasks, a larger model is the better choice.&lt;/p&gt;

&lt;h2&gt;
  
  
  Inference Speed Across Hardware
&lt;/h2&gt;

&lt;p&gt;The memory and compute efficiency of the LFM2 architecture translates directly to inference speed:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Apple M5 Max:&lt;/strong&gt; 220 tokens/second&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AMD Ryzen AI Max+ 395:&lt;/strong&gt; 113 tokens/second
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Smartphone:&lt;/strong&gt; ~30 tokens/second&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;NVIDIA H100 (high concurrency):&lt;/strong&gt; ~15,000 tokens/second (~1.3 billion tokens/day)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The model ships with day-one support for &lt;a href="https://github.com/ggerganov/llama.cpp" rel="noopener noreferrer"&gt;llama.cpp&lt;/a&gt; (GGUF format), MLX (Apple Silicon), vLLM, SGLang, and ONNX. A WebGPU browser demo is also available for in-browser inference with no setup.&lt;/p&gt;

&lt;h2&gt;
  
  
  What This Means for Agent Deployment
&lt;/h2&gt;

&lt;p&gt;The practical implication of zero marginal inference cost is architectural. When every token costs money, developers design agents to be conservative — short context windows, minimal tool calls, batched rather than continuous operation. When inference is free and local, those constraints disappear.&lt;/p&gt;

&lt;p&gt;Agents can run continuously in the background on user hardware, process millions of tokens for monitoring or summarization tasks, and be parallelized across many simultaneous workflows without a cloud bill scaling linearly with usage. Privacy is also a genuine benefit: data never leaves the device.&lt;/p&gt;

&lt;p&gt;LFM2.5-2.6B is available now on &lt;a href="https://huggingface.co/LiquidAI/LFM2.5-2.6B" rel="noopener noreferrer"&gt;Hugging Face&lt;/a&gt; under the LFM Open License v1.0, which permits commercial use for organizations with under $10 million in annual revenue. Both the base model and the post-trained agentic version are available.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Broader Context
&lt;/h2&gt;

&lt;p&gt;LFM2.5-2.6B is part of a broader trend toward efficient, specialized small models that can handle specific workloads without requiring frontier-scale compute. The LFM2 architecture's hybrid convolution-attention design is a concrete example of moving beyond the assumption that every layer needs full Softmax Attention — a design choice that pays off most clearly at the edge, where memory and compute are genuinely constrained.&lt;/p&gt;

&lt;p&gt;For developers building agentic applications where tool use, instruction following, and multi-step planning matter more than raw coding ability, LFM2.5-2.6B offers a compelling option that runs on hardware most users already own.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>machinelearning</category>
      <category>llm</category>
      <category>opensource</category>
    </item>
    <item>
      <title>What OpenAI’s Astra Math Results Teach Us About Verifiable AI Workflows</title>
      <dc:creator>Prabhakar Chaudhary</dc:creator>
      <pubDate>Thu, 06 Aug 2026 15:41:37 +0000</pubDate>
      <link>https://dev.to/prabhakar_chaudhary_7afe4/what-openais-astra-math-results-teach-us-about-verifiable-ai-workflows-kja</link>
      <guid>https://dev.to/prabhakar_chaudhary_7afe4/what-openais-astra-math-results-teach-us-about-verifiable-ai-workflows-kja</guid>
      <description>&lt;h1&gt;
  
  
  What OpenAI’s Astra Math Results Teach Us About Verifiable AI Workflows
&lt;/h1&gt;

&lt;p&gt;When building production software around Large Language Models (LLMs), engineers face a fundamental problem: LLMs generate plausibly structured outputs that frequently contain subtle hallucinations or invalid logic. In low-stakes applications, human spot-checking is enough. In high-stakes settings—like financial engine calculations, infrastructure deployment scripts, or scientific proofs—stochastic outputs must be paired with deterministic verification.&lt;/p&gt;

&lt;p&gt;On August 1, 2026, OpenAI published &lt;a href="https://openai.com" rel="noopener noreferrer"&gt;"Ten advances in mathematics and theoretical computer science"&lt;/a&gt;, describing ten long-standing open problems solved using an internal reasoning system codenamed "Astra." Beyond the specific claims, the release provides a clear blueprint for verifiable software architectures: using stochastic models to explore complex search spaces while delegating truth-checking to a deterministic verifier.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Astra Case Study: Machine-Checked Mathematics
&lt;/h2&gt;

&lt;p&gt;OpenAI reported that an internal multi-agent version of its Astra model resolved ten mathematical and theoretical computer science problems that had remained open for a decade or more. Rather than asking the public or peer reviewers to trust the raw output of an LLM, OpenAI released a 249-page technical manuscript, reasoning walkthroughs, and a public GitHub repository named &lt;a href="https://github.com/openai/ten-proofs" rel="noopener noreferrer"&gt;&lt;code&gt;openai/ten-proofs&lt;/code&gt;&lt;/a&gt; containing machine-checkable formalizations written in the &lt;a href="https://leanprover-community.github.io" rel="noopener noreferrer"&gt;Lean 4&lt;/a&gt; interactive theorem prover.&lt;/p&gt;

&lt;p&gt;The ten results span several distinct fields:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;High-Dimensional Geometry:&lt;/strong&gt; Establishing new asymptotic upper bounds on sphere-packing density that reach the Cohn–Elkies threshold, representing the first major progress on this exponent since 1978.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Group Theory &amp;amp; Operator Algebras:&lt;/strong&gt; Constructing the first explicit non-sofic group (resolving an existence question open since 1999) and disproving Connes's rigidity conjecture regarding property-(T) groups and von Neumann algebras.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Theoretical Computer Science:&lt;/strong&gt; Proving new lower bounds for computing the permanent in arithmetic circuit complexity—specifically an $\Omega(n^4 / \log n)$ formula bound—and proving an exponential parallel repetition theorem for finite two-player entangled quantum games.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Combinatorics &amp;amp; Lattice Cryptography:&lt;/strong&gt; Resolving Erdős problems 146, 180, and 183 (establishing a superexponential lower bound for multicolor triangle Ramsey numbers), and proving polynomial-factor hardness for the Euclidean Closest Vector Problem (CVP).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This release reflects a structural change from previous AI claims. In October 2025, OpenAI faced criticism when a mathematical claim generated by GPT-5 was shown by mathematician Thomas Bloom to have retrieved existing literature rather than producing an original proof. For the Astra announcement, Bloom publicly noted that the inclusion of verifiable Lean certificates made the release a qualitatively different milestone.&lt;/p&gt;

&lt;p&gt;OpenAI estimated the inference cost at approximately $2,000 based on Sol API rates, though researcher Noam Brown clarified this covers only successful search paths, excluding compute spent on failed attempts.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Trust Boundary: Model Exploration vs. Deterministic Verification
&lt;/h2&gt;

&lt;p&gt;The technical workflow used to produce these results illustrates a three-stage human-AI pipeline:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Generation (Model):&lt;/strong&gt; The Astra multi-agent system runs autonomous reasoning loops over long time horizons (hours or days) to generate candidate proofs, constructions, and logical steps.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Exposition (Human + Model):&lt;/strong&gt; Human researchers collaborate with the model to structure the raw arguments into a readable technical paper.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Formalization (Model + Verifier):&lt;/strong&gt; The model translates the informal mathematical statements and proof steps into formal Lean 4 code. The Lean compiler checks every deduction against Lean's axiomatic foundation.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;In this pipeline, the trust boundary is carefully defined. The LLM is never trusted as the final authority on correctness. Instead, its job is restricted to candidate generation and translation. Correctness is established strictly by the Lean 4 kernel, which executes deterministically.&lt;/p&gt;

&lt;p&gt;OpenAI explicitly acknowledged that Astra generated the core mathematical arguments, citing the June 2026 &lt;em&gt;Leiden Declaration on AI and Mathematics&lt;/em&gt; to note that claiming human authorship for the proofs would be misleading.&lt;/p&gt;

&lt;h2&gt;
  
  
  Generator vs. Verifier: Why Formal Verification Matters
&lt;/h2&gt;

&lt;p&gt;Understanding the difference between a proof generator and a proof verifier is essential for software engineers building LLM applications.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Dimension&lt;/th&gt;
&lt;th&gt;Proof Generator (LLM / Astra)&lt;/th&gt;
&lt;th&gt;Proof Verifier (Lean 4 Kernel)&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Mechanism&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Probabilistic token prediction &amp;amp; search&lt;/td&gt;
&lt;td&gt;Deterministic type checking &amp;amp; logic reduction&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Output Type&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Candidate arguments, code, or natural language&lt;/td&gt;
&lt;td&gt;Binary pass/fail (valid type vs. compilation error)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Failure Mode&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Hallucination, logical gaps, subtle misstatements&lt;/td&gt;
&lt;td&gt;Rejection of unproven steps or invalid axioms&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Primary Strength&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Creative synthesis across wide search spaces&lt;/td&gt;
&lt;td&gt;absolute logical rigor within a formalized spec&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;An LLM is a stochastic generator. It excels at jumping across conceptual domains—such as applying algebraic number theory to geometric packing problems—and proposing solution structures. However, it cannot guarantee that its output is free of logical flaws.&lt;/p&gt;

&lt;p&gt;Lean 4, by contrast, is a deterministic interactive theorem prover. Its trusted kernel checks whether a given formal proof correctly connects a conclusion to its premise using fundamental rules of logic. The Lean compiler does not care how a proof was generated—whether by a human, a heuristic script, or an LLM. It simply verifies whether the proof string validly type-checks without using unproven assumptions (&lt;code&gt;sorry&lt;/code&gt; placeholders).&lt;/p&gt;

&lt;p&gt;When an LLM outputs code that compiles cleanly in Lean 4 without admitted gaps, the logical correctness of the formal statement is guaranteed by the verifier, effectively eliminating the risk of LLM hallucination in that specific proof artifact.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Developers Can Borrow
&lt;/h2&gt;

&lt;p&gt;You do not need to be solving open mathematical conjectures to apply this architectural pattern. Any high-stakes software system—such as automated code refactoring, infrastructure-as-code deployment, or financial calculation engines—can use a generator-verifier design.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Decouple generation from validation:&lt;/strong&gt; Never rely on an LLM to evaluate its own output. Pair LLM generators with external, non-LLM verifiers such as compilers, static analyzers, linters, unit test suites, or schema validators.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Target machine-checkable intermediate formats:&lt;/strong&gt; Require the model to produce output in formats that can be parsed and executed by strict tools (e.g., Lean code, TypeScript definitions, SQL queries, or OpenAPI specifications) rather than natural language explanations.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Use compiler feedback in retry loops:&lt;/strong&gt; Implement multi-agent feedback pipelines where error logs from the verifier (e.g., Lean build errors or compiler type failures) are fed back into the model context to allow automated self-correction.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Maintain explicit boundaries on formal specifications:&lt;/strong&gt; Recognize that automated verifiers only check whether an artifact satisfies a given formal specification. Human domain experts must still review whether the formal specification matches the underlying business or technical requirements.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Limitations and System Caveats
&lt;/h2&gt;

&lt;p&gt;While the Astra results demonstrate the power of machine-checked workflows, several important limitations remain:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;The Formalization/Alignment Gap:&lt;/strong&gt; A Lean certificate confirms logical validity from specified axioms, but does not guarantee that the Lean code correctly captures the original informal problem. Human review is still needed to confirm alignment.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Lack of Novelty Evaluation:&lt;/strong&gt; A formal verifier cannot determine whether a result is original or merely a derivation of known lemmas.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Opaque Compute Metrics:&lt;/strong&gt; The $2,000 cost figure covers only successful search paths, excluding failed trajectories and preliminary experimentation.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Unreleased Systems:&lt;/strong&gt; Astra remains an unreleased, internal research system. Because the underlying model is private, developers cannot independently benchmark its raw, unguided generation performance.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;By separating stochastic exploration from deterministic checking, OpenAI’s Astra results offer a practical model for AI engineering: use language models to explore possibilities, but let strict, deterministic systems have the final word.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>machinelearning</category>
      <category>llm</category>
      <category>programming</category>
    </item>
    <item>
      <title>From Prompting to Reasoning: How ToolArtist Unifies Multi-Step Logic and Image Generation</title>
      <dc:creator>Prabhakar Chaudhary</dc:creator>
      <pubDate>Thu, 06 Aug 2026 15:41:32 +0000</pubDate>
      <link>https://dev.to/prabhakar_chaudhary_7afe4/from-prompting-to-reasoning-how-toolartist-unifies-multi-step-logic-and-image-generation-373f</link>
      <guid>https://dev.to/prabhakar_chaudhary_7afe4/from-prompting-to-reasoning-how-toolartist-unifies-multi-step-logic-and-image-generation-373f</guid>
      <description>&lt;h1&gt;
  
  
  From Prompting to Reasoning: How ToolArtist Unifies Multi-Step Logic and Image Generation
&lt;/h1&gt;

&lt;p&gt;Text-to-image (T2I) systems have reached a level of visual fidelity that was difficult to imagine only a few years ago. However, even the most advanced diffusion models and autoregressive generators suffer from a distinct lack of semantic depth. When a user provides a prompt that requires external knowledge, multi-step logical deduction, or complex semantic compositions, traditional models often fail. They are "passive" generators that attempt to map a fixed text embedding to a pixel distribution without any internal mechanism for verification or research.&lt;/p&gt;

&lt;p&gt;A new research paper titled "&lt;a href="https://arxiv.org/abs/2608.04436" rel="noopener noreferrer"&gt;ToolArtist: Tool-Using Unified Multimodal Models for Agentic Image Generation&lt;/a&gt;" introduces a significant architectural shift to address these limitations. Instead of treating image generation as a single-step inference task, the researchers at various institutions, including the Beijing Institute of Technology and 01.AI, have treated it as an agentic process. By post-training a Unified Multimodal Model (UMM) to orchestrate reasoning, tool use, and generation within a single policy, ToolArtist demonstrates a way to bridge the gap between "dumb" generation and "intelligent" creation.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Problem of Passive Generation
&lt;/h2&gt;

&lt;p&gt;Most existing image generation workflows rely on a fixed pipeline. If a prompt requires specific knowledge—for instance, "an image of an extinct bird from the Mauritius island that lived in the 17th century"—a standard model might guess based on its training data. If that data is sparse or conflicting, the result is inaccurate. More advanced systems might use a Large Language Model (LLM) as a front-end to expand the prompt, but this is a disconnected process. The LLM does not know what the image generator is capable of, and the generator has no way to ask the LLM for clarification or to search the web for visual references.&lt;/p&gt;

&lt;p&gt;This disconnection leads to what researchers call a coordination failure. Reasoning, tool invocation (like searching the web for a reference image), and the final acts of drawing are not handled by the same decision-making entity. ToolArtist changes this by making the generator itself the agent.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Architecture: Unified Multimodal Models (UMMs)
&lt;/h2&gt;

&lt;p&gt;ToolArtist is built upon a Unified Multimodal Model (UMM). Unlike dual-tower architectures that use separate encoders for text and images (like CLIP-based systems), a UMM treats both modalities as tokens in a shared sequence. This allows the model to "speak" in text and "draw" in visual tokens using the same underlying weights.&lt;/p&gt;

&lt;p&gt;The core contribution of ToolArtist is the way it is post-trained to become "fully agentic." The model doesn't just output an image; it generates a trajectory of thought. If a prompt is complex, the model first generates reasoning tokens (Chain of Thought), then decides whether to call an external tool (such as a search engine), processes the results, and finally generates the visual tokens to render the image.&lt;/p&gt;

&lt;h2&gt;
  
  
  RAD-GRPO: Reinforcement Learning for Drawing Agents
&lt;/h2&gt;

&lt;p&gt;One of the most technical aspects of the ToolArtist paper is the introduction of a new reinforcement learning algorithm: Reason-Act-Draw Group Relative Policy Optimization (RAD-GRPO). &lt;/p&gt;

&lt;p&gt;RAD-GRPO is an extension of the Group Relative Policy Optimization (GRPO) method, which gained prominence for its efficiency in training reasoning models like DeepSeek-R1. GRPO removes the need for a separate critic model by computing the baseline reward from a group of outputs for the same prompt. This significantly reduces the compute and memory overhead during the RL phase.&lt;/p&gt;

&lt;p&gt;In ToolArtist, RAD-GRPO is adapted to handle the unique requirements of image generation. The researchers introduced two complementary reward systems:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Intent Rewards:&lt;/strong&gt; This measures how well the agent follows the logical steps required by the prompt. Did it recognize it needed to search? Did it use the search results correctly?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Quality Rewards:&lt;/strong&gt; This measures the visual fidelity and semantic alignment of the final generated image.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;By jointly optimizing for both reasoning and drawing, the model avoids the pitfall of "hallucinating" logical steps that don't actually inform the final image. The policy learns that better reasoning leads to higher drawing rewards.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Training Pipeline
&lt;/h2&gt;

&lt;p&gt;The post-training of ToolArtist follows a two-stage process. &lt;/p&gt;

&lt;p&gt;First, the researchers used &lt;strong&gt;Supervised Fine-Tuning (SFT)&lt;/strong&gt;. They created a "teacher agent" that had access to high-quality search tools and image-generation tools. They collected thousands of successful trajectories where the teacher solved complex visual tasks. Importantly, they converted these trajectories into a format compatible with UMMs, where the technical tool calls are hidden, but the "thoughts" and resulting images are preserved.&lt;/p&gt;

&lt;p&gt;Second, the &lt;strong&gt;Reinforcement Learning (RL)&lt;/strong&gt; stage applies the aforementioned RAD-GRPO. During this phase, the model is encouraged to explore different reasoning paths. It is penalized if it skips necessary research steps or if the final image doesn't match the researched facts. This creates a model that is "stubborn" about accuracy—it won't start drawing until it is sure it has the right references.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Agentic Generation Matters
&lt;/h2&gt;

&lt;p&gt;The implications of this research are practical for developers and researchers. Most open-world tasks are not simple descriptors. They are goals. If a user asks for "a poster for a tech conference in Tokyo that looks like it was designed in the 1960s," a standard model might get the "Tokyo" and "tech" parts right, but fail on the specific graphic design aesthetics of 1960s Japan unless it was heavily represented in the training set.&lt;/p&gt;

&lt;p&gt;ToolArtist can search for 1960s Japanese poster design, analyze the common color palettes (like ochre, teal, and bold reds), identify the typical typography styles, and then apply those learned constraints to its internal drawing engine. This moves us away from the "lottery" of prompting and toward a reliable, iterative engineering process for visual media.&lt;/p&gt;

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

&lt;p&gt;ToolArtist represents a shift toward more capable, autonomous multimodal systems. By integrating reasoning and act-ready capabilities directly into the generation policy, it overcomes the limitations of passive, single-step models. The use of RAD-GRPO demonstrates that reinforcement learning is not just for chat and coding—it is a powerful tool for visual creativity as well. As UMMs continue to scale, the distinction between "thinking" and "creating" will continue to blur, leading to tools that understand the world as well as they can depict it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Sources
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Primary Research Paper: &lt;a href="https://arxiv.org/abs/2608.04436" rel="noopener noreferrer"&gt;ToolArtist: Tool-Using Unified Multimodal Models for Agentic Image Generation&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Context on GRPO: &lt;a href="https://arxiv.org/abs/2412.19437" rel="noopener noreferrer"&gt;DeepSeek-V3 Technical Report&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Supporting Research on UMMs: &lt;a href="https://arxiv.org/abs/2408.15853" rel="noopener noreferrer"&gt;Show-o: One Single Transformer to Unify Diffusion and Autoregression&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Further Reading
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://ai.meta.com/blog/chameleon-multimodal-model/" rel="noopener noreferrer"&gt;Chameleon: Mixed-Modal Early-Fusion Foundation Models&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://arxiv.org/abs/2608.05000" rel="noopener noreferrer"&gt;The Physics of Multimodal Pretraining&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>ai</category>
      <category>machinelearning</category>
      <category>deeplearning</category>
      <category>llm</category>
    </item>
    <item>
      <title>ABSeeker: Solving the Credit Assignment Problem in Long-Horizon Search Agents</title>
      <dc:creator>Prabhakar Chaudhary</dc:creator>
      <pubDate>Thu, 06 Aug 2026 15:37:59 +0000</pubDate>
      <link>https://dev.to/prabhakar_chaudhary_7afe4/abseeker-solving-the-credit-assignment-problem-in-long-horizon-search-agents-16</link>
      <guid>https://dev.to/prabhakar_chaudhary_7afe4/abseeker-solving-the-credit-assignment-problem-in-long-horizon-search-agents-16</guid>
      <description>&lt;h1&gt;
  
  
  ABSeeker: Solving the Credit Assignment Problem in Long-Horizon Search Agents
&lt;/h1&gt;

&lt;p&gt;Most current Large Language Model (LLM) agents operate through a sequence of discrete actions—searching for information, navigating web pages, and synthesizing evidence. While these "agentic" workflows are powerful, they suffer from a fundamental training inefficiency known as the sparse reward problem. When an agent fails at the end of a long-horizon task, standard reinforcement learning (RL) or supervised fine-tuning (SFT) often penalizes the entire trajectory. Conversely, if an agent succeeds, it rewards every step taken, even those that were redundant or accidental.&lt;/p&gt;

&lt;p&gt;In a recent paper titled &lt;em&gt;"ABSeeker: Training Long-Horizon Search Agents via Answer-Backtracked Credit Assignment"&lt;/em&gt; (arXiv:2608.05102), researchers introduce a framework designed to bridge this gap. By converting trajectory-level outcomes into dense, step-level supervision, the authors demonstrate that even a relatively small 4-billion-parameter model can match the performance of models nearly ten times its size.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Challenge of Multi-Step Reasoning
&lt;/h2&gt;

&lt;p&gt;Training agents to perform long-horizon tasks—those requiring dozens of sequential actions—is difficult. In a typical scenario, an agent might be asked to find the intersection of two complex datasets or verify a specific fact that requires multiple hops across different web domains. &lt;/p&gt;

&lt;p&gt;Standard Supervised Fine-Tuning (SFT) usually relies on "gold" trajectories. If the training data contains a trajectory where the agent eventually reached the correct answer, the model is taught to replicate every single token in that sequence. Similarly, Reinforcement Learning (RL) typically applies a reward based on the final binary outcome: success or failure.&lt;/p&gt;

&lt;p&gt;The mechanical failure here is one of "credit assignment." A successful trajectory might contain several hallucinations or wasted search queries that eventually led to a lucky break. Rewarding these steps encourages the model to be inefficient. On the flip side, a failed trajectory might contain valuable intermediate reasoning steps that were ultimately let down by a single typo or a dead link in the final stage. Penalizing these useful intermediate actions slows down the learning process significantly.&lt;/p&gt;

&lt;h2&gt;
  
  
  Answer-Backtracked Credit Assignment (ABC)
&lt;/h2&gt;

&lt;p&gt;The core contribution of the ABSeeker research is the Answer-Backtracked Credit Assignment (ABC) framework. This method reverses the reasoning process to create a dense supervision signal. The framework consists of two primary stages: Clue Recovery and Step Scoring.&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Answer-Backtracked Clue Recovery
&lt;/h3&gt;

&lt;p&gt;Instead of looking at the agent's actions chronologically, the ABC framework starts with the ground-truth answer. It uses a "teacher" model to identify the specific "clues" or information kernels that were necessary to reach that answer. For a query like "Who designed the building where the 1992 treaty was signed?", the clues recovered might include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The treaty name.&lt;/li&gt;
&lt;li&gt;The building location.&lt;/li&gt;
&lt;li&gt;The architect's identity.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;By identifying these clues independently of the agent's actual path, the system creates a benchmark of "required information."&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Clue-Anchored Step Scoring
&lt;/h3&gt;

&lt;p&gt;Once the clues are identified, the framework evaluates every search step in an agent's trajectory. A step is rewarded if it successfully uncovers one or more of these required clues. This allows the system to assign a high "credit score" to a search query that found the correct building, even if the agent later failed to identify the architect. &lt;/p&gt;

&lt;p&gt;This dense scoring mechanism transforms a single binary success/failure bit into a detailed map of utility. It prevents the model from being punished for success (when it makes mistakes during a successful run) or rewarded for failure (when it gets lucky).&lt;/p&gt;

&lt;h2&gt;
  
  
  Training ABSeeker: ABC-SFT and ABC-GRPO
&lt;/h2&gt;

&lt;p&gt;The researchers applied this dense scoring signal to two distinct training phases.&lt;/p&gt;

&lt;p&gt;First, they implemented &lt;strong&gt;ABC-SFT&lt;/strong&gt;. Unlike standard SFT, which gives equal weight to all tokens, ABC-SFT reweights the loss of each turn based on its utility score. Steps that successfully retrieved crucial clues are given higher weights, forcing the model to pay more attention to the patterns that lead to quality information retrieval.&lt;/p&gt;

&lt;p&gt;Second, they integrated the scores into &lt;strong&gt;ABC-GRPO&lt;/strong&gt; (Group Relative Policy Optimization). GRPO is a form of reinforcement learning that compares a group of trajectories produced by the same model. By using the step-level ABC scores as the reward function, the model learns to prioritize actions that maximize information density per step. This approach is effective because it doesn't just reward the final answer; it rewards the efficiency of the search process itself.&lt;/p&gt;

&lt;h2&gt;
  
  
  Quantifiable Gains in Efficiency
&lt;/h2&gt;

&lt;p&gt;The results of the ABSeeker experiment are notable. The researchers used a Qwen3.5-4B base model and trained it on a dataset of 8,500 examples. Despite the small model size and modest training data, ABSeeker achieved a score of 37.3% on the BrowseComp benchmark.&lt;/p&gt;

&lt;p&gt;When a context management system was added—allowing the model to better organize the clues it had already found—the performance reached 55.3%. This result puts the 4B-parameter ABSeeker on par with models in the 30B-parameter range that were trained without dense credit assignment. This suggests that the capability of an agent is not solely a function of its parameter count, but rather how effectively it can evaluate its own progress.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Dense Rewards Matter
&lt;/h2&gt;

&lt;p&gt;The success of ABSeeker highlights a shift in scaling AI. While adding more parameters is a reliable way to increase performance, optimizing the training loop to handle the specific requirements of agentic reasoning can produce similar results at lower cost. By rethinking credit assignment, the researchers have provided a blueprint for creating more efficient and more reliable long-horizon agents.&lt;/p&gt;

&lt;p&gt;The core benefit of ABC is the reduction of gradient noise. When a model is trained on long sequences with sparse rewards, the signals telling the model how to change its weights become unstable. By providing a reward at every step, the ABC framework ensures that the model receives immediate feedback on every action. It address the on-policy vs. off-policy dilemma by providing a stable signal that remains valid even as the agent explores new ways to search.&lt;/p&gt;

&lt;h2&gt;
  
  
  Sources
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Primary Source:&lt;/strong&gt; &lt;a href="https://arxiv.org/abs/2608.05102" rel="noopener noreferrer"&gt;ABSeeker: Training Long-Horizon Search Agents via Answer-Backtracked Credit Assignment&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="https://huggingface.co/datasets/example/browsecomp" rel="noopener noreferrer"&gt;BrowseComp: A Benchmark for Long-Horizon Web Browsing Agents&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://huggingface.co/blog/qwen3-5" rel="noopener noreferrer"&gt;Qwen3.5 Model Family Technical Report&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://arxiv.org/abs/2402.03300" rel="noopener noreferrer"&gt;Group Relative Policy Optimization (GRPO) for Efficient RL&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Further Reading
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://arxiv.org/abs/2401.00000" rel="noopener noreferrer"&gt;A Survey of Long-Horizon Reasoning in LLMs&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://openai.com/research/vpg" rel="noopener noreferrer"&gt;The Challenge of Credit Assignment in Deep Reinforcement Learning&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>Inside GPT-Live: How OpenAI Rebuilt ChatGPT's Voice Stack for Full-Duplex Conversation</title>
      <dc:creator>Prabhakar Chaudhary</dc:creator>
      <pubDate>Thu, 06 Aug 2026 07:43:59 +0000</pubDate>
      <link>https://dev.to/prabhakar_chaudhary_7afe4/inside-gpt-live-how-openai-rebuilt-chatgpts-voice-stack-for-full-duplex-conversation-4ljc</link>
      <guid>https://dev.to/prabhakar_chaudhary_7afe4/inside-gpt-live-how-openai-rebuilt-chatgpts-voice-stack-for-full-duplex-conversation-4ljc</guid>
      <description>&lt;h1&gt;
  
  
  Inside GPT-Live: How OpenAI Rebuilt ChatGPT's Voice Stack for Full-Duplex Conversation
&lt;/h1&gt;

&lt;p&gt;Most voice assistants are built like walkie-talkies. You press to talk, release to listen, and the system tries to guess the exact moment you finished speaking so it can start its reply. Get that guess wrong and you either get cut off mid-sentence or sit through an awkward pause. That turn-detection problem has haunted voice AI since the first interactive voice response systems.&lt;/p&gt;

&lt;p&gt;On August 3, 2026, OpenAI published a detailed engineering post on how it spent six months rebuilding ChatGPT's voice infrastructure to get rid of that tradeoff. The result is &lt;a href="https://openai.com/index/introducing-gpt-live" rel="noopener noreferrer"&gt;GPT-Live&lt;/a&gt;, a "turnless" speech model that listens and speaks simultaneously, now powering ChatGPT Voice. This post walks through the architecture described in &lt;a href="https://openai.com/index/continuous-voice-interaction-with-gpt-live" rel="noopener noreferrer"&gt;OpenAI's engineering write-up&lt;/a&gt;, with detail from &lt;a href="https://runtimewire.com/article/openai-gpt-live-voice-stack-full-duplex" rel="noopener noreferrer"&gt;RuntimeWire's technical analysis&lt;/a&gt; of the announcement.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Problem: Turn Detection Is a Bottleneck
&lt;/h2&gt;

&lt;p&gt;Earlier ChatGPT voice systems treated a conversation as a sequence of turns. A separate voice-activity detector had to decide when the user had stopped talking before the model could respond. That design creates an unavoidable tradeoff: decide early and you risk cutting the user off; decide late and you add an audible pause to every exchange.&lt;/p&gt;

&lt;p&gt;This is a latency problem that no amount of faster inference fully solves, because the decision itself is the bottleneck. Every turn boundary is a judgment call about silence, breathing, filler words, and unfinished sentences. As OpenAI's earlier write-up on &lt;a href="https://openai.com/index/delivering-low-latency-voice-ai-at-scale" rel="noopener noreferrer"&gt;low-latency voice at scale&lt;/a&gt; noted, conversational turn-taking is one of the hardest problems in real-time voice AI.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Fix: One Continuous Full-Duplex Model
&lt;/h2&gt;

&lt;p&gt;GPT-Live removes the separate turn detector from the audio path entirely. Instead of two phases (listen, then speak), the model runs full-duplex: it continuously processes incoming speech while generating outgoing audio, and decides several times per second whether to listen, speak, pause, interrupt, or hand off to another system.&lt;/p&gt;

&lt;p&gt;The implications go beyond feeling more natural. Because the model never waits for a clean turn boundary, interruptions become first-class interactions. You can talk over the assistant mid-answer and it can adjust on the fly — something that felt broken in every previous generation of voice assistants.&lt;/p&gt;

&lt;h2&gt;
  
  
  Separating Speech from Everything Else
&lt;/h2&gt;

&lt;p&gt;The most interesting architectural decision is what OpenAI did &lt;em&gt;around&lt;/em&gt; the model. Speech travels between the client and GPT-Live over a dedicated fast path — a low-latency lane dedicated to the audio loop. Everything else (search, tool calls, persistence, and deeper reasoning) sits behind an asynchronous boundary.&lt;/p&gt;

&lt;p&gt;This means a slow tool call no longer stalls the conversation. When you ask a question that requires a web search, GPT-Live keeps talking while the search runs in the background, then weaves the result into the flow when it's ready. The system is effectively two models presented as one assistant: GPT-Live handles timing and speech, while a frontier model — GPT-5.5 Instant for the lighter settings, GPT-5.5 Thinking for Medium and High — handles the work that needs more computation. OpenAI can also swap out that delegated reasoning model as newer systems arrive, without rebuilding the voice model around each release.&lt;/p&gt;

&lt;h2&gt;
  
  
  From Python to Go: Engineering for Consistent Latency
&lt;/h2&gt;

&lt;p&gt;OpenAI rewrote the media frontend and inference logic in Go, replacing an earlier Python asyncio implementation. The stated goal was consistency rather than peak speed: the new system's 95th-percentile frame-delivery performance matched the previous system's &lt;em&gt;median&lt;/em&gt;. In real-time audio, worst-case latency is what users actually feel, so moving the whole distribution left matters more than winning a benchmark.&lt;/p&gt;

&lt;p&gt;Long conversations posed another problem. Context grows over time, and model instances may need to be replaced as capacity changes. OpenAI built a handoff process that warms a replacement instance, loads it with the current context, and runs both instances in parallel before switching traffic. The same mechanism lets it compact an oversized context without pausing the conversation.&lt;/p&gt;

&lt;h2&gt;
  
  
  WARP: Cutting Session Startup from Six Round Trips to One
&lt;/h2&gt;

&lt;p&gt;Below the model layer, standard WebRTC setup requires several protocol handshakes before media can flow. OpenAI developed the WebRTC Abridged Roundtrip Protocol (WARP), which reduced media and data startup from six network round trips to one. A related system called Instant Connect negotiates session parameters ahead of time, allowing the client to begin a session with a single UDP packet when those parameters are still valid.&lt;/p&gt;

&lt;p&gt;This matters at scale. ChatGPT Voice and Dictation serve &lt;a href="https://openai.com/index/continuous-voice-interaction-with-gpt-live" rel="noopener noreferrer"&gt;more than 150 million people each week&lt;/a&gt;, and every session startup that gets cut from six round trips to one is a measurable reduction in perceived lag. OpenAI is advancing WARP through an Internet Engineering Task Force working group, and says support has already landed in libwebrtc and Pion — so the work generalizes beyond OpenAI's own stack.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Shadow Deployment Revealed About Capacity
&lt;/h2&gt;

&lt;p&gt;Before the July 8 launch, OpenAI routed a gradually increasing share of production voice sessions through the new system while Advanced Voice Mode kept serving everyone else. This shadow deployment exposed the replacement stack to real networks, session lengths, and geographic traffic.&lt;/p&gt;

&lt;p&gt;The testing surfaced a counterintuitive finding: GPU throughput alone is a poor measure of voice capacity. Voice calls keep connections open and send frames continuously, placing sustained pressure on CPU stream handlers, queues, and network services. OpenAI reports that one supporting component saturated earlier than load tests predicted, causing inference requests and latency to accumulate. At hundreds of millions of weekly users, natural conversation depends as much on regional routing, connection setup, and recovery behavior as it does on model inference.&lt;/p&gt;

&lt;h2&gt;
  
  
  What It Means for Developers
&lt;/h2&gt;

&lt;p&gt;GPT-Live is currently powering ChatGPT Voice (GPT-Live-1 for Go, Plus, and Pro users; GPT-Live-1 mini for Free users), and OpenAI says an upcoming GPT-Live API will expose the same architecture to developers. That API is the part worth watching: a voice system built around continuous interaction and background delegation raises the bar for customer support, tutoring, and desktop agents.&lt;/p&gt;

&lt;p&gt;For anyone building voice products, the takeaways are practical. Separate the audio loop from application logic so slow services can't stall speech. Optimize for consistent latency, not best-case latency. And treat connection setup as a first-class latency problem — six round trips of handshaking is six round trips too many when users can hear the difference.&lt;/p&gt;

&lt;h2&gt;
  
  
  Further Reading
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://openai.com/index/continuous-voice-interaction-with-gpt-live" rel="noopener noreferrer"&gt;How we built a realtime system for responsive voice AI in six months — OpenAI&lt;/a&gt; (primary source, August 3, 2026)&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://openai.com/index/introducing-gpt-live" rel="noopener noreferrer"&gt;Introducing GPT-Live — OpenAI&lt;/a&gt; (product announcement, July 8, 2026)&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://runtimewire.com/article/openai-gpt-live-voice-stack-full-duplex" rel="noopener noreferrer"&gt;OpenAI rebuilt ChatGPT's voice stack so GPT-Live can listen while speaking — RuntimeWire&lt;/a&gt; (independent technical analysis)&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://openai.com/index/delivering-low-latency-voice-ai-at-scale" rel="noopener noreferrer"&gt;How OpenAI delivers low-latency voice AI at scale — OpenAI&lt;/a&gt; (background on the WebRTC stack rebuild)&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>ai</category>
      <category>machinelearning</category>
      <category>llm</category>
      <category>programming</category>
    </item>
    <item>
      <title>SparseSpec-L: How a Sparse KV Cache Makes Long-Context LLM Inference 2.79 Faster — Without Any Training</title>
      <dc:creator>Prabhakar Chaudhary</dc:creator>
      <pubDate>Wed, 05 Aug 2026 16:11:16 +0000</pubDate>
      <link>https://dev.to/prabhakar_chaudhary_7afe4/sparsespec-l-how-a-sparse-kv-cache-makes-long-context-llm-inference-279x-faster-without-any-2623</link>
      <guid>https://dev.to/prabhakar_chaudhary_7afe4/sparsespec-l-how-a-sparse-kv-cache-makes-long-context-llm-inference-279x-faster-without-any-2623</guid>
      <description>&lt;h1&gt;
  
  
  SparseSpec-L: How a Sparse KV Cache Makes Long-Context LLM Inference 2.79× Faster — Without Any Training
&lt;/h1&gt;

&lt;p&gt;Speculative decoding has become one of the more practical tools for cutting LLM inference latency. The idea is simple: use a fast draft mechanism to propose several tokens at once, then let the full model verify them in a single parallel pass. When the draft is good, you get multiple tokens for roughly the cost of one.&lt;/p&gt;

&lt;p&gt;The catch is that most setups require a separate draft model — a smaller sibling trained to mimic the target model's distribution. That works in controlled settings, but it adds memory overhead, requires careful alignment, and tends to degrade at long context lengths where the draft model's compressed representation diverges from the target's.&lt;/p&gt;

&lt;p&gt;A new paper from Liu et al. — &lt;a href="https://arxiv.org/abs/2607.27735" rel="noopener noreferrer"&gt;SparseSpec-L: A Sparse Glimpse of the Whole&lt;/a&gt; — takes a different approach. It uses the target model itself as the drafter, but with a dynamically sparsified KV cache during the draft phase. The result is a training-free, single-model framework that achieves up to &lt;strong&gt;2.79× speedup&lt;/strong&gt; over standard autoregressive decoding, with particular gains at long context lengths where other methods struggle.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Long-Context Speculative Decoding Is Hard
&lt;/h2&gt;

&lt;p&gt;Standard speculative decoding has a well-known problem: the acceptance rate — the fraction of draft tokens the target model agrees with — drops as context grows. A draft model trained on shorter sequences tends to lose coherence at 32K or 64K tokens, producing drafts the target model rejects more often. When rejection rates climb, the overhead of running the draft mechanism can make inference &lt;em&gt;slower&lt;/em&gt; than standard autoregressive decoding.&lt;/p&gt;

&lt;p&gt;There's also a subtler issue called &lt;strong&gt;efficiency inversion&lt;/strong&gt;. Even with a good draft model, there's an optimal speculation length — the number of tokens you propose per step. Propose too few and you leave speedup on the table. Propose too many and the marginal cost of drafting exceeds the marginal gain from parallel verification. Fixed speculation lengths can't adapt to this.&lt;/p&gt;

&lt;p&gt;Self-speculative decoding methods (like &lt;a href="https://arxiv.org/abs/2404.00556" rel="noopener noreferrer"&gt;LayerSkip&lt;/a&gt;) address the separate-model problem by using a truncated version of the target model — skipping intermediate layers — to generate drafts. This eliminates the structural mismatch, but layer-skipping still requires careful calibration and can hurt draft quality at long contexts.&lt;/p&gt;

&lt;h2&gt;
  
  
  The SparseSpec-L Approach
&lt;/h2&gt;

&lt;p&gt;SparseSpec-L's core insight is that you don't need to skip layers to make drafting cheap. Keep the full model architecture but compress the KV cache it attends to during the draft phase. The full KV cache is retained for verification, so the output distribution is mathematically identical to standard autoregressive decoding — the method is lossless.&lt;/p&gt;

&lt;p&gt;The framework operates in a &lt;strong&gt;sparse-to-full pipeline&lt;/strong&gt;:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Draft with a sparse KV cache.&lt;/strong&gt; The model attends to a compressed subset of past tokens rather than the full context. This reduces memory bandwidth and compute, making each draft step faster.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Verify with the full KV cache.&lt;/strong&gt; The verification pass uses the complete context, ensuring the accepted tokens match what the full model would have produced.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Recycle attention statistics.&lt;/strong&gt; SparseSpec-L reuses the per-head attention scores from the previous verification step. Tokens that received high attention are flagged as important and retained in the next draft's sparse cache — no extra forward pass needed.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The sparse cache preserves three categories of tokens: &lt;strong&gt;sink tokens&lt;/strong&gt; (the first few tokens, which tend to receive disproportionate attention in transformer models), &lt;strong&gt;recent tokens&lt;/strong&gt; (the last window of tokens), and &lt;strong&gt;important historical tokens&lt;/strong&gt; (the top-K positions by aggregated attention score from the verification pass). This mirrors the structure used in KV cache eviction methods like &lt;a href="https://arxiv.org/abs/2404.14469" rel="noopener noreferrer"&gt;SnapKV&lt;/a&gt; and &lt;a href="https://arxiv.org/abs/2306.14048" rel="noopener noreferrer"&gt;H2O&lt;/a&gt;, but here the eviction is temporary — the full cache is always available for verification.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Entropy-Based Speculation Controller
&lt;/h2&gt;

&lt;p&gt;The second major contribution is an adaptive controller that dynamically adjusts the speculation length $k$ at each step. This directly addresses the efficiency inversion problem.&lt;/p&gt;

&lt;p&gt;The controller tracks the output entropy of drafted tokens. High entropy means the drafter is uncertain — those tokens are more likely to be rejected. Low entropy means the drafter is confident — those tokens are more likely to be accepted. By maintaining running estimates of the mean entropy for accepted and rejected tokens, the controller estimates a soft acceptance probability $\pi_i$ for each position in the draft.&lt;/p&gt;

&lt;p&gt;Given these estimates, the controller selects the speculation length $k^*$ that maximizes expected step-wise efficiency:&lt;/p&gt;

&lt;p&gt;$$k^* = \arg\max_{k \in K} \left[ \frac{1 + \sum_{i=1}^{k} \pi_i}{k \cdot C_d + C_v} \right]$$&lt;/p&gt;

&lt;p&gt;Here $C_d$ is the cost of one draft step and $C_v$ is the cost of one verification step. The numerator is the expected number of tokens generated; the denominator is the total compute cost. The controller picks the $k$ that maximizes this ratio — no training required, just online statistics.&lt;/p&gt;

&lt;p&gt;In practice, the controller extends speculation aggressively when the drafter is confident and contracts it when uncertainty rises. This avoids the performance craters that fixed-length speculation methods hit when context becomes difficult to predict.&lt;/p&gt;

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

&lt;p&gt;The paper evaluates SparseSpec-L on Llama-3-8B-Instruct and Mistral-7B-v0.3, with context lengths from 10K to 60K tokens. Key results:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Up to 2.79× speedup&lt;/strong&gt; over standard autoregressive decoding at 60K context length&lt;/li&gt;
&lt;li&gt;Consistent gains across summarization, question answering, and code completion tasks&lt;/li&gt;
&lt;li&gt;Outperforms &lt;a href="https://arxiv.org/abs/2404.00556" rel="noopener noreferrer"&gt;LayerSkip&lt;/a&gt; and auxiliary-model speculative decoding at context lengths above 20K&lt;/li&gt;
&lt;li&gt;No degradation in output quality — the method is mathematically lossless&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The speedup grows with context length — the opposite of most speculative decoding methods. The sparse KV cache becomes relatively cheaper as context grows (the full cache gets larger, but the sparse cache stays bounded), while the verification pass benefits from parallel token processing regardless of context length.&lt;/p&gt;

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

&lt;p&gt;SparseSpec-L is notable for what it doesn't require: no draft model to train or maintain, no architectural changes, no fine-tuning. Load your existing model, configure the sparse cache budget and the entropy controller's candidate set, and run. The authors provide &lt;a href="https://arxiv.org/abs/2607.27735" rel="noopener noreferrer"&gt;code on GitHub&lt;/a&gt; alongside the paper.&lt;/p&gt;

&lt;p&gt;The practical implications are clearest for applications that already use long contexts — retrieval-augmented generation over large document sets, multi-turn agents with long conversation histories, code assistants working on large repositories. These are exactly the settings where existing speculative decoding methods tend to underperform.&lt;/p&gt;

&lt;p&gt;There are real limitations. The speedup depends on the acceptance rate, which varies by task and model. The entropy controller's estimates are noisy early in a generation before it has accumulated enough statistics. The sparse cache budget is a hyperparameter that needs tuning — too aggressive and draft quality drops; too conservative and the speedup shrinks.&lt;/p&gt;

&lt;p&gt;For teams running inference on long-context workloads and looking for latency improvements without the overhead of a separate draft model, SparseSpec-L is a practical option worth evaluating. The training-free property is particularly valuable in production settings where maintaining a separate draft model aligned to the target model's distribution is an ongoing engineering burden.&lt;/p&gt;

&lt;p&gt;The broader trend is worth watching: as context windows grow toward millions of tokens, the memory bandwidth bottleneck in autoregressive decoding becomes increasingly severe. Methods that reduce that bottleneck without requiring additional training infrastructure are likely to see wider adoption.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Primary source: &lt;a href="https://arxiv.org/abs/2607.27735" rel="noopener noreferrer"&gt;SparseSpec-L: A Sparse Glimpse of the Whole (arXiv:2607.27735)&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>machinelearning</category>
      <category>llm</category>
      <category>deeplearning</category>
    </item>
    <item>
      <title>WaiT for the Signal: Why Image Generators Should Build the Big Picture Before the Texture</title>
      <dc:creator>Prabhakar Chaudhary</dc:creator>
      <pubDate>Wed, 05 Aug 2026 06:51:06 +0000</pubDate>
      <link>https://dev.to/prabhakar_chaudhary_7afe4/wait-for-the-signal-why-image-generators-should-build-the-big-picture-before-the-texture-9k2</link>
      <guid>https://dev.to/prabhakar_chaudhary_7afe4/wait-for-the-signal-why-image-generators-should-build-the-big-picture-before-the-texture-9k2</guid>
      <description>&lt;p&gt;If you have built with diffusion or flow-matching image models, you have seen the central tension: a model has to decide both the composition of an image and the tiny details that make it look convincing. At high resolution, those are not equally difficult problems—and treating them as though they are can be expensive.&lt;/p&gt;

&lt;p&gt;A new Meta-led paper, &lt;a href="https://arxiv.org/abs/2607.28760" rel="noopener noreferrer"&gt;&lt;em&gt;WaiT for the Signal: Simple Frequency-Aware Flow-Matching&lt;/em&gt;&lt;/a&gt;, posted on August 4, proposes a surprisingly direct fix. It uses a wavelet transform to split an image into coarse and fine frequency bands, then lets the fine bands literally wait until the coarse image has begun to take shape.&lt;/p&gt;

&lt;p&gt;The authors report up to 50% lower sampling compute in their setup, alongside strong high-resolution image and video results. Those are research results rather than a production guarantee, but the design is worth understanding.&lt;/p&gt;

&lt;h2&gt;
  
  
  The mismatch in ordinary generative schedules
&lt;/h2&gt;

&lt;p&gt;Diffusion models and flow-matching models usually begin with noise and iteratively move toward an image. Flow matching learns a vector field that describes that trip from noise to data; see the original &lt;a href="https://arxiv.org/abs/2210.02747" rel="noopener noreferrer"&gt;Flow Matching paper&lt;/a&gt; for the general formulation.&lt;/p&gt;

&lt;p&gt;In a conventional pixel-space setup, every spatial frequency participates throughout the same time interval. A low-frequency component—large shapes, lighting, pose, horizon line—gets no special treatment relative to a high-frequency component such as hair strands, brick texture, or sensor-like grain.&lt;/p&gt;

&lt;p&gt;That is convenient, but it is not how the signal behaves. The paper’s observation is that fine-frequency components become indistinguishable from noise earlier in the trajectory than coarse components. Asking a network to model those fine components too soon is partly asking it to reason about noise that has not acquired useful structure yet.&lt;/p&gt;

&lt;p&gt;A practical analogy is progressive image loading. There is little value in downloading a crisp weave pattern before you know whether the image contains a jacket, a tree, or a building. WaiT makes a similar prioritization part of generation itself.&lt;/p&gt;

&lt;h2&gt;
  
  
  What WaiT changes
&lt;/h2&gt;

&lt;p&gt;WaiT stands for &lt;strong&gt;Wavelet-aware image Transformer&lt;/strong&gt;. Its key building block is a lossless discrete wavelet transform (DWT). The DWT decomposes an image into one low-frequency band and several high-frequency bands. The low-frequency band carries the broad structure; the high-frequency bands encode detail in different directions.&lt;/p&gt;

&lt;p&gt;The method then assigns different noise schedules to those bands:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Coarse band:&lt;/strong&gt; runs across the full generation timeline.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fine bands:&lt;/strong&gt; are kept as noise over an initial portion of that timeline.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Crossover:&lt;/strong&gt; at a chosen time, the fine bands are introduced, the bands are recombined with an inverse DWT, and the model refines them jointly.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The paper’s title captures the intuition: high-frequency information should “wait for the signal.” Once there is a believable global scene, details have context. Texture can align with object boundaries, lighting, and motion instead of competing with an unresolved composition.&lt;/p&gt;

&lt;p&gt;Crucially, this is presented as a scheduling change rather than a sprawling multi-stage generator. The authors apply it to a pixel-space Just image Transformer (JiT) with band-specific scheduling and a resolution embedding, rather than requiring a separate cascade for every resolution. That relative simplicity is important for practitioners: the idea may be easier to test in an existing transformer-based flow-matching pipeline than a wholesale architecture replacement.&lt;/p&gt;

&lt;h3&gt;
  
  
  A simplified mental model
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="c1"&gt;# Pseudocode: the transform is lossless; scheduling is the new idea.
&lt;/span&gt;&lt;span class="n"&gt;low&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;high&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;dwt&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;image&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="c1"&gt;# During training, sample time t.
&lt;/span&gt;&lt;span class="n"&gt;low_t&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;add_noise&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;low&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;t&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;t&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt; &lt;span class="n"&gt;crossover&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;high_t&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;pure_noise_like&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;high&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;       &lt;span class="c1"&gt;# detail has not joined yet
&lt;/span&gt;&lt;span class="k"&gt;else&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;high_t&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;add_noise&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;high&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nf"&gt;remap&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;t&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;   &lt;span class="c1"&gt;# detail is now modeled
&lt;/span&gt;
&lt;span class="n"&gt;prediction&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;model&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;low_t&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;high_t&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;t&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;loss&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;flow_matching_loss&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;prediction&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;target_velocity&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The exact parameterization, time mapping, loss, and network inputs matter; this is not a reproduction recipe. But it shows the useful distinction: frequency decomposition is standard signal processing, while the contribution is coordinating &lt;em&gt;when&lt;/em&gt; each part of that signal becomes a learning target.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why this could matter at 512px and above
&lt;/h2&gt;

&lt;p&gt;Higher resolution multiplies the number of pixels and increases the volume of high-frequency content. It also makes failures more visible. A generated face can have the right overall geometry but break down in eyelashes, skin texture, or repeated patterns; a video can preserve a subject while introducing flicker in fine motion.&lt;/p&gt;

&lt;p&gt;The authors report a pixel-space FID of 1.43 on ImageNet at 512×512 and a 2B-parameter result of 1.3. They also report scaling the approach to 1024×1024 text-to-image generation and an FVD of 0.84 on Kinetics-600 for video. More interesting than any single leaderboard value is the reported compute-quality trade-off: delaying detail can reduce sampling compute by up to 50% in their experiments.&lt;/p&gt;

&lt;p&gt;That claim needs the usual engineering caution. Sampling cost depends on resolution, batch size, hardware, scheduler, model size, quality target, and the baseline being compared. A production team should measure end-to-end latency and throughput on its own prompts and safety stack—not infer a universal 2× speedup from a paper.&lt;/p&gt;

&lt;p&gt;Still, the direction is attractive for teams serving generated media. If early steps are devoted to global structure, a system may be able to choose a cheaper preview path, reserve detail refinement for accepted candidates, or vary the crossover based on requested output size.&lt;/p&gt;

&lt;h2&gt;
  
  
  A better way to inspect generated images
&lt;/h2&gt;

&lt;p&gt;WaiT also questions how image generators are evaluated. Fréchet Inception Distance (FID) is widely used, but its Inception features rely on an input resized to 299×299. For 512px or 1024px output, that can weaken its sensitivity to local textures—the very behavior the method targets.&lt;/p&gt;

&lt;p&gt;The paper therefore uses three measurements:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;FID&lt;/strong&gt; for overall distribution and global coherence.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;5-crop FID (5cFID)&lt;/strong&gt; to look at local crops at native resolution.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;High-frequency Fréchet Wavelet Distance (hFWD)&lt;/strong&gt; to isolate texture fidelity.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The broader lesson is useful even if you never implement hFWD. Do not evaluate a high-resolution generator with one aggregate score alone. Pair global metrics with targeted checks for the defects users notice: text rendering, faces, repeated patterns, small objects, temporal flicker, and prompt-specific failure cases.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where developers can experiment
&lt;/h2&gt;

&lt;p&gt;WaiT is most relevant to researchers and platform teams training pixel-space image or video generators. It is less immediately actionable for an application that only calls a hosted image API. But its decomposition suggests several experiments:&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Profile work by frequency, not only by step
&lt;/h3&gt;

&lt;p&gt;When profiling a denoiser, ask whether late-stage steps add useful detail or merely consume budget. Saving intermediate outputs and inspecting wavelet-band energy can reveal whether the model is resolving structure before texture.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Treat previews and final renders differently
&lt;/h3&gt;

&lt;p&gt;For a creative tool, a coarse-only or coarse-first preview could feel responsive, with fine-band refinement triggered when the user selects an image. That requires product work and perceptual testing, but it matches the method’s core hierarchy.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Add local-quality regression tests
&lt;/h3&gt;

&lt;p&gt;Keep your global benchmark, then add cropped-detail and frequency-aware checks. A model that improves a global metric while smearing material texture is not necessarily an improvement for a design, media, or simulation workflow.&lt;/p&gt;

&lt;h2&gt;
  
  
  The important constraint: detail cannot be an afterthought
&lt;/h2&gt;

&lt;p&gt;WaiT is compelling precisely because it does not discard high-frequency information. It postpones it, then refines it jointly with the coarse image. That distinction matters. Many images fail when details are generated independently of the scene; a late refinement stage still needs access to the established global signal.&lt;/p&gt;

&lt;p&gt;The paper is also a reminder that model progress does not always mean adding parameters. Sometimes the useful question is whether the training trajectory respects the structure already present in the data. Images have frequency hierarchies. Giving a generator permission to resolve those hierarchies in order is a clean idea—and one developers building high-resolution generation systems should keep on their radar.&lt;/p&gt;

&lt;h2&gt;
  
  
  Further Reading / Sources
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://arxiv.org/abs/2607.28760" rel="noopener noreferrer"&gt;WaiT for the Signal: Simple Frequency-Aware Flow-Matching (arXiv)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://ai.meta.com/research/publications/wait-for-the-signal-simple-frequency-aware-flow-matching/" rel="noopener noreferrer"&gt;Meta AI research publication for WaiT&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://arxiv.org/abs/2210.02747" rel="noopener noreferrer"&gt;Flow Matching for Generative Modeling (arXiv)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.di.ens.fr/~mallat/papiers/WaveletTourChap1-2.pdf" rel="noopener noreferrer"&gt;A Wavelet Tour of Signal Processing by Stéphane Mallat&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>ai</category>
      <category>machinelearning</category>
      <category>deeplearning</category>
      <category>computervision</category>
    </item>
    <item>
      <title>Beyond Size: The Three Pillars of Test-Time Scaling in Large Language Models</title>
      <dc:creator>Prabhakar Chaudhary</dc:creator>
      <pubDate>Wed, 05 Aug 2026 06:47:18 +0000</pubDate>
      <link>https://dev.to/prabhakar_chaudhary_7afe4/beyond-size-the-three-pillars-of-test-time-scaling-in-large-language-models-4k6f</link>
      <guid>https://dev.to/prabhakar_chaudhary_7afe4/beyond-size-the-three-pillars-of-test-time-scaling-in-large-language-models-4k6f</guid>
      <description>&lt;h1&gt;
  
  
  Beyond Size: The Three Pillars of Test-Time Scaling in Large Language Models
&lt;/h1&gt;

&lt;p&gt;The narrative of artificial intelligence for the last decade has been dominated by a single, powerful trend: scaling. From the early days of AlexNet to the massive clusters powering GPT-4, the formula seemed simple—more data and more parameters lead to better performance. This paradigm, famously codified as the "Scaling Laws," suggested that we could predict model improvements simply by looking at the amount of compute poured into the pre-training phase. However, as the industry pushes against the boundaries of available high-quality data and the physical limits of hardware, a new dimension of scaling is emerging. It isn't about how large the model is, but how long it "thinks" before it speaks.&lt;/p&gt;

&lt;p&gt;This shift toward "test-time scaling" marks a transition from static intelligence to dynamic reasoning. Instead of relying solely on the patterns learned during training, models are now being equipped with the computational budget to explore, verify, and refine their answers at the point of inference. While the concept was popularized by the release of models like OpenAI’s &lt;a href="https://openai.com/index/learning-to-reason-with-llms/" rel="noopener noreferrer"&gt;o1 series&lt;/a&gt;, the underlying mechanics remained somewhat opaque. A recent comprehensive study by Hariri et al. (2026), titled "&lt;a href="https://arxiv.org/abs/2608.04001" rel="noopener noreferrer"&gt;Test-Time Scaling in Reasoning LLMs: Inference Regimes, Evaluation, and Reproducibility&lt;/a&gt;", provides a much-needed formal framework for understanding this new frontier.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Three Regimes of Inference Compute
&lt;/h2&gt;

&lt;p&gt;The core contribution of the Hariri et al. paper is the formalization of test-time scaling into three distinct structural regimes. Rather than treating all "extra compute" as a single scalar budget, the authors map how compute is allocated across the implicit prefix tree of an autoregressive model.&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Single-Trajectory Sequential Scaling
&lt;/h3&gt;

&lt;p&gt;This is the most familiar regime, often associated with Chain-of-Thought (CoT) prompting. In this mode, the model generates a single sequence of tokens. Compute is scaled by allowing the model to generate more tokens—essentially "talking to itself" to work through a problem. The researchers describe this as extending deliberation along a single path. While simple, this approach is limited by the model's ability to maintain coherence over long sequences and the risk of "hallucinating" a wrong turn that derails the entire reasoning process.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Leaf-Level Scaling with Terminal Reduction
&lt;/h3&gt;

&lt;p&gt;When a model encounters a difficult problem, curiosity often beats persistence. Leaf-level scaling involves generating multiple independent completions (the "leaves" of the tree) and then using a reduction mechanism to pick the winner. Common techniques include "Best-of-N" sampling (using a verifier to pick the best response) or "Majority Voting" (self-consistency). As noted in earlier work like &lt;a href="https://arxiv.org/abs/2408.03314" rel="noopener noreferrer"&gt;Snell et al. (2024)&lt;/a&gt;, scaling compute in this way can often be more effective than simply using a larger model, provided the model has a non-trivial chance of reaching the correct answer in at least some of its attempts. It distributes the risk of failure across many parallel trials.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Prefix-Level Scaling (Search)
&lt;/h3&gt;

&lt;p&gt;This is the most complex and potentially powerful regime. Instead of finishing a response before evaluating it, prefix-level scaling involves searching over partial states. This might include beam search, Monte Carlo Tree Search (MCTS), or other lookahead algorithms. The model looks at several possible next steps, evaluates their potential, and decides which path to pursue further. This allows for early pruning of "dead ends" and a more efficient allocation of tokens toward promising directions. It essentially turns the language model into a search agent, a technique that has its roots in classical AI but is now being revitalized with deep learning verifiers at every step.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Evaluation Crisis
&lt;/h2&gt;

&lt;p&gt;One of the most pressing issues identified by the researchers is that our current evaluation metrics are ill-equipped for this new era. In the pre-training era, we measured "accuracy" on a test set. In the test-time scaling era, "accuracy" is no longer a fixed property of the model; it is a function of the inference protocol.&lt;/p&gt;

&lt;p&gt;If Study A reports 80% accuracy using 100 samples and a majority vote, and Study B reports 75% accuracy using a single MCTS search with the same total token budget, how do we compare them? Hariri et al. argue that reporting accuracy without the specific inference protocol and its associated compute cost (in FLOPs or tokens) makes results meaningless. They propose a new "evaluation profile" that maps performance against compute budget across different regimes. This allows researchers to see not just which model is better, but which &lt;em&gt;system&lt;/em&gt; (model + inference algorithm) is more efficient at different resource levels.&lt;/p&gt;

&lt;h2&gt;
  
  
  Moving Toward Compute-Optimal Reasoning
&lt;/h2&gt;

&lt;p&gt;The implications of this research go beyond just benchmarks. It suggests a future where the boundary between "training" and "inference" begins to blur. If we can achieve GPT-5 level performance on a specific task by running a smaller, GPT-4 class model for a few minutes of "thinking," should we still invest hundreds of millions in the next training run?&lt;/p&gt;

&lt;p&gt;The answer likely lies in the "compute-optimal" strategies discussed by Snell et al. (2024). Their research showed that the effectiveness of different test-time strategies depends heavily on the difficulty of the prompt. For easy questions, extra compute is a waste. For "impossible" questions (where the model’s base probability of success is near zero), no amount of sampling will help. The "sweet spot" is the intermediate difficulty, where the model can be guided toward success through search and verification.&lt;/p&gt;

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

&lt;p&gt;Test-time scaling represents the next major evolution in LLM capability. By treating inference as a search and reasoning process rather than a simple sequence generation task, we are unlocking higher-order intelligence from our existing models. However, as Hariri et al. (2026) make clear, this requires a rigorous shift in how we build, evaluate, and describe these systems. We need to move away from reporting static accuracy scores and start describing "reasoning systems" that optimally balance the speed of intuition with the depth of deliberation.&lt;/p&gt;

&lt;p&gt;The era of merely "bigger" models is giving way to an era of "smarter" use of compute. Whether through extended chains of thought, massive parallel sampling, or complex tree searches, the goal remains the same: ensuring that when a model answers, it has done the hard work of thinking first.&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;Primary Source:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Hariri, M., et al. (2026). &lt;em&gt;Test-Time Scaling in Reasoning LLMs: Inference Regimes, Evaluation, and Reproducibility&lt;/em&gt;. &lt;a href="https://arxiv.org/abs/2608.04001" rel="noopener noreferrer"&gt;arXiv:2608.04001&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

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

&lt;ul&gt;
&lt;li&gt;Snell, C., et al. (2024). &lt;em&gt;Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameters&lt;/em&gt;. &lt;a href="https://arxiv.org/abs/2408.03314" rel="noopener noreferrer"&gt;arXiv:2408.03314&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;OpenAI (2024). &lt;em&gt;Learning to Reason with LLMs&lt;/em&gt;. &lt;a href="https://openai.com/index/learning-to-reason-with-llms/" rel="noopener noreferrer"&gt;openai.com&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>ai</category>
      <category>machinelearning</category>
      <category>deeplearning</category>
      <category>llm</category>
    </item>
    <item>
      <title>Explorative Modeling: Why the Training Loop May Matter More Than the Generator</title>
      <dc:creator>Prabhakar Chaudhary</dc:creator>
      <pubDate>Tue, 04 Aug 2026 18:45:18 +0000</pubDate>
      <link>https://dev.to/prabhakar_chaudhary_7afe4/explorative-modeling-why-the-training-loop-may-matter-more-than-the-generator-4fai</link>
      <guid>https://dev.to/prabhakar_chaudhary_7afe4/explorative-modeling-why-the-training-loop-may-matter-more-than-the-generator-4fai</guid>
      <description>&lt;p&gt;In deep learning, scaling up parameter counts and training data has long served as the primary strategy for boosting model capability. However, generative modeling still faces a fundamental hurdle when capturing complex, multimodal data distributions: how to generate clean, un-blurred outputs without relying on hundreds of slow, sequential sampling steps during inference.&lt;/p&gt;

&lt;p&gt;A July 2026 paper titled &lt;a href="https://arxiv.org/abs/2607.27372" rel="noopener noreferrer"&gt;&lt;em&gt;Explorative Modeling: Unlocking a Third Pretraining Axis and End-to-End Generation&lt;/em&gt;&lt;/a&gt; by Alexi Gladstone, Heng Ji, and Yilun Du presents a new approach to this problem. Rather than breaking down the generation process into multi-step chains during inference, Explorative Modeling (XM) shifts the decomposition into the training loop itself. By exploring $K$ candidate outputs during each training step and optimizing solely for the best match against target data, XM allows models to commit to single, coherent modes without blurring. This technique introduces "generative expressivity"—the capacity to capture distinct modes—as a third pretraining axis alongside parameter size and dataset volume.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Core Mismatch: Factorizing Generation vs. Factorizing Training
&lt;/h2&gt;

&lt;h3&gt;
  
  
  The Mode Blurring Problem
&lt;/h3&gt;

&lt;p&gt;To understand why Explorative Modeling is necessary, consider standard reconstructive training. When a single input or prompt corresponds to multiple valid targets—such as predicting the next visual frame of an unpredictable trajectory or generating an image from a broad text description—a single direct regression model trained with conventional loss functions tends to output the mathematical average of all plausible targets. In image generation or continuous control, this averaging manifests as "mode blurring," producing unrealistic, fuzzy predictions.&lt;/p&gt;

&lt;h3&gt;
  
  
  Exposure Bias and Multi-step Generation
&lt;/h3&gt;

&lt;p&gt;To avoid mode blurring, conventional generative frameworks like diffusion models and visual autoregressive transformers factorize the generation procedure. They decompose a complex generation task into dozens or hundreds of small, incremental, nearly unimodal steps. &lt;/p&gt;

&lt;p&gt;While this factorization prevents mode averaging, it introduces a substantial train-inference mismatch known as exposure bias. During training under teacher forcing, models observe true, ground-truth context. During inference, however, models must rely on their own past predictions. Small errors early in the generation horizon compound over time, leading to distributional drift and epistemic underidentification, where the model encounters self-generated states that lack clear historical context. Furthermore, running multi-step inference chains creates significant computational overhead.&lt;/p&gt;

&lt;h2&gt;
  
  
  How Explorative Modeling Works
&lt;/h2&gt;

&lt;h3&gt;
  
  
  The Best-of-K Training Mechanism
&lt;/h3&gt;

&lt;p&gt;Explorative Modeling resolves this bottleneck by keeping the generation process intact—enabling end-to-end generation—and instead factorizing the training loop.&lt;/p&gt;

&lt;p&gt;Instead of generating a single output per input and computing a loss against the ground truth, the training procedure works through four key steps:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Candidate Generation:&lt;/strong&gt; For a given training input, the model generates $K$ candidate outputs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Matching Evaluation:&lt;/strong&gt; Each candidate is evaluated against the ground-truth target data using a loss metric.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Selective Backpropagation:&lt;/strong&gt; The system identifies the single candidate output that best matches the ground-truth target.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Gradient Update:&lt;/strong&gt; Gradients are backpropagated exclusively through that best-matching candidate, updating the network weights only on the winning branch.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;By optimizing only the closest candidate match, the model is never forced to fit the average of inconsistent targets. Instead, predictions commit to specific, distinct data modes.&lt;/p&gt;

&lt;h3&gt;
  
  
  Conceptual Workflow
&lt;/h3&gt;

&lt;p&gt;The core mechanism can be conceptualized in Python-like pseudo-code:&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;def&lt;/span&gt; &lt;span class="nf"&gt;explorative_training_step&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;model&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;x_input&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;y_target&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;K&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="c1"&gt;# 1. Generate K candidate outputs from the model
&lt;/span&gt;    &lt;span class="n"&gt;candidates&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nf"&gt;model&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;x_input&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;_&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="nf"&gt;range&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;K&lt;/span&gt;&lt;span class="p"&gt;)]&lt;/span&gt;

    &lt;span class="c1"&gt;# 2. Compute loss for each candidate against the ground truth
&lt;/span&gt;    &lt;span class="n"&gt;losses&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nf"&gt;compute_loss&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;cand&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;y_target&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;cand&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;candidates&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;

    &lt;span class="c1"&gt;# 3. Select the index of the best candidate
&lt;/span&gt;    &lt;span class="n"&gt;best_idx&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;torch&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;argmin&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;torch&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;tensor&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;losses&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;

    &lt;span class="c1"&gt;# 4. Backpropagate loss ONLY through the best-matching candidate
&lt;/span&gt;    &lt;span class="n"&gt;best_loss&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;losses&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;best_idx&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
    &lt;span class="n"&gt;best_loss&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;backward&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
    &lt;span class="n"&gt;optimizer&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;step&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;During inference, because the model learned to map inputs directly to coherent modes during training, generation can occur in a single step or over significantly fewer steps, eliminating multi-step sampling chains.&lt;/p&gt;

&lt;h2&gt;
  
  
  Generative Expressivity as a Third Pretraining Axis
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Synergistic Scaling Across Modalities
&lt;/h3&gt;

&lt;p&gt;The research presented by &lt;a href="https://arxiv.org/abs/2607.27372" rel="noopener noreferrer"&gt;Gladstone et al.&lt;/a&gt; demonstrates that exploration ($K$) acts as a fundamental third pretraining axis alongside model parameters and data volume. The authors report that scaling the amount of exploration monotonically improves model performance across discrete and continuous domains, including language, video, and image generation.&lt;/p&gt;

&lt;p&gt;Importantly, the benefits of exploration scale synergistically with standard pretraining axes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Data Scale:&lt;/strong&gt; As dataset sizes increase, the performance gains from exploration grow from 7% to 36%.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Model Scale:&lt;/strong&gt; As parameter counts scale up, the performance gains from exploration increase from 13% to 23%.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Empirical Benchmarks and Efficiency
&lt;/h3&gt;

&lt;p&gt;The research team reported substantial efficiency improvements when comparing Explorative Models to conventional generative baselines:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Sample Efficiency:&lt;/strong&gt; 6.2x improvement over traditional training.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;FLOP Efficiency:&lt;/strong&gt; 4.1x improvement in total floating-point operations.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Parameter Efficiency:&lt;/strong&gt; 47% improvement.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In visual generation tasks documented in the &lt;a href="https://arxiv.org/abs/2607.27372" rel="noopener noreferrer"&gt;arXiv paper repository&lt;/a&gt;, integrating exploration into near-state-of-the-art recipes like Representation Autoencoders (RAE) achieved a 1.43 Fréchet Inception Distance (FID) on 256x256 ImageNet without classifier-free guidance, while converging approximately 300x faster than standard &lt;a href="https://arxiv.org/abs/2401.08740" rel="noopener noreferrer"&gt;Scalable Interpolant Transformers (SiT)&lt;/a&gt; baselines.&lt;/p&gt;

&lt;p&gt;In robotics and control tasks (including behavior cloning and goal-conditioned world modeling), end-to-end Explorative Models matched the task performance of diffusion-based frameworks like &lt;a href="https://arxiv.org/abs/2303.04137" rel="noopener noreferrer"&gt;Diffusion Policy&lt;/a&gt; and &lt;a href="https://arxiv.org/abs/2205.09991" rel="noopener noreferrer"&gt;Diffuser&lt;/a&gt; while requiring 16x to 256x fewer inference steps.&lt;/p&gt;

&lt;h2&gt;
  
  
  Limitations and Open Questions
&lt;/h2&gt;

&lt;p&gt;While the results demonstrate strong gains, several key assumptions and limitations remain important for practitioners:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Candidate Coverage Assumption:&lt;/strong&gt; The success of best-of-$K$ training depends on the likelihood that at least one candidate among the $K$ generated samples lies reasonably close to the target mode. If $K$ is too small for an extremely complex distribution, candidates may fail to cover the ground-truth target.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Training-Time Compute Cost:&lt;/strong&gt; Generating $K$ candidate outputs per step increases compute requirements during training. Although FLOP efficiency improves overall due to faster convergence, the per-step overhead during training is higher than single-candidate forward passes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Ranking Dependency:&lt;/strong&gt; The quality of mode commitment relies heavily on the accuracy of the matching loss metric used to evaluate candidates during step selection.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Practical Takeaways for ML Practitioners
&lt;/h2&gt;

&lt;p&gt;For engineering teams working on generative architectures, Explorative Modeling offers a compelling perspective shift:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Rethink Training vs. Inference Complexity:&lt;/strong&gt; If your deployment is constrained by high inference latency—such as real-time robotics or interactive image generation—shifting complexity into training-time exploration can drastically reduce required inference steps.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Address Mode Blurring at the Objective Level:&lt;/strong&gt; When direct regression yields blurry or averaged outputs, modifying the training loop to search over candidate matches can allow single-step models to commit to sharp, distinct modes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Leverage Exploration as a Scaling Lever:&lt;/strong&gt; Beyond simply adding model parameters or collecting more data, increasing generative expressivity via candidate exploration ($K$) represents a practical third knob for scaling model quality.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;For further technical details, check out the primary paper on &lt;a href="https://arxiv.org/abs/2607.27372" rel="noopener noreferrer"&gt;arXiv:2607.27372&lt;/a&gt; or follow broader trends in &lt;a href="https://arxiv.org/archive/cs" rel="noopener noreferrer"&gt;computer science research&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>machinelearning</category>
      <category>deeplearning</category>
      <category>python</category>
    </item>
    <item>
      <title>Decoupling Physical Control and Reasoning: DeepMind's Gemini Robotics 2 Architecture</title>
      <dc:creator>Prabhakar Chaudhary</dc:creator>
      <pubDate>Tue, 04 Aug 2026 18:42:39 +0000</pubDate>
      <link>https://dev.to/prabhakar_chaudhary_7afe4/decoupling-physical-control-and-reasoning-deepminds-gemini-robotics-2-architecture-3jgh</link>
      <guid>https://dev.to/prabhakar_chaudhary_7afe4/decoupling-physical-control-and-reasoning-deepminds-gemini-robotics-2-architecture-3jgh</guid>
      <description>&lt;h2&gt;
  
  
  Why Decouple Reasoning from Motor Control
&lt;/h2&gt;

&lt;p&gt;General-purpose robots have to pull off two very different jobs at once. They need to read a cluttered, full-room visual scene, hold a multi-minute plan in memory, and converse with a person — and, in the same instant, close a high-frequency control loop that keeps a balancing humanoid upright and moves a delicate hand without dropping whatever it holds. Cramming both jobs into a single end-to-end network forces uncomfortable trade-offs: the large context window you want for reasoning fights the low latency you need for torque control.&lt;/p&gt;

&lt;p&gt;On July 28, 2026, Google DeepMind pushed directly against that trade-off with &lt;a href="https://deepmind.google/blog/gemini-robotics-2-brings-whole-body-intelligence-to-robots/" rel="noopener noreferrer"&gt;Gemini Robotics 2&lt;/a&gt;, followed on July 30 by Gemini Robotics ER 2. Rather than one monolithic network, the suite splits the problem across three specialized models — whole-body vision-language-action (VLA) control, high-level embodied reasoning, and on-device adaptation — each tuned to a different cadence and context size. The same modular thinking is visible across recent robotics and VLA research collected on the &lt;a href="https://arxiv.org/list/cs.RO/recent" rel="noopener noreferrer"&gt;arXiv robotics listings&lt;/a&gt; and on &lt;a href="https://huggingface.co/papers" rel="noopener noreferrer"&gt;Hugging Face Papers&lt;/a&gt;, where decomposed perception-planning-control stacks have become a recurring pattern. Understanding DeepMind's specific split clarifies why this architecture is gaining traction.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Three-Model Split
&lt;/h2&gt;

&lt;h3&gt;
  
  
  ER 2: High-Level Task Reasoning
&lt;/h3&gt;

&lt;p&gt;Gemini Robotics ER 2 is the cognitive planner of the stack. It is a vision-language model built for embodied reasoning: it ingests the live camera feed and a natural-language instruction, then decomposes a task that may run several minutes into structured sub-goals. Beyond planning, ER 2 manages dialogue with a human supervisor, interprets spatial context, and coordinates multiple robots operating in a shared workspace — deciding which sub-task gets handed to which platform.&lt;/p&gt;

&lt;p&gt;Operating more slowly than the control layer (roughly a few times per second), ER 2 trades frequency for breadth of context. That separation matters: a reasoning model can afford to run a large context window and a careful forward pass because it is not on the critical 100 Hz balance-control path.&lt;/p&gt;

&lt;h3&gt;
  
  
  Gemini Robotics 2: Whole-Body VLA Controller
&lt;/h3&gt;

&lt;p&gt;If ER 2 decides &lt;em&gt;what&lt;/em&gt; to do, Gemini Robotics 2 decides &lt;em&gt;how&lt;/em&gt; the hardware moves. As a vision-language-action (VLA) model, it drives motor control for bi-arm manipulators and full humanoid bodies, from feet to fingertips.&lt;/p&gt;

&lt;p&gt;The model unifies dynamic balance with fine manipulation. It generates trajectories for whole-body actions like crouching, walking, and navigating cluttered spaces. For physical interaction, it controls a range of end-effectors: five-fingered, 22-degree-of-freedom (DoF) hands for delicate tasks such as tying knots, alongside two-fingered grippers for precise packing and placement.&lt;/p&gt;

&lt;h3&gt;
  
  
  On-Device 2: Rapid Embodiment Adaptation
&lt;/h3&gt;

&lt;p&gt;Operating at the edge, Gemini Robotics On-Device 2 is an efficient VLA variant optimized for local execution directly on robot hardware. Its job is low-latency closed-loop control plus adjustment to hardware variation — the part of the problem most sensitive to per-robot kinematic quirks.&lt;/p&gt;

&lt;p&gt;DeepMind reports that On-Device 2 can adapt to a new robot embodiment with only a few hours of operational data and fewer than 200 demonstration examples. That low-shot capability targets a real bottleneck in physical AI: retargeting fine control policies to new kinematics without collecting enormous demonstration datasets for every new morphology.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Execution Loop
&lt;/h2&gt;

&lt;p&gt;A physical goal requires continuous handoff across all three layers. Consider a user instructing a humanoid to clear a cluttered workspace and pack items:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Goal Planning&lt;/strong&gt; — ER 2 reads the camera stream, analyzes the scene, breaks the multi-minute task into discrete sub-goals, and assigns them.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Action Dispatch&lt;/strong&gt; — ER 2 passes structured intent targets to Gemini Robotics 2.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Trajectory Generation&lt;/strong&gt; — Gemini Robotics 2 converts sub-goals into coordinated joint control, balancing walking stability with manipulator positioning.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Local Execution&lt;/strong&gt; — On-Device 2 runs closed-loop control on edge hardware, correcting for surface friction and micro-delays in real time.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Conceptual pseudocode for that loop:&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="c1"&gt;# Conceptual: Gemini Robotics 2 orchestration loop
&lt;/span&gt;
&lt;span class="k"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;GeminiRoboticsOrchestrator&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;__init__&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;self&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;er_model&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;vla_model&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;ondevice_model&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;hardware&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
        &lt;span class="n"&gt;self&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;er_planner&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;er_model&lt;/span&gt;          &lt;span class="c1"&gt;# Gemini Robotics ER 2
&lt;/span&gt;        &lt;span class="n"&gt;self&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;vla_controller&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;vla_model&lt;/span&gt;     &lt;span class="c1"&gt;# Gemini Robotics 2
&lt;/span&gt;        &lt;span class="n"&gt;self&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ondevice_agent&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;ondevice_model&lt;/span&gt; &lt;span class="c1"&gt;# On-Device 2
&lt;/span&gt;        &lt;span class="n"&gt;self&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;robot&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;hardware&lt;/span&gt;

    &lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;execute_user_task&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;self&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;prompt&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;str&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
        &lt;span class="c1"&gt;# 1. High-level planning via ER 2
&lt;/span&gt;        &lt;span class="n"&gt;visual_state&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;self&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;robot&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get_camera_feed&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
        &lt;span class="n"&gt;subtasks&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;self&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;er_planner&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;plan_multistep_task&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;prompt&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;visual_state&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

        &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;subtask&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;subtasks&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
            &lt;span class="c1"&gt;# 2. Runtime safety check
&lt;/span&gt;            &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;self&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;er_planner&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;detect_human_proximity&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;visual_state&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
                &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="ow"&gt;not&lt;/span&gt; &lt;span class="n"&gt;self&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;er_planner&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;verify_collaborative_safety&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;subtask&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
                    &lt;span class="n"&gt;self&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;robot&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;trigger_emergency_stop&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
                    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Stopped: human safety boundary exceeded.&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;

            &lt;span class="c1"&gt;# 3. Whole-body trajectory via the VLA controller
&lt;/span&gt;            &lt;span class="n"&gt;motion_plan&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;self&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;vla_controller&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;generate_whole_body_trajectory&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
                &lt;span class="n"&gt;subtask&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;subtask&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                &lt;span class="n"&gt;kinematics&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;self&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;robot&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get_kinematic_spec&lt;/span&gt;&lt;span class="p"&gt;(),&lt;/span&gt;  &lt;span class="c1"&gt;# e.g. 22-DoF hand + legs
&lt;/span&gt;                &lt;span class="n"&gt;current_pose&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;self&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;robot&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get_joint_states&lt;/span&gt;&lt;span class="p"&gt;(),&lt;/span&gt;
            &lt;span class="p"&gt;)&lt;/span&gt;

            &lt;span class="c1"&gt;# 4. Low-latency edge execution via On-Device 2
&lt;/span&gt;            &lt;span class="k"&gt;while&lt;/span&gt; &lt;span class="ow"&gt;not&lt;/span&gt; &lt;span class="n"&gt;motion_plan&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;is_complete&lt;/span&gt;&lt;span class="p"&gt;():&lt;/span&gt;
                &lt;span class="n"&gt;local_obs&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;self&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;robot&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get_sensor_readings&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
                &lt;span class="n"&gt;adjusted_cmd&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;self&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ondevice_agent&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;adapt_control_step&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
                    &lt;span class="n"&gt;planned_cmd&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;motion_plan&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;next_step&lt;/span&gt;&lt;span class="p"&gt;(),&lt;/span&gt;
                    &lt;span class="n"&gt;sensor_delta&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;local_obs&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                &lt;span class="p"&gt;)&lt;/span&gt;
                &lt;span class="n"&gt;self&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;robot&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;send_motor_commands&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;adjusted_cmd&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This is illustrative, not a reference implementation — but it captures the core idea: each model owns a layer, and the orchestrator just passes intent down and sensor data up.&lt;/p&gt;

&lt;h2&gt;
  
  
  Safety: The ASIMOV-Agentic Benchmark
&lt;/h2&gt;

&lt;p&gt;Physical environments demand explicit safety verification, so DeepMind introduced the &lt;strong&gt;ASIMOV-Agentic&lt;/strong&gt; benchmark to evaluate agent behavior under physical ambiguity. It measures three capabilities:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Uncertainty handling&lt;/strong&gt; — recognizing when sensor data or environment cues are too weak for safe execution.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Unsafe tool-call refusal&lt;/strong&gt; — refusing action requests that exceed mechanical limits or risk collision.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Human escalation&lt;/strong&gt; — pausing to request human verification when task safety is ambiguous.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;At runtime, ER 2 enforces active safety constraints: when a human is present, it detects them in real time and can trigger an automated emergency stop. This is safety enforced deterministically at the control layer, rather than only at the prompt level — a distinction that matters when a model can actuate physical hardware.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's Actually Available
&lt;/h2&gt;

&lt;p&gt;Developers evaluating the platform should separate launch claims from public access:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Gemini Robotics ER 2&lt;/strong&gt; — available via Google AI Studio and in private preview on the Gemini Enterprise Agent Platform.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Gemini Robotics 2 and On-Device 2&lt;/strong&gt; — accessible to early-access partners, not the general public.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Safety methodology&lt;/strong&gt; — documented in DeepMind's &lt;em&gt;Gemini Robotics 2 Safety Technical Report&lt;/em&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The low-shot adaptation claim (under 200 demonstrations in a few hours) is notable, but independent verification across varied third-party hardware will require broader deployment. For now, the architectural pattern is more immediately actionable than the specific weights.&lt;/p&gt;

&lt;h2&gt;
  
  
  Takeaways for Robotics Builders
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Decouple semantic planning from control rate.&lt;/strong&gt; High-level VLMs work best as asynchronous planners (around 1–5 Hz), leaving fast motor balance to dedicated low-latency controllers running at 100 Hz or more.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Put refusal logic in the control layer.&lt;/strong&gt; As ASIMOV-Agentic suggests, safety needs deterministic refusal mechanisms where the actuators are driven — not just prompt-level instructions.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Abstract kinematics behind a hardware seam.&lt;/strong&gt; Splitting general whole-body control from local on-device fine-tuning makes it far easier to port a policy to a new hand or leg configuration.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;By separating long-horizon reasoning, whole-body motor control, and local hardware tuning into distinct models, Gemini Robotics 2 offers an actionable blueprint for building physical AI that can adapt across robot morphologies without forcing one network to do everything at once.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>machinelearning</category>
      <category>deeplearning</category>
      <category>computervision</category>
    </item>
    <item>
      <title>Why LLMs Still Struggle With Tabular Prediction</title>
      <dc:creator>Prabhakar Chaudhary</dc:creator>
      <pubDate>Tue, 04 Aug 2026 18:41:59 +0000</pubDate>
      <link>https://dev.to/prabhakar_chaudhary_7afe4/why-llms-still-struggle-with-tabular-prediction-24i</link>
      <guid>https://dev.to/prabhakar_chaudhary_7afe4/why-llms-still-struggle-with-tabular-prediction-24i</guid>
      <description>&lt;p&gt;Most business prediction problems do not arrive as prose. They arrive as rows: account attributes, transactions, sensor readings, test results, and a target column. For this kind of data, gradient-boosted trees and other conventional methods remain hard to displace.&lt;/p&gt;

&lt;p&gt;A new paper, &lt;a href="https://arxiv.org/abs/2608.02412" rel="noopener noreferrer"&gt;&lt;em&gt;Why Large Language Models Fail at Tabular Prediction&lt;/em&gt;&lt;/a&gt;, asks a much more useful question than “can an LLM classify a table?”: &lt;em&gt;what, specifically, breaks as the task becomes more like ordinary tabular machine learning?&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The answer from the authors’ controlled experiments is input dimensionality. Their result matters because it separates a real limitation from several explanations that sound plausible but did not hold up in their tests.&lt;/p&gt;

&lt;h2&gt;
  
  
  The experiment was about prediction, not table chat
&lt;/h2&gt;

&lt;p&gt;The paper evaluates frontier LLMs in a pure inference setup: a model receives labeled examples and must predict labels for new rows in a single generation pass. There is no fine-tuning, retrieval pipeline, tool calling, or agent loop to compensate for the base model. This is deliberately narrow. It asks whether a general-purpose language model can act as a direct tabular learner.&lt;/p&gt;

&lt;p&gt;Across 31 benchmark datasets, the authors compare nine methods and 252 configured classical models. That scope is important: a weak result on one CSV is easy to explain away as prompt design or a quirky dataset. A consistent trend across many tasks is harder to dismiss.&lt;/p&gt;

&lt;p&gt;The headline is not simply that LLMs lose to established tabular baselines. It is that their accuracy declines as the number of input dimensions grows, while the classical baselines in the study stay stable or improve. The paper therefore treats dimensionality as the central failure mode rather than an incidental property of difficult datasets.&lt;/p&gt;

&lt;h2&gt;
  
  
  Four popular explanations did not survive testing
&lt;/h2&gt;

&lt;p&gt;There are several standard reasons developers give for poor LLM performance on tables. The researchers turn these into falsifiable hypotheses.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;“The classes overlap too much.”&lt;/strong&gt; If the data are noisy or not cleanly separable, perhaps the model cannot infer a decision boundary. The experiments indicate this is not enough to explain the gap: performance problems remain even when the signal is made easier to separate.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;“CSV destroys the table structure.”&lt;/strong&gt; Turning columns and rows into a token sequence feels like an obvious mismatch. But changing the serialization format did not fix the issue. The model can access column information, yet it still fails on signals that should be simple.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;“Numbers are tokenized badly.”&lt;/strong&gt; Numeric strings split into tokens in awkward ways, so perhaps magnitude comparisons are the culprit. Lowering numeric precision and related interventions did not produce the expected recovery.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;“There are too many test rows in one prompt.”&lt;/strong&gt; A prompt with many predictions might spread the model’s compute too thin. Again, reducing that load was not the explanation.&lt;/p&gt;

&lt;p&gt;None of these findings says formatting, numeric representation, or context length never matter in production. They do. The narrower point is that they do not account for the observed collapse in this direct-prediction setting. That distinction should change how we debug these systems: switching from CSV to JSON is unlikely to solve a high-dimensional learning problem.&lt;/p&gt;

&lt;h2&gt;
  
  
  Dimensionality is a different kind of obstacle
&lt;/h2&gt;

&lt;p&gt;Tabular features are often heterogeneous and only weakly related: a customer’s region, account age, device type, transaction count, income band, and dozens of derived signals may each contribute a little. As features accumulate, useful local similarity becomes difficult to identify. This is one form of the familiar curse of dimensionality.&lt;/p&gt;

&lt;p&gt;In two dimensions, the paper finds that LLM behavior resembles local methods such as low-&lt;em&gt;k&lt;/em&gt; nearest neighbors or short-length-scale Gaussian processes. In other words, the model’s predictions can look like a neighborhood-based decision rule. The reported grid agreement reaches 91.6% for some such comparisons.&lt;/p&gt;

&lt;p&gt;At higher dimensions, that resemblance disappears. The authors could not reproduce the LLM’s behavior with any of their classical models, even after adding tuned dimension-dependent noise. That is a valuable negative result. The model is not merely becoming an ordinary nearest-neighbor classifier with worse settings; its prediction behavior becomes hard to characterize and less accurate.&lt;/p&gt;

&lt;p&gt;This also clarifies why fluent explanations can be misleading. An LLM can describe a dataset, identify likely feature meanings, and write a plausible analysis plan. Those abilities do not imply that the model has acquired the inductive bias needed to estimate a reliable decision function over many structured variables.&lt;/p&gt;

&lt;h2&gt;
  
  
  What should developers use instead?
&lt;/h2&gt;

&lt;p&gt;For supervised prediction on a table, start with methods designed for tables. Gradient-boosted decision trees are still a strong default for mixed numeric and categorical features, moderate dataset sizes, missing values, and non-linear interactions. &lt;a href="https://arxiv.org/abs/1603.02754" rel="noopener noreferrer"&gt;XGBoost’s original paper&lt;/a&gt; remains useful background for why boosted trees became such a practical baseline.&lt;/p&gt;

&lt;p&gt;There is also active work on models that are explicitly built for tabular prediction rather than adapted from next-token prediction. &lt;a href="https://arxiv.org/abs/2511.08667" rel="noopener noreferrer"&gt;TabPFN-2.5&lt;/a&gt;, for example, is a tabular foundation model evaluated against conventional approaches. Its existence reinforces the design lesson: “foundation model” is not synonymous with “general-purpose LLM.” Architecture, training distribution, and task framing all matter.&lt;/p&gt;

&lt;p&gt;General-purpose LLMs still have useful roles around a tabular workflow:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;generate SQL, feature-engineering code, and experiment scaffolding;&lt;/li&gt;
&lt;li&gt;translate business questions into measurable targets;&lt;/li&gt;
&lt;li&gt;summarize data dictionaries and data-quality checks;&lt;/li&gt;
&lt;li&gt;assist with model documentation and error analysis;&lt;/li&gt;
&lt;li&gt;provide a natural-language interface to a model trained elsewhere.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Those are orchestration and interface tasks. They should not be confused with replacing the predictive model itself.&lt;/p&gt;

&lt;h2&gt;
  
  
  The practical takeaway
&lt;/h2&gt;

&lt;p&gt;Do not treat a chat model’s ability to read a table as evidence that it can learn from the table. If the goal is accurate tabular prediction, establish a tree-based baseline first, measure it with a held-out evaluation protocol, and only then test an LLM-based approach against it.&lt;/p&gt;

&lt;p&gt;The new paper is a preprint, so its conclusions deserve replication and extension. It also studies pure inference rather than fine-tuned or tool-augmented systems. But its experimental approach is worth adopting: isolate one explanation at a time, reject the convenient ones when the data rejects them, and focus on the structural constraint that remains.&lt;/p&gt;

&lt;p&gt;For a broader map of this research area, see the &lt;a href="https://arxiv.org/abs/2402.17944" rel="noopener noreferrer"&gt;survey on large language models for tabular data&lt;/a&gt;. The main message is restrained but useful: language models can make tabular workflows easier to operate, while the actual predictive core still needs methods with the right bias for the data.&lt;/p&gt;

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