Reproduce “Learning Visual N-Grams from Web Data” 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

Ang Li, Allan Jabri, Armand Joulin, Laurens van der Maaten

A model trained on web image-comment pairs predicts arbitrary visual n-grams (multi-word phrases) using a differentiable Jelinek-Mercer smoothing loss, demonstrating improved performance in phrase-level image tagging, retrieval, and zero-shot transfer compared to baseline methods. The approach learns nuanced visual concepts directly from noisy, large-scale web data, addressing the scalability limitations of traditional supervised computer vision.

Key insights

  • Differentiable Jelinek-Mercer smoothing effectively enables learning visual representations for rare and out-of-dictionary phrases by recursively leveraging their constituent parts, making the model robust to noisy and vast vocabularies.
  • Large-scale, noisy web data, specifically image-comment pairs from YFCC100M, serves as a rich training source for learning nuanced visual concepts (multi-word phrases) without requiring manual annotation.
  • A feed-forward convolutional network, combined with a specialized loss function, can achieve strong performance in image-conditioned phrase prediction tasks while offering efficiency benefits over recurrent networks.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.