arXiv:2610.34199cs.LGOct 2026

Manuscript Offprint

arXiv:2610.34199

SRA: Selective Residual Adaptation for LLM Reasoning Enhancement

Zhenxing Dou, Kun He, Mingyang Yi, Yong Liu

Abstract

Knowledge distillation transfers reasoning capabilities from large language models to lightweight students. However, distilled small models still struggle with multi-step reasoning. We observe that the distribution divergences between teacher and student models along reasoning paths are highly sparse, and target tokens almost always fall within the student top-K candidate set. Based on this finding, unlike approaches updating student backbones or requiring runtime teacher computation, we propose Selective Residual Adaptation (SRA), a plug-and-play framework that internalizes localized corrections. Concretely, SRA employs a Discrepancy Gate to identify divergence positions alongside a Candidate Residual Adapter for top-K logit calibration to correct the mismatch. Theoretically, we establish error bounds ensuring strict sequence level performance gains. Across mathematical benchmarks on Qwen3 models from 0.6B to 4B, SRA consistently enhances distilled student models, raising average Pass@16 by up to 4.37 percentage points while preserving general capabilities.

1 Introduction

Large language Models (LLMs) (Yang et al., 2025) have demonstrated strong performance on complex multi-step reasoning tasks (Wei et al., 2022) such as math (Shao et al., 2024), coding (Chen et al., 2021), and data analysis (Hong et al., 2025). However, the substantial computational costs of LLMs and GPU memory requirements hinder efficient deployment (Kwon et al., 2023). To resolve this, researchers propose to use smaller language models distilled (Hinton et al., 2015) from the larger ones to offer lower computational requirements. However, distilled students still struggle with complex reasoning (Shridhar et al., 2023), as their limited capacity and the distribution mismatch constrain how well they learn from the teacher, leaving a performance gap even after distillation (Agarwal et al., 2024; Li et al., 2025a).

Due to this mismatch, collaborative inference offers an alternative approach to improving student reasoning (Huang et al., 2026; Ong et al., 2025; Li et al., 2026a). In this regime, the student handles most generation steps and requests teacher corrections only at selected positions (Fu et al., 2025; Shen et al., 2026). However, these interventions still require teacher computation at runtime, and synchronization and prefix processing can introduce additional latency and complicate deployment (Ye et al., 2026). These costs can erode the efficiency advantages of running the student alone. This raises a central question: Can we internalize these local corrections in a lightweight mechanism that operates independently, further improving reasoning without updating the student backbone or querying the teacher during inference?

To investigate this possibility, we first compare the next-token distributions of teacher and student at shared prefixes. Our diagnostics reveal two complementary observations. First, positions where the student diverges from the teacher's preferred token are highly sparse and can be sensitively detected by total variation (TV) distance. Second, the teacher's preferred token is almost always included in the student's top-K candidates. Together, these observations motivate learning local corrections by reallocating probability among existing student candidates at selected positions.

Inspired by these findings, we propose Selective Residual Adaptation (SRA), a lightweight, plug-and-play framework that learns output-side probability corrections while keeping the student backbone frozen. Our SRA consists of two critical components. A light Discrepancy Gate (DG) predicts high-disagreement positions from hidden states of the frozen student, using supervision derived from TV distance between small and large

∗^{*}Corresponding authors: Mingyang Yi and Yong Liu.

models. A Candidate Residual Adapter (CRA) learns a lightweight additive correction module to correct the student's candidate logits by matching the teacher's conditional distribution over the same top-K candidates. During generation, CRA is applied only at highly mismatched positions selected by DG. At all other positions, the original student distribution is retained. Both lightweight modules reuse student features and operate without teacher queries at inference, thereby enabling efficient corrections with minimal computational overhead.

Furthermore, we conduct a theoretical analysis of SRA, which establishes sufficient conditions for strict improvement in sequence-level success. Experiments on four mathematical reasoning benchmarks with Qwen3-0.6B, 1.7B, and 4B show that SRA further improves the macro-averaged accuracy of students trained with different distillation methods including standard knowledge distillation (Hinton et al., 2015; Kim and Rush, 2016) and on-policy distillation (Lu, 2025). Our contributions are summarized as follows:

• Selective residual adaptation. We propose SRA, a plug-and-play framework that internalizes localized corrections without student updates or inference-time teacher queries.

• Theoretical improvement guarantees. We derive sufficient error conditions ensuring that SRA achieves strict sequence level performance gains over the base student.

• Empirical gains and capability preservation. We demonstrate consistent gains across various models and distillation methods, while preserving general capabilities.

References (61)