advanced rag-information-theory 33 min read

Context Selection: Submodular Coverage, MMR, and Determinantal Point Processes

Once retrieval returns more candidate passages than the window can hold, which subset do you keep? Ranking by relevance packs the context with near-duplicates that each add almost nothing — the diminishing returns PMI measured in bits — so the right objective is monotone submodular coverage, for which greedy is provably within 1−1/e of the optimum (Nemhauser–Wolsey–Fisher), while MMR trades relevance against redundancy as a popular heuristic with no such guarantee, and a determinantal point process makes diversity a probability P(S) ∝ det(L_S), the squared volume of the selected feature vectors, so two near-duplicates span a flat parallelepiped and are almost never drawn together — and at a fixed budget every one of these diversity-aware rules beats plain top-k on the answer it ultimately produces.

From “how much to read” to “what to choose”

The previous topic ended with a verdict and an unfinished sentence. The verdict: a bigger context window does not relax the retrieval problem, it sharpens it — answer quality peaks at the smallest context that carries the answer and declines as you stuff the window, because the extra passages are redundant at best and same-sector distractors at worst. The unfinished sentence: the right response is not a larger window but a better-chosen one, and “the discipline of choosing that handful is what the rest of the layer is about.”

This is that discipline. Retrieval hands us a ranked list of candidate passages, more than the budget can hold; we must pick a subset SS of size kk. The naive rule is top-kk by relevance, and we already know its failure mode: the highest-scoring passages of a confusable company are near-copies of one another, so top-kk spends its budget re-reading the same fact. We want instead a subset that covers what the query needs — relevant, but also spread out, with little redundancy. The good news is that this is not a vague design preference. It is a clean optimization problem with a real approximation theorem, and the honest accounting of which popular methods earn that theorem and which do not is most of what this topic is.

We will formalize three answers — submodular coverage, the MMR heuristic, and determinantal diversity — on the same finance geometry the rest of the arc used, and read each through the imported answer model so the numbers chain. The thread that ties them together is the property we have been circling since PMI measured it in bits: diminishing returns.

Diminishing returns, formalized

Let V={1,,n}V = \{1, \dots, n\} be the candidate pool returned by retrieval, with unit-vector embeddings d1,,dnd_1, \dots, d_n, and let f:2VRf : 2^V \to \mathbb{R} score any subset by how well it serves the query. Two properties make ff tractable.

Definition 1 (Monotone submodular set functions).

The marginal gain of adding an element eAe \notin A to a set AA is

Δf(eA)  =  f(A{e})f(A).\Delta_f(e \mid A) \;=\; f(A \cup \{e\}) - f(A).

ff is normalized if f()=0f(\varnothing) = 0, monotone (nondecreasing) if ABf(A)f(B)A \subseteq B \Rightarrow f(A) \le f(B), and submodular if for all ABVA \subseteq B \subseteq V and all eVBe \in V \setminus B,

Δf(eA)    Δf(eB).\Delta_f(e \mid A) \;\ge\; \Delta_f(e \mid B).

Submodularity is exactly diminishing returns: adding ee to a smaller set helps at least as much as adding it to a larger one. (Equivalently, f(S)+f(T)f(ST)+f(ST)f(S) + f(T) \ge f(S \cup T) + f(S \cap T) for all S,TS, T.)

This is not a new phenomenon for us; it is a name for one we measured. The PMI topic showed that a second, identical filing moves the answer belief almost not at all — far less than the first filing, and far less than a genuinely novel one. Read that as a set function: the marginal value of the redundant passage, added to a set that already contains its twin, is tiny. Submodularity is that inequality holding for every pair of nested sets at once. Panel A of the lab plots the marginal gains of greedy selection and watches them shrink — the discrete signature of a submodular objective.

Coverage as a covering: the facility-location objective

We need a concrete ff that rewards covering the pool rather than re-reading one corner of it.

Definition 2 (Facility-location coverage).

With a nonnegative similarity sim(i,j)0\operatorname{sim}(i, j) \ge 0 between candidates (we use the clipped cosine max(0,di,dj)\max(0, \langle d_i, d_j\rangle)) and nonnegative item weights wi0w_i \ge 0, the facility-location coverage of a selection SVS \subseteq V is

