Chiosa
AI & Agents

NariQ keeps 3-bit Qwen3.8 close to BF16 on agent tasks

3 min
Updated
Development sequence at 3.0 bpw, ending at an earlier checkpoint. Trellis coding has 3.2× lower agent KL than GPTQ+GSQ, with the scalar search’s probabilities re-rounded under trellis costs.…
Development sequence at 3.0 bpw, ending at an earlier checkpoint. Trellis coding has 3.2× lower agent KL than GPTQ+GSQ, with the scalar search’s probabilities re-rounded under trellis costs. Subsequent changes reduce KL a further 2.7×. The model-token step also adds the…Figure 1 · Doyeob Kim · CC BY 4.0

In plain words

NariQ is a way to shrink a language model after training while trying to preserve its ability to write the next part of a multi-step agent session.

It compares a smaller model’s predictions with the original model’s, focusing on words the original model wrote while using tools and reading their results.

On one software-task test, the 3-bit version averaged a slightly higher share of passed new tests per task than the original BF16 model. The finding covers this model and test setup, not every model or task.

The research

A smaller model file matters only if it can still handle the linked decisions in a long task. NariQ’s results change the expectation for this Qwen3.8 model: in the paper’s two agent tests, its 2.5- and 3.0-bit files were within noise of BF16, though the 2.5-bit file’s mean Terminal Bench reward was 96% of BF16. The 2.0-bit file fell behind.

NariQ calibrates and allocates weight precision around a model’s own written tokens in agent sessions, then tests whether smaller files retain performance on long software tasks.

The method calibrates quantized files against BF16 predictions at model-written positions in agent traces, then compares files with BF16 in the same evaluation harnesses. On DeepSWE, the 3.0- and 2.5-bpw files scored 84.9% and 84.5% of new tests passed per task, against 83.0% for BF16; on Terminal Bench, their mean rewards were 102% and 96% of BF16.

Together, the tests support near-BF16 performance at those two bit budgets in the reported settings.

The comparison covers one model, Qwen3.8-27B, in the paper’s harnesses and named tests. At 2.0 bits per weight, its files fell behind BF16 on both agent tests, so the near-BF16 result applies to the 2.5- and 3.0-bit files in the reported evaluations.

What the evidence shows

  • The long-task gap

    NariQ is a post-training quantization method that adjusts a model’s weight precision after training. The question is whether a 3-bit version can retain performance when an agent must carry out extended software tasks.

    In Unsloth’s published DeepSWE results, a 3-bit GSQ-RCO file solved about 63% as many tasks as BF16. DeepSWE counts a task as solved only when every new and existing test passes; this published comparison used Unsloth’s harness.

  • A focused calibration target

    NariQ’s calibration compares the next-token predictions of BF16 and the quantized model, counting only positions where BF16 wrote the token in an agent trace. Tool outputs and file contents remain in both models’ context.

    The method therefore directs calibration toward the model’s own written decisions while retaining the surrounding session as context. This is the proposed way to address the gap; the performance comparison must show whether it works on agent tasks.

  • Near BF16 on DeepSWE

    The score and solved-task count point in the same direction: at 3.0 bpw, NariQ retained performance close to BF16 in this one-attempt harness.

    Because a task counts as solved only when all new and existing tests pass, the similar results support that conclusion for this test setup, not for other harnesses or models.

  • A second agent test

    The authors describe both files’ mean rewards as within noise of BF16, suggesting similar performance on these command-line tasks in their harness. The score averages three attempts for each task, so this finding is bounded to those tasks and evaluation settings.

  • The boundary of the finding

    The higher precision files also scored near BF16 on the tested math, visual-understanding and multilingual tasks, but that pattern did not hold at 2.0 bpw, where the file fell behind on agent tasks and had its largest drop on math.

    This shows the result depends on the precision budget and supports a conclusion limited to the tested Qwen3.8-27B files.

Deep

Next paperLearned token deletion keeps vision models stronger under heavy compression