HyperTime: Hyperparameter Optimization for Combating Temporal Distribution Shifts
Shaokun Zhang, Yiran Wu, Zhonghua Zheng, Qingyun Wu, Chi Wang
TL;DR
<3-5 sentence high-level summary> HyperTime addresses temporal distribution shifts by optimizing hyperparameters under a lexicographic objective that jointly considers average validation performance and worst-case validation performance across chronologically partitioned validation sets. The method is model-agnostic and complements robust training, with theoretical bounds on test loss and strong empirical results on gradient-boosting trees and neural networks across multiple temporally shifted datasets. It demonstrates that a time-aware, worst-case-centric HPO strategy can yield more temporally robust models than traditional single-objective HPO or standard training. The work also provides practical validation-set construction guidance and shows compatibility with existing robust-learning techniques to further boost performance.</3-5 sentence high-level summary>
Abstract
In this work, we propose a hyperparameter optimization method named \emph{HyperTime} to find hyperparameters robust to potential temporal distribution shifts in the unseen test data. Our work is motivated by an important observation that it is, in many cases, possible to achieve temporally robust predictive performance via hyperparameter optimization. Based on this observation, we leverage the `worst-case-oriented' philosophy from the robust optimization literature to help find such robust hyperparameter configurations. HyperTime imposes a lexicographic priority order on average validation loss and worst-case validation loss over chronological validation sets. We perform a theoretical analysis on the upper bound of the expected test loss, which reveals the unique advantages of our approach. We also demonstrate the strong empirical performance of the proposed method on multiple machine learning tasks with temporal distribution shifts.
