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

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Lin, Weizhe, Li, Xing, Yang, Zhiyuan, Fu, Xiaojin, Zhen, Hui-Ling, Wang, Yaoyuan, Yu, Xianzhi, Liu, Wulong, Li, Xiaosong, Yuan, Mingxuan
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866912405120876544
author Lin, Weizhe
Li, Xing
Yang, Zhiyuan
Fu, Xiaojin
Zhen, Hui-Ling
Wang, Yaoyuan
Yu, Xianzhi
Liu, Wulong
Li, Xiaosong
Yuan, Mingxuan
author_facet Lin, Weizhe
Li, Xing
Yang, Zhiyuan
Fu, Xiaojin
Zhen, Hui-Ling
Wang, Yaoyuan
Yu, Xianzhi
Liu, Wulong
Li, Xiaosong
Yuan, Mingxuan
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2505_17155
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle TrimR: Verifier-based Training-Free Thinking Compression for Efficient Test-Time Scaling
Lin, Weizhe
Li, Xing
Yang, Zhiyuan
Fu, Xiaojin
Zhen, Hui-Ling
Wang, Yaoyuan
Yu, Xianzhi
Liu, Wulong
Li, Xiaosong
Yuan, Mingxuan
Machine Learning
Artificial Intelligence
Computation and Language
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.
title TrimR: Verifier-based Training-Free Thinking Compression for Efficient Test-Time Scaling
topic Machine Learning
Artificial Intelligence
Computation and Language
url https://arxiv.org/abs/2505.17155