cs.LGSep 26, 2026

STAMP: Predicting Out-of-Distribution Generalization without Target Data

Authors: Md Kawsher Mahbub, Milon Biswas

Organizations: Department of Computer Science and Engineering NPI University of Bangladesh Manikganj, Bangladesh · Department of Computer & Information Sciences Towson University Towson, MD 21252

Abstract

Predicting whether a trained model will generalize under distribution shift remains difficult, especially when target-domain data are unavailable. We introduce STAMP (Semantic Temporal Augmented Model Prediction), a source-only, target-label-free criterion that estimates out-of-distribution (OOD) performance from paired source-domain images. STAMP computes the output-space correlation ratio η2=SB/STη^2=S_B/S_T by contrasting semantically stable pairs with random pairs: higher η2η^2 indicates that model outputs vary with semantic identity rather than nuisance variation. On 44 chest X-ray models spanning CNNs, ViTs, MetaFormers, foundation models, and SSL/VLM probes, temporal STAMP attains Spearman correlations of 0.8440.844--0.8550.855 with macro AUROC on VinDr-CXR, CheXpert, and MIMIC-CXR; a class-matched variant improves single-class RSNA from 0.3110.311 to 0.6630.663. STAMP attains the best average source-only medical ranking and outperforms the target-domain ATC and AoTL estimators without any target data. On 27 ImageNet models, temperature-scaled STAMPTS attains ρ=0.984ρ{=}0.984 on ObjectNet and ρ≥0.905ρ\geq0.905 on four additional distribution shifts, with partial correlations of 0.6620.662--0.9490.949 after controlling for ImageNet accuracy. Requiring approximately 12s per model on one GPU, STAMP is a practical pre-deployment model-selection and auditing tool.

Figures & tables

Appendix figures & tables18 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Can Circuit Alignment Predict OOD Generalization?

    Sep 25, 2026Ayan Banerjee, Abhra Chaudhuri, Josep Llados +2Distribution Shift RobustnessOOD Generalization

  2. Label-Free Foundational Model Selection for Medical Image Classification under Distribution Shift via Pseudo Label Discrepancy

    Aug 26, 2026Juan Iñaki Larrea, Lucas Mansilla, Enzo FerranteModel SelectionMedical Imaging Foundation Models

  3. MaRS: Robust Out-of-Distribution Detection via Mahalanobis Residual Scoring

    Jun 21, 2026Francesco Di Salvo, Sebastian Doerrich, Christian LedigMedical Imaging Foundation ModelsMedical Image Anomaly Detection