f(S)  =  iVwimaxjSsim(i,j),f()=0  (max:=0).f(S) \;=\; \sum_{i \in V} w_i \, \max_{j \in S} \operatorname{sim}(i, j), \qquad f(\varnothing) = 0 \ \ \big(\textstyle\max_{\varnothing} := 0\big).

Each candidate ii in the pool is “covered” by its single closest representative in SS; the objective rewards a set that has, for every candidate the query weights, some close member. It is the Lin–Bilmes summarization objective and the classical facility-location function.

The geometric reading is the whole point: f(S)f(S) asks how well the chosen handful stands in for the whole pool. Two near-duplicates both close to one region cover it about as well as either alone — so the second adds little, which is precisely the diminishing returns we are after. The sim0\operatorname{sim} \ge 0 convention is load-bearing, and we will see in the proof exactly where.

Theorem 1 (Facility-location coverage is monotone submodular).

With sim0\operatorname{sim} \ge 0 and wi0w_i \ge 0, ff is normalized, monotone nondecreasing, and submodular.

Proof. Normalization is the convention max=0\max_\varnothing = 0. For monotonicity, fix a candidate ii; if ABA \subseteq B then maxjAsim(i,j)maxjBsim(i,j)\max_{j \in A} \operatorname{sim}(i, j) \le \max_{j \in B} \operatorname{sim}(i, j) because the maximum is taken over a superset. Multiplying by wi0w_i \ge 0 and summing over ii gives f(A)f(B)f(A) \le f(B).

For submodularity it suffices to prove each summand gi(S):=maxjSsim(i,j)g_i(S) := \max_{j \in S} \operatorname{sim}(i, j) is submodular, since a nonnegative combination of submodular functions is submodular. Fix ii and write sj:=sim(i,j)0s_j := \operatorname{sim}(i, j) \ge 0. Let ABA \subseteq B and eBe \notin B, and set a=maxjAsja = \max_{j \in A} s_j and b=maxjBsjb = \max_{j \in B} s_j, so aba \le b. The marginal gain of adding ee to a set whose current best similarity is mm is

max(m,se)m  =  (sem)+,(x)+:=max(x,0).\max(m, s_e) - m \;=\; (s_e - m)^{+}, \qquad (x)^{+} := \max(x, 0).

Hence Δgi(eA)=(sea)+\Delta g_i(e \mid A) = (s_e - a)^{+} and Δgi(eB)=(seb)+\Delta g_i(e \mid B) = (s_e - b)^{+}. Because t(set)+t \mapsto (s_e - t)^{+} is nonincreasing in tt and aba \le b, we get (sea)+(seb)+(s_e - a)^{+} \ge (s_e - b)^{+}, i.e. Δgi(eA)Δgi(eB)\Delta g_i(e \mid A) \ge \Delta g_i(e \mid B). Summing the submodular wigiw_i g_i over ii proves ff submodular. \blacksquare

The engine is the hinge t(set)+t \mapsto (s_e - t)^{+}: once a candidate is well covered (large incumbent best match bb), there is less room for a new near-duplicate to improve its coverage. That is diminishing returns made geometric. (The nonnegativity of sim\operatorname{sim} is what makes max=0\max_\varnothing = 0 consistent with monotonicity and keeps the hinge argument clean; a signed cosine would break both.)

The greedy guarantee

Maximizing f(S)f(S) subject to Sk|S| \le k is NP-hard. But a one-line algorithm does remarkably well.

Algorithm 1 (Greedy selection under a budget).

Start with S0=S_0 = \varnothing. For t=0,1,,k1t = 0, 1, \dots, k-1, add the element of largest marginal gain,

et+1argmaxeVStΔf(eSt),St+1=St{et+1},e_{t+1} \in \arg\max_{e \in V \setminus S_t} \Delta_f(e \mid S_t), \qquad S_{t+1} = S_t \cup \{e_{t+1}\},

and return Sgreedy=SkS_{\text{greedy}} = S_k. (Minoux’s lazy-greedy keeps a priority queue of stale marginal gains; since submodularity guarantees gains only shrink, most are never recomputed — the same output, far faster. The notebook checks the lazy and standard selections are identical.)

Theorem 2 (Nemhauser–Wolsey–Fisher: greedy is a (1−1/e)-approximation).

