NewsCrawler.org

Looped DeepSeek-V4.1 lifts coding accuracy on a 552B model and 1.75-bit Macs

Looped DeepSeek-V4.1 lifts coding accuracy on a 552B model and 1.75-bit Macs
Shorter Thinking Chains Pay for the Extra Loop Pass
Image: Reddit

What happened next

  1. Full 748B DeepSeek-V4.1-Flash run on one RTX 4090 with 468 GiB host RAM

The whole story · 2 →

The author trained a 35M-parameter loop adapter over 12 middle layers (L24–35) of DeepSeek-V4.1-Flash-1017, a 552B MoE[1] model, keeping its base weights frozen. Training ran on a single GPU for less than $50 in compute. On 33 LiveCodeBench v6 problems with a 32,768-token limit, every looped setup beat stock full precision: overall accuracy rose from 75.8% to 84.8%, and on the 13 hardest problems from 61.5% to 84.6%.

Looping runs 52 layer-passes per token instead of 40, but <think> output fell from 16,979 to 12,436 tokens, so total layer-passes per answer dropped by about 5%. The author also says KV-cache[2] memory fell by 27%.

On 1.75-bit local Macs, compressing the routed experts 9.1× lowered accuracy to 57.6%, against 75.8% for stock cloud full precision. Adding the adapter with Loop-Contrastive Decoding (LoopCD[3]) raised the Mac result to 75.8% (25 of 33), matching the cloud baseline, at about 24 tok/s on an M5 Max MacBook Pro. The author also published an install script for Apple Silicon Macs with 64 GB or more.

Repository DeepSeek-V4.1-Flash-1017 huggingface.co

DeepSeek's open-weight 552B MoE language model, a Flash variant of the DeepSeek-V4.1 series for coding and general tasks.

Read the original blog.tiltastech.comDiscussion

Discussion

Commenters mostly ask whether the method works on other models, such as Qwen, GLM and Kimi, and when it can be built into existing inference engines. One commenter notes that there is no control arm trained without looping, so the gains could come from additional fine-tuning on similar data rather than from the loop.

Sources

Published: First seen: Читать по-русски

Open as a page