Lune

ACL2024Top-tier venue

CoGenesis: A Framework Collaborating Large and Small Language Models for Secure Context-Aware Instruction Following

Kaiyan Zhang, Jianyu Wang, Ermo Hua, Biqing Qi, Ning Ding, Bowen Zhou

Abstract

With the advancement of language models (LMs), their exposure to private data is increasingly inevitable, and their deployment (especially for smaller ones) on personal devices, such as PCs and smartphones, has become a prevailing trend. In contexts laden with user information, enabling models to both safeguard user privacy and execute commands efficiently emerges as an essential research imperative. In this paper, we propose CoGenesis, a collaborative generation framework integrating large (hosted on cloud infrastructure) and small models (deployed on local devices) to address privacy concerns logically. Initially, we design a pipeline to create personalized writing instruction datasets enriched with extensive context details as the testbed of this research issue. Subsequently, we introduce two variants of CoGenesis based on sketch and logits respectively. Our experimental findings, based on our synthesized dataset and two additional open-source datasets, indicate that: 1) Large-scale models perform well when provided with user context but struggle in the absence of such context. 2) While specialized smaller models fine-tuned on the synthetic dataset show promise, they still lag behind their larger counterparts. 3) Our CoGenesis framework, utilizing mixed-scale models, showcases competitive performance, providing a feasible solution to privacy issues.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

6 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • When One LLM Drools, Multi-LLM Collaboration Rules cites Language Models are Few-Shot Learners
  • Direct Preference Optimization: Your Language Model is Secretly a Reward Model cites Language Models are Few-Shot Learners
  • LSRP: A Leader-Subordinate Retrieval Framework for Privacy-Preserving Cloud-Device Collaboration cites Direct Preference Optimization: Your Language Model is Secretly a Reward Model
  • Collaborative LLM Numerical Reasoning with Local Data Protection cites Language Models are Few-Shot Learners
  • Collaborative LLM Numerical Reasoning with Local Data Protection cites Self-Instruct: Aligning Language Models with Self-Generated Instructions
  • Contextualized Privacy Defense for LLM Agents cites Language Models are Few-Shot Learners
  • Fast Inference from Transformers via Speculative Decoding cites Language Models are Few-Shot Learners
  • Specializing Smaller Language Models towards Multi-Step Reasoning cites Language Models are Few-Shot Learners
  • Self-Instruct: Aligning Language Models with Self-Generated Instructions cites Language Models are Few-Shot Learners
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers6

  1. When One LLM Drools, Multi-LLM Collaboration RulesShangbin Feng, Wenxuan Ding, Alisa Liu, Zifeng Wang et al.ACL 2026 · 27 citations
  2. LSRP: A Leader-Subordinate Retrieval Framework for Privacy-Preserving Cloud-Device CollaborationYingyi Zhang, Pengyue Jia, Xianneng Li, Derong Xu et al.KDD 2025 · 2 citations
  3. Collaborative LLM Numerical Reasoning with Local Data ProtectionMin Zhang, Yuzhe Lu, Yun Zhou, Panpan Xu et al.AAAI 2026
  4. SCRIBE: Structured Chain Reasoning for Interactive Behaviour Explanations using Tool CallingFares Fawzi, Vinitra Swamy, Dominik Glandorf, Tanya Nazaretsky et al.EMNLP 2025
  5. Contextualized Privacy Defense for LLM AgentsYule Wen, Yanzhe Zhang, Jianxun Lian, Xiaoyuan Yi et al.ICML 2026

Builds on22

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
  2. Direct Preference Optimization: Your Language Model is Secretly a Reward ModelRafael Rafailov, Archit Sharma, Eric Mitchell, Christopher D. Manning et al.NeurIPS 2023 · 10,924 citations
  3. Fast Inference from Transformers via Speculative DecodingYaniv Leviathan, Matan Kalman, Yossi MatiasICML 2023 · 1,472 citations
  4. Self-Instruct: Aligning Language Models with Self-Generated InstructionsYizhong Wang, Yeganeh Kordi, Swaroop Mishra, Alisa Liu et al.ACL 2023 · 540 citations
  5. Specializing Smaller Language Models towards Multi-Step ReasoningYao Fu, Hao Peng, Litu Ou, Ashish Sabharwal et al.ICML 2023 · 347 citations

Related papers

  1. FedCoT: Federated Chain-of-Thought Distillation for Large Language ModelsTao Fan, Weijing Chen, Yan Kang, Guoqiang Ma et al.EMNLP Findings 2025 · 3 citations
  2. A Structure-Agnostic Co-Tuning Framework for LLMs and SLMs in Cloud-Edge SystemsYuze Liu, Yunhan Wang, Tiehua Zhang, Zhishu Shen et al.WWW 2026 · 1 citation
  3. Controlling What You Share: Assessing Language Model Adherence to Privacy PreferencesGuillem Ramírez, Alexandra Birch, Ivan TitovACL Findings 2026
  4. Privacy Preserving In-Context-Learning Framework for Large Language ModelsBishnu Bhusal, Manoj Acharya, Ramneet Kaur, Colin Samplawski et al.AAAI 2026 · 1 citation
  5. DroidCall: A Dataset for LLM-powered Android Intent InvocationWeikai Xie, Li Zhang, Shihe Wang, Rongjie Yi et al.EMNLP Findings 2025 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines