Reproduce “Banyan: Improved Representation Learning with Explicit Structure” 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

Mattia Opper, N. Siddharth

Banyan is a model that enhances semantic representation learning by incorporating an entangled hierarchical tree structure and diagonalized message passing. It achieves performance comparable to large transformer models in English and often surpasses them in low-resource multilingual contexts, all while utilizing merely 14 non-embedding parameters.

Key insights

  • Explicitly modeling shared hierarchical and compositional structures across an entire batch (entangled trees) enhances representational quality and efficiency by reducing redundancy and enabling contextual amortization.
  • Highly constrained, diagonalized message-passing functions are effective for learning robust representations with an exceptionally small number of parameters.
  • A simple cross-entropy loss can be superior to contrastive losses for structured models when combined with innovations like diagonal functions and entangled trees, effectively addressing representation alignment.

Summary by alphaXiv.

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