Enhancing Technical Documents Retrieval for RAG

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Lai, Songjiang, Cheung, Tsun-Hin, Fung, Ka-Chun, Xue, Kaiwen, Lin, Kwan-Ho, Choi, Yan-Ming, Ng, Vincent, Lam, Kin-Man
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866912570221264896
author Lai, Songjiang
Cheung, Tsun-Hin
Fung, Ka-Chun
Xue, Kaiwen
Lin, Kwan-Ho
Choi, Yan-Ming
Ng, Vincent
Lam, Kin-Man
author_facet Lai, Songjiang
Cheung, Tsun-Hin
Fung, Ka-Chun
Xue, Kaiwen
Lin, Kwan-Ho
Choi, Yan-Ming
Ng, Vincent
Lam, Kin-Man
contents In this paper, we introduce Technical-Embeddings, a novel framework designed to optimize semantic retrieval in technical documentation, with applications in both hardware and software development. Our approach addresses the challenges of understanding and retrieving complex technical content by leveraging the capabilities of Large Language Models (LLMs). First, we enhance user queries by generating expanded representations that better capture user intent and improve dataset diversity, thereby enriching the fine-tuning process for embedding models. Second, we apply summary extraction techniques to encode essential contextual information, refining the representation of technical documents. To further enhance retrieval performance, we fine-tune a bi-encoder BERT model using soft prompting, incorporating separate learning parameters for queries and document context to capture fine-grained semantic nuances. We evaluate our approach on two public datasets, RAG-EDA and Rust-Docs-QA, demonstrating that Technical-Embeddings significantly outperforms baseline models in both precision and recall. Our findings highlight the effectiveness of integrating query expansion and contextual summarization to enhance information access and comprehension in technical domains. This work advances the state of Retrieval-Augmented Generation (RAG) systems, offering new avenues for efficient and accurate technical document retrieval in engineering and product development workflows.
format Preprint
id arxiv_https___arxiv_org_abs_2509_04139
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Enhancing Technical Documents Retrieval for RAG
Lai, Songjiang
Cheung, Tsun-Hin
Fung, Ka-Chun
Xue, Kaiwen
Lin, Kwan-Ho
Choi, Yan-Ming
Ng, Vincent
Lam, Kin-Man
Information Retrieval
Artificial Intelligence
In this paper, we introduce Technical-Embeddings, a novel framework designed to optimize semantic retrieval in technical documentation, with applications in both hardware and software development. Our approach addresses the challenges of understanding and retrieving complex technical content by leveraging the capabilities of Large Language Models (LLMs). First, we enhance user queries by generating expanded representations that better capture user intent and improve dataset diversity, thereby enriching the fine-tuning process for embedding models. Second, we apply summary extraction techniques to encode essential contextual information, refining the representation of technical documents. To further enhance retrieval performance, we fine-tune a bi-encoder BERT model using soft prompting, incorporating separate learning parameters for queries and document context to capture fine-grained semantic nuances. We evaluate our approach on two public datasets, RAG-EDA and Rust-Docs-QA, demonstrating that Technical-Embeddings significantly outperforms baseline models in both precision and recall. Our findings highlight the effectiveness of integrating query expansion and contextual summarization to enhance information access and comprehension in technical domains. This work advances the state of Retrieval-Augmented Generation (RAG) systems, offering new avenues for efficient and accurate technical document retrieval in engineering and product development workflows.
title Enhancing Technical Documents Retrieval for RAG
topic Information Retrieval
Artificial Intelligence
url https://arxiv.org/abs/2509.04139