paper-with-me

Papers

AdaSwitch: Adaptive Switching between Small and Large Agents for Effective Cloud-Local Collaborative Learning

2024-10-17 · Hao Sun, Jiayi Wu, Hengyi Cai, Xiaochi Wei, Yue Feng, Bo wang, Shuaiqiang Wang, Yan Zhang, Dawei Yin

Recent advancements in large language models (LLMs) have been remarkable. Users face a choice between using cloud-based LLMs for generation quality and deploying local-based LLMs for lower computational cost. The former option is typically costly and inefficient, while the latter usually fails to deliver satisfactory performance for reasoning steps requiring deliberate thought processes. In this work, we propose a novel LLM utilization paradigm that facilitates the collaborative operation of large cloud-based LLMs and smaller local-deployed LLMs. Our framework comprises two primary modules: the local agent instantiated with a relatively smaller LLM, handling less complex reasoning steps, and the cloud agent equipped with a larger LLM, managing more intricate reasoning steps. This collaborative processing is enabled through an adaptive mechanism where the local agent introspectively identifies errors and proactively seeks assistance from the cloud agent, thereby effectively integrating the strengths of both locally-deployed and cloud-based LLMs, resulting in significant enhancements in task completion performance and efficiency. We evaluate AdaSwitch across 7 benchmarks, ranging from mathematical reasoning and complex question answering, using various types of LLMs to instantiate the local and cloud agents. The empirical results show that AdaSwitch effectively improves the performance of the local agent, and sometimes achieves competitive results compared to the cloud agent while utilizing much less computational overhead.

📄 PDF Abstract BibTeX arXiv:2410.13181

Code (0)

등록된 구현이 없습니다.

Tasks

Mathematical ReasoningQuestion Answering

Similar Papers 제목 키워드 기반

AdaSwitch: Balancing Exploration and Guidance in Knowledge Distillation via Adaptive Switching

2025-10-09 · Jingyu Peng, Maolin Wang, Hengyi Cai, Yuchen Li 외 arxiv

Small language models (SLMs) are crucial for applications with strict latency and computational constraints, yet achieving high performance remains challenging. Knowledge distillation (KD) can transfer capabilities from …

Knowledge Distillation

AdaSwitch: An Adaptive Switching Meta-Algorithm for Learning-Augmented Bounded-Influence Problems

2025-09-02 · Xi Chen, Yuze Chen, Yuan Zhou arxiv

We study a class of multi-period online decision-making problems with sequence-based predictions, which may be generated by machine learning models but whose accuracy is not guaranteed. In each period, the decision-maker…

Deep Q-Learning with Low Switching Cost

2021-01-01 · Shusheng Xu, Simon Shaolei Du, Yi Wu

We initiate the study on deep reinforcement learning problems that require low switching cost, i.e., small number of policy switches during training. Such a requirement is ubiquitous in many applications, such as medica…

Atari GamesDeep Reinforcement LearningQ-LearningRecommendation Systems+1

PATS: Process-Level Adaptive Thinking Mode Switching

2025-05-25 · Yi Wang, Junxiao Liu, Shimao Zhang, Jiajun Chen 외

Current large-language models (LLMs) typically adopt a fixed reasoning strategy, either simple or complex, for all questions, regardless of their difficulty. This neglect of variation in task and reasoning process comple…

Computational Efficiency

Switchable Online Knowledge Distillation

2022-09-12 · Biao Qian, Yang Wang, Hongzhi Yin, Richang Hong 외

Online Knowledge Distillation (OKD) improves the involved models by reciprocally exploiting the difference between teacher and student. Several crucial bottlenecks over the gap between them -- e.g., Why and when does a l…

Knowledge Distillation