Abstract
Activation-Guided Consensus Merging (ACM) is a training-free, plug-and-play framework designed to optimize the integration of "fast-thinking" (System 1) and "slow-thinking" (System 2) Large Language Models (LLMs). By calculating layer-specific weights based on mutual information (MI) between model activations, ACM addresses the critical issue of verbosity and redundancy in reasoning-heavy models. Our evaluation shows that ACM significantly reduces response lengths—by over 55% in specific configurations—while simultaneously improving reasoning accuracy across mathematical and coding benchmarks. This method provides a computationally efficient alternative to traditional reinforcement learning or distillation processes.
Introduction
The current landscape of Large Language Model development is increasingly defined by the "System 1 vs. System 2" dichotomy. System 1 models, such as Llama-3 or GPT-4o, provide rapid, intuitive responses but often falter on complex logical tasks. Conversely, System 2 models, like DeepSeek-R1 or OpenAI’s o1, utilize extended "thinking chains" to navigate difficult problems. However, these reasoning models are notoriously verbose, often generating thousands of redundant tokens for simple queries where deep thinking is unnecessary.
Model merging presents a promising avenue for combining these capabilities without the prohibitive cost of full-parameter fine-tuning. However, existing merging techniques typically apply a uniform "merging coefficient" across the entire network. This "one-size-fits-all" approach ignores the functional heterogeneity of LLM layers, where some layers are critical for reasoning while others handle basic linguistic structure. Consequently, standard merging often fails to curb the redundancy of slow-thinking models or leads to performance degradation.
Methodology: Activation-Guided Consensus Merging (ACM)
ACM introduces a dynamic weighting scheme that identifies which layers contribute most to a model's reasoning capabilities. Unlike traditional methods that rely on heuristics, ACM analyzes how models behave using a small set of calibration data. The process involves four primary stages:
- Activation Extraction: A small calibration dataset is passed through both a pre-trained (PT) base model and a fine-tuned (FT) reasoning model. Internal numerical states (activations) are collected at every layer.
- Mutual Information (MI) Analysis: The framework calculates the Mutual Information between the PT and FT activations for each layer. High MI indicates that the layer has remained relatively unchanged during fine-tuning, suggesting high redundancy. Low MI suggests the layer has diverged significantly, marking it as a site of "reasoning logic."
- Dynamic Weighting: ACM assigns lower weights to high-MI layers to reduce redundancy and higher weights to low-MI layers to preserve task-specific reasoning capabilities.
- Plug-and-Play Integration: This weighting scheme is applied to existing merging algorithms, such as Task Arithmetic (TA) or TIES-Merging.
Crucially, ACM requires no training and no gradients. The computation takes minutes, offering a massive efficiency gain over reinforcement learning-based pruning or distillation.
Experimental Setup
The researchers evaluated ACM across a diverse battery of benchmarks to test mathematical reasoning (GSM8K, MATH500, AIME 2024), code generation (HumanEval Pro, LiveCodeBench), and general knowledge (HellaSwag).
Calibration was performed using the s1K dataset, which contains 1,000 samples of aligned short and long reasoning. To ensure the method's robustness, additional tests were conducted on the LIMO dataset, confirming that ACM is not overly sensitive to the specific calibration data used.
Key Insights and Results
Functional Heterogeneity
The study confirms that LLM layers are not created equal. Specifically, the final output layer (lm_head) and the initial embedding layers often show very high mutual information between base and reasoning models. ACM automatically down-weights these layers, preventing the propagation of redundant linguistic patterns while focusing the merge on the core reasoning layers.
Efficiency and Accuracy
ACM consistently outperforms standard merging baselines across various model sizes (1.5B to 32B parameters):
- Qwen-7B: TIES-Merging with ACM achieved a 55.3% reduction in response length while improving reasoning accuracy by 1.3 points.
- Qwen-1.5B: ACM-TIES reached 43.3% average accuracy, significantly outperforming the 39.1% achieved by standard TIES.
- Comparison to RL: ACM-TA achieved a 51% length reduction, matching the efficiency of training-intensive reinforcement learning methods without the associated computational overhead.
The "Long-to-Short" (L2S) Success
A primary takeaway is that massive thinking chains are not always necessary for accuracy. By merging a reasoning model into a fast model via ACM, the resulting model effectively learns to modulate its output, providing deep reasoning only when the complexity of the prompt demands it.
Limitations and Future Work
While ACM represents a significant step forward in model merging, several areas remain for future exploration:
- Architectural Constraints: The current study focused on dense models; the impact of ACM on Mixture-of-Experts (MoE) architectures is currently unknown.
- Homogeneous Merging: ACM is currently limited to merging models that share the same base architecture (e.g., merging two Qwen variants).
- Scaling: Due to hardware limitations, the framework has not yet been tested on "frontier" scales such as Llama-3-70B or 400B+.
Future research may investigate the application of ACM to cross-domain merging, such as combining a medical specialist LLM with a coding specialist to create a multi-talented expert model.
Summary updated