Papers
Topics
Authors
Recent
Search
2000 character limit reached

Principled and Scalable Diversity-Aware Retrieval via Cardinality-Constrained Binary Quadratic Programming

Published 2 Apr 2026 in cs.CL and cs.IR | (2604.02554v1)

Abstract: Diversity-aware retrieval is essential for Retrieval-Augmented Generation (RAG), yet existing methods lack theoretical guarantees and face scalability issues as the number of retrieved passages $k$ increases. We propose a principled formulation of diversity retrieval as a cardinality-constrained binary quadratic programming (CCBQP), which explicitly balances relevance and semantic diversity through an interpretable trade-off parameter. Inspired by recent advances in combinatorial optimization, we develop a non-convex tight continuous relaxation and a Frank--Wolfe based algorithm with landscape analysis and convergence guarantees. Extensive experiments demonstrate that our method consistently dominates baselines on the relevance-diversity Pareto frontier, while achieving significant speedup.

Summary

  • The paper introduces a principled CCBQP framework that optimizes passage relevance and semantic diversity using an interpretable trade-off parameter.
  • It leverages a tight non-convex relaxation and a specialized Frank–Wolfe algorithm to achieve scalable, efficient retrieval with exact convergence.
  • Empirical evaluations show superior recall-diversity trade-offs and up to 22.9× speedups over traditional methods in large-scale retrieval scenarios.

Principled and Scalable Diversity-Aware Retrieval via CCBQP: An Expert Analysis

Motivation and Problem Statement

Retrieval-Augmented Generation (RAG) fundamentally relies on the quality of retrieved passages to ground LLMs in external knowledge, eliminating hallucinations and boosting factuality. However, standard top-kk retrieval frequently results in redundant, semantically overlapping passages due to corpus-level duplications, constraining the effective utilization of LLM context and undermining coverage across multifaceted queries. Existing diversity-aware retrieval techniques, notably Maximal Marginal Relevance (MMR) and Determinantal Point Processes (DPP), struggle with theoretical guarantees and scalability: MMR lacks formal approximation guarantees for non-monotone objectives and scales linearly in kk, while DPP suffers from both computational intractability (NP-hard MAP inference) and uninterpretability of the relevance-diversity trade-off parameter.

This paper introduces a rigorous formulation for diversity-aware retrieval as a cardinality-constrained binary quadratic programming (CCBQP), explicitly optimizing relevance and semantic diversity with an interpretable trade-off parameter, and overcomes both scalability and theoretical limitations through a tight non-convex relaxation solved efficiently via a specialized Frank--Wolfe algorithm.

Formal Framework and Theoretical Guarantees

The proposed formalization selects kk passages maximizing a combined objective: passage relevance to the query and semantic diversity, where diversity is quantified by negative pairwise cosine similarity in embedding space. The crucial trade-off is controlled by parameter θ\theta, with proper scaling for both terms, ensuring θ\theta meaningfully interpolates between relevance and diversity across different kk.

The authors leverage a non-convex continuous relaxation of the CCBQP, showing tightness of relaxation (integral solutions coincide with the binary optimum for λ2\lambda \geq 2) under realistic embedding assumptions. Gradient-based optimization benefits from favorable landscape properties: all stationary points are either integral maximizers or strict saddles with positive curvature, enabling algorithms to escape suboptimal regions efficiently.

Moreover, as λ\lambda increases, the space of local maximizers monotonically expands, potentially introducing spurious optima but preserving original maximizers—thus, the authors adopt λ=2\lambda=2 as a balance.

Optimization Algorithmic Innovations

