English

TrimR: Verifier-based Training-Free Thinking Compression for Efficient Test-Time Scaling

Machine Learning 2025-06-03 v2 Artificial Intelligence Computation and Language

Abstract

Large Reasoning Models (LRMs) demonstrate exceptional capability in tackling complex mathematical, logical, and coding tasks by leveraging extended Chain-of-Thought (CoT) reasoning. Test-time scaling methods, such as prolonging CoT with explicit token-level exploration, can push LRMs' accuracy boundaries, but they incur significant decoding overhead. A key inefficiency source is LRMs often generate redundant thinking CoTs, which demonstrate clear structured overthinking and underthinking patterns. Inspired by human cognitive reasoning processes and numerical optimization theories, we propose TrimR, a verifier-based, training-free, efficient framework for dynamic CoT compression to trim reasoning and enhance test-time scaling, explicitly tailored for production-level deployment. Our method employs a lightweight, pretrained, instruction-tuned verifier to detect and truncate redundant intermediate thoughts of LRMs without any LRM or verifier fine-tuning. We present both the core algorithm and asynchronous online system engineered for high-throughput industrial applications. Empirical evaluations on Ascend NPUs and vLLM show that our framework delivers substantial gains in inference efficiency under large-batch workloads. In particular, on the four MATH500, AIME24, AIME25, and GPQA benchmarks, the reasoning runtime of Pangu Pro MoE, Pangu-R-38B, QwQ-32B, and DeepSeek-R1-Distill-Qwen-32B is improved by up to 70% with negligible impact on accuracy.

Keywords

Cite

@article{arxiv.2505.17155,
  title  = {TrimR: Verifier-based Training-Free Thinking Compression for Efficient Test-Time Scaling},
  author = {Weizhe Lin and Xing Li and Zhiyuan Yang and Xiaojin Fu and Hui-Ling Zhen and Yaoyuan Wang and Xianzhi Yu and Wulong Liu and Xiaosong Li and Mingxuan Yuan},
  journal= {arXiv preprint arXiv:2505.17155},
  year   = {2025}
}
R2 v1 2026-07-01T02:32:32.668Z