Manuscript Offprint
arXiv:2610.36557QESChunker: A Single Objective Unifies Overlapping and Non-Overlapping Chunking for RAG
ABSTRACT
Chunking is a fundamental preprocessing step in retrieval-augmented generation (RAG), yet most existing chunkers rely primarily on heuristics. We introduce the Question–Evidence-Supervised Chunker (QESChunker), to our knowledge the first method for constructing static chunk indices from question–evidence supervision. QESChunker constructs document-specific chunk indices by optimizing over human-annotated or LLM-generated question–evidence pairs, without access to held-out test queries. We formulate non-overlapping and overlapping index construction through a unified question–evidence utility-maximization objective, turning chunking into a supervised combinatorial optimization problem. Under the non-overlap constraint, the objective decomposes over chunks and can be optimized exactly in polynomial time by dynamic programming. When overlap is allowed, the objective becomes monotone submodular; exact optimization is NP-hard, but our greedy achieves a -approximation. Across two self-constructed and three public datasets, both variants outperform existing chunking methods in complete-evidence recall in nearly all evaluated settings, under the same overlap regime and a fixed hybrid retriever. These results recast chunking as supervised, budget-aware index construction for evidence retrieval.
1 INTRODUCTION
Retrieval-augmented generation (RAG) conditions a language model on passages retrieved from an external corpus (Lewis et al., 2020; Gao et al., 2023). Before any retrieval can occur, each document must be segmented into chunks that are embedded and indexed. Where the chunk boundaries fall largely determines whether the evidence for a question can be retrieved completely.
Despite its importance, chunking is overwhelmingly heuristic in practice. The baselines evaluated in this paper span fixed-length and fixed-overlap passages used by retrieval systems (Lewis et al., 2020; Guu et al., 2020; Karpukhin et al., 2020), natural paragraphs, lexical-cohesion segmentation with TextTiling (Hearst, 1997), embedding-based ClusterSemanticChunker (Smith & Troynikov, 2024), LLM-predicted boundaries with LumberChunker (Duarte et al., 2024), sentence-window retrieval (LlamaIndex, 2024b), and hierarchical Parent-Document and Auto-Merging retrieval (LlamaIndex, 2024a). These practical alternatives cover non-overlapping, overlapping, semantic, LLM-based, and hierarchical designs, but none optimizes an explicit question–evidence objective.
We cast chunking as an explicit optimization problem and show that a single objective, subjected to two different structural constraints, yields two algorithms with complementary guarantees. We call the resulting framework QESCHUNKER (Question–Evidence Supervised Chunker): questions and their evidence blocks supervise where boundaries should fall, and the same objective is then solved exactly or near-optimally under each constraint. Figure 1 summarizes the framework.
Our contributions are:
-
A unified objective. We model a document as a sequence of atomic blocks and define a two-term objective comprising a coverage term and a structural term ( ).
-
Two algorithms under different constraints. Under a non-overlap constraint—that is, a contiguous partition into multiple chunks—the objective becomes additive over chunks,