Let ff be monotone, submodular, and normalized, and let OPT=maxSkf(S)\mathrm{OPT} = \max_{|S| \le k} f(S) with maximizer SS^\star. Then

f(Sgreedy)    (1(11k)k)OPT    (11e)OPT    0.632OPT.f(S_{\text{greedy}}) \;\ge\; \Big(1 - \big(1 - \tfrac{1}{k}\big)^{k}\Big)\,\mathrm{OPT} \;\ge\; \big(1 - \tfrac{1}{e}\big)\,\mathrm{OPT} \;\approx\; 0.632\,\mathrm{OPT}.

Proof. Fix iteration tt with current set StS_t, and order the optimum as S={o1,,om}S^\star = \{o_1, \dots, o_m\} with mkm \le k. By monotonicity and the exact telescoping identity for marginal gains,

f(S)    f(SSt)  =  f(St)+j=1mΔf ⁣(ojSt{o1,,oj1}).f(S^\star) \;\le\; f(S^\star \cup S_t) \;=\; f(S_t) + \sum_{j=1}^{m} \Delta_f\!\big(o_j \,\big|\, S_t \cup \{o_1, \dots, o_{j-1}\}\big).

Each conditioning set contains StS_t, so submodularity bounds every term by its value at StS_t: Δf(ojSt{o1,,oj1})Δf(ojSt)\Delta_f(o_j \mid S_t \cup \{o_1,\dots,o_{j-1}\}) \le \Delta_f(o_j \mid S_t). And greedy takes the best available marginal, so Δf(ojSt)f(St+1)f(St)\Delta_f(o_j \mid S_t) \le f(S_{t+1}) - f(S_t) for every jj. With mkm \le k and nonnegative marginals,

f(S)    f(St)+k(f(St+1)f(St)),sof(St+1)f(St)    1k(OPTf(St)).f(S^\star) \;\le\; f(S_t) + k\,\big(f(S_{t+1}) - f(S_t)\big), \quad\text{so}\quad f(S_{t+1}) - f(S_t) \;\ge\; \tfrac{1}{k}\big(\mathrm{OPT} - f(S_t)\big).

Write the residual gap δt=OPTf(St)\delta_t = \mathrm{OPT} - f(S_t). The inequality says δt+1(11k)δt\delta_{t+1} \le (1 - \tfrac1k)\,\delta_t, so by induction from δ0=OPT\delta_0 = \mathrm{OPT},

δk    (11k)kOPT,f(Sgreedy)=OPTδk    (1(11k)k)OPT.\delta_k \;\le\; \big(1 - \tfrac1k\big)^{k}\,\mathrm{OPT}, \qquad f(S_{\text{greedy}}) = \mathrm{OPT} - \delta_k \;\ge\; \Big(1 - \big(1 - \tfrac1k\big)^{k}\Big)\,\mathrm{OPT}.

Finally (11k)k(1 - \tfrac1k)^k increases to e1e^{-1} from below, so 1(11k)k1e11 - (1-\tfrac1k)^k \ge 1 - e^{-1}. \blacksquare

Three remarks on what the proof uses and what it promises. Monotonicity enters twice — to write f(S)f(SSt)f(S^\star) \le f(S^\star \cup S_t) and to let the marginals stay nonnegative; submodularity enters in the single inequality bounding each optimum-element’s marginal by its value at StS_t; normalization sets δ0=OPT\delta_0 = \mathrm{OPT}. Remove monotonicity and the recurrence fails — this is exactly the door MMR walks through below. And the constant is not slack in the analysis: Feige (1998) showed that no polynomial algorithm beats 11/e1 - 1/e for max-coverage unless P=NP\mathrm{P} = \mathrm{NP}, and Nemhauser–Wolsey (1978) proved the same in the value-oracle model. So 0.6320.632 is the best a tractable method can promise.

0.02.44.8first pick covers 4.0123456789passages selected k▬ coverage f(Sₖ) · ▮ marginal gain Δₖ (diminishing)
coverage f(Sₖ)
4.364
marginal gain of this pick
+0.100
facility witness (submodular?)
0.00 ✓
info-gain witness
-0.71 ✗

