TL;DR
This paper introduces a dynamic collaboration framework where an on-device Small Language Model (SLM) learns via reinforcement learning to proactively decide when and how to ask a cloud-based Large Language Model (LLM) for help during multi-step reasoning. By treating the LLM as an active feedback provider rather than a passive tool, this approach significantly improves answer quality and interaction efficiency while robustly protecting user privacy.
What Problem Does This Paper Address?
Deploying massive Large Language Models (LLMs) directly for user-facing applications incurs high computational costs, latency, and significant privacy risks when handling sensitive data. Conversely, Small Language Models (SLMs) can run locally on end devices efficiently and privately, but they lack the broad knowledge and reasoning capacity required for complex queries.
Existing hybrid solutions typically rely on static pipelines where the SLM acts as a rigid preprocessor, uniformly routing queries to the LLM based on fixed rules. As shown in Figure 1, these static frameworks suffer from major drawbacks: they invoke the cloud LLM unnecessarily for simple tasks, fail to adapt to varying model capabilities, and risk leaking private information through inadequate query rewriting.
The authors address this gap by asking: Can an SLM autonomously learn an adaptive strategy to seek help from an LLM only when necessary, formulating targeted, privacy-preserving requests based on the difficulty of the task?
Methods
The authors frame the workflow as a collaborative process between two heterogeneous agents operating under information asymmetry (only the local SLM sees the raw user query).
To achieve this, they train the SLM using online Reinforcement Learning (RL)—specifically the VAPO algorithm—guided by a multi-objective reward function that balances four distinct signals:
- Quality Reward ($r_{\text{quality}}$): An outcome-based reward measuring the correctness of the final answer against the ground truth.
- Efficiency Penalty ($r_{\text{efficiency}}$): A difficulty-aware penalty designed to minimize the number of interaction turns, punishing the model if it requests help for easy queries or takes too many turns on hard ones.
- Privacy Penalty ($r_{\text{privacy}}$): Applied whenever an automated evaluator LLM detects that the SLM's request leaks sensitive user data.
- Feedback Reward ($r_{\text{feedback}}$): Process-based supervision where the cloud LLM actively evaluates the SLM's query. If the SLM's request is vague or ambiguous, the LLM provides feedback asking for clarification, and the SLM is penalized to encourage more precise query formulation.
The overall training loop is illustrated in Figure 2:
During inference, the SLM iteratively analyzes the query locally, determines if it lacks specific knowledge, reformulates an objective sub-question for the LLM if needed, and integrates the LLM's feedback to generate the final response (Figure 3).
Datasets
Because existing privacy-focused question-answering (QA) datasets are too small for robust training, the authors developed a Privacy Injection Pipeline. This pipeline takes standard QA pairs and prompts an LLM to replace explicit entities with indirect, privacy-infused references (e.g., changing a direct factual question into one embedded with simulated personal context).
Using this pipeline, they constructed the Privacy QA (PrivQA) dataset based on six real-world benchmarks:
- General QA: Natural Questions (NQ), TriviaQA, and PopQA.
- Multi-Hop QA: HotpotQA, 2WikiMultihopQA, and MuSiQuE.
The models were trained strictly on in-domain data (NQ and HotpotQA) and evaluated across all six datasets to test out-of-domain generalization.
Key Insights and Ideas
- The Scaling Effect on Collaboration: Stronger SLMs (e.g., 8B vs. 3B parameters) naturally become more self-reliant and selective, reducing cloud queries. Conversely, when paired with a stronger cloud LLM, the SLM learns to generate fewer but more comprehensive, combined requests rather than breaking queries into multiple turns.
- Zero-Shot Strategy Transfer: Collaboration strategies learned by an SLM paired with a smaller LLM during training transfer robustly to larger, unseen LLMs at inference time, yielding even higher accuracy without retraining costs.
- The Instruction-Following Bottleneck: Ultra-small models (like Qwen3-0.6B) fail to learn effective collaboration via pure RL. As shown in Figure 5, their weak instruction-following capabilities cause a reward collapse because they struggle to output correctly formatted interaction blocks during initial exploration. They require a supervised fine-tuning (SFT) "cold-start" phase before RL training.
Key Results
- Performance Boost: The dynamic framework improved final response accuracy (Exact Match) by 14.5% – 17.4% over standalone SLM inference with Chain-of-Thought (CoT), and outperformed existing static interaction baselines (like PAPILLON) by 2.8% – 9.9%.
- Enhanced Efficiency: Compared to static pipelines, the dynamic approach reduced the average number of interaction turns by 0.11 – 0.15 by successfully filtering out requests for easy queries.
- Privacy Preservation: The framework reduced the privacy leakage rate by 24.3% – 32.4% compared to static baselines, achieving a near-zero leakage rate (as low as 0.08%) by training the SLM to strip out user-specific identifiers and query only for objective facts.
Limitations and Future Work
- Ultra-small Model Constraints: The framework currently demands a baseline level of instruction-following capability from the SLM, making it difficult to deploy on sub-billion parameter models without prior SFT.
- Hyperparameter Sensitivity: Optimizing the trade-off between interaction efficiency and answer quality relies heavily on manually tuning the efficiency penalty weight ($\beta$).
- Future Directions: The authors suggest exploring more complex multi-agent environments where local SLMs can dynamically choose between multiple specialized cloud LLMs based on cost and task requirements.
Summary updated