iBOT
iBOT: Image BERT Pre-Training with Online Tokenizer
Jinghao Zhou, Chen Wei, Huiyu Wang, Wei Shen, Cihang Xie, Alan Yuille, Tao Kong · ICLR 2022
Use a momentum teacher as an online tokenizer for masked-patch self-distillation.
What you will implement
Implement centered teacher patch targets and masked distillation with per-image reduction.
- 184. iBOT Centered Teacher and Masked Patch Distillation
Build centered stopped teacher patch probabilities and compute soft-target CE with per-image masked means followed by a batch mean.
Implement the same-view single-crop patch branch; CLS cross-view loss, multicrop, center EMA and teacher EMA remain outside this exercise.