The tailored Frank--Wolfe algorithm incorporates several key enhancements:

  • Exact Line Search: By leveraging the quadratic structure, the optimal step size for each iteration can be solved in closed form (γ\gamma maximizing a parabola), bypassing the convergence bottlenecks due to high Lipschitz constants caused by clustered embeddings.
  • Sparse GEMV Acceleration: Computations involving matrix-vector products are reduced via sparsity exploitation, dropping complexity from kk0 to kk1. This is crucial for large candidate pools and enables sublinear scaling in kk2.
  • Local Exact Convergence: The algorithm rapidly converges to discrete maximizers without the need for rounding, a direct consequence of landscape guarantee.
  • Complexity Analysis: Per-iteration complexity is kk3 but exhibits practical sublinear scaling in kk4, significantly outperforming extant greedy methods.

Empirical Evaluation: Retrieval and Generation

Retrieval Quality and Efficiency

Experiments on ASQA and QAMPARI with candidate pool sizes kk5 million evaluate Recall@kk6 and Intra-List Average Distance (ILAD) as metrics for relevance and diversity, respectively. The trade-off parameter kk7 is systematically varied. The method consistently dominates baselines (MMR, DPP) on the relevance-diversity Pareto frontier, avoiding local sacrifices of recall typical in greedy methods and achieving significant speedups—up to kk8 faster than MMR for large kk9.

At moderate kk0 (practically relevant for RAG), the proposed method achieves superior recall-diversity balance at reduced latency. For high kk1, all methods revert to standard top-kk2 retrieval, but the Frank--Wolfe algorithm remains much more efficient. Figure 1

Figure 1

Figure 1

Figure 1

Figure 1

Figure 1

Figure 1: Pareto frontier and computational latency for ASQA (kk3), highlighting the superior relevance-diversity trade-off and sublinear scaling in kk4.

Generation Quality

End-to-end generation experiments emphasize the downstream performance on QAMPARI, using Llama-3.1-8B-Instruct as the reader LLM. Passage diversity, when promoted judiciously (kk5–kk6), yields modest but consistent improvements in F1 over standard top-kk7 retrieval. Excessive diversity (kk8) can degrade performance due to displacement of relevant evidence, especially in corpora with inherently low redundancy (e.g., Wikipedia).

Increasing retrieval size kk9 increases recall but reduces precision, suggesting noise-induced information overload for the reader LLM. Generation results for ASQA show comparable trends: diversity-aware retrieval robustly improves recall at practical θ\theta0, while retaining algorithmic scalability and hyperparameter robustness.

Practical and Theoretical Implications

The introduced CCBQP framework provides a principled foundation for diversity-aware retrieval, supporting interpretable and rigorous control of relevance-diversity balance, and establishing an efficient optimization regime in real-world RAG settings. The scalability makes it highly amenable to extended context windows in modern LLMs, enabling retrieval of large, diverse passage sets without inferential bottlenecks.

From a theoretical standpoint, the tight relaxation and benign optimization landscape advance the tractability for NP-hard subset selection problems involving relevance-diversity trade-offs, and demonstrate that non-convex methods can yield exact solutions with appropriately structured objectives.

Future research directions include:

  • Evaluation on High-Redundancy Corpora: To fully exploit diversity-aware retrieval, more redundant datasets must be assessed.
  • Larger Model Deployment: Extending experiments to larger LLMs may uncover novel behaviors and further validate scalability.
  • Dynamic Trade-off Optimization: Joint optimization of θ\theta1 in context-dependent settings, as supported by recent theoretical results.
  • Integration with Advanced RAG Pipelines: Combining the framework with rerankers or hierarchical evidence selection modules.

Conclusion

This work establishes a rigorous, scalable, and interpretable framework for diversity-aware retrieval under the RAG paradigm, addressing key theoretical and computational deficiencies of prior methods. The tight continuous relaxation, specialized Frank--Wolfe algorithm, and extensive empirical validation demonstrate both robust Pareto frontier quality and exceptional efficiency. These results position CCBQP-based retrieval as a foundational tool for advanced knowledge-intensive NLP systems, facilitating context expansion and diversity-controlled generation in next-generation LLM architectures.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We found no open problems mentioned in this paper.

Collections

Sign up for free to add this paper to one or more collections.