Purifying Large Language Models by Ensembling a Small Language Model
On the map: LLM safety and security → Machine unlearning
Abstract (arXiv)
The emerging success of large language models (LLMs) heavily relies on collecting abundant training data from external (untrusted) sources. Despite substantial efforts devoted to data cleaning and curation, well-constructed LLMs have been reported to suffer from copyright infringement, data poisoning, and/or privacy violations, which would impede practical deployment of LLMs. In this study, we propose a simple and easily implementable method for purifying LLMs from the negative effects caused by uncurated data, namely, through ensembling LLMs with benign and small language models (SLMs). Aside from theoretical guarantees, we perform comprehensive experiments to empirically confirm the efficacy of ensembling LLMs with SLMs, which can effectively preserve the performance of LLMs while mitigating issues such as copyright infringement, data poisoning, and privacy violations.
Key facts. Cited by 25 papers in the map (data through 7 Oct 2026). Placed in Machine unlearning, one of 12 directions in LLM safety and security. Builds on 28 of its 48 references that are in the map. First posted on arXiv 19 Feb 2024.
Builds on
28 of 48 references.
Closest ancestors · 1
Same direction, newest first
Other references · 27
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2020Scaling Laws for Neural Language Modelscited by 6,411
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,818
- 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,968
- 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,734
- 2022Fast Inference from Transformers via Speculative Decodingcited by 1,615
- 2022LaMDA: Language Models for Dialog Applicationscited by 1,218
- 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 960
15 more
- 2023StarCoder: may the source be with you!cited by 790
- 2017Crowdsourcing Multiple Choice Science Questionscited by 742
- 2023LLM-Blender: Ensembling Large Language Models with Pairwise Ranking and Generative Fusioncited by 550
- 2024Sleeper Agents: Training Deceptive LLMs that Persist Through Safety Trainingcited by 478
- 2022The Stack: 3 TB of permissively licensed source codecited by 354
- 2020ONION: A Simple and Effective Defense Against Textual Backdoor Attackscited by 231
- 2019Detecting AI Trojans Using Meta Neural Analysiscited by 192
- 2023A Recipe for Watermarking Diffusion Modelscited by 136
- 2020You Autocomplete Me: Poisoning Vulnerabilities in Neural Code Completioncited by 112
- 2023On Provable Copyright Protection for Generative Modelscited by 97
- 2021BadPre: Task-agnostic Backdoor Attacks to Pre-trained NLP Foundation Modelscited by 76
- 2023SILO Language Models: Isolating Legal Risk In a Nonparametric Datastorecited by 71
- 2023Bag of Tricks for Training Data Extraction from Language Modelscited by 67
- 2022Differentially Private Optimization on Large Model at Small Costcited by 65
- 2021A Survey on Ensemble Learning under the Era of Deep Learningcited by 47
Built on by
Citing papers per year: 2024: 8; 2025: 13; 2026: 4.
25 papers.
Sort:
By area:
- 2025Harnessing Multiple Large Language Models: A Survey on LLM Ensemblecited by 86
- 2025Safety at Scale: A Comprehensive Survey of Large Model and Agent Safetycited by 63
- 2024Pack of LLMs: Model Fusion at Test-Time via Perplexity Optimizationcited by 56
- 2024Merge, Ensemble, and Cooperate! A Survey on Collaborative Strategies in the Era of Large Language Modelscited by 43
- 2024Ensembling Large Language Models with Process Reward-Guided Tree Search for Better Complex Reasoningcited by 38
- 2025Embodied-R: Collaborative Framework for Activating Embodied Spatial Reasoning in Foundation Models via Reinforcement Learningcited by 37
- 2025Fast Large Language Model Collaborative Decoding via Speculationcited by 12
- 2024Large Language Model Sentinel: LLM Agent for Adversarial Purificationcited by 10
- 2024Speculative Coreset Selection for Task-Specific Fine-tuningcited by 10
- 2025TagRouter: Learning Route to LLMs through Tags for Open-Domain Text Generation Taskscited by 9
- 2024Hit the Sweet Spot! Span-Level Ensemble for Large Language Modelscited by 8
- 2025Ensemble Learning for Large Language Models in Text and Code Generation: A Surveycited by 8
13 more
- 2025LLMBoost: Make Large Language Models Stronger with Boostingcited by 8
- 2024Copyright-Protected Language Generation via Adaptive Model Fusioncited by 6
- 2025Position: Enough of Scaling LLMs! Lets Focus on Downscalingcited by 5
- 2025A Survey on Collaborating Small and Large Language Models for Performance, Cost-effectiveness, Cloud-edge Privacy, and Trustworthinesscited by 5
- 2024Strong Copyright Protection for Language Models via Adaptive Model Fusioncited by 4
- 2025Revisiting RAG Ensemble: A Theoretical and Mechanistic Analysis of Multi-RAG System Collaborationcited by 2
- 2025LLM Chemistry Estimation for Multi-LLM Recommendationcited by 2
- 2026Ensembling Language Models with Sequential Monte Carlocited by 2
- 2026Rethinking LLM Ensembling from the Perspective of Mixture Modelscited by 1
- 2025Invoke Interfaces Only When Needed: Adaptive Invocation for Large Language Models in Question Answeringcited by 0
- 2025Are AI Coders Snitches? An Empirical Study of Pretraining Data Detection on Code Large Language Modelscited by 0
- 2026Provably Protecting Fine-Tuned LLMs from Training Data Extraction while Preserving Utilitycited by 0
- 2026Trade-offs in Ensembling, Merging and Routing Among Parameter-Efficient Expertscited by 0
- 2026Rethinking LLM Ensembling from the Perspective of Mixture Models1 May 2026
- 2026Ensembling Language Models with Sequential Monte Carlo5 Mar 2026
- 2026Trade-offs in Ensembling, Merging and Routing Among Parameter-Efficient Experts3 Mar 2026
- 2026Provably Protecting Fine-Tuned LLMs from Training Data Extraction while Preserving Utility31 Jan 2026
- 2025LLMBoost: Make Large Language Models Stronger with Boosting26 Dec 2025
- 2025A Survey on Collaborating Small and Large Language Models for Performance, Cost-effectiveness, Cloud-edge Privacy, and Trustworthiness14 Oct 2025
- 2025LLM Chemistry Estimation for Multi-LLM Recommendation4 Oct 2025
- 2025Revisiting RAG Ensemble: A Theoretical and Mechanistic Analysis of Multi-RAG System Collaboration19 Aug 2025
- 2025Are AI Coders Snitches? An Empirical Study of Pretraining Data Detection on Code Large Language Models23 Jul 2025
- 2025TagRouter: Learning Route to LLMs through Tags for Open-Domain Text Generation Tasks14 Jun 2025
- 2025Invoke Interfaces Only When Needed: Adaptive Invocation for Large Language Models in Question Answering5 May 2025
- 2025Position: Enough of Scaling LLMs! Lets Focus on Downscaling2 May 2025
13 more
- 2025Embodied-R: Collaborative Framework for Activating Embodied Spatial Reasoning in Foundation Models via Reinforcement Learning17 Apr 2025
- 2025Ensemble Learning for Large Language Models in Text and Code Generation: A Survey13 Mar 2025
- 2025Harnessing Multiple Large Language Models: A Survey on LLM Ensemble25 Feb 2025
- 2025Safety at Scale: A Comprehensive Survey of Large Model and Agent Safety2 Feb 2025
- 2025Fast Large Language Model Collaborative Decoding via Speculation1 Feb 2025
- 2024Ensembling Large Language Models with Process Reward-Guided Tree Search for Better Complex Reasoning20 Dec 2024
- 2024Copyright-Protected Language Generation via Adaptive Model Fusion9 Dec 2024
- 2024Speculative Coreset Selection for Task-Specific Fine-tuning2 Oct 2024
- 2024Hit the Sweet Spot! Span-Level Ensemble for Large Language Models27 Sep 2024
- 2024Strong Copyright Protection for Language Models via Adaptive Model Fusion29 Jul 2024
- 2024Merge, Ensemble, and Cooperate! A Survey on Collaborative Strategies in the Era of Large Language Models8 Jul 2024
- 2024Large Language Model Sentinel: LLM Agent for Adversarial Purification24 May 2024
- 2024Pack of LLMs: Model Fusion at Test-Time via Perplexity Optimization17 Apr 2024
- 2024Ensembling Large Language Models with Process Reward-Guided Tree Search for Better Complex Reasoningcited by 38
- 2025Embodied-R: Collaborative Framework for Activating Embodied Spatial Reasoning in Foundation Models via Reinforcement Learningcited by 37
- 2026Rethinking LLM Ensembling from the Perspective of Mixture Modelscited by 1
- 2026Rethinking LLM Ensembling from the Perspective of Mixture Models1 May 2026
- 2025Embodied-R: Collaborative Framework for Activating Embodied Spatial Reasoning in Foundation Models via Reinforcement Learning17 Apr 2025
- 2024Ensembling Large Language Models with Process Reward-Guided Tree Search for Better Complex Reasoning20 Dec 2024
- 2025Harnessing Multiple Large Language Models: A Survey on LLM Ensemblecited by 86
- 2024Pack of LLMs: Model Fusion at Test-Time via Perplexity Optimizationcited by 56
- 2024Merge, Ensemble, and Cooperate! A Survey on Collaborative Strategies in the Era of Large Language Modelscited by 43
- 2025Fast Large Language Model Collaborative Decoding via Speculationcited by 12
- 2024Speculative Coreset Selection for Task-Specific Fine-tuningcited by 10
- 2025TagRouter: Learning Route to LLMs through Tags for Open-Domain Text Generation Taskscited by 9
- 2024Hit the Sweet Spot! Span-Level Ensemble for Large Language Modelscited by 8
- 2025Ensemble Learning for Large Language Models in Text and Code Generation: A Surveycited by 8
- 2025LLMBoost: Make Large Language Models Stronger with Boostingcited by 8
- 2024Copyright-Protected Language Generation via Adaptive Model Fusioncited by 6
- 2025Position: Enough of Scaling LLMs! Lets Focus on Downscalingcited by 5
- 2025A Survey on Collaborating Small and Large Language Models for Performance, Cost-effectiveness, Cloud-edge Privacy, and Trustworthinesscited by 5
12 most cited of 19 All 19 (JSON)
- 2026Ensembling Language Models with Sequential Monte Carlo5 Mar 2026
- 2026Trade-offs in Ensembling, Merging and Routing Among Parameter-Efficient Experts3 Mar 2026
- 2026Provably Protecting Fine-Tuned LLMs from Training Data Extraction while Preserving Utility31 Jan 2026
- 2025LLMBoost: Make Large Language Models Stronger with Boosting26 Dec 2025
- 2025A Survey on Collaborating Small and Large Language Models for Performance, Cost-effectiveness, Cloud-edge Privacy, and Trustworthiness14 Oct 2025
- 2025LLM Chemistry Estimation for Multi-LLM Recommendation4 Oct 2025
- 2025Are AI Coders Snitches? An Empirical Study of Pretraining Data Detection on Code Large Language Models23 Jul 2025
- 2025TagRouter: Learning Route to LLMs through Tags for Open-Domain Text Generation Tasks14 Jun 2025
- 2025Invoke Interfaces Only When Needed: Adaptive Invocation for Large Language Models in Question Answering5 May 2025
- 2025Position: Enough of Scaling LLMs! Lets Focus on Downscaling2 May 2025
- 2025Ensemble Learning for Large Language Models in Text and Code Generation: A Survey13 Mar 2025
- 2025Harnessing Multiple Large Language Models: A Survey on LLM Ensemble25 Feb 2025
12 newest of 19 All 19 (JSON)