NVIDIA Dory 4B: Looped Model Hits 61.8 on SWE-bench

What Is NVIDIA Dory1.0-4B?

On October 16, 2026, NVIDIA released Dory1.0-4B, a 4-billion-parameter language model built around an unusual idea: instead of making the model bigger, make it think longer. Dory is a looped, or latent-recurrent, model. It applies a shared block of layers multiple times to each token, so the same weights do more work before an answer comes out.

The model is published under the OpenMDW License Agreement version 1.1, which NVIDIA says clears it for commercial or non-commercial use. It handles English text, offers up to a 256,000-token context window, and ships in BF16, MXFP8, NVFP4, and a Q5_K_M GGUF export for llama.cpp. It landed during Open Source AI Week (October 16–25, 2026), when open-weight releases get extra attention.

Why Dory Is Trending Now

The number driving the conversation is 61.8. That is NVIDIA's reported score for Dory1.0-4B on SWE-bench Verified, a widely watched benchmark that tests whether a model can fix real issues in real software repositories. The score comes at four loops, the model's highest tested setting. At one loop, the same checkpoint scores 50.3. At two loops, it reaches 59.5. The jump from one loop to four is more than 11 points, delivered by inference-time compute rather than extra parameters.

That framing is why the release caught fire on October 17. Much of the 2026 AI news cycle has argued about scale: bigger models, bigger clusters, bigger budgets. Dory asks whether a small model can punch above its weight by spending more compute per token, thinking in latent space instead of generating longer visible reasoning chains.

How Looping Actually Works

Source: NVIDIA (Hugging Face model card). Dory's looped architecture: input, recurrent, and output blocks.

A standard transformer works like an assembly line: each layer does one pass and hands its output to the next. Dory splits its stack into three groups: an input block, a recurrent block, and an output block. The input and output blocks have 8 layers each. The recurrent block in the middle has 20 layers, and it is shared: the model runs it, feeds its output back in together with the original input, and runs it again.

The number of times that block runs is the loop count, chosen at inference time. One loop behaves like a conventional model of the same size. NVIDIA recommends two loops as the default, noting that most of the accuracy gain comes from the second loop. Four loops is for when accuracy matters more than speed, particularly for agentic tasks such as SWE-bench and Terminal-Bench.

Two details make this practical. First, looping is token-efficient: extra computation goes into thinking per token, so the model needs fewer generated tokens to solve a task, partly offsetting the cost of extra loops. Second, Dory supports last-loop KV caching, keeping a single key-value cache per recurrent attention layer instead of one per loop. Without it, memory would grow with every added loop. With it, the cache stays at the one-loop size, leaving room for long contexts or concurrent requests.

The Benchmark Story

Source: NVIDIA (Hugging Face model card). Looping reduces the number of output tokens needed to solve tasks.

Looping helps most where step-by-step work matters. SWE-bench Verified climbs from 50.3 at one loop to 61.8 at four loops — ahead of NVIDIA's reported 57.4 for the much larger Gemma 4 26B A4B and close to the 61.0 for Qwen3.5-9B. Terminal-Bench 2.1 rises from 12.5 to 22.2. SciCode improves from 27.3 to 35.1. Instruction following on IFBench goes from 74.3 to 79.0, and long-context AA-LCR rises from 63 to 73.

Not every number moves the same way. On GPQA Diamond, a hard reasoning test run without tools, Dory goes from 69.2 to 72.2 — still behind larger models scoring in the high 70s and 80s. On general knowledge (AA-Omniscience), Dory sits near 10 percent at every loop count, well behind the bigger models. The same pattern shows on Humanity's Last Exam: single digits to low teens.

That split is the honest story. Looping turns a small model into a much better coding and agentic model. It does not turn it into a knowledge giant. A 4B model still knows less than a 26B or 35B model. What looping buys is better use of what the model already knows: more careful reasoning, more reliable tool use, more consistent instruction following. All these numbers are NVIDIA's own; independent reproduction will confirm them.

What Dory Means for Local AI

For people running models on their own hardware, Dory's most useful feature may not be the headline score. It is elasticity. One checkpoint serves different compute budgets: a quick question gets one loop, a tricky coding task gets four. There is no need to manage two separate models for fast and careful modes.

The practical path is documented. NVIDIA's model card includes a llama.cpp quick start that pins a Dory-enabled build, downloads the Q5_K_M GGUF file of about 3.7 GB, and launches a local server with the loop count set through an override flag. Recommended settings are temperature 1.0 and top-p 0.95, with reasoning enabled, and tool calling is supported. See our guide on how to run an open model locally with Ollama in 20 minutes for the general local workflow.

It joins recent small-model coverage such as Liquid AI's LFM2.5-24B-A2B running agents on-device and Meta's Muse Spark Open.

What to Watch Next

Three questions will decide whether Dory is a curiosity or a turning point: do independent runs reproduce the 61.8 figure, will vLLM and Ollama add looping support, and will other labs adopt looped architectures?

Caveats remain. The model is English-only. Gains are strongest on agentic and coding tasks, weakest on raw knowledge. And vendor-reported numbers deserve independent verification before anyone builds a product on them. Still, Dory is the most architecturally interesting small-model release in recent weeks, and its idea is easy to state: sometimes the smartest move is not a bigger brain, but more time to think. A 4B model that can choose its own thinking budget, hit 61.8 on SWE-bench Verified, and run on a single machine is a genuinely useful addition to the open-weight toolbox.

Comments

Popular posts from this blog

Open-Source AI Weekly: Bonsai, GigaChat 4 Lead

Claude Claims Proof of Riemann Hypothesis After 167 Years

How to Build an AI Agent with LangGraph in 30 Minutes