TL;DR
This paper introduces "Plex," a framework and set of pretrained model extensions (ViT-Plex and T5-Plex) designed to enhance the reliability of large AI models. By evaluating models across a comprehensive suite of uncertainty, robustness, and adaptation tasks, Plex demonstrates that scaling up pretrained models significantly improves reliability, offering a unified approach that simplifies current practices.
What Problem Does This Paper Address?
Modern AI models, particularly large pretrained models, achieve impressive performance on benchmark tasks but often exhibit puzzling failures in real-world scenarios. These failures stem from a lack of "reliability," which encompasses not just predictive accuracy but also the ability to quantify uncertainty, generalize robustly to unseen data distributions, and adapt efficiently to new information. Existing research often focuses on individual aspects of reliability in narrow settings, leading to fragmented solutions. This paper aims to address this by proposing a holistic definition of reliability and developing models that excel across multiple reliability dimensions simultaneously, without task-specific tuning.
Methods
The core contribution is the development of Plex, which are extensions of existing large pretrained models (ViT for vision, T5 for language). Plex leverages several key ingredients:
- Base Transformer Architecture: Utilizes standard Transformer architectures.
- Model Size Scaling: Investigates models up to 1 billion parameters.
- Pretraining Dataset Size Scaling: Explores pretraining on datasets up to 4 billion examples.
- Efficient Ensembling (BatchEnsemble): Applies BatchEnsemble to improve reliability, particularly at later layers, to manage computational costs.
- Last Layer Modifications: Experiments with Gaussian Process (GP) and Heteroscedastic (Het) last layers to enhance uncertainty estimation.
The paper also introduces a comprehensive evaluation framework with 10 types of tasks across 40 datasets to assess reliability across uncertainty, robust generalization, and adaptation.
Datasets
The paper utilizes a broad suite of 40 downstream datasets. Key datasets include:
- Vision: CIFAR-10, CIFAR-100, ImageNet1K, RETINA, Describable Textures Dataset, UC Merced, Caltech 101, Oxford-IIIT Pets, Colorectal Histology, Caltech-UCSD Birds 200, Cars196.
- New Datasets:
- ImageNet ReaL-H: A large-scale dataset for label uncertainty evaluation, leveraging raw human ratings from ImageNet ReaL.
- NaLUE: A dataset for uncertainty in conversational language understanding, relabeling and aggregating existing NLU corpora.
- Language: MNLI, WikipediaTalk, CivilComments.
Key Insights and Ideas
- Scale is Key for Reliability: Contrary to some classical ML intuition, increasing model size and pretraining dataset size consistently improves reliability across various tasks, not just predictive performance.
- Unified Reliability: Plex demonstrates that a single pretrained model can achieve state-of-the-art performance across diverse reliability tasks, simplifying the traditional approach of task-specific model design and tuning.
- Pretraining Dominates: Pretraining, especially on large and diverse datasets like JFT, is a crucial driver of reliability improvements, often more so than specific architectural modifications during finetuning.
- Heteroscedasticity Benefits Downstream: Applying a heteroscedastic last layer during finetuning improves downstream performance, even if the upstream pretraining was deterministic.
- Pretraining Boosts Active Learning: Pretrained models significantly outperform randomly initialized models in active learning, enabling faster adaptation and better performance with fewer labels.
Key Results
- State-of-the-Art Performance: ViT-Plex and T5-Plex achieve new state-of-the-art results on many of the 40 evaluated datasets across uncertainty, robust generalization, and adaptation tasks.
- Improved Calibration: Plex models consistently improve calibration error over baselines, particularly on out-of-distribution data. For example, calibration error is reduced by roughly half on average.
- Robustness Gains: Plex shows significant improvements in performance across metrics under covariate shift, even when not outperforming on in-distribution test data.
- Active Learning Efficiency: Pretrained models provide a significant initial boost in active learning performance, with Plex starting at 50-60% accuracy with pretraining compared to 20% without.
- Few-Shot Learning Advantage: BatchEnsemble representations from Plex provide a consistent 1-2% accuracy improvement in few-shot learning.
- Zero-Shot OSR Performance: Plex achieves performance close to finetuned models in zero-shot open set recognition tasks.
Limitations and Future Work
- Computational Cost: While Plex aims for efficiency, large pretrained models are inherently compute-intensive. The paper explores efficient ensembling to mitigate this.
- Dataset Specificity: While Plex generalizes well, performance can still vary depending on the downstream dataset's similarity to the pretraining data. For instance, ImageNet-21K pretraining sometimes outperforms JFT when the downstream datasets are closer to ImageNet.
- Future Work: The authors suggest that their techniques are broadly applicable to other large models (e.g., LaMDA, PaLM) and a wider suite of tasks, indicating potential for further research in this direction. The paper also highlights the importance of continued investigation into how different reliability dimensions interact and how to best leverage pretrained models for these tasks.
Summary updated