Reproduce “BACH: A Bayesian Admixture of Contrastive Heads for Multi-Interest Two-Tower Retrieval” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Quoc Phong Nguyen, Paul Albert, Long Vuong, Vuong Le, Julien Monteil
Amazon researchers developed BACH, a multi-interest two-tower retrieval model that re-frames the problem as a per-user mixture of softmaxes, optimized via variational inference. This approach addresses limitations in existing models by mitigating routing collapse through soft-routing and providing explicit per-user interest importance, leading to improved retrieval quality across three large-scale datasets, including a 12.7% relative AUPRC improvement on Netflix Prize compared to strong multi-head baselines.
Key insights
- Re-framing multi-interest retrieval probabilistically with variational inference enables robust soft routing, which mitigates head collapse and ensures all interest heads contribute to learning.
- The introduction of explicit, per-user mixture weights (π_u) allows for a principled quantification of interest importance, leading to more calibrated and effective item ranking at serving time.
- The model's flexible architecture, supporting a spectrum from fully personalized to global codebook heads, offers practical advantages for scalability, interpretability, and cold-start scenarios, even with slight trade-offs in accuracy for the global variant.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.