Pack of LLMs: Model Fusion at Test-Time via Perplexity Optimization
Not on the map. Why?
Abstract (arXiv)
Fusing knowledge from multiple Large Language Models (LLMs) can combine their diverse strengths to achieve improved performance on a given task. However, current fusion approaches either rely on learning-based fusers that do not generalize to new LLMs, or do not take into account how well each LLM understands the input. In this work, we study LLM fusion at test-time, which enables leveraging knowledge from arbitrary user-specified LLMs during inference. We introduce Pack of LLMs (PackLLM), an effective method for test-time fusion that leverages each LLM's expertise, given an input prompt. PackLLM performs model fusion by solving an optimization problem for determining each LLM's importance, so that perplexity over the input prompt is minimized. First, our simple PackLLM-sim variant validates that perplexity is a good indicator for measuring each LLM's expertise. Second, our PackLLM-opt variant approximately solves the perplexity minimization problem via a greedy algorithm. The derived importance weights are used to combine the LLMs during inference. We conduct experiments with over 100 total LLMs on a diverse set of tasks. Experimental results show that (i) perplexity is a reliable measure for LLM fusion, (ii) PackLLM outperforms test-time fusion baselines by 1.89% accuracy points, and (iii) PackLLM can leverage new LLMs to improve performance over learning-based fusion approaches by 3.92-11.94% accuracy points.
Key facts. Cited by 56 papers in the map (data through 7 Oct 2026). Builds on 31 of its 43 references that are in the map. First posted on arXiv 17 Apr 2024.
Builds on
31 of 43 references.
References · 31
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
- 2021On the Opportunities and Risks of Foundation Modelscited by 3,961
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
- 2023Mistral 7Bcited by 3,065
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
- 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,140
- 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,114
19 more
- 2020What Disease does this Patient Have? A Large-scale Open Domain Question Answering Dataset from Medical Examscited by 1,324
- 2019PubMedQA: A Dataset for Biomedical Research Question Answeringcited by 1,271
- 2023Textbooks Are All You Need II: phi-1.5 technical reportcited by 559
- 2021DExperts: Decoding-Time Controlled Text Generation with Experts and Anti-Expertscited by 434
- 2024BioMistral: A Collection of Open-Source Pretrained Large Language Models for Medical Domainscited by 299
- 2023Specializing Smaller Language Models towards Multi-Step Reasoningcited by 249
- 2022Demystifying Prompts in Language Models via Perplexity Estimationcited by 215
- 2022Sparse Upcycling: Training Mixture-of-Experts from Dense Checkpointscited by 207
- 2024More Agents Is All You Needcited by 174
- 2024Knowledge Fusion of Large Language Modelscited by 110
- 2024Branch-Train-MiX: Mixing Expert LLMs into a Mixture-of-Experts LLMcited by 106
- 2024Tuning Language Models by Proxycited by 88
- 2023Scaling Expert Language Models with Unsupervised Domain Discoverycited by 59
- 2023Adapting Large Language Models to Domains via Reading Comprehensioncited by 48
- 2023Knowledge Card: Filling LLMs' Knowledge Gaps with Plug-in Specialized Language Modelscited by 46
- 2023Fusing Models with Complementary Expertisecited by 45
- 2023Which Examples to Annotate for In-Context Learning? Towards Effective and Efficient Selectioncited by 36
- 2024Purifying Large Language Models by Ensembling a Small Language Modelcited by 25
- 2024Mastering Text, Code and Math Simultaneously via Fusing Highly Specialized Language Modelscited by 7
Built on by
Citing papers per year: 2024: 11; 2025: 33; 2026: 12.
56 papers.
Sort:
By area:
- 2024Decoding-Time Language Model Alignment with Multiple Objectivescited by 90
- 2025Harnessing Multiple Large Language Models: A Survey on LLM Ensemblecited by 86
- 2024Ensemble Learning for Heterogeneous Large Language Models with Deep Parallel Collaborationcited by 66
- 2025BEST-Route: Adaptive LLM Routing with Test-Time Optimal Computecited by 63
- 2024FuseChat: Knowledge Fusion of Chat Modelscited by 53
- 2024Merge, Ensemble, and Cooperate! A Survey on Collaborative Strategies in the Era of Large Language Modelscited by 43
- 2025Universal Cross-Tokenizer Distillation via Approximate Likelihood Matchingcited by 40
- 2024Ensembling Large Language Models with Process Reward-Guided Tree Search for Better Complex Reasoningcited by 38
- 2024Smoothie: Label Free Language Model Routingcited by 31
- 2024Model Swarms: Collaborative Search to Adapt LLM Experts via Swarm Intelligencecited by 27
- 2025SimPER: A Minimalist Approach to Preference Alignment without Hyperparameterscited by 25
- 2025When One LLM Drools, Multi-LLM Collaboration Rulescited by 25
38 more
- 2025Heterogeneous Swarms: Jointly Optimizing Model Roles and Weights for Multi-LLM Systemscited by 22
- 2025Do We Truly Need So Many Samples? Multi-LLM Repeated Sampling Efficiently Scales Test-Time Computecited by 20
- 2025Nature-Inspired Population-Based Evolution of Large Language Modelscited by 14
- 2025Multi-Objective Preference Optimization: Improving Human Alignment of Generative Modelscited by 13
- 2024Cool-Fusion: Fuse Large Language Models without Trainingcited by 12
- 2025A Survey on Collaborative Mechanisms Between Large and Small Language Modelscited by 12
- 2025Contrastive Private Data Synthesis via Weighted Multi-PLM Fusioncited by 11
- 2025Harnessing Consistency for Robust Test-Time LLM Ensemblecited by 10
- 2025Local Mixtures of Experts: Essentially Free Test-Time Training via Model Mergingcited by 9
- 2025Don't Throw Away Your Pretrained Modelcited by 9
- 2025Robust Multi-Objective Controlled Decoding of Large Language Modelscited by 8
- 2025Ensemble Learning for Large Language Models in Text and Code Generation: A Surveycited by 8
- 2025HELIOS: Adaptive Model And Early-Exit Selection for Efficient LLM Inference Servingcited by 8
- 2025Sampling from Your Language Model One Byte at a Timecited by 7
- 2024Copyright-Protected Language Generation via Adaptive Model Fusioncited by 6
- 2025Why Do More Experts Fail? A Theoretical Analysis of Model Mergingcited by 6
- 2025RLAE: Reinforcement Learning-Assisted Ensemble for LLMscited by 6
- 2024FuseGen: PLM Fusion for Data-generation based Zero-shot Learningcited by 4
- 2024Strong Copyright Protection for Language Models via Adaptive Model Fusioncited by 4
- 2025DFPE: A Diverse Fingerprint Ensemble for Enhancing LLM Performancecited by 4
- 2025Dynamic Optimizations of LLM Ensembles with Two-Stage Reinforcement Learning Agentscited by 2
- 2025System 0/1/2/3: Quad-process theory for multi-timescale embodied collective cognitive systemscited by 2
- 2025A Taxonomy of Transcendencecited by 2
- 2025Reasoning-Intensive Regressioncited by 2
- 2025LLM Chemistry Estimation for Multi-LLM Recommendationcited by 2
- 2025Test-Time Efficient Pretrained Model Portfolios for Time Series Forecastingcited by 2
- 2025Less Diverse, Less Safe: The Indirect But Pervasive Risk of Test-Time Scaling in Large Language Modelscited by 2
- 2026MentorCollab: Large-to-Small Inference-Time Mentorship for Concise Reasoning in Language Modelscited by 2
- 2026Ensembling Language Models with Sequential Monte Carlocited by 2
- 2026Can Heterogeneous Language Models Be Fused?cited by 2
- 2026Revisiting the Effectiveness of LLM Pruning for Test-Time Scalingcited by 2
- 2025MedForge: Building Medical Foundation Models Like Open Source Software Developmentcited by 1
- 2025Metropolis-Hastings Captioning Game: Knowledge Fusion of Vision Language Models via Decentralized Bayesian Inferencecited by 1
- 2025Enabling Flexible Multi-LLM Integration for Scalable Knowledge Aggregationcited by 1
- 2025Teaming LLMs to Detect and Mitigate Hallucinationscited by 1
- 2026The Single-Multi Evolution Loop for Self-Improving Model Collaboration Systemscited by 1
- 2026Rethinking LLM Ensembling from the Perspective of Mixture Modelscited by 1
- 2025Multi-Objective Reward and Preference Optimization: Theory and Algorithmscited by 0
50 most cited of 56 All 56 (JSON)
- 2026MERGE: Multi-LLM Ensemble for Retrieval via Generative Enrichment29 Sep 2026
- 2026Evidence-Aligned Local Composition of Discrete Experts for Sequence Restoration5 Sep 2026
- 2026Decentralized Aggregation of LLM Predictions via Wagering Mechanisms5 Jul 2026
- 2026Model Merging to Evolution: Parameter Space Exploration for Expert Models17 Jun 2026
- 2026DLLG: Dynamic Logit-Level Gating of LLM Experts3 Jun 2026
- 2026Rethinking LLM Ensembling from the Perspective of Mixture Models1 May 2026
- 2026Revisiting the Effectiveness of LLM Pruning for Test-Time Scaling28 Apr 2026
- 2026Efficient Low-Resource Language Adaptation via Multi-Source Dynamic Logit Fusion20 Apr 2026
- 2026Can Heterogeneous Language Models Be Fused?2 Apr 2026
- 2026Ensembling Language Models with Sequential Monte Carlo5 Mar 2026
- 2026MentorCollab: Large-to-Small Inference-Time Mentorship for Concise Reasoning in Language Models5 Feb 2026
- 2026The Single-Multi Evolution Loop for Self-Improving Model Collaboration Systems5 Feb 2026
38 more
- 2025Multi-Objective Reward and Preference Optimization: Theory and Algorithms11 Dec 2025
- 2025Teaming LLMs to Detect and Mitigate Hallucinations22 Oct 2025
- 2025Harnessing Consistency for Robust Test-Time LLM Ensemble12 Oct 2025
- 2025Don't Throw Away Your Pretrained Model10 Oct 2025
- 2025Test-Time Efficient Pretrained Model Portfolios for Time Series Forecasting7 Oct 2025
- 2025Less Diverse, Less Safe: The Indirect But Pervasive Risk of Test-Time Scaling in Large Language Models4 Oct 2025
- 2025LLM Chemistry Estimation for Multi-LLM Recommendation4 Oct 2025
- 2025Reasoning-Intensive Regression29 Aug 2025
- 2025A Taxonomy of Transcendence25 Aug 2025
- 2025BEST-Route: Adaptive LLM Routing with Test-Time Optimal Compute28 Jun 2025
- 2025Sampling from Your Language Model One Byte at a Time17 Jun 2025
- 2025RLAE: Reinforcement Learning-Assisted Ensemble for LLMs31 May 2025
- 2025Enabling Flexible Multi-LLM Integration for Scalable Knowledge Aggregation28 May 2025
- 2025Why Do More Experts Fail? A Theoretical Analysis of Model Merging27 May 2025
- 2025Local Mixtures of Experts: Essentially Free Test-Time Training via Model Merging20 May 2025
- 2025Multi-Objective Preference Optimization: Improving Human Alignment of Generative Models16 May 2025
- 2025A Survey on Collaborative Mechanisms Between Large and Small Language Models12 May 2025
- 2025HELIOS: Adaptive Model And Early-Exit Selection for Efficient LLM Inference Serving14 Apr 2025
- 2025Metropolis-Hastings Captioning Game: Knowledge Fusion of Vision Language Models via Decentralized Bayesian Inference13 Apr 2025
- 2025Do We Truly Need So Many Samples? Multi-LLM Repeated Sampling Efficiently Scales Test-Time Compute1 Apr 2025
- 2025Universal Cross-Tokenizer Distillation via Approximate Likelihood Matching25 Mar 2025
- 2025Ensemble Learning for Large Language Models in Text and Code Generation: A Survey13 Mar 2025
- 2025Robust Multi-Objective Controlled Decoding of Large Language Models11 Mar 2025
- 2025System 0/1/2/3: Quad-process theory for multi-timescale embodied collective cognitive systems8 Mar 2025
- 2025Nature-Inspired Population-Based Evolution of Large Language Models3 Mar 2025
- 2025Harnessing Multiple Large Language Models: A Survey on LLM Ensemble25 Feb 2025
- 2025MedForge: Building Medical Foundation Models Like Open Source Software Development22 Feb 2025
- 2025Heterogeneous Swarms: Jointly Optimizing Model Roles and Weights for Multi-LLM Systems6 Feb 2025
- 2025When One LLM Drools, Multi-LLM Collaboration Rules6 Feb 2025
- 2025Dynamic Optimizations of LLM Ensembles with Two-Stage Reinforcement Learning Agents6 Feb 2025
- 2025SimPER: A Minimalist Approach to Preference Alignment without Hyperparameters2 Feb 2025
- 2025Contrastive Private Data Synthesis via Weighted Multi-PLM Fusion1 Feb 2025
- 2025DFPE: A Diverse Fingerprint Ensemble for Enhancing LLM Performance29 Jan 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
- 2024Smoothie: Label Free Language Model Routing6 Dec 2024
- 2024Model Swarms: Collaborative Search to Adapt LLM Experts via Swarm Intelligence15 Oct 2024
- 2024FuseChat: Knowledge Fusion of Chat Models15 Aug 2024
50 newest of 56 All 56 (JSON)
- 2024Ensembling Large Language Models with Process Reward-Guided Tree Search for Better Complex Reasoningcited by 38
- 2025Do We Truly Need So Many Samples? Multi-LLM Repeated Sampling Efficiently Scales Test-Time Computecited by 20
- 2025Don't Throw Away Your Pretrained Modelcited by 9
- 2025Reasoning-Intensive Regressioncited by 2
- 2025Less Diverse, Less Safe: The Indirect But Pervasive Risk of Test-Time Scaling in Large Language Modelscited by 2
- 2026MentorCollab: Large-to-Small Inference-Time Mentorship for Concise Reasoning in Language Modelscited by 2
- 2026Revisiting the Effectiveness of LLM Pruning for Test-Time Scalingcited by 2
- 2026Rethinking LLM Ensembling from the Perspective of Mixture Modelscited by 1
- 2026Rethinking LLM Ensembling from the Perspective of Mixture Models1 May 2026
- 2026Revisiting the Effectiveness of LLM Pruning for Test-Time Scaling28 Apr 2026
- 2026MentorCollab: Large-to-Small Inference-Time Mentorship for Concise Reasoning in Language Models5 Feb 2026
- 2025Don't Throw Away Your Pretrained Model10 Oct 2025
- 2025Less Diverse, Less Safe: The Indirect But Pervasive Risk of Test-Time Scaling in Large Language Models4 Oct 2025
- 2025Reasoning-Intensive Regression29 Aug 2025
- 2025Do We Truly Need So Many Samples? Multi-LLM Repeated Sampling Efficiently Scales Test-Time Compute1 Apr 2025
- 2024Ensembling Large Language Models with Process Reward-Guided Tree Search for Better Complex Reasoning20 Dec 2024
- 2024Decoding-Time Language Model Alignment with Multiple Objectivescited by 90
- 2025SimPER: A Minimalist Approach to Preference Alignment without Hyperparameterscited by 25
- 2025Multi-Objective Preference Optimization: Improving Human Alignment of Generative Modelscited by 13
- 2025Multi-Objective Reward and Preference Optimization: Theory and Algorithmscited by 0
- 2025Multi-Objective Reward and Preference Optimization: Theory and Algorithms11 Dec 2025
- 2025Multi-Objective Preference Optimization: Improving Human Alignment of Generative Models16 May 2025
- 2025SimPER: A Minimalist Approach to Preference Alignment without Hyperparameters2 Feb 2025
- 2024Decoding-Time Language Model Alignment with Multiple Objectives27 Jun 2024
- 2025Harnessing Multiple Large Language Models: A Survey on LLM Ensemblecited by 86
- 2024Ensemble Learning for Heterogeneous Large Language Models with Deep Parallel Collaborationcited by 66
- 2025BEST-Route: Adaptive LLM Routing with Test-Time Optimal Computecited by 63
- 2024FuseChat: Knowledge Fusion of Chat Modelscited by 53
- 2024Merge, Ensemble, and Cooperate! A Survey on Collaborative Strategies in the Era of Large Language Modelscited by 43
- 2025Universal Cross-Tokenizer Distillation via Approximate Likelihood Matchingcited by 40
- 2024Smoothie: Label Free Language Model Routingcited by 31
- 2024Model Swarms: Collaborative Search to Adapt LLM Experts via Swarm Intelligencecited by 27
- 2025When One LLM Drools, Multi-LLM Collaboration Rulescited by 25
- 2025Heterogeneous Swarms: Jointly Optimizing Model Roles and Weights for Multi-LLM Systemscited by 22
- 2025Nature-Inspired Population-Based Evolution of Large Language Modelscited by 14
- 2024Cool-Fusion: Fuse Large Language Models without Trainingcited by 12
12 most cited of 38 All 38 (JSON)
- 2026MERGE: Multi-LLM Ensemble for Retrieval via Generative Enrichment29 Sep 2026
- 2026Evidence-Aligned Local Composition of Discrete Experts for Sequence Restoration5 Sep 2026
- 2026Decentralized Aggregation of LLM Predictions via Wagering Mechanisms5 Jul 2026
- 2026Model Merging to Evolution: Parameter Space Exploration for Expert Models17 Jun 2026
- 2026DLLG: Dynamic Logit-Level Gating of LLM Experts3 Jun 2026
- 2026Efficient Low-Resource Language Adaptation via Multi-Source Dynamic Logit Fusion20 Apr 2026
- 2026Can Heterogeneous Language Models Be Fused?2 Apr 2026
- 2026Ensembling Language Models with Sequential Monte Carlo5 Mar 2026
- 2025Teaming LLMs to Detect and Mitigate Hallucinations22 Oct 2025
- 2025Harnessing Consistency for Robust Test-Time LLM Ensemble12 Oct 2025
- 2025Test-Time Efficient Pretrained Model Portfolios for Time Series Forecasting7 Oct 2025
- 2025LLM Chemistry Estimation for Multi-LLM Recommendation4 Oct 2025
12 newest of 38 All 38 (JSON)