arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2511.22240cs.IRcs.AI
收藏

评估嵌入模型与管道优化以提高AI搜索质量

Evaluating Embedding Models and Pipeline Optimization for AI Search Quality

Cisco Systems, Inc.(思科系统公司)

Philip Zhong, Kent Chen, Don Wang

AI总结:

本文评估了不同嵌入模型和管道配置对AI搜索质量的影响,发现高维嵌入和神经重新排序器能显著提升检索准确性。

摘要:

我们评估了各种文本嵌入模型和管道配置在AI驱动的搜索系统中的性能。我们比较了sentence-transformer和生成嵌入模型(如All-MPNet、BGE、GTE和Qwen)在不同维度、索引方法(Milvus HNSW/IVF)和分块策略下的表现。一个自定义的评估数据集包含11,975个查询-分块对,该数据集是通过本地大型语言模型(LLM)从美国市议会会议记录中合成的。数据管道包括预处理、每个分块自动问题生成、人工验证以及持续集成/持续部署(CI/CD)集成。我们使用基于参考的指标测量检索准确性:Top-K准确性以及归一化折扣累积增益(NDCG)。我们的结果表明,更高维度的嵌入显著提高了搜索质量(例如,Qwen3-Embedding-8B/4096在Top-3准确性上达到约0.571,而GTE-large/1024为0.412),并且神经重新排序器(如BGE交叉编码器)进一步提高了排名准确性(Top-3最高达到0.527)。更细粒度的分块(512个字符与2000个字符)也提高了准确性。我们讨论了这些因素的影响,并概述了未来管道自动化和评估的方向。

英文摘要:

We evaluate the performance of various text embedding models and pipeline configurations for AI-driven search systems. We compare sentence-transformer and generative embedding models (e.g., All-MPNet, BGE, GTE, and Qwen) at different dimensions, indexing methods (Milvus HNSW/IVF), and chunking strategies. A custom evaluation dataset of 11,975 query-chunk pairs was synthesized from US City Council meeting transcripts using a local large language model (LLM). The data pipeline includes preprocessing, automated question generation per chunk, manual validation, and continuous integration/continuous deployment (CI/CD) integration. We measure retrieval accuracy using reference-based metrics: Top-K Accuracy and Normalized Discounted Cumulative Gain (NDCG). Our results demonstrate that higher-dimensional embeddings significantly boost search quality (e.g., Qwen3-Embedding-8B/4096 achieves Top-3 accuracy about 0.571 versus 0.412 for GTE-large/1024), and that neural re-rankers (e.g., a BGE cross-encoder) further improve ranking accuracy (Top-3 up to 0.527). Finer-grained chunking (512 characters versus 2000 characters) also improves accuracy. We discuss the impact of these factors and outline future directions for pipeline automation and evaluation.

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

↑