Abstract
Representation Fine-tuning (ReFT), a recently proposed Parameter-Efficient Fine-Tuning (PEFT) method, has attracted widespread attention for significantly improving parameter efficiency by editing representation space alone. In this work, we investigate applying ReFT to complex reasoning tasks. However, directly using the native ReFT method, which modifies fixed representations at the beginning and end of each layer, yields suboptimal performance, as these fixed-position representations have uncertain impact on the outputs. We observe that, in complex reasoning tasks, there often exist certain critical representations. These representations either integrate significant information from preceding layers or regulate subsequent layer representations. Through layer-by-layer propagation, they exert a substantial influence on the final output. Naturally, fine-tuning these critical representations has the potential to greatly enhance reasoning performance. Building upon these insights, we propose Critical Representation Fine-Tuning (CRFT), a novel method that identifies and optimizes these critical representations through information flow analysis. CRFT operates within a supervised learning framework, dynamically optimizing critical representations in a low-rank linear subspace while freezing the base model. The effectiveness and efficiency of our method are validated across eight benchmarks for arithmetic and commonsense reasoning, using LLaMA and Mistral model families. Notably, our method improves the accuracy of LLaMA-2-7B and ReFT by 18.2 and 3.8, respectively, on GSM8K, while using only 0.016 of the model parameters, significantly less than other PEFT methods. Furthermore, our method also adapts effectively to few-shot settings, boosting one-shot accuracy by 16.4. Our work highlights the untapped potential of representation-level optimization for CoT reasoning, offering a lightweight yet powerful alternative to traditional PEFT methods.
Introduction
While Large Language Models (LLMs) are powerful, fine-tuning them for complex reasoning tasks like multi-step arithmetic is computationally expensive. Traditional Parameter-Efficient Fine-Tuning (PEFT) methods like LoRA modify model weights, while newer "Representation Fine-Tuning" (ReFT) methods modify the hidden states (representations) directly. However, existing ReFT methods are often "blind," typically modifying representations at fixed positions (like the first or last token of every layer). This is suboptimal for reasoning because in a complex Chain-of-Thought (CoT) process, not every token is equally important.
As shown in Figure 1, certain representations act as "hubs" that aggregate vital information or regulate how subsequent layers process data. If these critical points are missed, parameters are wasted; if they are targeted, the model's logic can be radically improved.
Methodology: Critical Representation Fine-Tuning (CRFT)
CRFT consists of two main phases: identification and adaptive optimization.
1. Identification via Information Flow
Instead of picking fixed positions, CRFT uses attention and saliency scores to find "critical" representations. Two types of critical tokens are defined:
- Self-Referential: Tokens that aggregate significant information from preceding layers (high "self-information flow").
- Multi-Referential: Tokens that exert a strong regulatory influence on many other tokens in subsequent layers.
2. Adaptive Optimization
Once identified, these representations are modified using a low-rank linear subspace projection. The base model remains completely frozen; only the small projection matrices for these specific critical points are learned.
As illustrated in Figure 5, the intervention occurs within the Transformer layer, where identified anchor representations $M_{h_c}$ are updated to $h_i^*$ while the base model parameters (frozen icons) remain unchanged. This surgical approach allows for massive reasoning gains with minimal parameter overhead.
Experimental Results
The researchers evaluated CRFT across eight diverse benchmarks, including arithmetic reasoning (GSM8K, AQuA, MAWPS, SVAMP) and commonsense reasoning (BoolQ, SocialIQA, WinoGrande, OpenBookQA). They also synthesized Commonsense60K, a dataset specifically designed to include reasoning steps (CoT).
Key Performance Metrics
- GSM8K Performance: On the LLaMA-2-7B model, CRFT improved accuracy from a base of 14.6% to 32.8%. This outperformed the native ReFT method (29.0%) while using roughly half the trainable parameters.
- Efficiency: The entire fine-tuning process involved only 0.016% of the total model parameters, significantly fewer than LoRA (about 1/6th) and ReFT (about 1/2).
- Few-Shot Learning: CRFT adapted remarkably well to low-data regimes, boosting one-shot accuracy by 16.4% compared to the base model.
Discussion and Insights
- The "Surgical" Advantage: Empirical tests showed that adding a tiny amount of Gaussian noise to just one critical representation in LLaMA-2-7B caused a significant drop in accuracy. This confirms that certain "bottleneck" representations hold the keys to the model's reasoning performance.
- Fixing "Attention Sinks": Visualization of attention maps showed that standard LLMs often suffer from "attention sinks"—where the model fixates on the initial token even when it lacks semantic meaning. CRFT effectively redistributes attention more broadly across relevant tokens.
Limitations and Future Work
While highly effective, CRFT currently restricts representation updates to a low-rank linear subspace. Exploring non-linear transformations might unlock even more reasoning power. Additionally, while the final model is tiny, identifying the critical representations requires an initial pass of information flow analysis. Future work could focus on making this identification process more dynamic or automated.
Summary updated