Instance Discrimination
Unsupervised Feature Learning via Non-Parametric Instance Discrimination
Zhirong Wu, Yuanjun Xiong, Stella X. Yu, Dahua Lin · CVPR 2018
Treat each image instance as a class and learn using a memory bank and noise-contrastive estimation.
What you will implement
Implement the original sampled binary NCE objective and normalized memory updates keyed by instance ID.
- 186. Instance Discrimination: Binary NCE and Memory Bank
Implement original binary NCE with a fixed partition constant and uniform noise prior, plus normalized per-instance memory updates.
Implement sampled binary NCE and bank EMA; sampling indices, log Z and encoded features are supplied.