Figure 1: Overview of QESCHUNKER. A shared question–evidence objective supports exact dynamic programming for non-overlapping partitions and benefit–cost greedy selection for overlapping indices.
and an exact dynamic program returns the global optimum in polynomial time ( ). Under an overlap constraint, an index budget over a candidate chunk family must be satisfied. We prove that exact optimization of the objective is NP-hard by a reduction from Grid Segment Covering ( ), and give a benefit-cost greedy algorithm that attains a guarantee for budgeted monotone submodular maximization under the corrected analysis of Tang et al. (2021).
- Broad wins on multiple datasets. Across two self-constructed Chinese policy corpora and three public English corpora (QASPER, PeerQA, and PrivacyQA), under a fixed hybrid retriever, our non-overlap DP ranks first in 9/10 corpus×tier display cells and our overlap method in 10/10 (Tables 3 and 4).
Submodular optimization. Our overlap solver draws on classical monotone-submodular maximization (Nemhauser et al., 1978; Krause & Golovin, 2014); the corresponding non-overlapping partition instead admits an exact dynamic program.
3 PROBLEM SETUP AND UNIFIED OBJECTIVE
3.1 ATOMIC BLOCKS, EVIDENCE, AND HITS
A document is atomized into a sequence of atomic blocks by splitting on minimal punctuation; blocks are the common accounting unit for both indexing cost and returned context. Let be the set of block indices that terminate natural paragraphs. We are given fitting questions. For question :
• is the set of gold evidence atomic blocks;
• is the hit set: the top- atomic blocks most similar to the question embedding, i.e., the blocks that a first-stage retriever would actually surface.
Let denote a set of chunks (either a partition or an overlapping set). A chunk covers blocks .
3.2 HIT-GATED WEIGHTED COVERAGE WITH A TIERED STRUCTURAL PRIOR
Treat each pair “question j, evidence block r” as an element to be covered, with weight
A single chunk C covers the element set
The hit gate encodes retrieval reality: a chunk that contains none of question 's hit blocks will not be surfaced for , so it cannot contribute coverage for no matter how much gold text it holds.
The unified objective adds a tiered structural prior over chunk right-endpoints :
where a chunk’s structural term is determined by the terminal punctuation of its right block:
The parameter controls the contribution of the structural term. In this paper, the tier weights are set to 0.1, 0.005, 0.001, and 0, respectively.
Why hierarchical boundary rewards. Paragraph endings usually mark the strongest semantic boundaries; when a cut must fall inside a paragraph, sentence endings are preferable to clause endings, and clause endings are preferable to arbitrary positions. The tier weights encode this hierarchy while allowing question–evidence supervision to trade structural preference against evidence coverage.
3.3 PARTITION DECOMPOSITION
When is a partition, its chunks are disjoint, so is a disjoint union and decomposes as a sum of per-chunk values —exactly the condition that makes dynamic programming valid (§4). When overlap is allowed this decomposition breaks and must be treated as a set function, which is where submodularity earns its keep (§5). Both settings therefore share the same and, under the evaluation convention of §6.1, directly comparable results.
4 SETTING 1: NON-OVERLAP PARTITION
Given the prior parameters , , and , we seek a contiguous partition of into exactly chunks such that every chunk satisfies or is admitted by the whole-paragraph exception below:
Whole-paragraph exception. Because a natural paragraph is often a semantic unit, an entire paragraph longer than may form one chunk; oversized chunks that cross paragraph boundaries remain forbidden.
For every feasible chunk , define its per-chunk utility as
Let be the maximum utility of a feasible partition of the prefix into exactly chunks, with value when no such partition exists. The sequential structure gives the recurrence
where the predecessor set adjoins the whole-paragraph exception to the usual length window:
with start(i) the first block of the paragraph ending at i. The optimum is ; cut points are recovered by back-pointers.
Time complexity analysis. Let . After interval gains are computed incrementally with block-to-question inverted lists, each DP state examines at most length-feasible predecessors plus one whole-paragraph predecessor. The running time is therefore and the table with back-pointers uses space.
Algorithm 1 Exact DP for non-overlapping chunking
1: Input:
2: Initialize and all other states to .
3: for do
4: Form and compute incrementally for .
5: for do
6: Update by equation 7 and store its maximizing predecessor.
7: end for
8: end for
9: return the partition obtained by backtracking from .
5 SETTING 2: OVERLAP SELECTION
Given a prescribed index budget , which caps the total number of indexed atomic blocks, and prior length bounds and , let
be the candidate family. Allowing overlap, the index is a set rather than a partition, and we solve
Here each selected chunk incurs cost , and the structural prior is instantiated as a paragraph-end reward (the sentence and clause tiers are zero). Unlike the partition setting, the overlapping candidate family uses only the prescribed length bounds and does not invoke the whole-paragraph exception.
5.1 MONOTONE SUBMODULARITY
Proposition 1 (Monotone submodularity). The set function f in equation 3 is monotone and submodular over chunks drawn from any candidate family.
Proof sketch. The coverage term is a weighted coverage function: each element contributes once, the first time it is covered by a selected chunk. Weighted coverage is monotone submodular (Nemhauser et al., 1978). The prior term is non-negative and modular because each summand depends only on one chunk's right endpoint. Their sum is therefore monotone submodular. Appendix A gives the full proof.
5.2 EXACT OPTIMIZATION IS NP-HARD
We set all structural-prior weights to zero, so the result applies directly to the coverage term of equation 3 and implies hardness of the full objective when the prior weights are allowed to be zero.
Theorem 1 (NP-hardness for contiguous chunks). Let the maximum chunk length L be part of the input and let
Deciding whether there exists with and is NP-complete, even when and for every question, the weights are , and all structural-prior weights are zero. Consequently, exact maximization of the coverage-only objective over contiguous chunks is NP-hard. The same conclusion holds when consists of all intervals of length exactly .
Proof sketch. We reduce from GRID SEGMENT COVERING, which is NP-complete by Bergren et al. (2020, Theorem 7). Its input is a set of vertical unit segments on an integer grid of side and an integer ; a horizontal length-2 segment covers if it contains either endpoint. We may assume .
Set and encode by . The endpoints of then become , where . Encoded points on distinct rows are more than 2 apart, so the grid instance is coverable by horizontal length-2 segments exactly when length-2 intervals on the line contain at least one point from every pair . Such line intervals may be assumed to have integer left endpoints.
Let and construct atomic blocks. For each , define
Give its sole evidence pair weight 1/m, set all prior weights to zero, and choose and . For a length-L chunk ,
Thus covers question j exactly when the corresponding length-2 interval covers an encoded endpoint of .
This correspondence maps every grid cover of size at most to a feasible chunk family with . Conversely, every chunk with nonempty coverage spans an evidence block and a hit block positions apart, and hence costs at least . Since , a feasible solution contains at most such chunks. Extending each to length preserves coverage, after which the same correspondence yields a grid cover of size at most . Appendix B gives both directions in full, including the normalization and boundary arguments.
The construction is polynomial because , and ; feasibility and coverage are also polynomially verifiable. This proves NP-completeness. If only length- chunks are allowed, the same construction applies and the budget directly limits the solution to chunks, proving the final claim.
5.3 A COST-BENEFIT GREEDY
By Proposition 1, f is monotone submodular, so equation 9 is budgeted monotone submodular maximization, for which the cost-benefit greedy with a singleton safeguard (MGREEDY) attains the following conservative guarantee under the corrected analysis of Tang et al. (2021).
Algorithm 2 Lazy cost-benefit greedy with singleton safeguard
1: Input: , , and objective 2: ; heapify by . 3: while the heap is non-empty and do 4: Pop and recompute . 5: if is feasible, has positive gain, and remains heap-maximal then 6: . 7: else if is feasible and then 8: Reinsert with its updated density. 9: else 10: Discard . 11: end if 12: end while 13: . 14: return .
Theorem 2 (Approximation guarantee (Tang et al., 2021)). Let be monotone submodular over with and . Algorithm 2 returns with
Tang et al. (2021) close a gap in the earlier analysis of Khuller et al. (1999) and prove the stronger 0.405 approximation factor for the same modified greedy algorithm; we retain the weaker bound here. Each round selects the interval with maximum marginal gain per unit cost,
and the singleton safeguard compares the greedy's result with the best single feasible chunk, returning the better. Reaching the guarantee instead requires enumerating all initial subsets of size (Sviridenko, 2004), which is at our scale and infeasible; and for coverage objectives under cardinality constraints no polynomial algorithm can beat unless (Feige, 1998), so the residual gap is the price of tractability. Lazy evaluation makes the greedy practical: by submodularity a cached marginal gain is an upper bound on the current one, so a max-heap of stale densities needs only tens of exact re-evaluations per accepted chunk, and it returns exactly the same set as the eager cost-benefit greedy. Algorithm 2 summarizes the procedure.
In practice, the empirical gap between the algorithm's value and the optimum is generally much smaller than .
6 EXPERIMENTS
6.1 EXPERIMENTAL SETUP
Datasets and supervision. Table 1 summarizes the corpora and supervision protocols.
Table 1: Dataset statistics and supervision.
| Dataset | Type | Docs | Blocks | Paragraphs | Questions |
|---|---|---|---|---|---|
| Party Congress report | Self-built | 1 | 2,842 | 147 | 642 |
| Public-health white paper | Self-built | 1 | 2,884 | 232 | 683 |
| QASPER (Dasigi et al., 2021) | Public | 185 | 103,024 | 12,548 | 532 |
| PeerQA (Baumgärtner et al., 2025) | Public | 70 | 43,656 | 6,222 | 136 |
| PrivacyQA (Ravichander et al., 2019) | Public | 34 | 4,931 | 4,931 | 1,276 |
Supervision protocol. Both self-built corpora use eight-fold cross-validation, with boundary fitting and testing separated in every fold. For each public document containing atomic blocks, the qwen3.8-max API generates n/5 synthetic questions exclusively for boundary fitting; contiguous-evidence and cross-paragraph-evidence questions are generated in a 1:1 ratio. Evaluation then uses only the datasets' native public questions and evidence annotations. We compare against the non-overlap and overlap baseline families described in §2, using identical retrieval and returned-context budgets.
Automatic checks validate the generated fitting data. PrivacyQA treats every atom as a paragraph, so the natural-paragraph baseline is not applicable.
Evaluation convention. @k denotes complete-evidence recall when the deduplicated returned context contains k atomic blocks. @k% denotes the same metric when the context budget is k% of the document's atomic blocks.
All methods use the same embedding–BM25 retriever with section-title prefixes. Coverage is aggregated per question; self-built results are averaged over the eight folds. The parameter study below fixes operating points before the cross-corpus comparison.
6.2 PARAMETER SWEEPS
We vary one factor at a time on the public-health white paper while holding the retriever, returned-atom budget, and eight folds fixed.
6.2.1 STRUCTURAL WEIGHT
Figure 2 shows complementary trends. For DP, coverage rises as small positive structural weights are introduced and then reaches a broad plateau around ; both display budgets follow the same pattern. Greedy is stable near zero through small bonuses but declines once becomes large, sharply so at , indicating that an over-weighted paragraph prior displaces evidence-bearing chunks.

