NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Choosing What to Retrieve from a Document Tree by Maximizing the Overlap-Aware Metric Directly

When a search system works over structured text, such as sections nested in chapters or the summary trees that recent retrieval-augmented language models build over long documents, a relevant paragraph makes its parent section, chapter and whole-document summary look relevant too. Ranking each node on its own score fills the result list, or the language model's context window, with nested copies of the same text. The standard fixes are a top-down pass that deletes the ancestors and descendants of anything already chosen, or a hard rule that no chosen node may contain another. Both are crude. The first makes an irreversible choice based on whichever node happened to score highest. The second forbids the useful combination of a section summary plus one key quotation from inside it.

This note proposes treating the choice of nodes as one optimization problem whose objective is the overlap-aware usefulness of the whole set. That objective has diminishing returns: a node's added value shrinks as more of its content is already covered. This property, called submodularity, makes the problem tractable. A chosen paragraph lowers the value of its parent automatically, without banning it, and a parent summary keeps some value if it adds abstraction the paragraph lacks. Recent purely combinatorial algorithms for this class of problems give approximation guarantees without expensive random sampling. The claim is that, under a fixed token budget, this set-level selection beats greedy pruning, strict no-nesting selection and flat top-$k$ retrieval on the overlap-aware metrics the XML retrieval community designed for exactly this problem. A further claim is that the gain comes from the objective rather than from a clever solver, and the experiments are built to check that.

Core Claim

The evaluation community already wrote down the right objective, but nobody optimizes it. Kazai, Lalmas and de Vries, in The overlap problem in content-oriented XML retrieval evaluation, define result-list-dependent relevance values in which an element's credit is discounted by the text the user has already seen higher in the list. They show the unfiltered INEX 2003 recall base was 182% larger than necessary because relevance spreads up and down the tree. A "seen-text discount" of this kind is a coverage function, and coverage functions are submodular. Retrieval systems, however, still produce their lists by scoring nodes independently and then pruning heuristically:

The proposal replaces score-then-prune with direct, approximately optimal maximization of a coverage objective under a context budget.

Concretely, let $V$ be the tree's nodes and $J$ the leaf-level information units, which are sentences or clusters of near-duplicate sentences. Each unit $j$ carries a query relevance weight $w_j$. Each node $u$ covers unit $j$ with fidelity $a_{uj} \in [0,1]$:

  • $a_{uj} = 1$ when $u$ literally contains $j$;
  • $a_{uj}$ is a value below one, learned or computed from similarity, when $u$ is an abstractive summary or a near-duplicate in another branch.

Each node also has length $\ell_u$ in tokens. We select $S \subseteq V$ to maximize

$$f(S) = \sum_{j \in J} w_j \Big(1 - \prod_{u \in S} (1 - a_{uj})\Big) \;-\; \lambda \sum_{u \in S} \ell_u \quad \text{subject to} \quad \sum_{u \in S} \ell_u \le B,$$

where $\lambda \ge 0$ is a per-token reading cost and $B$ is the context budget.

The first term is monotone submodular, being a probabilistic coverage function. Subtracting a linear cost keeps the objective submodular but makes it non-monotone: adding a long, mostly redundant ancestor can lower the value. The parameter $\lambda$ is a continuous version of the "impatient" versus "patient" user distinction in Query-Focused Extractive Video Summarization.

The strict antichain is the limiting case in which ancestors cover their descendants perfectly and add nothing new. Unlike an antichain, the objective also penalizes horizontal redundancy, meaning near-duplicate content in sibling branches. Neither tree pruning nor a tree-shaped search can see that kind of redundancy.

Research Program

The work has four parts.

First, the theory link. We will show that the result-list-independent part of INEX extended cumulated gain, computed with seen-text discounting, is a coverage function of the returned set. This makes $f$ a faithful surrogate for the evaluation metric rather than an arbitrary proxy. The rank-dependent discount in cumulated gain is handled in a standard way: run the selection greedily and output elements in the order they were added.

Second, the solvers. The base solver is a cost-benefit lazy greedy under the knapsack, using no continuous relaxation. We compare it with the combinatorial non-monotone knapsack algorithms of Doskoč et al. and the parallel, low-adaptivity knapsack algorithms of Han et al. and Amanatidis et al.. When the budget is a node count rather than a token count, we compare with the guided randomized greedy of Discretely beyond 1/e. That method first finds a guidance set by fast local search, avoids those elements in a first greedy stage, and achieves a 0.385 ratio for non-monotone cardinality constraints.

The file's evidence motivates this purely combinatorial choice. Kuhnle's nearly linear-time non-monotone algorithms and Buchbinder and Feldman both argue that sampling-based continuous relaxations are impractical at scale. Retrieval adds a further constraint, since selection must run per query within milliseconds.

Third, exploiting the tree. In the purely laminar case, all $a_{uj}$ are 0 or 1 and coverage comes only from containment. Under the full $f$ above, which keeps the product-form coverage, the optimum over a tree with a token knapsack can be computed exactly by a pseudo-polynomial tree dynamic program. That program tracks, per subtree, the best value for each budget and each "covered from above / not covered" state. This gives an exact reference against which to measure the greedy algorithms' real gap. Once cross-branch similarity enters, the problem is no longer tree-decomposable. There the submodular algorithms are needed and their guarantees are what we rely on.