Greedy coverage f(Sₖ) rises and flattens: each pick's marginal gain Δₖ is no larger than the one before — the diminishing returns that define a submodular set function, the same saturation PMI measured in bits. Facility-location coverage is submodular (witness ≈ 0.00); the answer-information gain we'd like to optimize is not (witness -0.71 < 0) — synergistic evidence breaks it — so coverage is the clean backbone that earns a theorem. (The cleanest counterexample: a synergistic pair where each observation alone is worth 0 bits yet together they are worth 1 bit — the marginal gain increases with conditioning, the opposite of diminishing returns.)

Finance vMF corpus reused from the dense-retrieval / long-context geometry: 16 query pools of 9 candidates each — 5 sector-generic near-duplicates (ambiguous between the gold company and its confusable peer, the highest relevance), one lower-relevance disambiguator near the gold prototype, and 3 distractors. The answer is read through the imported answer_posterior_topk (a synthetic softmax stand-in, not an LLM). MMR uses λ = 0.5. Numbers mirror context_selection_submodular_dpp.py; the lab recomputes only the marginal-gain differences and the (1−1/e) floor.

Panel B shows the guarantee with teeth. On a small constructed instance, greedy grabs the biggest set first and reaches 99 of the optimal 1212 — a real gap, the realized ratio 0.750.75 — yet it sits comfortably above the 0.632OPT0.632\,\mathrm{OPT} floor. (On the smooth finance pool greedy happens to reach the optimum; the bound is a worst-case promise, and the worst case is where it earns its keep.)

MMR: the heuristic that does not earn the theorem

The field’s standard diversity tool predates the submodular framing and is worth stating precisely, because its relationship to the theorem is the topic’s central honesty note.

Definition 3 (Maximal Marginal Relevance).

Maximal Marginal Relevance (Carbonell–Goldstein, 1998) selects sequentially: with SS the set chosen so far, it adds

dnextargmaxdS  [λrel(d,q)    (1λ)maxdSsim(d,d)],d^{\text{next}} \in \arg\max_{d \notin S}\; \Big[\, \lambda \, \operatorname{rel}(d, q) \;-\; (1 - \lambda) \max_{d' \in S} \operatorname{sim}(d, d') \,\Big],

trading the candidate’s relevance against its redundancy with the chosen set. At λ=1\lambda = 1 it is exactly top-kk; at λ=0\lambda = 0 it is pure dispersion.

Proposition 1 (MMR carries no (1−1/e) guarantee).

