Automated Collection of Evaluation Dataset for Semantic Search in Low-Resource Domain Language
Anastasia Zhukova, Christian E. Matt, Bela Gipp
TL;DR
This work tackles the challenge of evaluating semantic search in domain-specific German within the process industry, a classic low-resource setting. It introduces an end-to-end annotation pipeline that combines an ensemble of weak text encoders for document indexing with GPT-4o-based query generation and re-ranking, aiming to align automated relevance scores with human judgments. Across seven plant shift-book datasets, the combined ensemble + LLM approach substantially improves inter-coder agreement and ranking metrics compared to single-model baselines, demonstrating a scalable path to creating evaluation data in specialized domains. The methodology and findings offer a practical route to adapt semantic search evaluation in other low-resource languages and domains, balancing automation with targeted human oversight.
Abstract
Domain-specific languages that use a lot of specific terminology often fall into the category of low-resource languages. Collecting test datasets in a narrow domain is time-consuming and requires skilled human resources with domain knowledge and training for the annotation task. This study addresses the challenge of automated collecting test datasets to evaluate semantic search in low-resource domain-specific German language of the process industry. Our approach proposes an end-to-end annotation pipeline for automated query generation to the score reassessment of query-document pairs. To overcome the lack of text encoders trained in the German chemistry domain, we explore a principle of an ensemble of "weak" text encoders trained on common knowledge datasets. We combine individual relevance scores from diverse models to retrieve document candidates and relevance scores generated by an LLM, aiming to achieve consensus on query-document alignment. Evaluation results demonstrate that the ensemble method significantly improves alignment with human-assigned relevance scores, outperforming individual models in both inter-coder agreement and accuracy metrics. These findings suggest that ensemble learning can effectively adapt semantic search systems for specialized, low-resource languages, offering a practical solution to resource limitations in domain-specific contexts.
