Abstract
Deep learning models for Visual Question Answering (VQA) frequently exhibit overconfidence, producing incorrect answers with high certainty. This lack of calibration limits their reliability in safety-critical applications. We introduce GLEN (Generalized Focal Loss Ensemble of Low-Rank Networks), a novel framework designed to mitigate over-parameterization and improve model calibration. GLEN employs low-rank matrix factorization in the final classification layers to reduce noise memorization and utilizes a diverse ensemble trained with a Generalized Focal Loss (GFL). Our experiments across VQA-v2, AdVQA, and VizWiz benchmarks demonstrate that GLEN consistently achieves superior calibration (lower ECE) and enhanced robustness to out-of-distribution data without compromising accuracy.
Introduction: The "Confidently Wrong" Challenge
Visual Question Answering (VQA) requires models to reason across visual and linguistic modalities. While state-of-the-art models achieve high accuracy, they often suffer from poor calibration—tending to be "confidently wrong." This phenomenon is largely attributed to over-parameterization, where models memorize training noise rather than learning generalizable features.
In domains like medical diagnostics or autonomous driving, an overconfident incorrect answer is significantly more hazardous than an admission of uncertainty. Existing post-hoc calibration methods often fail to address the root cause of over-parameterization or require additional labeled data. GLEN addresses these issues directly during the training phase.
Methodology
The GLEN framework consists of two primary components:
1. Low-Rank Network Factorization (LRF)
The authors observed that while early layers capture general features, the final classification layers are prone to overfitting on task-specific noise. GLEN factorizes the weight matrix $W$ of the final layer into two low-rank matrices, $U$ and $V$, such that $W \approx UV$. This structural constraint limits the model's capacity to memorize noise, thereby improving its inherent calibration.
2. Generalized Focal Loss (GFL) Ensemble
To further enhance reliability and recover accuracy, GLEN employs an ensemble of low-rank networks. To ensure diversity within the ensemble, the authors introduce Generalized Focal Loss. This loss function acts as a "knob" that allows researchers to systematically vary how much the model focuses on "easy" vs. "hard" samples during training. By forcing individual models in the ensemble to focus on distinct difficulty tiers, the combined system becomes more robust and better calibrated. Theoretical analysis confirms that GFL effectively manages the bias-variance trade-off, minimizing overconfident errors.
Experimental Results
GLEN was evaluated using six backbone architectures, ranging from Pythia to the large-scale BEiT-3 foundation model.
Calibration and Accuracy
As shown in the reliability diagrams, GLEN significantly reduces the Expected Calibration Error (ECE). For the VisualBERT model, GLEN improved ECE by approximately 11% compared to the strongest baseline. Notably, when applied to the BEiT-3 model, GLEN reduced ECE from 0.09 to a remarkable 0.02 while simultaneously increasing raw accuracy from 74.68% to 74.95%. This demonstrates that improved calibration does not necessitate a trade-off with performance.
Out-of-Distribution (OOD) Robustness
On the adversarial AdVQA dataset, which contains human-generated questions designed to deceive AI, GLEN consistently outperformed competing methods. This suggests that the low-rank ensemble approach is particularly effective at handling "unknown unknowns" and distribution shifts.
Conclusion
GLEN provides a robust solution to the overconfidence problem in VQA. By combining structural regularization (LRF) with a diversity-promoting loss function (GFL), GLEN produces models that are not only accurate but also reliable. Future work will explore the application of this framework to other multimodal tasks, such as robotic navigation and image captioning, where calibrated uncertainty is essential for safe deployment.
Summary updated