TLDR: The research paper introduces COM-BOM, a novel Combinatorial Bayesian Optimization algorithm for selecting optimal exemplars in in-context learning for Large Language Models (LLMs). Unlike prior methods that only optimize for predictive accuracy, COM-BOM addresses exemplar selection as a multi-objective problem, simultaneously maximizing accuracy and minimizing expected calibration error. This approach leads to more trustworthy and reliable LLM predictions, achieving better accuracy-calibration trade-offs with fewer LLM evaluations compared to existing baselines on the MMLU-Pro benchmark.
In the rapidly evolving world of artificial intelligence, Large Language Models (LLMs) have become incredibly powerful tools. A key aspect of making these models perform well on new tasks is ‘in-context learning’ (ICL), where the LLM is given a few examples (exemplars) to guide its understanding. Traditionally, the focus has been on selecting exemplars that maximize the model’s predictive accuracy – simply put, how often it gets the right answer.
However, a new research paper titled “COM-BOM: Bayesian Exemplar Search for Efficiently Exploring the Accuracy-Calibration Pareto Frontier” by Gaoxiang Luo and Aryan Deshwal from the University of Minnesota, highlights a crucial oversight: model calibration. Calibration refers to how well a model’s stated confidence in its predictions matches its actual correctness. Imagine an AI that is highly accurate but wildly overconfident in its wrong answers, or underconfident in its right ones – that’s a poorly calibrated model, and it can be untrustworthy in critical applications like healthcare or finance.
The authors argue that exemplar selection should not just aim for accuracy, but also for good calibration. They frame this as a multi-objective optimization problem: simultaneously maximizing predictive accuracy and minimizing expected calibration error. To tackle this complex challenge, they introduce a novel algorithm called Combinatorial Bayesian Optimization of Multiple ICL Metrics (COM-BOM).
COM-BOM is designed to efficiently explore the vast number of possible exemplar combinations. It uses a smart, sample-efficient approach, meaning it requires a minimal number of expensive LLM evaluations (API calls) to find the best trade-offs. The algorithm builds probabilistic models to predict how different exemplar sets will perform on both accuracy and calibration. It then intelligently guides its search towards the ‘Pareto front’ – a set of solutions where you can’t improve one objective (e.g., accuracy) without making the other (e.g., calibration) worse.
The paper addresses several technical hurdles: the sheer number of ways to select exemplars, the need to find a range of optimal trade-offs, and the fact that evaluating LLM performance is both costly and can be noisy. COM-BOM leverages Gaussian Process surrogate models and a hypervolume-based acquisition function to navigate this complex landscape, ensuring it finds high-quality exemplar sets effectively.
The researchers put COM-BOM to the test using Qwen3-8B and LLaMA-3.3-70B models on the challenging MMLU-Pro benchmark. Their experiments show that COM-BOM consistently outperforms existing methods, including random search, genetic algorithms, simulated annealing, hill climbing, and even retrieval-based approaches. It achieves a better balance between accuracy and calibration, all while requiring fewer LLM evaluations. This efficiency is particularly valuable because it makes the process more cost-effective for real-world deployment.
A key takeaway from their findings is the importance of the multi-objective approach. Optimizing for accuracy alone often compromises calibration, leading to less reliable predictions. Conversely, focusing solely on calibration can reduce accuracy. COM-BOM’s ability to directly reason about the Pareto front allows it to find superior solutions that balance both crucial metrics. For more technical details, you can read the full research paper here.
Also Read:
- Generalized Models for Accurate LLM Correctness Prediction
- Robust Preference Optimization: Enhancing LLM Alignment by Tackling Noisy Human Feedback
In conclusion, COM-BOM represents a significant step forward in making LLMs not just smarter, but also more trustworthy. By jointly optimizing for predictive accuracy and model calibration, this method ensures that AI systems can be deployed with greater confidence, especially in high-stakes environments where reliability is paramount.


