arXiv:2611.02710cs.CLNov 2026

Manuscript Offprint

arXiv:2611.02710

MicroMouse: Masking Harmful Supervision in Long CoT via Relative Potential

Xiaowei Zhu, Hengzhu Tang, Zhenyu Zhang, Shuohuan Wang, Yubing Ren, Yanan Cao

ABSTRACT

Long chain-of-thought (CoT) trajectories have become an important source of supervision for training large reasoning models, yet conventional supervised fine-tuning (SFT) typically optimizes all tokens in these trajectories indiscriminately. However, even successful long CoTs may contain harmful supervision, motivating the need for methods that can automatically identify and mask such signals during SFT. Inspired by the MicroMouse maze-solving process, we view a long CoT as a search trajectory from the input problem toward the target answer. This perspective motivates maintaining a goal-relative measure, analogous to a MicroMouse's spatial coordinates, to quantify how close the current reasoning state is to the target answer. Building on this perspective, we propose MICROMOUSE, an automated selective-SFT framework for masking harmful supervision in long CoTs. In MICROMOUSE we introduce a Relative Potential (REP) to measure how closely each reasoning state supports the gold answer. Unlike the perplexity of the gold answer alone, REP measures relative support by contrasting the gold answer with a matched foil. This contrast cancels likelihood variations shared by the pair, yielding a more stable signal of progress toward the target answer. By tracking the REP trajectory, MICROMOUSE identifies consecutive potential decreases as erroneous exploration and post-peak reasoning as redundant wandering, and masks these harmful supervision during SFT. Extensive experiments across multiple student model scales and reasoning benchmarks show that MICROMOUSE consistently outperforms Full-CoT SFT and existing selective-SFT baselines, yielding average relative gains of 5.5% in greedy accuracy and 2.6% in Pass@1 relative to Full-CoT SFT. Meanwhile, MICROMOUSE improves reasoning efficiency by reducing average output length by 8.8%, while identifying harmful supervision in only 1.7 seconds per long CoT on average.

1 INTRODUCTION

Recent large reasoning models (LRMs) have demonstrated strong performance on complex reasoning tasks by generating extended chains of thought (CoTs) and leveraging increased inference-time computation (OpenAI, 2024; Guo et al., 2025). CoTs enable models to solve complex problems through verbalized intermediate reasoning steps, substantially improving performance across reasoning-intensive tasks (Wei et al., 2022). Long CoTs have increasingly become an important source of supervision for supervised fine-tuning (SFT), where student models learn reasoning behaviors from high-quality reasoning trajectories (Ye et al., 2025).

However, prevailing full-CoT SFT optimizes all tokens in a reasoning trajectory uniformly, regardless of their actual learning value. This treatment can be suboptimal for long-form CoTs, as even successful trajectories may contain harmful supervision such as erroneous exploration and redundant

∗^{*}Project lead.

†^{\dagger}Corresponding author.

Figure

Figure 1: Overview of MicroMouse, a framework consisting of three stages.

wandering. Indiscriminately learning from these steps can reinforce undesirable reasoning patterns, thereby degrading both reasoning performance and inference efficiency (Chen et al., 2025a; Cui et al., 2025; Li et al., 2026). This motivates an automated framework that identifies such harmful supervision and selectively masks its contribution to the SFT objective.

As shown in Figure 1 (left), our motivation is inspired by the MicroMouse maze-solving problem (Wyard-Scott & Meng, 1995). During the search phase, a MicroMouse explores an unknown maze through a sequence of movements, where erroneous forward and backtracking decisions (i.e., passing the goal and returning) may occur. During the dash phase, it instead follows the computed fastest route to the destination. We draw an analogy between this search trajectory and a long CoT: reasoning steps may likewise contain erroneous exploration or redundant wandering after the target answer has been reached. This inspires a new perspective: maintaining a goal-relative measure throughout reasoning, analogous to a Micromouse's spatial coordinates, to quantify how close each reasoning step is to the target answer and guide SFT to mask erroneous exploration and redundant wandering.

Building on this intuition, we propose MICROMOUSE, an automated selective-SFT framework for masking harmful supervision in long CoTs. Given a long CoT, we first partition it into a sequence of reasoning steps using naturally occurring transition keywords. We then introduce the Relative Potential (REP) to quantify how close each reasoning state is to the target answer. Perplexity provides a simple and intuitive measure of how strongly a reasoning prefix supports the gold answer, but the gold answer's perplexity alone captures only absolute confidence and ignores how competing answers change. REP instead contrasts the gold answer with a matched foil through the difference between their log perplexities, equivalently the log-ratio of their perplexities. This relative formulation cancels likelihood variations shared by the matched pair and more directly tracks changes in the model's preference for the target answer. By tracking the evolution of REP along the trajectory, we systematically categorize reasoning steps into Correct Progress, Necessary Exploration, Erroneous Exploration, and Redundant Wandering. During SFT, tokens belonging to erroneous or redundant steps are masked from the loss while remaining visible in the context.

Extensive experiments show that MICROMOUSE consistently outperforms Full-CoT SFT across student models of different scales and a broad range of reasoning benchmarks. Averaged over Qwen3-4B, Qwen3-8B, and Qwen3-14B, MICROMOUSE achieves relative improvements of 5.5% in accuracy under greedy decoding and 2.6% in Pass@1 under temperature sampling, while also clearly surpassing existing selective-SFT baselines. In addition, MICROMOUSE reduces the average output length by 8.8%. The harmful supervision identification is also efficient, requiring only 1.7 seconds on average for a long CoT containing 22 reasoning steps.