Generating Synthetic Data with Large Language Models for Low-Resource Sentence Retrieval

Authors: Caffagni Davide, Cocchi Federico, Mambelli Anna, Tutrone Fabio, Zanella Marco, Cornia Marcella, Cucchiara Rita
Cited by: 0

Abstract

Sentence similarity search is a fundamental task in information retrieval, enabling applications such as search engines, question answering, and textual analysis. However, retrieval systems often struggle when training data are scarce, as is the case for low-resource languages or specialized domains such as ancient texts. To address this challenge, we propose a novel paradigm for domain-specific sentence similarity search, where the embedding space is shaped by a combination of limited real data and a large amount of synthetic data generated by Large Language Models (LLMs). Specifically, we employ LLMs to generate domain-specific sentence pairs and fine-tune a sentence embedding model, effectively distilling knowledge from the LLM to the retrieval model. We validate our method through a case study on biblical intertextuality in Latin, demonstrating that synthetic data augmentation significantly improves retrieval effectiveness in a domain with scarce annotated resources. More broadly, our approach offers a scalable and adaptable framework for enhancing retrieval in domain-specific contexts. Source code and trained models are available at https://github.com/aimagelab/ biblical-retrieval-synthesis.

Fields of Study & Subjects

Topic Modeling Sentiment Analysis and Opinion Mining Natural Language Processing Techniques

Publication details

Journal / source
Nova Science Publishers (Nova Science Publishers, Inc.)
Publication date
1 January 2026
Language
EN
Document type
Book chapter