VIB-ZSCIR checkpoints
Checkpoints for the paper "Information, Not Geometry: A Variational Information Bottleneck for Zero-Shot Composed Image Retrieval" (Mayank Keshari). Code: https://github.com/mk-44/vib-zscir.
Zero-shot composed image retrieval (ZS-CIR) retrieves a target image from a reference image and a modifier text. These checkpoints are pseudo-token mappers: small networks that map the frozen OpenAI CLIP ViT-L/14 image embedding of the reference to a pseudo-word token, which the frozen CLIP text encoder composes with the modifier. The paper replaces the usual deterministic mapper with a variational information bottleneck (VIB) to reduce how much the token encodes about its specific reference image. Every mapper here was trained on about 4M CC12M images with their captions unused, without composed-retrieval triplets and without any large language model.
The repository holds every checkpoint behind a CIRCO test number in the paper, plus the two continued beta runs that App. E describes: 18 files, about 40 MB in total. Each file holds only the mapper (not CLIP).
Files
| File | What it is | CIRCO test mAP@10 |
|---|---|---|
main/baseline_deterministic.pt |
Deterministic baseline (beta = 0) | 11.39 |
main/vib_beta0.1.pt |
VIB mapper, beta = 0.1 (headline model, run 1) | 13.22 |
main/vib_beta0.1_rerun_e02s0500.pt |
VIB mapper, beta = 0.1, run 2 (second independent run) | 12.96 |
beta/vib_beta0.2_e02s3000.pt |
VIB mapper, beta = 0.2 (best validation checkpoint) | 12.38 |
beta/vib_beta0.5_resumed_e01s2500.pt |
beta = 0.5 run, continued past epoch 0 (not at the stated beta) | not used in the paper |
beta/vib_beta1.0_resumed_e01s1000.pt |
beta = 1.0 run, continued past epoch 0 (not at the stated beta) | not used in the paper |
beta_sweep_epoch0/baseline_beta0_e00.pt |
Deterministic baseline run at the end of epoch 0 (beta = 0) | 11.84 |
beta_sweep_epoch0/vib_beta0.1_e00.pt |
VIB mapper, beta = 0.1, at the end of epoch 0 | 12.43 |
beta_sweep_epoch0/vib_beta0.2_e00.pt |
VIB mapper, beta = 0.2, at the end of epoch 0 | 12.24 |
beta_sweep_epoch0/vib_beta0.5_e00.pt |
VIB mapper, beta = 0.5, at the end of epoch 0 | 8.28 |
beta_sweep_epoch0/vib_beta1.0_e00.pt |
VIB mapper, beta = 1.0, at the end of epoch 0 | 4.29 |
remedies/baseline_margin_e01s3500.pt |
Baseline + margin loss | 12.38 |
remedies/baseline_noise_e00s3500.pt |
Baseline + additive noise | 9.81 |
remedies/baseline_unitnorm_e01s2000.pt |
Baseline + unit-norm constraint | 10.00 |
remedies/baseline_klmu_only_e01s1000.pt |
Baseline + KL_mu-only penalty | 7.59 |
temperature/baseline_tau_frozen_e00s1500.pt |
Deterministic mapper, logit scale frozen (tau = 100) | 8.26 |
temperature/baseline_tau_free_e00s3500.pt |
Deterministic mapper, logit scale learned without a cap | 9.64 |
temperature/baseline_tau_capped_e00s1500.pt |
Deterministic mapper, logit scale capped at 115 with a fast learning rate | 6.14 |
checkpoints.json has the same information in machine-readable form, including the source training run and step of
each file, the sha256 of every tensor and the configuration changes made for release. SHA256SUMS.txt lists the file
hashes (shasum -a 256 -c SHA256SUMS.txt).
Loading
import torch
ckpt = torch.load("main/vib_beta0.1.pt", map_location="cpu", weights_only=True)
ckpt["mapper_type"] # "vib" or "base" (deterministic)
ckpt["mapper_state"] # the mapper's state dict
ckpt["config"] # the training configuration
ckpt["logit_scale"] # the learned CLIP logit scale, log(tau)
The evaluation scripts in the code repository rebuild the full model from such a file with load_model, for example
in evaluation/eval_circo_v2.py. They read the mapper type, sizes and options from config, load mapper_state and
set CLIP's logit scale from logit_scale. Point their configuration path to the repository's config/config.yaml.
The CLIP ViT-L/14 weights come from the official openai/CLIP release.
Notes
- Selection. Unless a description says otherwise, each file is the checkpoint of its training run with the best CIRCO-validation mAP@10 (checkpoints are saved every 500 steps). The beta-sweep files are fixed at the end of epoch 0 for every beta.
- beta values. The paper states beta per sample. The first training epoch, and the whole of the headline run,
summed the KL over the batch of 1,024, so a setting of 1e-4 is 0.1024 per sample (the paper's beta = 0.1). For these
runs the release config stores the per-sample value (
vib_beta0.1024, 0.2048, 0.512, 1.024). Run 2 was trained with a per-sample setting and stores 0.1024 as trained. The two continued runs inbeta/store their raw setting; see their descriptions. - Inference is deterministic. VIB checkpoints retrieve with the mean token only (no sampling), so they use the same 460,032 parameters as the deterministic baseline at inference.
- Evaluation protocol. In the paper's results the reference image is removed from the ranked list on CIRCO and CIRR and kept on Fashion-IQ. CIRCO test and CIRR test1 scores come from their official evaluation servers; CIRCO validation and Fashion-IQ are computed locally.
- Reproduction. On the paper's hardware and software (PyTorch 2.1.1, RTX A6000) a released checkpoint reproduces its CIRCO results exactly, per query on validation and list for list on test, and its Fashion-IQ R@10 and R@50. On another platform Fashion-IQ recall can move by about one query per category, because its galleries contain exact and near-duplicate images.
- Release changes. Each file is a mapper-only copy of a full training checkpoint: optimizer state, metrics and the
epoch counter are dropped, tensors are moved to CPU and are bit-identical to the training checkpoint, and machine
paths in the config are replaced by
<data_root>, withoutput_dirandresumecleared.
Checkpoints
Folder main/
The three checkpoints the paper releases: the deterministic baseline, the headline VIB model and the second VIB run.
main/baseline_deterministic.pt
Deterministic baseline (beta = 0). Our re-implementation of the Pic2Word recipe: a deterministic MLP mapper from the frozen CLIP ViT-L/14 image embedding to one pseudo-word token, trained by image self-supervision with a bounded learned logit scale (learning rate 0.2x the mapper's, cap 116).
- Checkpoint: epoch 2, step 3000 (best CIRCO-val mAP@10 of the run).
- Parameters: 460,032.
- Numbers in the paper:
- CIRCO val mAP@10: 12.12
- CIRCO test mAP@5 / 10 / 25 / 50: 10.61 / 11.39 / 12.63 / 13.36
- CIRR test1 R@1 / 5 / 10 / 50: 23.35 / 50.80 / 64.24 / 86.70
- Fashion-IQ val R@10 / R@50: 24.99 / 45.11
- Token self-identification R@1: 98.5%
- Ref@10 stickiness val / test: 85.9% / 83.0%
- tau at this step: 108.3
- Where: Sec. 4 main comparison table ("Our baseline"); Sec. 5.2 self-identification table; App. E, Table of the beta sweep (beta = 0, best val).
- sha256:
b9f20cfe7b6a6ae6cb512e538c57f826b9734d430563b86610cb2254570a4d86
main/vib_beta0.1.pt
VIB mapper, beta = 0.1 (headline model, run 1). The variational information bottleneck mapper: an encoder with a mean head and a log-variance head, trained with the KL term at beta = 0.1 per sample (stored as vib_beta 0.1024, see "beta values" below). Retrieval uses the mean token only, so inference is deterministic and uses 460,032 of the 657,408 trained parameters.
- Checkpoint: epoch 1, step 1500 (best CIRCO-val mAP@10 of the run).
- Parameters: 657,408 trainable, 460,032 used at inference.
- Numbers in the paper:
- CIRCO val mAP@10: 12.38
- CIRCO test mAP@5 / 10 / 25 / 50: 12.63 / 13.22 / 14.61 / 15.38
- CIRR test1 R@1 / 5 / 10 / 50: 20.48 / 46.68 / 60.51 / 84.80
- Fashion-IQ val R@10 / R@50: 22.15 / 40.76
- Token self-identification R@1: 66.3%
- Ref@10 stickiness val / test: 67.7% / 65.6%
- KL at this step: 36.61 bits
- tau at this step: 104.5
- Where: Sec. 4 main comparison table ("Our VIB"); Sec. 5.2 self-identification table; App. E (beta = 0.1, best val).
- sha256:
4dc644057cd8d6803a3dfe5ea95cc8e47d0afb31a50fa79b393e395ea55935ed
main/vib_beta0.1_rerun_e02s0500.pt
VIB mapper, beta = 0.1, run 2 (second independent run). A second, independent training run of the beta = 0.1 VIB recipe, used for the run-to-run stability study. Same architecture and parameter counts as run 1.
- Checkpoint: epoch 2, step 500 (best CIRCO-val mAP@10 of the run).
- Parameters: 657,408 trainable, 460,032 used at inference.
- Numbers in the paper:
- CIRCO val mAP@10: 11.97
- CIRCO test mAP@10: 12.96
- Fashion-IQ val R@10 / R@50: 22.20 / 40.81
- Token self-identification R@1: 66.6%
- Ref@10 stickiness val / test: 66.8% / 66.4%
- Where: Sec. 5.2 self-identification table ("VIB run 2"); App. G (run-to-run stability), which also prints this file's sha256.
- sha256:
52036046f27937c03483c7bb93ebcb08427c6aad253ee3d2406dc01f7b340663
Folder beta/
VIB runs at other values of beta: beta = 0.2 at its best validation checkpoint, and the two continuations of the beta = 0.5 and 1.0 runs that App. E describes but does not use.
beta/vib_beta0.2_e02s3000.pt
VIB mapper, beta = 0.2 (best validation checkpoint). The VIB recipe at beta = 0.2 per sample (stored as vib_beta 0.2048).
- Checkpoint: epoch 2, step 3000 (best CIRCO-val mAP@10 of the run).
- Parameters: 657,408 trainable, 460,032 used at inference.
- Numbers in the paper:
- CIRCO val mAP@10: 11.36
- CIRCO test mAP@10: 12.38
- Fashion-IQ val R@10 / R@50: 23.17 / 42.03
- Token self-identification R@1: 53.6%
- Ref@10 stickiness val / test: 58.2% / 51.0%
- KL at this step: 16.37 bits
- tau at this step: 106.0
- Where: Sec. 5.2 self-identification table; App. E (beta = 0.2, best val).
- sha256:
7936d1be9f26b9746f2b428af84d686135df6ddb306f1dfb2531cf713f56b00d
beta/vib_beta0.5_resumed_e01s2500.pt
beta = 0.5 run, continued past epoch 0 (not at the stated beta). The beta = 0.5 run resumed from its end-of-epoch-0 checkpoint with code that averages the KL over the batch while the beta setting was not rescaled, so its per-sample KL weight fell by a factor of 1,024 (the config stores the raw setting, vib_beta 0.0005). The resumed training used seed 42. The paper does not use this checkpoint in the beta sweep; it is released because App. E quotes its KL.
- Checkpoint: epoch 1, step 2500 (best CIRCO-val mAP@10 after resuming).
- Parameters: 657,408 trainable, 460,032 used at inference.
- Numbers in the paper:
- KL at this step: 195 bits
- Where: App. E, footnote on the resumed runs.
- sha256:
116246784b38647d23d54e1b7b2f334ad1c99f28ae6673810d922b43506ff3d1
beta/vib_beta1.0_resumed_e01s1000.pt
beta = 1.0 run, continued past epoch 0 (not at the stated beta). As the beta = 0.5 continuation, for the beta = 1.0 run (config stores vib_beta 0.001; per-sample KL weight 1,024 times below the stated beta; seed 42). Not used in the beta sweep.
- Checkpoint: epoch 1, step 1000 (best CIRCO-val mAP@10 after resuming).
- Parameters: 657,408 trainable, 460,032 used at inference.
- Numbers in the paper:
- KL at this step: 297 bits
- Where: App. E, footnote on the resumed runs.
- sha256:
38374f10751a6c53c18ee6cfbdc9953a6b7a96c25729a2be3a0cc471dc25ec90
Folder beta_sweep_epoch0/
The matched beta sweep: one run per beta, each at the end of epoch 0.
beta_sweep_epoch0/baseline_beta0_e00.pt
Deterministic baseline run at the end of epoch 0 (beta = 0). The matched beta sweep compares one run per beta at the same training step, the end of epoch 0, where the KL weight is 2/3 of its nominal value. This is the beta = 0 point: the deterministic baseline run at that step.
- Checkpoint: end of epoch 0 (fixed step for every beta, not selected on validation).
- Parameters: 460,032.
- Numbers in the paper:
- CIRCO val mAP@10: 11.02
- CIRCO test mAP@10: 11.84
- Fashion-IQ val R@10 / R@50: 25.17 / 44.60
- Token self-identification R@1: 96.1%
- Ref@10 stickiness val / test: 79.1% / 75.4%
- tau at this step: 103.1
- Where: Sec. 5.3 (beta sweep table and figures); App. E, Table of the beta sweep (left block).
- sha256:
a3ddc323553fd33f677aca7b520627076ad25ab511ef31aaba3536b4d0b1ba8e
beta_sweep_epoch0/vib_beta0.1_e00.pt
VIB mapper, beta = 0.1, at the end of epoch 0. The matched beta sweep compares one run per beta at the same training step, the end of epoch 0, where the KL weight is 2/3 of its nominal value. Stored as vib_beta 0.1024 (beta 0.1 per sample; see "beta values" below).
- Checkpoint: end of epoch 0 (fixed step for every beta, not selected on validation).
- Parameters: 657,408 trainable, 460,032 used at inference.
- Numbers in the paper:
- CIRCO val mAP@10: 11.79
- CIRCO test mAP@10: 12.43
- Fashion-IQ val R@10 / R@50: 22.25 / 40.30
- Token self-identification R@1: 68.0%
- Ref@10 stickiness val / test: 70.0% / 67.0%
- KL at this step: 45.13 bits
- tau at this step: 102.9
- Where: Sec. 5.3 (beta sweep table and figures); App. E, Table of the beta sweep (left block).
- sha256:
71e6fd72065e12b5afd5e1287b7b2c8e1a9deff045851739b1ebd05ce5788334
beta_sweep_epoch0/vib_beta0.2_e00.pt
VIB mapper, beta = 0.2, at the end of epoch 0. The matched beta sweep compares one run per beta at the same training step, the end of epoch 0, where the KL weight is 2/3 of its nominal value. Stored as vib_beta 0.2048 (beta 0.2 per sample; see "beta values" below).
- Checkpoint: end of epoch 0 (fixed step for every beta, not selected on validation).
- Parameters: 657,408 trainable, 460,032 used at inference.
- Numbers in the paper:
- CIRCO val mAP@10: 10.69
- CIRCO test mAP@10: 12.24
- Fashion-IQ val R@10 / R@50: 22.37 / 40.32
- Token self-identification R@1: 57.8%
- Ref@10 stickiness val / test: 61.4% / 57.8%
- KL at this step: 27.22 bits
- tau at this step: 102.7
- Where: Sec. 5.3 (beta sweep table and figures); App. E, Table of the beta sweep (left block).
- sha256:
187481606963746ddda001c77b1f300692cb8e19cbfe3ad504f08010cfdf1053
beta_sweep_epoch0/vib_beta0.5_e00.pt
VIB mapper, beta = 0.5, at the end of epoch 0. The matched beta sweep compares one run per beta at the same training step, the end of epoch 0, where the KL weight is 2/3 of its nominal value. Stored as vib_beta 0.512 (beta 0.5 per sample; see "beta values" below).
- Checkpoint: end of epoch 0 (fixed step for every beta, not selected on validation).
- Parameters: 657,408 trainable, 460,032 used at inference.
- Numbers in the paper:
- CIRCO val mAP@10: 7.23
- CIRCO test mAP@10: 8.28
- Fashion-IQ val R@10 / R@50: 21.21 / 39.18
- Token self-identification R@1: 14.9%
- Ref@10 stickiness val / test: 19.5% / 18.5%
- KL at this step: 4.94 bits
- tau at this step: 93.6
- Where: Sec. 5.3 (beta sweep table and figures); App. E, Table of the beta sweep (left block).
- sha256:
eba3e040e03f7aa3ae4df8dea4d6e2856ba3ada1f9d16a532a7dc791cfc28543
beta_sweep_epoch0/vib_beta1.0_e00.pt
VIB mapper, beta = 1.0, at the end of epoch 0. The matched beta sweep compares one run per beta at the same training step, the end of epoch 0, where the KL weight is 2/3 of its nominal value. Stored as vib_beta 1.024 (beta 1.0 per sample; see "beta values" below).
- Checkpoint: end of epoch 0 (fixed step for every beta, not selected on validation).
- Parameters: 657,408 trainable, 460,032 used at inference.
- Numbers in the paper:
- CIRCO val mAP@10: 3.49
- CIRCO test mAP@10: 4.29
- Fashion-IQ val R@10 / R@50: 18.92 / 35.68
- Token self-identification R@1: 0.6%
- Ref@10 stickiness val / test: 2.7% / 2.4%
- KL at this step: 1.01 bits
- tau at this step: 91.0
- Where: Sec. 5.3 (beta sweep table and figures); App. E, Table of the beta sweep (left block).
- sha256:
9c01a41089e972dfb9c6d89580720e5364b940563931ac38774a7088cbe7e06f
Folder remedies/
Interventions on the deterministic baseline recipe: margin loss, additive noise, unit-norm constraint and the KL_mu-only control.
remedies/baseline_margin_e01s3500.pt
Baseline + margin loss. The deterministic baseline recipe with an added margin loss (margin 0.2, weight 0.4). This configuration learns the logit scale at 0.4x the mapper learning rate.
- Checkpoint: epoch 1, step 3500 (best CIRCO-val mAP@10 of the run).
- Parameters: 460,032.
- Numbers in the paper:
- CIRCO val mAP@10: 10.9
- CIRCO test mAP@10: 12.38
- Fashion-IQ val R@10: 23.8
- Token self-identification R@1: 99.0%
- Ref@10 stickiness val / test: 68.2% / 68.1%
- tau at this step: 112
- Where: Sec. 3 table of logit-scale regimes and remedies; Sec. 5.2 self-identification table; App. D.
- sha256:
f681b8824273fe8e7c33bedc4816e857df244b742fd4de3505ec344f874bd859
remedies/baseline_noise_e00s3500.pt
Baseline + additive noise. The deterministic baseline recipe with additive Gaussian noise (sigma 0.1) on the token during training.
- Checkpoint: epoch 0, step 3500 (best CIRCO-val mAP@10 of the run).
- Parameters: 460,032.
- Numbers in the paper:
- CIRCO val mAP@10: 10.0
- CIRCO test mAP@10: 9.81
- Fashion-IQ val R@10: 22.1
- Token self-identification R@1: 97.0%
- Ref@10 stickiness val / test: 87.3% / 84.6%
- tau at this step: 103
- Where: Sec. 3 table of logit-scale regimes and remedies; Sec. 5.2 self-identification table; App. D.
- sha256:
890ea40e583750c715e44b7b1a6413664822cab56ea6a4275d1446143d3ee30d
remedies/baseline_unitnorm_e01s2000.pt
Baseline + unit-norm constraint. The deterministic baseline recipe with the token rescaled to unit norm in the forward pass (config pseudo_norm 1.0). The rescaling must also be applied at evaluation; the loaders of the code repository read pseudo_norm from the config.
- Checkpoint: epoch 1, step 2000 (best CIRCO-val mAP@10 of the run, evaluated with the rescaling).
- Parameters: 460,032.
- Numbers in the paper:
- CIRCO val mAP@10: 10.8
- CIRCO test mAP@10: 10.00
- Fashion-IQ val R@10: 22.9
- Token self-identification R@1: 94.6%
- Ref@10 stickiness val / test: 68.6% / 68.4%
- tau at this step: 105
- Where: Sec. 3 table of logit-scale regimes and remedies; Sec. 5.2 self-identification table; App. D.
- sha256:
f4045a9c27e4180ce2006aa27cf76d035f7f43211da2bc69b38914527745103f
remedies/baseline_klmu_only_e01s1000.pt
Baseline + KL_mu-only penalty. A control: the deterministic baseline recipe with only the mean term of the VIB KL, a squared-norm penalty on the token, at the VIB's per-sample weight (config l2_token_weight 0.1024).
- Checkpoint: epoch 1, step 1000 (best CIRCO-val mAP@10 of the run).
- Parameters: 460,032.
- Numbers in the paper:
- CIRCO test mAP@10: 7.59
- Token self-identification R@1: 89.0%
- Ref@10 stickiness val / test: 60.5% / 57.9%
- Where: Sec. 5.2 self-identification table; App. E (mean-penalty control).
- sha256:
0fce59faed1c059769fa4ad1df6b16e3828f485f4eb3247fd0e5b1729a0a7ca5
Folder temperature/
Logit-scale (temperature) regimes of the deterministic mapper: frozen, free and capped.
temperature/baseline_tau_frozen_e00s1500.pt
Deterministic mapper, logit scale frozen (tau = 100). The deterministic mapper trained with the CLIP logit scale frozen at tau = 100, the Pic2Word default. Trained with an earlier version of the code, whose config has fewer keys; the loaders fill the rest with their defaults.
- Checkpoint: epoch 0, step 1500 (best CIRCO-val mAP@10 of the run).
- Parameters: 460,032.
- Numbers in the paper:
- CIRCO val mAP@10: 10.0
- CIRCO test mAP@10: 8.26
- Fashion-IQ val R@10: 23.4
- Token self-identification R@1: 82.5%
- Ref@10 stickiness val / test: 48.6% / 46.2%
- tau: 100 (frozen)
- Where: Sec. 3 table of logit-scale regimes and remedies ("Frozen"); Sec. 5.2 self-identification table.
- sha256:
6152c48f370106aec3478263115e703d9a25b80467ba87f35c1668ecb851dfcf
temperature/baseline_tau_free_e00s3500.pt
Deterministic mapper, logit scale learned without a cap. The deterministic mapper with the logit scale learned freely (no cap); tau reaches 144 by the end of the run. Earlier code version, as the frozen run.
- Checkpoint: epoch 0, step 3500 (best CIRCO-val mAP@10 of the run; tau 114 at this step).
- Parameters: 460,032.
- Numbers in the paper:
- CIRCO val mAP@10: 12.2
- CIRCO test mAP@10: 9.64
- Fashion-IQ val R@10: 23.9
- Token self-identification R@1: 94.9%
- Ref@10 stickiness val / test: 73.6% / 69.6%
- tau at this step: 114
- Where: Sec. 3 table of logit-scale regimes and remedies ("Free (uncapped)"); Sec. 5.2 self-identification table.
- sha256:
8d7d7b5cff748137099c90c341375238d7bc29cf63bed03c82c3a281fc8ea6fa
temperature/baseline_tau_capped_e00s1500.pt
Deterministic mapper, logit scale capped at 115 with a fast learning rate. The deterministic mapper with the logit scale capped at tau = 115 and learned at a fast rate; tau reaches the cap by the end of the run. Earlier code version, as the frozen run.
- Checkpoint: epoch 0, step 1500 (best CIRCO-val mAP@10 of the run; tau 104 at this step).
- Parameters: 460,032.
- Numbers in the paper:
- CIRCO val mAP@10: 7.7
- CIRCO test mAP@10: 6.14
- Fashion-IQ val R@10: 16.4
- Token self-identification R@1: 84.0%
- Ref@10 stickiness val / test: 68.2% / 63.9%
- tau at this step: 104
- Where: Sec. 3 table of logit-scale regimes and remedies ("Capped"); Sec. 5.2 self-identification table.
- sha256:
16bc76a42289e00c99db156f402e1cc25fc946274f05cff26ca6655d100a3e5c
License and data
The checkpoints are released under the MIT license. They contain no images and no CLIP weights. The frozen backbone is OpenAI CLIP ViT-L/14 (MIT license). The mappers were trained on images from CC12M, which is not redistributed here.
Citation
@article{keshari2026vibzscir,
title = {Information, Not Geometry: A Variational Information Bottleneck for Zero-Shot Composed Image Retrieval},
author = {Keshari, Mayank},
year = {2026},
note = {arXiv preprint}
}
Model tree for mayankkeshari/vib-zscir
Base model
openai/clip-vit-large-patch14