Reproduce “TTTFlow: Unsupervised Test-Time Training with Normalizing Flow” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

David Osowiechi, Gustavo A. Vargas Hakim, Mehrdad Noori, Milad Cheraghalikhani, Ismail Ben Ayed, Christian Desrosiers

TTTFlow presents an unsupervised Test-Time Adaptation method that leverages Normalizing Flows to directly measure and adapt to data distribution shifts without requiring proxy tasks or pseudo-labels. The approach yields an average accuracy improvement of 14.54% over a ResNet50 baseline on CIFAR-10-C Level 5 corruptions and demonstrates stable adaptation on natural domain shifts.

Key insights

  • Normalizing Flows can effectively act as unsupervised domain shift detectors by modeling the source feature distribution and evaluating the log-likelihood of target features to quantify distribution discrepancies.
  • Training the Normalizing Flow head separately from the classification backbone (after initial supervised training) is more effective than joint training, suggesting that domain encoding and classification objectives may be in conflict.
  • TTTFlow eliminates the need for application-specific self-supervised proxy tasks and specialized source training configurations, allowing it to be applied to off-the-shelf pre-trained classification models.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.