Figure 2: Coverage over the sweep at @100 and @10%.
6.2.2 LENGTH GEOMETRY
Figure 3 shows that both variants change smoothly as the feasible interval contracts rather than exhibiting a narrow optimum. DP is nearly flat over broad ranges and degrades only near the fixed-length limit; greedy is similarly stable at @10%, with a modest decline at @100. At the rightmost point , so the admissible chunks are exactly those of equal-length splitting and the two settings are fully equivalent.

Figure 3: Coverage as candidate-length intervals contract.
6.2.3 WHOLE-PARAGRAPH EXCEPTION
Table 2 shows that the whole-paragraph exception helps at small returned-context budgets but provides no advantage at large budgets. For fairness in the subsequent comparison, we enable the exception in every non-overlap main experiment.
Table 2: White-paper coverage with the whole-paragraph exception disabled or enabled; bold marks the better result.
| Exception | Tight budgets (atoms) | Larger budgets (atoms) | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| 50 | 58 | 100 | 144 | 200 | 288 | 305 | 433 | 577 | 721 | 865 | |
| Disabled | 0.7076 | 0.7361 | 0.8142 | 0.8598 | 0.8972 | 0.9310 | 0.9378 | 0.9595 | 0.9714 | 0.9828 | 0.9863 |
| Enabled | 0.7177 | 0.7490 | 0.8216 | 0.8631 | 0.8980 | 0.9285 | 0.9340 | 0.9587 | 0.9703 | 0.9798 | 0.9853 |
| Enabled – disabled (pp) | +1.01 | +1.29 | +0.73 | +0.33 | +0.08 | -0.25 | -0.38 | -0.08 | -0.12 | -0.29 | -0.10 |
6.3 MAIN EXPERIMENTS
Based on §6.2, we fix all operating points before the cross-corpus comparison. For non-overlap, we set , , take as the 10th–90th percentiles of paragraph length, and set to the number of paragraphs. For overlap, we set , use the same percentile-based length bounds, and set the total budget to three times the document length. We then compare non-overlapping methods under a common partition constraint and overlapping methods under the same returned-context convention.
Residual-budget concentration (overlap only). When the primary coverage objective saturates while index budget remains, we use
and continue selection with , where , which favors candidates that concentrate more of a question's evidence in one retrievable chunk.
Table 3: Non-overlap setting: complete-evidence coverage at the two display tiers (@100 fixed atoms; @10% of document atoms). On PrivacyQA the natural-paragraph baseline is degenerate (one atomic block per paragraph) and is therefore marked “-”.
| Method | Congress report | White paper | QASPER | PeerQA | PrivacyQA | |||||
|---|---|---|---|---|---|---|---|---|---|---|
| @100 | @10% | @100 | @10% | @100 | @10% | @100 | @10% | @100 | @10% | |
| QESCHUNKER (exact DP) | 0.9025 | 0.9781 | 0.8216 | 0.9285 | 0.7588 | 0.6029 | 0.7341 | 0.6589 | 0.8687 | 0.3166 |
| Segment-by-paragraph | 0.9020 | 0.9734 | 0.7818 | 0.8975 | 0.7425 | 0.5837 | 0.7399 | 0.6483 | - | - |
| Equal-length split | 0.8570 | 0.9669 | 0.7587 | 0.8946 | 0.6565 | 0.5018 | 0.6583 | 0.5424 | 0.8585 | 0.2975 |
| TextTiling | 0.8054 | 0.9424 | 0.7376 | 0.8801 | 0.6560 | 0.4842 | 0.6395 | 0.5604 | 0.8642 | 0.2956 |
| ClusterSemanticChunker | 0.8462 | 0.9494 | 0.7499 | 0.8871 | 0.6511 | 0.4540 | 0.6527 | 0.5357 | 0.8607 | 0.3039 |
| LumberChunker (LLM) | 0.8789 | 0.9694 | 0.7700 | 0.9024 | 0.6915 | 0.5064 | 0.6659 | 0.5406 | 0.8601 | 0.3001 |
Table 4: Overlap setting: complete-evidence coverage at the two display tiers, same corpora and convention as Table 3.
| Method | Congress report | White paper | QASPER | PeerQA | PrivacyQA | |||||
|---|---|---|---|---|---|---|---|---|---|---|
| @100 | @10% | @100 | @10% | @100 | @10% | @100 | @10% | @100 | @10% | |
| QESCHUNKER (greedy) | 0.9165 | 0.9781 | 0.8656 | 0.9545 | 0.7412 | 0.5786 | 0.7399 | 0.6483 | 0.8747 | 0.3302 |
| Fixed window , ov. 20% | 0.8708 | 0.9626 | 0.7266 | 0.8846 | 0.6807 | 0.5296 | 0.6939 | 0.5456 | 0.8581 | 0.3138 |
| Fixed window , ov. 20% | 0.8778 | 0.9609 | 0.7889 | 0.9148 | 0.6554 | 0.4721 | 0.6901 | 0.5672 | 0.8686 | 0.2947 |
| Sentence-Window | 0.8312 | 0.9538 | 0.7469 | 0.8937 | 0.7086 | 0.5206 | 0.6862 | 0.5555 | 0.8515 | 0.2739 |
| Sentence-Window | 0.8464 | 0.9672 | 0.7733 | 0.9079 | 0.6830 | 0.5033 | 0.6600 | 0.5436 | 0.8535 | 0.2639 |
| Parent-Document | 0.8615 | 0.9579 | 0.7713 | 0.8909 | 0.7095 | 0.5238 | 0.6830 | 0.5595 | 0.8461 | 0.2945 |
| Auto-Merging (4 sent.) | 0.8232 | 0.9561 | 0.7559 | 0.8947 | 0.6801 | 0.4881 | 0.6590 | 0.5538 | 0.8509 | 0.2650 |
Non-overlap. The exact DP leads in 9/10 displayed cells. Its only loss is PeerQA at @100, where the paragraph baseline is ahead by just 0.58 points and the evidence is often already paragraph-aligned. The largest gains occur on the white paper (+3.98 points at @100, +2.61 at @10%); near-ties on the Congress report and PrivacyQA indicate less room when simple segmentation already matches the evidence geometry.
Overlap. Greedy leads in all 10/10 cells, by 0.61–8.11 points over the strongest baseline. The largest gaps occur on the white paper at @100 and PeerQA at @10%; gains remain positive on PrivacyQA. Since all rows share the same overlap and returned-context conventions, the pattern reflects evidence-aware selection rather than unequal evaluation budgets.
6.4 BUDGET ANALYSIS
Figure 4 traces the white-paper budget range; the other four datasets appear in Appendix C. Coverage rises monotonically for every method, but QESChunker separates at the smallest budgets and remains ahead in both settings. The gap is widest before the curves flatten, when only a small document fraction can be returned.

