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

基于测试时LLM引导的任务自适应嵌入细化

Task-Adaptive Embedding Refinement via Test-time LLM Guidance

IBM Research(IBM研究院)

Ariel Gera, Shir Ashury-Tahan, Gal Bloch, Ohad Eytan, Assaf Toledo

AI总结:

本文提出利用LLM反馈优化查询嵌入表示,提升零样本搜索和分类任务的性能,实验表明在多个基准上提升达25%。

摘要:

我们探索了通过生成式LLM反馈进行查询细化的效用,以扩展嵌入模型在挑战性零样本搜索和分类任务中的实用性。我们的方法利用少量文档的LLM反馈来优化用户查询的嵌入表示,使嵌入能够实时适应目标任务。我们对最先进的文本嵌入模型在多样化的挑战性搜索和分类基准上进行了广泛实验。实验证明,LLM引导的查询细化在所有模型和数据集上均取得一致提升,文献搜索、意图检测、关键点匹配和细微查询指令遵循的相对提升最高可达+25%。细化查询提高了排序质量,并在语料库中诱导更清晰的二分类,使嵌入空间能更好地反映每个特定用户查询的细微约束。重要的是,这扩展了嵌入模型在实际应用中的部署范围,使其在成本高昂的LLM流水线不可行时成为有吸引力的替代方案。我们发布了实验代码以供复现,网址为https://github.com/IBM/task-aware-embedding-refinement。

英文摘要:

We explore the effectiveness of an LLM-guided query refinement paradigm for extending the usability of embedding models to challenging zero-shot search and classification tasks. Our approach refines the embedding representation of a user query using feedback from a generative LLM on a small set of documents, enabling embeddings to adapt in real time to the target task. We conduct extensive experiments with state-of-the-art text embedding models across a diverse set of challenging search and classification benchmarks. Empirical results indicate that LLM-guided query refinement yields consistent gains across all models and datasets, with relative improvements of up to +25% in literature search, intent detection, key-point matching, and nuanced query-instruction following. The refined queries improve ranking quality and induce clearer binary separation across the corpus, enabling the embedding space to better reflect the nuanced, task-specific constraints of each ad-hoc user query. Importantly, this expands the range of practical settings in which embedding models can be effectively deployed, making them a compelling alternative when costly LLM pipelines are not viable at corpus-scale. We release our experimental code for reproducibility, at https://github.com/IBM/task-aware-embedding-refinement.

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

↑