60
1

Boolean-aware Attention for Dense Retrieval

Abstract

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.

View on arXiv
@article{mai2025_2503.01753,
  title={ Boolean-aware Attention for Dense Retrieval },
  author={ Quan Mai and Susan Gauch and Douglas Adams },
  journal={arXiv preprint arXiv:2503.01753},
  year={ 2025 }
}
Comments on this paper

We use cookies and other tracking technologies to improve your browsing experience on our website, to show you personalized content and targeted ads, to analyze our website traffic, and to understand where our visitors are coming from. See our policy.