MMR is not covered by Theorem 2, for two distinct reasons that should both be stated plainly.

  1. It is not greedy on a fixed set function. The penalty maxdSsim(d,d)\max_{d' \in S} \operatorname{sim}(d, d') is computed against the evolving chosen set SS, not as the marginal gain Δf(dS)\Delta_f(d \mid S) of any single fixed ff. There is no objective whose greedy argmax equals MMR’s at every step, so a theorem about greedy on one monotone submodular ff simply does not apply.
  2. The closest fixed objective is submodular but non-monotone. The natural MMR-flavored set function, fMMR(S)=λdSrel(d,q)(1λ){d,d}Ssim(d,d)f_{\text{MMR}}(S) = \lambda \sum_{d \in S} \operatorname{rel}(d, q) - (1 - \lambda) \sum_{\{d, d'\} \subseteq S} \operatorname{sim}(d, d'), is submodular (a modular relevance term plus a negated supermodular pairwise term) but not monotone: adding a redundant passage to a large set can decrease it, as the new pairwise penalties outweigh its relevance. Monotonicity is exactly the hypothesis Theorem 2 requires.

Non-monotone submodular maximization has its own theory — double-greedy achieves 1/21/2 unconstrained (Buchbinder et al.) — but plain MMR is not that algorithm and inherits none of its bounds.

None of this makes MMR bad. It is cheap, effective, and the historical origin of diversity-aware selection; in the lab it lands between top-kk and the submodular methods. The point is only that its "11/e1-1/e" is folklore, not theorem. The clean monotone-submodular backbone for a provable guarantee is facility-location coverage — and, as we will now see, the log-determinant.

Diversity as volume: determinantal point processes

There is a second, probabilistic route to diversity, and its geometry is beautiful.

Definition 4 (Determinantal point processes and the volume geometry).

An L-ensemble DPP over VV with a positive semidefinite kernel LRn×nL \in \mathbb{R}^{n \times n} assigns to each subset SS

P(S)  =  det(LS)det(I+L),LS=[Lij]i,jS.\mathcal{P}(S) \;=\; \frac{\det(L_S)}{\det(I + L)}, \qquad L_S = [L_{ij}]_{i, j \in S}.

If Lij=ϕi,ϕjL_{ij} = \langle \phi_i, \phi_j \rangle is a Gram matrix of feature vectors, then

det(LS)  =  Vol2({ϕi}iS),\det(L_S) \;=\; \operatorname{Vol}^2\big(\{\phi_i\}_{i \in S}\big),

the squared volume of the parallelepiped the selected feature vectors span. Diversity is geometric: near-duplicate passages give near-collinear ϕ\phi‘s, a degenerate near-zero-volume solid, hence near-zero probability. A DPP structurally suppresses redundant subsets.

The kernel factors the trade-off cleanly. Write ϕi=qiψi\phi_i = q_i \, \psi_i with a relevance scalar qi>0q_i > 0 and a unit diversity feature ψi\psi_i, so L=diag(q)Sdiag(q)L = \operatorname{diag}(q)\, S\, \operatorname{diag}(q) with Sij=ψi,ψjS_{ij} = \langle \psi_i, \psi_j\rangle. Then, by multilinearity of the determinant in the rows and columns of diag(qS)\operatorname{diag}(q_S),

det(LS)  =  (iSqi2)det(SS)  =  iSqi2quality  ×  Vol2({ψi}iS)diversity.\det(L_S) \;=\; \Big(\prod_{i \in S} q_i^2\Big)\,\det(S_S) \;=\; \underbrace{\textstyle\prod_{i \in S} q_i^2}_{\text{quality}} \;\times\; \underbrace{\operatorname{Vol}^2(\{\psi_i\}_{i \in S})}_{\text{diversity}}.

This is the Kulesza–Taskar quality–diversity decomposition: the probability of a set rises with the relevance of its members and with how spread out they are. Panel C of the lab shows the geometry directly — the candidate pool in two dimensions, with each method’s selection highlighted, and the factorization det(LS)=q2×Vol2\det(L_S) = q^2 \times \operatorname{Vol}^2 read off a worked triple.

log det is submodular, so DPP MAP inherits the guarantee

Finding the most probable set — the DPP MAP — is the natural selection rule, and it connects straight back to Theorem 2.

Theorem 3 (log det(I + L_S) is monotone submodular).

For positive semidefinite LL, the function F(S)=logdet(I+LS)F(S) = \log \det(I + L_S) is normalized, monotone nondecreasing, and submodular.

Proof. Write the marginal gain of adding ee to SS. Let M=I+LSM = I + L_S (positive definite), let b=(Lie)iSb = (L_{ie})_{i \in S} be the cross-column and c=1+Leec = 1 + L_{ee}. The block-determinant (Schur-complement) identity gives

det(I+LS{e})=det ⁣(Mbbc)=det(M)(cbM1b),soΔF(eS)=log(cbM1b).\det(I + L_{S \cup \{e\}}) = \det\!\begin{pmatrix} M & b \\ b^\top & c \end{pmatrix} = \det(M)\,\big(c - b^\top M^{-1} b\big), \quad\text{so}\quad \Delta_F(e \mid S) = \log\big(c - b^\top M^{-1} b\big).

The quantity cbM1bc - b^\top M^{-1} b is the Schur complement of MM — in the Gaussian-process reading where LL is a covariance, it is the posterior variance of feature ee after conditioning on the features in SS. The +I+I shift is what makes this clean: the full block matrix is I+LS{e}II + L_{S \cup \{e\}} \succeq I, so its inverse is I\preceq I. The Schur complement cbM1bc - b^\top M^{-1} b is the reciprocal of the (e,e)(e,e) diagonal entry of that inverse, and since every diagonal entry of a matrix I\preceq I is at most 11, the Schur complement is 1\ge 1; hence ΔF(eS)0\Delta_F(e \mid S) \ge 0 and FF is monotone. For submodularity, the Schur complement is nonincreasing under additional conditioning — conditioning on more elements can only reduce posterior variance (the “information never hurts” fact for Gaussians, the Loewner-order monotonicity of the Schur complement of a larger principal block). So ABA \subseteq B gives Var(eA)Var(eB)\operatorname{Var}(e \mid A) \ge \operatorname{Var}(e \mid B), and since log\log is increasing, ΔF(eA)ΔF(eB)\Delta_F(e \mid A) \ge \Delta_F(e \mid B). \blacksquare

Because FF is monotone submodular and normalized, greedy maximization of logdet(I+LS)\log \det(I + L_S) under Sk|S| \le k inherits the (11/e)(1 - 1/e) guarantee of Theorem 2 — and that greedy is precisely fast greedy DPP MAP (Chen et al., 2018), each step a Schur-complement (Cholesky rank-one) update. The notebook reuses the same greedy maximizer for facility location and for logdet(I+LS)\log\det(I + L_S), differing only in the value oracle.

Corollary 1 (Certified diversity, with an honest boundary).

Greedy on logdet(I+LS)\log\det(I + L_S) returns a set within 11/e1 - 1/e of the optimum of that surrogate. The exact kk-DPP MAP — argmaxS=kdet(LS)\arg\max_{|S| = k} \det(L_S) — is NP-hard, so the certified object is the monotone surrogate, not the raw determinant. The +I+I regularization is also what keeps the objective finite when a near-duplicate makes LSL_S singular (raw logdet(LS)\log\det(L_S) \to -\infty). The notebook handles that singular case with a small ridge.

The objective we actually want, and why it is not submodular

Coverage and logdet\log\det are the clean backbones. But the objective most faithful to the rest of this layer is neither — it is the answer-information gain, and it does not behave.

Remark (Information gain is the honest hinge).

The objective we would like to maximize is

fIG(S)  =  I(A;DSQ)  =  H(AQ)H(AQ,DS),f_{\text{IG}}(S) \;=\; I(A; D_S \mid Q) \;=\; H(A \mid Q) - H(A \mid Q, D_S),

the multi-document generalization of the bits PMI measured. It is monotone and normalized. But mutual information of a set of observations with a target is not submodular in general. The cleanest counterexample is a synergistic pair: let A=D1D2A = D_1 \oplus D_2 with D1,D2D_1, D_2 independent fair bits. Each observation alone is useless — I(A;D1)=I(A;D2)=0I(A; D_1) = I(A; D_2) = 0 — yet together they determine AA, so I(A;D1,D2)=1I(A; D_1, D_2) = 1 bit. The marginal gain of D2D_2 therefore increases with conditioning,

Δ(D2)=0  <  Δ(D2{D1})=1,\Delta(D_2 \mid \varnothing) = 0 \;<\; \Delta(D_2 \mid \{D_1\}) = 1,

the opposite of diminishing returns. This is not only an abstract example: on our finance corpus the numerical submodularity witness for fIGf_{\text{IG}} is clearly negative (0.71\approx -0.71), while facility-location coverage’s is 0\approx 0. Submodularity of information gain holds only under structural assumptions, the cleanest being conditional independence of the observations given the target (Krause–Guestrin, 2005). So we optimize coverage — which is submodular and earns Theorem 2 — and treat information gain as the motivating-but-caveated quantity it is.

It is worth keeping the ledger explicit, because the differentiator of this topic is the honesty about it:

ObjectStatus
Facility-location coverage is monotone submodularTheorem (proved, Theorem 1)
Greedy gets 11/e1-1/e on monotone submodularTheorem (proved, Theorem 2)
logdet(I+LS)\log\det(I + L_S) is monotone submodular, so greedy DPP MAP gets 11/e1-1/eTheorem (proved, Theorem 3)
Exact kk-DPP MAPNP-hard (cited)
MMR has a 11/e1-1/e guaranteeFalse / folklore (Proposition 1)
Information gain I(A;DSQ)I(A; D_S \mid Q) is submodularConditional — only under conditional independence
Diverse selection beats top-kk at fixed kk on a redundant poolDemonstrated (run, pinned)

That last row is the payoff, and it is the reason any of this matters for an answer.

Proposition 2 (Diversity-aware selection beats top-k at a fixed budget (demonstrated)).

We build, for each query, a candidate pool with the redundancy structure that makes selection bite: a tight cluster of sector-generic near-duplicates that support the gold company and its confusable peer about equally — and carry the highest query relevance — plus a single, less-relevant disambiguating passage near the gold prototype, plus low-relevance distractors. Reading each method’s selection through the imported answer_posterior_topk under an equal attention budget, at budget k=3k = 3:

Qtop-k0.38  <  QMMR0.44  <  Qfacility0.54    QDPP0.55,Q_{\text{top-}k} \approx 0.38 \;<\; Q_{\text{MMR}} \approx 0.44 \;<\; Q_{\text{facility}} \approx 0.54 \;\approx\; Q_{\text{DPP}} \approx 0.55,

where Q=Eq[p(aq,S)]Q = \mathbb{E}_q\big[p(a^\star \mid q, S)\big] is the posterior mass on the true company. Top-kk spends all three slots inside the redundant cluster, where the generics support gold and peer equally, and leaves the answer split; coverage and DPP reach the disambiguator and resolve it. The notebook asserts the observed ordering and the seed-independent coverage contrast.

This is a demonstrated proposition, pinned to the run, not a universal law. The mechanism is the honest one: diversity helps not for its own sake but because the disambiguating evidence is less query-similar than the redundant cluster, so only a coverage- or quality-aware selector reaches it. On a pool with no redundancy, coverage and relevance coincide and the gap vanishes — the correct boundary condition. One caveat the lab makes visible: diversity raises the mass on the truth while spreading the remaining mass across more companies, so the answer entropy actually rises; quality here is mass-on-truth, not low entropy, and we do not claim the latter.

What context selection trades, in one line

At a fixed budget, choose for coverage and diversity, not relevance alone: the greedy choice is provably within 11/e1 - 1/e of optimal for the right (monotone submodular) objective, MMR is the cheap heuristic that does not earn that bound, a DPP makes diversity the squared volume of the selected vectors, and on a redundant pool every diversity-aware rule beats top-kk on the answer it produces — because top-kk re-reads the same fact while a covering set buys the disambiguating evidence.

Connections

  • PMI proved a redundant second filing adds almost no bits — the chain rule of mutual information, not a heuristic; this topic makes that the defining property of the selection objective: submodularity IS diminishing returns, the marginal coverage of a near-duplicate passage is near-zero, and the saturation it measured in bits is the same asymmetry the greedy marginal-gain curve plots, so the bits PMI counted are the coverage greedy declines to re-buy pmi-retrieval-value
  • the long-context topic showed answer quality Q(k) is flat over the redundant top-k set and declines as same-sector distractors dilute the budget, leaving a better-CHOSEN window as the open problem; this topic solves it — it imports the very answer_posterior_topk that produced that Q(k) and shows diversity-aware selection beats plain top-k on Q at the SAME budget, turning 'a bigger window is not better' into 'a better-spread window is' retrieval-vs-long-context
  • the noisy-channel topic spent bits read to buy down answer error and read the recall–precision point as rate–distortion; this topic chooses WHICH bits to read — the subset that maximizes coverage rather than recall — so selecting a high-coverage low-redundancy set is choosing the channel input that delivers the most distinct evidence per slot, the discrete face of that rate–distortion budgeting retriever-as-noisy-channel
  • chunking decides the granules retrieval can return; this topic decides which granules to keep, and the two interact — finer chunks raise candidate redundancy and make the diversity term do more work, so the segmentation choice upstream sets how much the submodular/DPP selection downstream must spread to cover the query without re-reading the same passage twice chunking-as-segmentation
  • that topic defined recall@k and precision@k as set-membership scores indifferent to redundancy; this topic shows why presence is not coverage — two passages can both be 'relevant' (counted by recall) yet span near-zero added volume (det(L_S)≈0), so a coverage- or determinant-based objective scores the diversity the set metrics cannot see, and MMR/DPP optimize for it directly set-metrics-precision-recall-map-mrr
  • the dense dual-encoder geometry — sectors of confusable companies at a measured same-sector cosine — is both the candidate pool and the similarity kernel here: facility-location's sim(i,j), MMR's max_{d'∈S} sim(d,d'), and the DPP kernel all read off the same inner products the dual encoder learned, so the embedding geometry that makes companies confusable is exactly what the diversity term must overcome dense-retrieval-dual-encoders

References & Further Reading