TL;DR
The paper introduces LaDa, a novel federated reasoning distillation framework that optimizes collaboration between a server-side Large Language Model (LLM) and client-side Small Language Models (SLMs). By dynamically addressing the "bidirectional model learnability gap" through an exploration-exploitation data filter and a contrastive reasoning loss, LaDa achieves up to a 13.8% accuracy boost on complex reasoning tasks while maintaining low communication overhead.
What Problem Does This Paper Address?
In federated learning, collaborating between a massive server-side LLM and smaller, resource-constrained client-side SLMs is highly attractive. Ideally, this relationship is symbiotic: the LLM transfers its powerful step-by-step reasoning capabilities to the SLMs, while the SLMs pass unique local domain knowledge back to the LLM.
However, existing data allocation and distillation methods hit two major roadblocks:
- The Bidirectional Model Learnability Gap: Traditional frameworks assume that more data or larger teacher models always yield better results. In reality, SLMs often lack the capacity to absorb overly complex data from giant LLMs. Conversely, LLMs struggle to filter out redundant information and identify truly novel, high-reward data from SLMs. As shown empirically by the authors, simply increasing the scale of the server LLM can sometimes degrade an SLM's performance if the data isn't properly matched to its learnability constraints.
- Domain-Agnostic Reasoning Transfer: Current distillation techniques often force student models to overfit to specific text expressions rather than learning the underlying logical patterns, making it difficult for SLMs to adapt to local domain data distributions.
Methods
To solve these challenges, the authors propose LaDa (Model Learnability-Aware Data Allocation), designed as an easy plug-in module for existing federated collaboration frameworks. LaDa introduces two primary components:
- Model Learnability-Aware Data Filter: Operating on an exploration-exploitation paradigm (similar to Upper Confidence Bound algorithms), this filter dynamically selects high-reward samples tailored to each specific LLM-SLM pair. It uses two internal networks: ExploitNet to predict sample rewards based on historical round- and batch-level loss reductions, and ExploreNet to map uncertainty and ensure the framework doesn't miss out on diverse, potentially valuable data.
- Domain Adaptive Reasoning Distillation: Moving away from standard token-matching cross-entropy loss, LaDa introduces a contrastive distillation loss ($\mathcal{L}^{mard}$) inspired by Direct Preference Optimization (DPO). It treats the LLM's reasoning path as the preferred response and the SLM's path as the non-preferred response, aligning the joint probability distributions of the entire reasoning chain. This forces the models to learn core reasoning patterns rather than surface-level phrasing.
Datasets
The framework was evaluated on two prominent reasoning benchmarks, filtered specifically for multiple-choice questions to strictly isolate and measure reasoning capacity transfer:
- MATHInstruct: A compilation of 13 mathematical rationale datasets covering arithmetic, algebra, geometry, and calculus.
- CoT-Collection: A diverse dataset aggregating chain-of-thought reasoning instances from sources like GSM8K, MATH, and TheoremQA, spanning mathematical, commonsense, and logical tasks.
Key Insights and Ideas
- Bigger Isn't Always Better: A crucial "aha moment" in the paper is the confirmation of non-monotonic performance. An SLM collaborating with a 72B LLM can perform worse than when it pairs with a 32B LLM if the learnability gap is ignored. Data must be curated to match the student's current absorption capacity.
- Mutual Distillation Works: Distillation is traditionally viewed as a one-way street (teacher $\rightarrow$ student). LaDa proves that the server LLM consistently benefits from absorbing the specialized, filtered reasoning paths generated by local SLMs, expanding the LLM's capabilities beyond its pre-trained boundaries.
- Path Alignment over Token Matching: By optimizing the joint probability of the entire reasoning path rather than individual tokens, the models capture the actual structural logic of a problem, leading to significantly better generalization on local domains.
Key Results
LaDa was tested across four distinct scenarios varying in model architecture and size heterogeneity (using models like Qwen, Gemma, and LLaDa). It consistently outperformed state-of-the-art baselines (Standalone, FedKD, FedMKT, and WASP):
- Accuracy Gains: LaDa achieved up to a 13.8% absolute accuracy improvement over the best baseline (observed in Scenario 3 with Client 3 on the MATHInstruct dataset).
- Bidirectional Improvement: In Scenario 1, Client 2 (Qwen-1.5B) saw a 9.6% boost, while the server LLM (Qwen3-32B) simultaneously enjoyed a 2.6% improvement from mutual learning.
- Communication Efficiency: LaDa achieves these performance leaps while remaining highly competitive in communication costs. For instance, in Scenario 1 under a zero-shot setting, LaDa required only 3.57 MB of data transfer, outperforming FedKD (5.15 MB) and WASP (4.59 MB).
Limitations and Future Work
- Task Format Constraints: The evaluation was restricted to multiple-choice formats to maintain controlled conditions. Real-world applications will require extending and validating this framework on open-ended generation and free-form dialogue tasks.
- Dependence on a Distillation Dataset: LaDa relies on access to a shared public or synthetic dataset to perform the distillation. In scenarios with extreme data privacy constraints or highly niche domains, generating or acquiring an effective proxy dataset could become a bottleneck.
Summary updated