Scaling Up Temporal Domain Generalization via Temporal Experts Averaging
Aoming Liu, Kevin Miller, Venkatesh Saligrama, Kate Saenko, Boqing Gong, Ser-Nam Lim, Bryan A. Plummer
TL;DR
The paper addresses TDG under temporal distribution shifts by proposing Temporal Experts Averaging (TEA), a scalable weight-averaging framework that updates the entire model. TEA constructs a base model on all source domains, generates functionally diverse yet parameter-similar temporal experts via constrained finetuning, and forecasts a future-domain position in a low-dimensional weight space using PCA, followed by ARIMA-based trajectory prediction to compute adaptive averaging coefficients. The approach yields a TEA ensemble that minimizes future generalization error through a bias–variance–covariance–locality tradeoff, validated across 7 TDG benchmarks and 5 models, and extended to CDGTD with memory buffers. Experimental results show TEA achieving state-of-the-art performance, with large gains (up to 69%) and substantially lower training cost (up to 60x more efficient) than prior TDG methods, indicating strong practical potential for scalable temporal generalization. The work contributes theoretical BVCL insights, a concrete training-and-forecasting pipeline, and new evaluation benchmarks CLEAR-10/100 to push TDG research toward larger-scale, real-world scenarios.
Abstract
Temporal Domain Generalization (TDG) aims to generalize across temporal distribution shifts, e.g., lexical change over time. Prior work often addresses this by predicting future model weights. However, full model prediction is prohibitively expensive for even reasonably sized models. Thus, recent methods only predict the classifier layer, limiting generalization by failing to adjust other model components. To address this, we propose Temporal Experts Averaging (TEA), a novel and scalable TDG framework that updates the entire model using weight averaging to maximize generalization potential while minimizing computational costs. Our theoretical analysis guides us to two steps that enhance generalization to future domains. First, we create expert models with functional diversity yet parameter similarity by fine-tuning a domain-agnostic base model on individual temporal domains while constraining weight changes. Second, we optimize the bias-variance tradeoff through adaptive averaging coefficients derived from modeling temporal weight trajectories in a principal component subspace. Expert's contributions are based on their projected proximity to future domains. Extensive experiments across 7 TDG benchmarks, 5 models, and 2 TDG settings shows TEA outperforms prior TDG methods by up to 69% while being up to 60x more efficient.
