This paper presents Structure Aware DeNse ReTrievAl (SANTA) model, which encodes user queries and structured data in one universal embedding space for retrieving structured data. SANTA proposes two pretraining methods to make language models structure-aware and learn effective representations for structured data: 1) Structured Data Alignment, which utilizes the natural alignment relations between structured data and unstructured data for structure-aware pretraining. It contrastively trains language models to represent multi-modal text data and teaches models to distinguish matched structured data for unstructured texts. 2) Masked Entity Prediction, which designs an entity-oriented mask strategy and asks language models to fill in the masked entities. Our experiments show that SANTA achieves state-of-the-art on code search and product search and conducts convincing results in the zero-shot setting. SANTA learns tailored representations for multi-modal text data by aligning structured and unstructured data pairs and capturing structural semantics by masking and predicting entities in the structured data. All codes are available at https://github.com/OpenMatch/OpenMatch.
CITATION STYLE
Li, X., Liu, Z., Xiong, C., Yu, S., Gu, Y., Liu, Z., & Yu, G. (2023). Structure-Aware Language Model Pretraining Improves Dense Retrieval on Structured Data. In Proceedings of the Annual Meeting of the Association for Computational Linguistics (pp. 11560–11574). Association for Computational Linguistics (ACL). https://doi.org/10.18653/v1/2023.findings-acl.734
Mendeley helps you to discover research relevant for your work.