Ensembling foundation models can boost accuracy and robustness, but merging parameters or fine-tuning is often impractical when models have different architectures. A new paper on arXiv proposes Optimizable Model Averaging (OMA), a black-box approach that learns a single nonnegative weight per model and averages their predictive probabilities, leaving all model parameters frozen. This makes it possible to combine heterogeneous models without access to their internals.

The core difficulty is that minimizing predictive entropy—a natural objective for sharpening ensemble predictions—can reward models that are confidently wrong. The author therefore introduces regularization as a control mechanism and empirically studies its effect on calibration. In selected configurations, OMA achieves lower expected calibration error and a better performance-calibration trade-off than conventional model output averaging.

Because OMA treats models as black boxes, it can incorporate future, potentially stronger models as they appear. The paper demonstrates the approach on challenging text and image classification tasks, suggesting a practical path for continuously improving ensembles without retraining or architectural constraints.