Beyond the Loss Curve: Scaling Laws, Active Learning, and the Limits of Learning from Exact Posteriors
Arian Khorasani, Nathaniel Chen, Yug D Oswal, Akshat Santhana Gopalan, Egemen Kolemen, Ravid Shwartz-Ziv
TL;DR
The paper introduces an oracle-based framework that uses class-conditional normalizing flows to define a synthetic data-generating world with tractable, exact posteriors p(y|x). This enables a precise Bayes-risk decomposition L(q)=E_x[H(p(y|x))]+E_x[KL(p(y|x)||q(y|x)) and reveals that epistemic uncertainty decays as a power law with dataset size even when the total loss plateaus, exposing ongoing learning hidden from standard benchmarks. It demonstrates architectural differences (e.g., ResNet vs ViT), shows that soft labels from exact posteriors improve calibration, and proves that shift type (covariate versus prior) governs robustness more than shift magnitude. The results have practical implications for architecture choice, data-efficient training, robustness evaluation, and active learning, while acknowledging the synthetic nature of the oracle world and the need to carefully translate insights to real data. Overall, the framework provides ground-truth insight into learning dynamics that standard metrics cannot capture, guiding more rigorous evaluation and design of learning systems.
Abstract
How close are neural networks to the best they could possibly do? Standard benchmarks cannot answer this because they lack access to the true posterior p(y|x). We use class-conditional normalizing flows as oracles that make exact posteriors tractable on realistic images (AFHQ, ImageNet). This enables five lines of investigation. Scaling laws: Prediction error decomposes into irreducible aleatoric uncertainty and reducible epistemic error; the epistemic component follows a power law in dataset size, continuing to shrink even when total loss plateaus. Limits of learning: The aleatoric floor is exactly measurable, and architectures differ markedly in how they approach it: ResNets exhibit clean power-law scaling while Vision Transformers stall in low-data regimes. Soft labels: Oracle posteriors contain learnable structure beyond class labels: training with exact posteriors outperforms hard labels and yields near-perfect calibration. Distribution shift: The oracle computes exact KL divergence of controlled perturbations, revealing that shift type matters more than shift magnitude: class imbalance barely affects accuracy at divergence values where input noise causes catastrophic degradation. Active learning: Exact epistemic uncertainty distinguishes genuinely informative samples from inherently ambiguous ones, improving sample efficiency. Our framework reveals that standard metrics hide ongoing learning, mask architectural differences, and cannot diagnose the nature of distribution shift.
