Manuscript Offprint

arXiv:2608.30130

E-SENS: Exclusion-Sensitive Penalization for Negative-Constraint Retrieval

Yerang Kim, Jiyoon Myung, Joohyung Han

Abstract

Retrieval-augmented language models can fail to respect negative constraints when the retriever supplies evidence about concepts the user explicitly excluded. Beyond explicit negation, queries may ask for answers that include one concept while excluding another, or for entities that belong to a category but differ from a closely related instance. Because the excluded concept still appears in the query text, dense retrievers may assign high similarity to documents about that concept even when the user asks to avoid it. We introduce E-SENS, a training-free reranking method for negation-sensitive retrieval. E-SENS extracts a compact trap query for the excluded side and subtracts trap-query similarity from the original-query retrieval score. On ExcluIR, E-SENS shows a clear recall–violation trade-off across four embedding models and reduces trap retrieval at recall-preserving settings.

1 Introduction

Users often express information needs by specifying not only what should be retrieved, but also what should be avoided. A query may ask for documents about one topic while excluding a related entity, or for items that belong to a category but differ from a particular instance. For example, “training methods for language models, excluding reinforcement learning” asks the retriever to preserve the broad topic while avoiding a specific, highly related training paradigm. In retrieval-augmented generation, returning such excluded material can place constraint-violating evidence directly into the generator context. This creates an evidence-selection failure: the retriever supplies material that is topically similar to the request but invalid under the user’s exclusion constraint.

This setting is difficult for dense retrieval because the excluded concept is both salient and present in the query. The retriever may assign

high similarity to a document precisely because it matches the term the user asked to avoid, reflecting the lexical and semantic signals retained in dense representations (Ram et al., 2023). The core issue is not merely that the query contains negation, but that standard retrievers treat included and excluded terms as undifferentiated semantic evidence. Negative queries with exclusion constraints therefore require a distinction between inclusion and exclusion semantics that standard retrievers often do not encode reliably (Lee et al., 2026).

Recent benchmarks and systems study this weakness across minimally different negated pairs, realistic exclusion queries, and negative-constraint retrieval (Weller et al., 2024; Zhang et al., 2025a; Xu et al., 2025). We ask whether an existing retriever can better respect exclusion constraints at inference time, without retraining.

We propose E-SENS, a training-free reranking method that penalizes excluded intent in negative queries with exclusion constraints. Given a negative query, a large language model produces two short rewrites: a target query for what should be retrieved and a trap query for the excluded intent. E-SENS penalizes documents similar to the trap intent; retrieval of the excluded-side document is treated as a violation.

Our contributions are as follows.

  • We introduce E-SENS, a training-free excluded-intent penalty that changes only inference-time scores and requires no retriever retraining.
  • We formulate exclusion-aware evidence retrieval as a recall–violation trade-off, where systems must retrieve relevant evidence while avoiding evidence the user intended to exclude.
  • We analyze when document-level trap penalties succeed or fail, identifying cases where

relevant documents contain incidental trap evidence or lie close to trap documents in embedding space.

References (8)