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

用于密集检索的布尔感知注意力

Boolean-aware Attention for Dense Retrieval

University of Arkansas(阿肯色大学)

Quan Mai, Susan Gauch, Douglas Adams

AI总结:

提出布尔感知注意力机制,通过专门的布尔专家和门控机制动态调整 token 焦点,结合 BERT 显著提升了密集检索中布尔查询的处理能力。

摘要:

我们提出了布尔感知注意力,这是一种基于布尔运算符(如 and、or、not)动态调整 token 焦点的新型注意力机制。该模型采用专门的布尔专家,每个专家旨在放大或抑制特定运算符上下文的注意力。预定义的门控机制根据检测到的布尔类型激活相应的专家。在布尔检索数据集上的实验表明,将 BoolAttn 与 BERT 结合,极大增强了模型处理布尔查询的能力。

英文摘要:

We present Boolean-aware attention, a novel attention mechanism that dynamically adjusts token focus based on Boolean operators (e.g., and, or, not). Our model employs specialized Boolean experts, each tailored to amplify or suppress attention for operator-specific contexts. A predefined gating mechanism activates the corresponding experts based on the detected Boolean type. Experiments on Boolean retrieval datasets demonstrate that integrating BoolAttn with BERT greatly enhances the model's capability to process Boolean queries.

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

↑