NariQ: Sub-3-Bit Quantization for Long-Horizon Agentic Tasks
Doyeob Kim
Key points
From the paper's conclusion- We propose NariQ, a trellis-coded post-training quantization method that calibrates on tokens generated by the BF16 model in agent sessions.
Abstract
Long-horizon agentic tasks require a model to call tools over many steps at contexts of 100K tokens or more, yet many low-bit quantization methods are calibrated on short web text and judged on perplexity. This mismatch is costly: existing quantizations of Qwen3.8-27B at or below 3 bits per weight match BF16 on shorter tasks like AIME, yet in published results solve at most 72% as many tasks as BF16 on DeepSWE, a long-horizon agentic benchmark. We propose NariQ, a trellis-coded post-training quantization method that calibrates on tokens generated by the BF16 model in agent sessions. On Qwen3.8-27B, NariQ at 3.0 and 2.5 bits per weight stays level with BF16 on two long-horizon agentic benchmarks, DeepSWE and Terminal Bench, as well as on AIME and RealWorldQA. Our checkpoint at 2.0 bits per weight trails this performance. To our knowledge, these are the first quantizations at or below 3 bits per weight shown to match their full-precision version on long-horizon agentic tasks. We release the files as Qwen3.8-27B-NariQ-GGUF (https://huggingface.co/nari-labs/Qwen3.8-27B-NariQ-GGUF), with inference available through our llama.cpp fork at https://github.com/nari-labs/nari-llama.cpp.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Right On Q: Recovering Reasoning under Quantization via Self-Generated TrajectoriesarXiv · 2026
- TriAxialKV: Toward Extreme Low-Precision KV-Cache Quantization for Agentic Inference TasksarXiv · 2026
- Quantization Effects on Tool-Failure Recovery Vary Across Prompts and Evaluation DesignsarXiv · 2026
- Quantization Thresholds Replicate, Failure Modes Do Not: A Three-Model Study of Agentic Tool Use in Polish from 8-bit to 2-bitarXiv · 2026
- QDA: Closed-Loop LLM Quantization Design with AgentsarXiv · 2026
- DualQuant: Dual-scale Calibration-free Weight-and-Activation Quantization for LLMsarXiv · 2026