Minions: Cost-efficient Collaboration Between On-device and Cloud Language Models
Authors: Avanika Narayan, Dan Biderman, Sabri Eyuboglu, Avner May, Scott Linderman, James Zou, Christopher Re
AI-generated Key Points
- Study focuses on local-remote system collaboration for real-world tasks in finance, medicine, and science
- Objective is to reduce cloud inference costs while maintaining high performance quality
- Basic collaboration protocol results in 30.4x reduction in remote costs but only achieves 87% of frontier model's performance
- Enhanced protocol MinionS breaks down tasks into smaller subtasks executed locally, leading to 5.7x cost reduction and recovering 97.9% of remote model's performance
- Techniques in MinionS inspired by orchestration for long-contexts, decomposition techniques, and test-time sampling strategies
- Emphasis on optimizing task handling by leveraging both local and remote capabilities effectively
- Study highlights key design choices influencing balance between cost efficiency and performance in local-remote systems
Abstract: We investigate an emerging setup in which a small, on-device language model (LM) with access to local data communicates with a frontier, cloud-hosted LM to solve real-world tasks involving financial, medical, and scientific reasoning over long documents. Can a local-remote collaboration reduce cloud inference costs while preserving quality? First, we consider a naive collaboration protocol where the local and remote models simply chat back and forth. Because only the local model reads the full context, this protocol achieves a 30.4x reduction in remote costs, but recovers only 87% of the performance of the frontier model. We identify two key limitations of this protocol: the local model struggles to (1) follow the remote model's multi-step instructions and (2) reason over long contexts. Motivated by these observations, we study an extension of this protocol, coined MinionS, in which the remote model decomposes the task into easier subtasks over shorter chunks of the document, that are executed locally in parallel. MinionS reduces costs by 5.7x on average while recovering 97.9% of the performance of the remote model alone. Our analysis reveals several key design choices that influence the trade-off between cost and performance in local-remote systems.
Tools for this paper
Ask questions about this paper to our AI assistant
You can also chat with multiple papers at once here.
The previous summary was created more than a year ago and can be re-run (if necessary) by clicking on the Run button below.
Similar papers summarized with our AI tools
Navigate through even more similar papers through a
tree representationLook for similar papers (in beta version)
We compare the title and abstract with papers indexed in our database. For arXiv papers, we search within the same category; for DOI and other sources, we search across sources and subjects. You can rerun the search as our database grows.
Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.