Reproduce “Structure-Aware Language Model Pretraining Improves Dense Retrieval on Structured 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

Xinze Li, Zhenghao Liu, Chenyan Xiong, Shi Yu, Yu Gu, Zhiyuan Liu, Ge Yu

The SANTA (Structure Aware DeNse ReTrievAl) pretraining framework enhances language models for dense retrieval on structured data, such as code and product descriptions. This approach achieves state-of-the-art performance, showing a 0.6 MRR improvement on code search and over 2 NDCG points on product search, alongside strong zero-shot capabilities.

Key insights

  • Contrastive learning for Structured Data Alignment effectively creates a universal embedding space, enabling PLMs to learn robust, semantically rich representations for diverse data types.
  • Targeted entity-oriented masking (MEP) is more effective than random masking for instilling an understanding of crucial structural semantics in structured data during pretraining.
  • The combined dual-task pretraining approach allows models to achieve strong zero-shot retrieval performance, significantly reducing the need for extensive task-specific finetuning.

Summary by alphaXiv.

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