CUSUM-Shaped Inference-Time Monitoring and Targeted Re-Decoding for Quantized Small Language Model Reasoning

· Source: Artificial Intelligence · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Natural Language Processing · Depth: Expert, quick

Summary

MGT-B (Monitoring-Guided Test-time Backtracking) is a new external controller designed to address repetitive or unproductive trajectories in quantized small autoregressive reasoning models during inference. Building on an e-CUSUM controller, MGT-B maps overlapping windows of pre-sampling uncertainty and degeneration features to empirical tail probabilities, accumulates mixture betting factors with a CUSUM-shaped reset, and responds to alarms by estimating a rollback point, restoring token and key-value-cache state, and performing constrained re-decoding. On a 240-pair chronology-audit set, MGT-B improved accuracy from 82/240 to 88/240, a +2.50 percentage point increase (13 corrections, 7 regressions; McNemar p = 0.2632). A broader 467-pair historical-coverage set showed accuracy change from 146/467 to 167/467 (+4.50 points; McNemar p = 0.000753). The system's 316 no-alarm outputs were identical to vanilla, while 151 alarmed trajectories yielded 29 corrections and 8 regressions, supporting a selective monitoring-and-repair mechanism for the MATH-500 setting.

Key takeaway

For Machine Learning Engineers optimizing quantized small language models for reasoning tasks, consider integrating MGT-B's selective monitoring and repair mechanism. This approach allows your models to dynamically detect and correct unproductive trajectories, potentially improving accuracy on specific problem sets like MATH-500. You can enhance model reliability by implementing inference-time backtracking and constrained re-decoding, rather than relying solely on static compute allocation, especially where error correction is critical.

Key insights

MGT-B selectively monitors and repairs unproductive reasoning trajectories in quantized small language models during inference.

Principles

Method

MGT-B maps uncertainty and degeneration features to probabilities, accumulates CUSUM-shaped betting factors, and on alarm, estimates a rollback point, restores state, and performs constrained re-decoding.

In practice

Topics

Best for: AI Engineer, Research Scientist, AI Scientist, Machine Learning Engineer, NLP Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by Artificial Intelligence.