NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Calibrated Knowledge Aggregation in Bayesian Mixture-of-Experts for Continual VQA

Mahsa Mozaffari, Hitesh Sapkota, Yu Kong, Xumin Liu, Qi YuICML 2026

Introduction

Continual learning (CL) for Visual Question Answering (VQA) requires models to learn a sequence of tasks without forgetting previous ones. The standard approach relies on training a distinct "expert" module—typically a small set of parameters—for each new task, using a router to send queries to the corresponding expert based on task IDs.

However, this paper identifies a critical flaw in this paradigm: VQA tasks are rarely distinct. They overlap heavily in visual concepts, question types, and answer sets. On the popular VQA-v2 benchmark, a "non-native" expert (one trained on a different task) actually outperforms the "correct" task expert on nearly 50% of queries. Traditional "hard routing"—where the system commits to a single expert—wastes this transferable knowledge. Furthermore, if the router makes a slight misclassification, the system often produces confidently wrong answers because the chosen expert is forced to operate outside its training distribution.

To address this, the authors introduce a calibrated Bayesian Mixture-of-Experts (MoE) framework. By replacing rigid task-based routing with a "utility-driven" router and aggregating evidence from multiple experts in a unified answer space, the framework achieves significant gains in accuracy and a dramatic reduction in calibration error.

Methodology: From Task Identification to Capability Selection

The authors propose a three-part framework designed to shift the routing objective from simply guessing the task ID to actively searching for the most competent expert.

  1. Parameter-Efficient Experts: To prevent catastrophic forgetting of the core model, the framework utilizes a frozen vision-language backbone (such as ViLT or FLAVA). For each new task, it trains only lightweight LoRA (Low-Rank Adaptation) adapters and task-specific heads.
  2. Utility-Driven Routing: Instead of training the router to predict which task a question belongs to, it is trained to directly maximize VQA utility. The router learns to assign high weights to any expert likely to provide the correct answer, regardless of whether that expert is "native" to the current task.
  3. Calibrated Bayesian Aggregation:
  4. Entropy Regularization: To prevent the router from becoming overconfident and collapsing into hard routing (picking only one expert), an entropy penalty is applied during training. This keeps the router "open-minded" to multiple plausible experts.
  5. Evidence Pooling: At inference time, the system performs Bayesian model averaging. It maps the predictions of the top-$k$ experts into a unified answer space and sums their probabilities. If multiple experts agree, the overall confidence increases; if they disagree, the resulting confidence is naturally lowered, leading to vastly improved model calibration.

Experimental Setup

The model was evaluated on two major benchmarks using three distinct continual learning protocols:

  • VQA-v2 (CL-LS): A 10-task stream separated by question types (e.g., "color," "counting," "action").
  • TDIUC (CL-LS): A stream focused on language and question-type shifts.
  • TDIUC (CL-VS): A stream focused on visual domain shifts (e.g., "animal," "food," "traffic").

Key Insights and Results

The proposed method consistently outperformed state-of-the-art baselines across multiple metrics:

  • Shattering the "Oracle Myth": The assumption that an expert trained on Task A is inherently the best at Task A is often false in VQA. Remarkably, the utility-driven router frequently matched or exceeded "Oracle" routing (which has perfect knowledge of task IDs), proving that cross-task expertise is a highly valuable resource.
  • Superior Accuracy and Retention: On VQA-v2, the model reached 64.16% accuracy, marking a +5.74% improvement over the strongest prior method. It also exhibited negligible forgetting (0.63 on VQA-v2), significantly outperforming replay-based methods like ER or DER.
  • Calibration via Disagreement: Bayesian aggregation proved to be a natural fix for miscalibration. When a standard router is uncertain, hard routing picks one expert and remains overconfident. Bayesian aggregation spreads the probability mass across disagreeing experts, correctly signaling to the user that the model is unsure. This slashed the Expected Calibration Error (ECE) on VQA-v2 from 0.15 down to 0.07, making the model's confidence scores much more trustworthy for real-world deployment.
  • Computational Efficiency: By utilizing LoRA and a top-$k$ aggregation strategy, the model remains computationally efficient during inference, even as the number of tasks and experts grows.

Limitations and Future Work

While highly effective, the framework has a few limitations that pave the way for future research. First, the benefits of Bayesian aggregation are strongest when tasks overlap. In scenarios where tasks are strictly disjoint, the router naturally becomes "sharp," and the calibration gains diminish. Second, experts are currently trained in isolation; future work could explore training-time mechanisms for controlled knowledge sharing (such as partial parameter sharing) to further boost performance. Finally, the system still relies on known task boundaries during the training phase to instantiate new experts. Moving toward fully "task-free" expert creation remains an open challenge in continual learning.

Summary updated

BibTeX
@inproceedings{mozaffari2026calibrated,
  author = {Mahsa Mozaffari and Hitesh Sapkota and Yu Kong and Xumin Liu and Qi Yu},
  title = {{Calibrated Knowledge Aggregation in Bayesian Mixture-of-Experts for Continual VQA}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=ACycnhWzRX},
}
Figure