Repository logo
 

Tempora: Characterising the Time-Contingent Utility of Online Test-Time Adaptation

Accepted version
Peer-reviewed

Repository DOI


Change log

Abstract

Test-time adaptation (TTA) offers a compelling remedy for machine learning (ML) models that degrade under domain shifts, improving generalisation on-the-fly with only unlabelled samples. This flexibility suits real deployments, yet conventional evaluations unrealistically assume unbounded processing time, overlooking the accuracy-latency trade-off. As ML increasingly underpins latency-sensitive and user-facing use-cases, temporal pressure constrains the viability of adaptable inference; predictions arriving too late to act on are futile. We introduce Tempora, a framework for evaluating TTA under this pressure. It consists of temporal scenarios that model deployment constraints, evaluation protocols that operationalise measurement, and time-contingent utility metrics that quantify the accuracy-latency trade-off. We instantiate the framework with three such metrics: ❶ discrete utility for asynchronous streams with hard deadlines, ❷ continuous utility for interactive settings where value decays with latency, and ❸ amortised utility for budget-constrained deployments. By applying Tempora to 11 TTA methods, we find that rank instability persists across 750+ temporal evaluations spanning diverse datasets, models, and hardware platforms; i.e., conventional rankings do not predict rankings under temporal pressure. The highest-utility method varies with the shift and temporal pressure, with no clear winner. By enabling systematic evaluation across diverse temporal constraints for the first time, Tempora reveals when and why rankings change, offering practitioners a lens for method selection and researchers a target for deployable adaptation.Code: https://github.com/sudotensor/tempora.

Description

Keywords

Journal Title

Conference Name

Fourty-Third International Conference on Machine Learning (ICML 2026)

Journal ISSN

Volume Title

Publisher

Publisher DOI

Publisher URL

Rights and licensing

Except where otherwised noted, this item's license is described as All Rights Reserved
Sponsorship
EPSRC (EP/Z53447X/1)
This work is supported by Nokia Bell Labs through a donation and by EPSRC through grant EP/Z53447X/1.