Figure 4: Coverage versus returned-atom budget on the white paper. Vertical lines mark @100 and @10%.
The appendix curves repeat this pattern with different strength: Congress methods converge near saturation; QASPER and PeerQA retain wider overlap-side gaps at low and medium budgets; and PrivacyQA has tightly clustered non-overlap curves but clear overlap separation. Thus more context helps every method while reducing the marginal value of optimized boundaries near the coverage ceiling.
7 LIMITATIONS
On one hand, our gains are measured at the retrieval level as complete-evidence recall. Providing more complete and effective evidence can plausibly improve downstream generation, but the rate at which recall gains translate into final answer quality remains unknown. This conversion depends on the generator, prompting, context ordering, evidence redundancy, and answer-level evaluation criteria; we therefore do not claim a fixed or proportional end-to-end improvement.
On the other hand, boundary fitting depends heavily on the quality and coverage of existing question–evidence supervision. It is thus best suited to documents that are queried repeatedly and have accumulated sufficient supervision—for example, policy reports, FAQs, or frequently discussed papers. For one-off, cold-start, or sparsely annotated documents, such supervision may be unreliable or unavailable, and performance may be driven mainly by the structural prior and the retriever rather than by learned boundaries.
8 CONCLUSION
QESChunker casts chunk construction as supervised, budget-aware optimization rather than heuristic preprocessing. A shared hit-gated coverage objective yields two complementary solvers: exact dynamic programming for non-overlapping partitions and benefit-cost submodular greedy for overlapping indices. Across five corpora, the two variants improve complete-evidence recall in nearly all displayed settings, with the largest gains appearing at tight returned-context budgets and smaller margins near saturation. The parameter sweeps further show that performance remains stable across broad structural-weight and candidate-length ranges. Together, these results indicate that question-evidence supervision can translate recurring retrieval demand into principled, document-specific static indices under either overlap regime.
AI USE STATEMENT
Generative AI was used to generate fitting questions and evidence IDs and to judge auxiliary outputs. Data passed legality, membership, length, hallucination, and duplication checks; public evaluation used only human or expert labels. Judging was anonymized, order-swapped, and conducted per fact. AI was not used for theoretical development or solver implementation. The authors reviewed all outputs and accept responsibility.
ETHICS STATEMENT
This work studies document segmentation for retrieval-augmented generation and uses publicly available scientific QA data (QASPER, PeerQA), a public privacy-policy QA corpus (PrivacyQA), and public government policy documents. It involves no human subjects, no private data, and no personal identifiers. The main dual-use consideration is that better evidence retrieval can improve both beneficial and harmful downstream generation; we mitigate fabrication risk in our own evaluation via hallucination screening, and we report negative and boundary results (scope, oracle ceiling, cost accounting) to avoid overstating capability. LLM-annotated evidence on the self-built corpora may inherit annotator-model biases; we flag this as a limitation and rely on human-annotated QASPER and author-annotated PeerQA for our highest-confidence claims.
REPRODUCIBILITY STATEMENT
The method is fully specified in §3–§5: the objective equation 3 with weights equation 1 and tier ratios equation 4, the DP recurrence and predecessor set equation 7–equation 8 with the whole-paragraph exception (Algorithm 1), the NP-hardness reduction (Theorem 1), and the greedy with its guarantee, lazy evaluation, singleton safeguard (Algorithm 2, Theorem 2). The residual-budget concentration term equation 13, evaluation convention, and sensitivity analyses are given in §6.3, §6.1, and §6.2, respectively. Correctness claims are backed by brute-force enumeration for the DP and by the certificate for the greedy.
REFERENCES
Tim Baumgärtner et al. PeerQA: A scientific question answering dataset from peer reviews. In Proceedings of the North American Chapter of the Association for Computational Linguistics (NAACL), 2025. Author list to be completed for camera-ready.
Dan Bergren, Eduard Eiben, Robert Ganian, and Iyad Kanj. On covering segments with unit intervals. In 37th International Symposium on Theoretical Aspects of Computer Science (STACS 2020), volume 154 of Leibniz International Proceedings in Informatics (LIPIcs), pp. 13:1–13:17. Schloss Dagstuhl–Leibniz-Zentrum für Informatik, 2020. doi: 10.4230/LIPIcs.STACS.2020.13.
Tong Chen, Hongwei Wang, Sihao Chen, Wenhao Yu, Kaixin Ma, Xinran Zhao, Hongming Zhang, and Dong Yu. Dense x retrieval: What retrieval granularity should we use? In Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing, pp. 15159–15177. Association for Computational Linguistics, 2024. doi: 10.18653/v1/2024.emnlp-main.845.
Freddy Y. Y. Choi. Advances in domain independent linear text segmentation. In Proceedings of the 1st Meeting of the North American Chapter of the Association for Computational Linguistics, 2000. URL https://aclanthology.org/A00-2004/.
Pradeep Dasigi, Kyle Liu, Ana Marasovic, Noah A. Smith, and Matt Gardner. A dataset of information-seeking questions and answers anchored in research papers. In Proceedings of the North American Chapter of the Association for Computational Linguistics (NAACL), 2021.
André V. Duarte, João Marques, Miguel Graça, Miguel Freire, Lei Li, and Arlindo L. Oliveira. LumberChunker: Long-form narrative document segmentation. In Findings of the Association for Computational Linguistics: EMNLP 2024, pp. 6473–6486, 2024. doi: 10.18653/v1/2024.findings-emnlp.377.
Uriel Feige. A threshold of for approximating set cover. Journal of the ACM, 45(4):634–652, 1998.
Yunfan Gao, Yun Xiong, Xinyu Gao, Kangxiang Jia, Jinliu Pan, Yuxi Bi, Yi Dai, Jiawei Sun, Meng Wang, and Haofen Wang. Retrieval-augmented generation for large language models: A survey. arXiv preprint arXiv:2312.10997, 2023.
Michael Günther, Isabelle Mohr, Daniel James Williams, Bo Wang, and Han Xiao. Late chunking: Contextual chunk embeddings using long-context embedding models. arXiv preprint arXiv:2409.04701, 2024.
Kelvin Guu, Kenton Lee, Zora Tung, Panupong Pasupat, and Mingwei Chang. REALM: Retrieval-augmented language model pre-training. In International Conference on Machine Learning (ICML), 2020.
Marti A. Hearst. TextTiling: Segmenting text into multi-paragraph subtopic passages. Computational Linguistics, 23(1):33–64, 1997.
Vladimir Karpukhin, Barlas Oğuz, Sewon Min, Patrick Lewis, Ledell Wu, Sergey Edunov, Danqi Chen, and Wen-tau Yih. Dense passage retrieval for open-domain question answering. In Proceedings of the Conference on Empirical Methods in Natural Language Processing (EMNLP), 2020.
Samir Khuller, Anna Moss, and Joseph (Seffi) Naor. The budgeted maximum coverage problem. Information Processing Letters, 70(1):39–45, 1999.
Omri Koshorek, Adir Cohen, Noam Mor, Michael Rotman, and Jonathan Berant. Text segmentation as a supervised learning task. In Proceedings of NAACL-HLT, Volume 2 (Short Papers), pp. 469–473. Association for Computational Linguistics, 2018. doi: 10.18653/v1/N18-2075.
Andreas Krause and Daniel Golovin. Submodular function maximization. In Tractability: Practical Approaches to Hard Problems. Cambridge University Press, 2014.
Patrick Lewis, Ethan Perez, Aleksandra Piktus, Fabio Petroni, Vladimir Karpukhin, Naman Goyal, Heinrich Küttler, Mike Lewis, Wen-tau Yih, Tim Rocktäschel, Sebastian Riedel, and Douwe Kiela. Retrieval-augmented generation for knowledge-intensive NLP tasks. In Advances in Neural Information Processing Systems (NeurIPS), 2020.
LlamaIndex. Auto merging retriever. https://docs.llamaindex.ai/, 2024a. LlamaIndex documentation.
LlamaIndex. Metadata replacement and node sentence window. https://docs.llamaindex.ai/, 2024b. LlamaIndex documentation.
Michal Lukasik, Boris Dadachev, Kishore Papineni, and Gonçalo Simões. Text segmentation by cross segment attention. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pp. 4707–4716. Association for Computational Linguistics, 2020. doi: 10.18653/v1/2020.emnlp-main.380.
George L. Nemhauser, Laurence A. Wolsey, and Marshall L. Fisher. An analysis of approximations for maximizing submodular set functions—I. Mathematical Programming, 14(1):265–294, 1978.
Abhilasha Ravichander, Alan W. Black, Shomir Wilson, Thomas Norton, and Norman Sadeh. Question answering for privacy policies: Combining computational and legal perspectives. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pp. 4947–4958. Association for Computational Linguistics, 2019. doi: 10.18653/v1/D19-1500.
Parth Sarthi, Salman Abdullah, Aditi Tuli, Shubh Khanna, Anna Goldie, and Christopher D. Manning. RAPTOR: Recursive abstractive processing for tree-organized retrieval. In International Conference on Learning Representations, 2024.
Brandon Smith and Anton Troynikov. Evaluating chunking strategies for retrieval. Technical report, Chroma, July 2024. URL https://www.trychroma.com/research/evaluating-chunking.
Maxim Sviridenko. A note on submodular maximization with knapsack constraints. Operations Research Letters, 32(4):309–313, 2004.
Jing Tang, Xueyan Tang, Andrew Lim, Kai Han, Chongshou Li, and Junsong Yuan. Revisiting modified greedy algorithm for monotone submodular maximization with a knapsack constraint. Proceedings of the ACM on Measurement and Analysis of Computing Systems, 5(1):1–22, 2021.
A PROOF OF PROPOSITION 1
Proof. Write with and .
is monotone submodular. Each element with weight is covered by iff some has ; thus is a weighted coverage function, which is monotone (adding chunks cannot uncover) and submodular (the marginal contribution of a chunk is the total weight of elements it covers for the first time, which is non-increasing as grows).
is modular and non-negative. Each summand depends only on the single chunk ; adding a chunk to any increases by exactly , independent of . A modular function is submodular with equality, and monotone since the increment is non-negative.
Sum. The sum of two monotone submodular functions is monotone submodular, so is monotone submodular. The concentration term in equation 13 is a sum over of a max over selected chunks of modular-in- terms gated by ; a non-negative weighted max over selected sets is monotone submodular, so with preserves monotone submodularity.
On the partition decomposition. If is a partition, its chunks are pairwise disjoint, so no element can be covered by two different chunks (each block lies in exactly one chunk). Hence is a disjoint union and with . Together with the already-additive prior, is additive over chunks, which is precisely the optimal-substructure exploited by equation 7.
B FULL PROOF OF THEOREM 1
We use the construction and notation from the proof sketch.
Proof. Forward implication. Suppose the grid instance has a cover with at most horizontal length-2 segments. After encoding the rows on the line, discard any interval containing no encoded endpoint. Shift every remaining interval rightward until its left endpoint is its smallest contained encoded point. This preserves all covered endpoints and gives an integer left endpoint. We therefore obtain at most intervals that contain at least one point from every pair .
Each normalized t is an encoded endpoint, so
Replace each by . These are legal chunks, their total cost is at most , and the coverage correspondence gives .
Reverse implication. Suppose satisfies the budget and . Remove chunks with , preserving coverage. Every remaining chunk covers some question , so it contains and at least one point in . These positions differ by ; hence each such chunk costs at least . Since and ,
Thus at most k nonempty-coverage chunks remain.
For each remaining chunk , form . This extension stays inside the document because the original chunk contains an evidence block, so
Since , contains the original chunk and preserves all its covered pairs. The resulting family has at most length- chunks and still covers every question. The coverage correspondence now shows that the intervals contain at least one point from every pair . As encoded points on distinct rows are more than 2 apart, these intervals map back to at most horizontal length-2 segments covering the grid instance.
Polynomial size and NP membership. Because , we have and . The full candidate family has size , so the reduction is polynomial. A selected family is a polynomial-size certificate, and its cost and coverage are polynomially checkable. This proves NP-completeness.
If candidates are restricted to length exactly L, the forward direction is unchanged. In the reverse direction, the budget immediately permits at most k chunks, so the short-chunk argument is unnecessary.
C ADDITIONAL BUDGET CURVES
We report the full returned-context budget curves for the four datasets not shown in Figure 4. Each panel follows the same non-overlap/overlap convention as the white-paper analysis.

Figure 5: Budget curves on the Party Congress report. Left: non-overlap; right: overlap.

Figure 6: Budget curves on QASPER. Left: non-overlap; right: overlap.

Figure 7: Budget curves on PeerQA. Left: non-overlap; right: overlap.

Figure 8: Budget curves on PrivacyQA. Left: non-overlap; right: overlap.