arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.20434cs.CL
收藏

QAEncoder:面向问答系统中对齐表示学习的研究

QAEncoder: Towards Aligned Representation Learning in Question Answering Systems

Peking University(北京大学);Institute for Advanced Algorithms Research(高级算法研究所);Zhongguancun Academy(中关村学院)

Zhengren Wang, Qinhan Yu, Shida Wei, Zhiyu Li, Feiyu Xiong, Xiaoxing Wang, Simin Niu, Hao Liang, Wentao Zhang

AI总结:

QAEncoder提出一种无需训练的方法,通过在嵌入空间估计潜在查询期望并附加文档指纹,弥合问答系统中查询与文档的差距,实现零额外成本的对齐表示学习。

摘要:

现代问答系统依赖检索增强生成(RAG)来获得准确且可信的回答。然而,用户查询与相关文档之间固有的差距阻碍了精确匹配。我们提出了QAEncoder,一种无需训练的方法来弥合这一差距。具体而言,QAEncoder在嵌入空间中估计潜在查询的期望,作为文档嵌入的鲁棒替代,并附加文档指纹以有效区分这些嵌入。在多样化数据集、语言和嵌入模型上的大量实验证实了QAEncoder的对齐能力,该方案简单而有效,且无需额外的索引存储、检索延迟、训练成本,也不会带来灾难性遗忘和幻觉问题。代码仓库公开于 https://github.com/IAAR-Shanghai/QAEncoder。

英文摘要:

Modern QA systems entail retrieval-augmented generation (RAG) for accurate and trustworthy responses. However, the inherent gap between user queries and relevant documents hinders precise matching. We introduce QAEncoder, a training-free approach to bridge this gap. Specifically, QAEncoder estimates the expectation of potential queries in the embedding space as a robust surrogate for the document embedding, and attaches document fingerprints to effectively distinguish these embeddings. Extensive experiments across diverse datasets, languages, and embedding models confirmed QAEncoder's alignment capability, which offers a simple-yet-effective solution with zero additional index storage, retrieval latency, training costs, or catastrophic forgetting and hallucination issues. The repository is publicly available at https://github.com/IAAR-Shanghai/QAEncoder.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