VISCORE
← All works

Modelling & ResearchOct 2026 – presentExploration

Read–Write Timing in CLIP Test-Time Adaptation

A study of why update-first scores so much higher than predict-first in CLIP test-time adaptation.

Independent research

  • Python
  • PyTorch
  • CLIP ViT-B/16
  • CLIP ViT-L/14
  • SigLIP
+11.28 ppUpdate-first minus predict-firstImageNet-V2; a difference caused by read–write order, not a method improvement
≤ 0.02 ppREFRESH control vs predict-firstReadout refreshed, current sample not written to the cache

Background

This studies training-free online test-time adaptation for CLIP. For the same method, update-first (UF) often scores far higher than predict-first (PF), and the usual explanation is that the readout mixes better. No controlled experiment had tested whether that explanation holds.

My work

  • Evaluation setup: built an evaluation environment covering 8 datasets × 3 backbones, with all data verified. The backbones are CLIP ViT-B/16, ViT-L/14 and SigLIP.
  • Baseline reproduction: 42.11% zero-shot on EuroSAT, consistent with the 42.01% reported in the TPT paper.
  • Controlled experiment: designed the REFRESH control, in which the readout is refreshed as usual but the current sample is not written into the cache, separating the two explanations.

Problems and fixes

The method improvements did not work. I first tried five routes: testing whether a memory representation is needed, a teacher–student setup, a cross-fitted local branch, re-examining cache and readout rules, and training-free anomaly detection. Each had its pass criterion written down before the run, and none met it, so I recorded them as failed and turned to studying the evaluation question itself.

Results

  • On ImageNet-V2, UF is 11.28 percentage points above PF, while REFRESH differs from PF by no more than 0.02 percentage points: almost the whole gap comes from the test sample writing itself into the cache first.
  • Research in progress; no manuscript yet.

Retrospective

  • The quantitative analysis of the mechanism is not finished.
  • Locally I use pre-extracted single-view features, whereas the official code adds 63 augmented views on out-of-distribution data, so this is a reproduction aligned to the official code rather than a full one.
  • The full question, controls and negative results are on the research page.