This paper, titled "Constructing Set-Compositional and Negated Representations for First-Stage Ranking," comes from researchers at the University of Amsterdam. It tackles a fundamental weakness in modern search engines: their inability to handle complex, logical queries like "Books about French monarchs but not Napoleon."
TL;DR
The authors propose a zero-shot framework that uses linear algebra to combine sparse query representations for complex logical operations (AND, OR, NOT). They demonstrate that "disentangling" negated terms and allowing retrievers to use negative weights significantly improves ranking performance for complex information needs without requiring massive new training datasets.
What Problem Does This Paper Address?
Modern Information Retrieval (IR) has seen a massive shift toward Neural IR, using models like Dense Retrievers (DR) and Learned Sparse Retrievers (LSR). However, these models are typically trained on simple, ad-hoc datasets (like MSMarco) that lack logical complexity.
When a user provides a query with set-compositional constraints—such as intersections (AND), unions (OR), or negations (NOT)—standard retrievers often fail. A major challenge is the "first-stage ranking" constraint: queries and documents must be encoded independently into vectors before matching. This makes it incredibly difficult to represent the relationship between a positive constraint ("French monarchs") and a negative one ("not Napoleon") within a single vector without the two parts interfering with each other.
Methods
The researchers introduce two primary approaches to solve this:
- Zero-Shot Linear Algebra Operations (LAO): Instead of retraining models, they perform mathematical operations on the sparse vectors produced by LSR models (like SPLADE).
- Disentangled Negation: Traditional vector subtraction can accidentally "push away" the positive parts of a query. The authors propose a method that only penalizes dimensions (terms) present in the negated part of the query that do not overlap with the positive part.
- Combined Pseudo-Terms (CPT): To handle intersections (AND), they use an outer product of query vectors to create "pseudo-terms" that represent the joint occurrence of words (e.g.,
Colombia$\cap$Venezuela), expanding the representation space to capture term co-occurrence. - Architectural Modification (SNReLU): Standard LSR models only use positive term weights. The authors introduce a new activation function, SNReLU (Symmetrical-odd ReLU), which allows the model to assign negative weights. This enables the retriever to explicitly penalize documents that contain negated terms.
Datasets
The study utilizes two main benchmarks:
- QUEST: An entity retrieval dataset containing queries with explicit set operations. The authors identified a data leakage issue in the original QUEST split and introduced a more rigorous "domain split" (e.g., training on "Films" and "Books," testing on "Plants" and "Animals") to ensure the models weren't just memorizing associations.
- NevIR: A benchmark specifically designed to evaluate negation in neural IR using synthetic counterfactual pairs.
Key Insights and Ideas
- Lexical Grounding is a Superpower: Sparse retrievers (LSR) are uniquely suited for logical operations because their vector dimensions are tied to specific vocabulary terms. This "disentanglement" allows for much more precise manipulation than the "black box" dimensions of dense vectors.
- Intersection is the Hardest Nut to Crack: While models can learn to handle negation relatively well, they struggle significantly with intersections (AND). The authors found that even dense retrievers fail to capture the joint necessity of multiple terms under domain shift.
- The Necessity of Negative Weights: Traditional sparse retrievers are "handicapped" by only being able to see what is present. By allowing negative weights, the model gains the ability to "veto" documents, which is essential for handling negations effectively.
Key Results
- Zero-Shot Success: On the QUEST dataset for Set Difference (negation), the Disentangled Negation method improved NDCG@10 from 0.132 (vanilla) to 0.258, outperforming even some fine-tuned models.
- CPT Performance: The Combined Pseudo-Term approach for intersections improved NDCG@10 from 0.063 to 0.080, showing that expanding the vocabulary space is a viable path for handling "AND" logic.
- Negative Weights Impact: On the NevIR negation benchmark, allowing negative weights via the SNReLU activation nearly doubled the pairwise accuracy of the SPLADE model, moving it from 23.07% to 42.73% (approaching the theoretical maximum for that task).
Limitations and Future Work
The authors acknowledge that while their zero-shot methods are powerful, learning negative weights from scratch requires more data than is currently available in specialized benchmarks like QUEST. Furthermore, the Combined Pseudo-Terms approach, while effective, increases the complexity of the inverted index.
Future directions suggested include:
- Exploring late-interaction models (like ColBERT) which might offer more expressive representations for compositionality.
- Using LLMs for query decomposition to automatically break complex queries into atomic parts before applying LAO.
- Developing better pre-training strategies to help models learn "negative relevance" in data-scarce environments.
Summary updated