Fourth, estimating the fidelities. We estimate $a_{uj}$ for abstractive summary nodes in two ways:

  • by entailment or similarity between the summary and each leaf sentence;
  • by a small calibration on held-out queries.

These estimates are what let a RAPTOR or DISRetrieval summary node earn partial, not full, credit.

Baselines

The naive reference is flat top-$k$ over the collapsed tree, truncated at budget $B$. This is RAPTOR's own collapsed-tree retrieval, run with the same embedder, the same tree and the same token budget. Any method that does not beat it has failed. The test of whether overlap matters at all is whether a sizable share of its budget goes to nodes that nest within one another.

The classic structural baseline is greedy overlap filtering as in Ogilvie and Callan: walk the same ranked list and drop ancestors and descendants of accepted nodes until the budget is filled. It is the strongest widely used heuristic for vertical overlap and costs essentially nothing.

The strongest existing structural competitor is the exact antichain optimum under the token budget. It maximizes the sum of node scores subject to no nesting, solved exactly by tree dynamic programming. In spirit it is the retrieval analogue of Contrastive Antichains, but solved optimally rather than greedily. This is the comparison that matters most, because it is the best anyone can do while treating overlap as a hard rule. Beating it means our selection achieves higher overlap-aware gain at equal budget across queries, with a paired significance test.

For the long-document question answering setting, we include each method's native traversal, DISRetrieval's expand-on-retrieve and RAPTOR's tree traversal, run on the same underlying tree where possible. We include an embedding-based maximal-marginal-relevance reranker as the standard flat redundancy penalty, tuned over its trade-off weight on the same validation queries.

All methods share the base relevance scores, so differences come only from set selection. All get the same validation-tuning budget, covering $\lambda$ for ours and the trade-off weight for maximal marginal relevance.

Two ablations isolate the key ingredient:

  • our solver with $a_{uj}$ restricted to containment only, which removes horizontal redundancy and partial summary credit;
  • the full objective solved by plain greedy versus the guided and non-monotone algorithms, which separates the value of the objective from the value of the solver.

On reported numbers, the file gives no metric values for any of these systems. No reported result was found on Lacuna for RAPTOR collapsed-tree retrieval, greedy overlap filtering, antichain mining, DISRetrieval or SH-DPP on any benchmark named here. Every baseline will therefore be re-run by us.

Why not just…?

Why not just use greedy overlap filtering? It is a real competitor, and it may be close when the top-scored node happens to be the right granularity. It fails in exactly the case the file describes, where a parent scores 0.90 and two focused children score 0.89 and 0.88. It cannot exchange the parent for the children when that would cover more for fewer tokens. It also never sees near-duplicates in sibling branches. The experiment that settles this is to bucket queries by whether the top-ranked node is an internal node and report the gain gap per bucket. If the gap is negligible everywhere, the proposal's practical case collapses, and we would report that.

Why not just solve the antichain problem exactly with tree dynamic programming? This is the most serious threat, because it is exact, fast and simple. Our answer is that its objective is wrong in two measurable ways. Kazai et al.'s result-list-dependent values give partial credit to nested elements that add unseen text, which an antichain forbids. Collapsed RAPTOR pools contain summary nodes whose content only partially overlaps their leaves. If the containment-only ablation, which is itself exactly solvable, matches the full objective, then the right recommendation is "use the dynamic program." The proposal would then reduce to a negative result about submodular solvers and a positive result about framing retrieval as budgeted coverage.

Why not just use maximal marginal relevance or a log-determinant diversity term? These penalize pairwise similarity, not coverage of shared content. They therefore double-penalize a parent that contains two children, and they ignore the explicit containment structure that the tree provides for free. SH-DPP shows that hierarchical diversity models of this kind work in video. However, it uses probabilistic inference over a fixed two-layer chain rather than an arbitrary tree with a budget. The direct head-to-head comparison at matched budget will show whether coverage beats pairwise diversity.

Proposed Experiments

INEX 2003. We use the collection and assessments with the filtered "ideal" recall base and result-list-dependent extended cumulated gain from Kazai et al.. Base node scores come from a language-model element retriever. We report gain at fixed rank cutoffs and fixed token budgets.

Retrieval-augmented question answering. We build RAPTOR trees and DISRetrieval discourse trees over the long-document question answering benchmarks those papers evaluate on; the file does not name them, so we adopt theirs. We measure two things:

  • answer accuracy of a fixed reader model at context budgets of a few hundred to a few thousand tokens;
  • the fraction of the context that is nested or near-duplicate text.

Video. As a secondary check of generality, we use the UT Egocentric and TV Episodes query-focused summarization data of Sharghi et al., with shots grouped hierarchically into segments.

Decisive checks. Four results would settle the main questions:

  1. On the laminar special case, the ratio between the greedy algorithms' $f$ and the exact dynamic-program optimum. We expect it to be well above worst-case bounds; if it is not, the solver choice matters.
  2. Whether the full objective beats the exact antichain optimum on INEX gain and on question-answering accuracy at equal tokens.
  3. Whether the gain grows with the share of abstractive summary nodes and cross-branch duplicates, as the coverage argument predicts.
  4. Per-query selection latency against the collapsed-tree top-$k$ baseline. This tests the purely combinatorial solvers' practical advantage over sampling-based continuous methods.