Paper deep dive
No More Free Lunch: Corpus Task Complexity Matters as Corpora Grow
Prasann Singhal, Amanda Bertsch, Jacob Steinhardt, Sewon Min
Intelligence
Status: succeeded | Model: Gemma-4-26B-A4B | Prompt: intel-v1 | Confidence: 94%
Last extracted: 9/25/2026, 5:09:40 AM
Summary
This paper introduces Corpus Task Complexity (CTC), a metric characterizing task difficulty by how it scales with corpus size. The authors distinguish between low-CTC tasks (linear complexity, e.g., retrieval) and high-CTC tasks (quadratic or higher complexity, e.g., contradiction finding). They present CTC-BENCH, a 22-task suite, and demonstrate that efficient attention mechanisms like block-sparse attention perform well on low-CTC tasks but degrade significantly on high-CTC tasks as corpus size increases, reversing conclusions from prior work based solely on low-CTC evaluations.
Entities (7)
Relation Signals (7)
CTC-BENCH â contains â 22 tasks
confidence 98% · We release our code, data, and 22-task suite (CTC-Bench)
Contradiction â hascomplexity â quadratic
confidence 96% · finding contradictions requires checking a quadratically growing set of claim pairs.
Retrieval â hascomplexity â Linear
confidence 96% · a retrieval query only requires a single linear pass over a corpus
Corpus Task Complexity â defines â task difficulty scaling
confidence 95% · CTC is the asymptotic growth in oracle calls needed to solve tasks as a function of corpus size N.
CTC-BENCH â includes â high-CTC tasks
confidence 95% · we introduce 10 new tasks belonging to a class of high CTC
Block Sparse Attention â performspoorlyon â high-CTC tasks
confidence 93% · block-sparse and hybrid attention approaches ... degrade much more on high-CTC tasks.
Block Sparse Attention â performswellon â low-CTC tasks
confidence 93% · efficient block-sparse ... approaches consistently match full attention performance on low-CTC tasks
Cypher Suggestions (0)
No Cypher suggestions yet.
Abstract
Abstract:Given a large corpus, the questions one might ask can vary -- from "When was the first human heart transplant?" to "What are all the contradictory claims in this literature?" -- but what makes some questions more challenging than others? In this work, we define a notion of Corpus Task Complexity (CTC) that characterizes tasks by how their difficulty grows with corpus size; for instance, a retrieval query only requires a single linear pass over a corpus, while finding contradictions requires checking a quadratically growing set of claim pairs. Observing that prior work has largely only studied tasks whose difficulty grows linearly with corpus size, which we call low CTC tasks, we introduce 10 new tasks belonging to a class of high CTC whose difficulty grows quadratically or more in corpus size. We find that high-CTC tasks not only grow much more challenging on average at longer contexts for LCLMs, they reverse many modeling conclusions drawn solely from low-CTC evaluations. For instance, efficient block-sparse and hybrid attention approaches consistently match full attention performance on low-CTC tasks, but degrade much more on high-CTC tasks. Large-corpus high-CTC reasoning thus remains an open challenge as full attention is too costly to scale, motivating future research on these tasks. We release our code, data, and 22-task suite (CTC-Bench), to facilitate future research in this area.
Tags
Links
- Source: https://arxiv.org/abs/2609.29245v1
- Canonical: https://arxiv.org/abs/2609.29245v1
Trouble viewing inline? Open PDF directly â
Full Text
101,963 characters extracted from source content.
Expand or collapse full text
No More Free Lunch: Corpus Task Complexity Matters as Corpora Grow Prasann Singhal α Amanda Bertsch ÎłÎČ Jacob Steinhardt α Sewon Min αÎČ Î± UC Berkeley ÎČ Allen Institute for AI Îł Carnegie Mellon University prasann@berkeley.edu § Code / Data PrasannS/corpustaskcomplexity Abstract Given a large corpus, the questions one might ask can varyâfrom âWhen was the first human heart transplant?â to âWhat are all the contradictory claims in this literature?ââbut what makes some questions more challenging than others? In this work, we define a notion of Corpus Task Complexity (CTC) that character- izes tasks by how their difficulty grows with corpus size; for instance, a retrieval query only requires a single linear pass over a corpus, while finding contradictions requires checking a quadratically growing set of claim pairs. Observing that prior work has largely only studied tasks whose difficulty grows linearly with corpus size, which we call low CTC tasks, we introduce 10 new tasks belonging to a class of high CTC whose difficulty grows quadratically or more in corpus size. We find that high-CTC tasks not only grow much more challenging on average at longer contexts for LCLMs, they reverse many modeling conclusions drawn solely from low-CTC evaluations. For instance, efficient block-sparse and hybrid atten- tion approaches consistently match full attention performance on low-CTC tasks, but degrade much more on high-CTC tasks. Large-corpus high-CTC reasoning thus remains an open challenge as full attention is too costly to scale, motivat- ing future research on these tasks. We release our code, data, and 22-task suite (CTC-BENCH), to facilitate future research in this area. 1 Introduction Computational tools enable us to conduct search over large digital corporaâfrom scientific liter- ature to the internetâbut is it yet possible to develop systems that could, for example, find all contradictions in a large corpus? Given the wealth of valuable information contained in large cor- pora, researchers have built diverse systems to extract and analyze this information, from work in information retrieval [Craswell et al., 2025, Hou et al., 2025] to summarization [Kocisk Ì y et al., 2017]. We refer to these collectively as corpus reasoning tasks, but they can vary substantially in their complexity over the corpus, ranging from simple factoid queries like âWhen was Ralph Lauren founded?â, to tasks requiring extensive cross-document interaction, such as âFind all contradicting claims in this biology literatureâ or âWhat are the outliers in the LLM agent trace corpus?â. Long-context language models (LCLMs) trained to process large inputs (e.g., 32K tokens or more) are promising for corpus tasksâwith softmax attention enabling direct retrieval and reasoning across parts of the conditioned corpus. Modern LCLMs achieve strong performance on many existing synthetic long-context benchmarks [Yen et al., 2024, Bai et al., 2024, Chen et al., 2026], even with various efficient approaches used to reduce their computational cost [Yang et al., 2024, Beltagy et al., 2020]. But given the lack of clear characterization of what makes corpus reasoning tasks difficult arXiv:2609.29245v1 [cs.CL] 24 Sep 2026 2k4k8k16k32k Context Length (Tokens) 0.0 0.2 0.4 0.6 0.8 1.0 Full-Attention FT Performance <4k4-8k8-16k16-32k32k+ Context Length (Tokens) 0 -25% -50% -75% -100% Performance Drop vs. Full Attention -1% -2% -1% -1% -3% -27% -33% -44% -57% -66% Low CTC TasksHigh CTC Tasks Figure 1: Performance of in-distribution trained Qwen3.5-4B models on low- and high-CTC tasks. (Left) Performance degrades faster on high-CTC tasks than on low-CTC tasks as corpus size in- creases. (Right) Block-sparse attention causes almost no performance degradation relative to full attention on low-CTC tasks, but substantial degradation on high-CTC tasks. on large corpora, it remains unclear whether these successes apply to all corpus reasoning tasks, particularly more complex tasks. We begin by defining corpus task complexity (CTC), which characterizes a task by how the number of operations required to solve it scales with corpus size. For example, the number of local opera- tions required to retrieve a fact usually grows linearly with corpus size, since each document need only be checked once to find where the fact is located. In contrast, a task such as âFind all contra- dicting claims in the literatureâ involves comparing all pairs of claims, resulting in quadratic growth. Through this lens, we survey 12 diverse corpus reasoning tasks commonly used to evaluate LCLMs and find them to all grow linearly in difficulty with corpus size (which we call low-CTC). We then introduce 10 diverse tasks whose complexity grows quadratically or faster (high-CTC tasks), ranging from identifying all contradictory claims in a corpus to finding documents with the rarest topics. Using this benchmark suite, CTC-BENCH, we evaluate a range of LCLMs across corpus sizes from 2K to 32K tokens. We first find that with increasing corpus size, performance degrades faster on average on high-CTC tasks than on low-CTC tasks (Figure 1(a)). More importantly, however, we find that high-CTC task results frequently reverse modeling conclusions drawn solely from low-CTC evaluations. For example, block-sparse attentionâan efficient attention variant often used for corpus reasoning [Xiao et al., 2025]âshows minimal degradation on low-CTC tasks, yet on high-CTC tasks it sees large performance drops relative to full attention (Figure 1(b)). Similar discrepancies occur for other modeling decisions: hybrid architectures that alternate linear and full attention exhibit larger performance gaps on high-CTC tasks; and length generalizationâfine-tuning a long-context model on shorter contexts than the intended context length at test time [Gao et al., 2024]âcan work for low-CTC tasks but breaks down on high-CTC tasks. To summarize, our results show that evaluations including high-CTC tasks reveal hidden costs to many common modeling choices, and that there is no free lunch: full attention becomes quadrat- ically intractable on large corpora, but efficient attention mechanisms that appear lossless under existing low-CTC evaluations can lead to substantial degradation on high-CTC tasks. Solving high- CTC tasks on large corpora is a challenging long-term problem, and we encourage more research into scalable architectures that can handle both low and high-CTC tasks. To support this effort, we release CTC-BENCH, along with our code and data. 2 QueryOperationN = 3N = 100 âWhen was Ralph Lauren founded?â is relevant âRalph Lauren (1967)...â total = 3 âRalph Lauren (1967)...â total = 100 âFind all contradictionsâ contradicts âsmoking protects...ââsmoking killsâ total = 3 âsmoking protects...ââsmoking killsâ total = 4,950 Figure 2: Circles represent documents, with shaded circles for the gold documents. As corpus size N =|C| grows from 3 documents to 100 documents, a contradiction search task may in worst-case require many more oracle operations (4950) than factoid retrieval (100). 2 Corpus Task Complexity & CTC-BENCH What most strongly determines corpus task difficulty? We propose Corpus Task Complexity (CTC), a definition of task difficulty based on how a taskâs difficulty scales with corpus size (§2.1), which we walk through with two tasks (shown in Figure 2). We find that most existing benchmarks are low CTCâtheir complexity grows linearly with corpus size (§2.2)âthen introduce a new class of high CTC tasks, whose complexity grows quadratically or faster (§2.3). 2.1 Corpus Task Complexity Define a corpus C to be an unstructured set of N documents d 1 ,...,d N , where each d i is a sequence of tokens. A corpus reasoning task T is a set of same-type corpus-question-answer samples (C i ,q i ,a i ) â T . For instance a factoid retrieval task sample could be (C i =Wikipedia, q i =âWhen was Ralph Lauren founded?â, a i =â1967â), and a contradiction task sample could be (C i =CommonCrawl, q i = âFind all contradictionsâ, a i =list of contradicting pairs within C i ). To understanding corpus reasoning tasks, we define a notion of complexity called corpus task com- plexity (CTC). Imagine that we can call an oracle (e.g. an LM-judge) that can answer questions over small contexts with O(1)-length in corpus size. CTC is the asymptotic growth in oracle calls needed to solve tasks as a function of corpus size N. Specifically, let A T be an algorithm composed of oracle calls that solves all (C i ,q i ,a i )â T , where f A T (C i ,q i ) indicates oracle call count, and we constrain A T to be the algorithm with lowest pos- sible call count across samples. Task T is O T (g(N)) if there exists some constant α such that f A T (C i ,q i ) †αg(N) for all (C i ,q i ,a i ) â T . In practice, as proving the optimal A T can be challenging, we classify CTC with candidate best algorithms for tasks given unstructured corpora. Example 1: (Figure 2, blue) To solve factoid retrieval queries like q = âWhen was Ralph Lauren founded?â with oracle calls, A T may be to run oracle(isrelevant,d i ,q) individually on all d i â C. Since f A T (C i ,q i ) is just N , and less operations arenât possible, this task is O T (N). 1 Example 2: (Figure 2, orange) To âFind all contradicting claim pairs.â with oracle calls, A T may be to run oracle(contradicts,d i ,d j ) on all viable document pairs. While priors or corpus structure could lower this, exhaustively checking all possible pairs will generally require quadratic oracle calls in corpus size (e.g. 4,950 calls for 100 documents)âmaking the task O T (N 2 ). 1 CTC should not be confused with individual online or offline cost, which combine to become overall cost. For example, nearest neighbors search often has O(log(N)) query-time complexity, but still requires O(Nlog(N)) build-time cost. 3 O(N): Low Complexity TasksHigher-complexity tasks DatasetDescriptionDatasetDescription NIAH-contraFind the contradicting claimContradictionFind all contradicting claim pairs SciFactRetrieve evidence for a scientific claimX-AbsenceFind unmatched docs across 2 shuffled, near-identical corpora FiQARetrieve relevant financial opinionsQDmatch (HPQA)Match questions to two documents MS MARCORetrieve relevant web passagesQDmatch (NQ)Match questions to documents OBLIQRetrieve passages for subjective queriesQDmatch (FiQA)Match financial queries to documents NQRetrieve the answer passageOutlier (scale M )Find chunks from the rarest article HotpotQARetrieve two supporting passagesGrouping (OpenAlex)Group abstracts by a latent topic MS MARCO rerankRe-rank passages by relevanceStrmatchFind pairs sharing a word sequence OOLONGAggregate labels over the corpusReorderRecover the order of shuffled segments Outlier (Amazon)Find reviews with the minority attributeTextgroupsFind passage triples satisfying a target Outlier (fixed M )Find items from the rarest article AbsenceIdentify content missing from a copy Table 1: Overview of the 22 CTC-BENCH Tasks. Linear-time tasks are shown on the left; tasks requiring higher-order comparisons are shown on the right (details, examples in Appendix H) Since CTC corresponds to minimal computation necessary to solve tasks with growing N , we posit that it will correspond to empirical trends for even black-box methods applied to corpus tasks (e.g. LCLMs, dense retrievers). Similar methods may work for tasks within the same CTC, and on larger corpora an O T (N 2 ) task may demand methods with greater inference computation. Not all same-CTC tasks are identicalâretrieval queries with oracle calls involving exact word matches are harder in a constant sense than ones involving abstract relationships, and such dif- ferences may even multiply at higher CTC. But by defining task CTC we can better explain what underlies a taskâs difficulty, and make better modeling decisions to solve it. 2.2 Existing Tasks Through the Lens of CTC Which CTC categories do existing corpus reasoning tasks belong to? To answer this, we examine a range of 12 well-established existing tasks. We introduce tasks in the order shown in Table 1 (left): Information retrieval is arguably the best-studied corpus reasoning task. Within it we examine a synthetic recall NIAH-contra task, standard SciFact, FiQA, and MS-MARCO tasks taken from BEIR [Thakur et al., 2021], and the twitter set of the modern OBLIQ [Tchuindjo et al., 2026] benchmark. While ranging in difficulty, as discussed in our earlier factoid example these tasks are O T (N). We include retrieval variants of two factoid QA datasets: NaturalQuestions (NQ) [Kwiatkowski et al., 2019], a single-hop task, and HotpotQA [Yang et al., 2018], a multi-hop task. Both call oracle(hasanswer,q,d i ). Since, even in the multi-hop case requiring multiple retrieval steps, only a constant number of passes are requiredâone retrieval step to find the first hop, and one retrieval step to find the second hopâwe classify these also as O T (N). Likewise, MSMARCO rerank, which involves finding top-10 most relevant documents to a query, given a small k, is at most a constant number of retrieval passes, and thus is also O T (N). We include several corpus aggregation tasks. OOLONG[Bertsch et al., 2025] involves distributional or counting questions about class labels of documents. Outlier (Amazon) involves finding the least common star or product category in a set of reviews. Given a fixed set of class labels, a single pass of oracle(classify,d i ) (e.g. 2-stars, 4-stars) calls with lightweight aggregation is typically sufficient for these tasks, making them O T (N). Lastly, we include a 2-corpus Absence task based on Ab- senceBench [Fu et al., 2025]âsearching for deletions in near-identical Project Gutenberg passages. Since positions are aligned, the oracle is oracle(matches,d i ,d iâN ), where N is individual corpus size. Only a single pass over the second corpus is needed here, so this is also O T (N). The above tasks constitute a recent, diverse, and representative sample of the most studied IR and LCLM benchmark tasks, yet they all fall into O T (N). 4 2.3CTC-BENCH and High CTC Tasks Our definition of CTC suggests that a variety of useful tasks fall into higher complexity classes, yet such tasks, while explored at small scale (e.g. event re-ordering Chambers et al. [2014]), are understudied for larger corpora, especially in the context of LCLMs. We thus, to enable our analysis, construct a diverse suite of 10 high-CTC tasks (Table 1, right). We call theseâalong with the 12 low-CTC tasksâCTC-BENCH 2 : (a) Contradiction q i =âFind all the contradicting claim pairs in the corpus.â, a i is a list of 3 contradicting claim pair IDs. It uses LLM-generated contradictions to pubmed abstract claims [Jin et al., 2019], and is as discussed earlier O T (N 2 ) (Section 2.1) . (b) X-Absence q i =âGiven near-identical corpus A and B with shuffled chunks, find chunks that are only in one corpusâ, a i is a list of chunks only in one of either A or B. All d i are chunks of a Project Gutenberg passage. C A and C B (N chunks each) are shuffled to prevent positional bias (unlike Absence which is ordered), so total oracle(matches,d i ,d j ) calls are O T (N 2 ). (c-e) (QDmatch)-FiQA, NQ, HotpotQA q i =âGiven corpus A with single-sentence questions and B with documents, find (question, document) pairs where documents answer questionsâ, a i is a list of 3 matching pair IDs. We use 3 such settings, using retrieval questions and documents from the FiQA, NQ, and HotpotQA tasks to construct this task. Since C A and C B are size N each, cross checking all pairs with oracle(isrelevant,d i ,d j ) is O T (N 2 ). (f) Outlier (wiki) q i =âGiven the corpus with chunks discussing different topics, identify chunks be- longing to the least common topicâ, a i is a list of minority topic chunk IDs. We source chunks (d i ) from M Wikipedia pages, where the âtopicâ is the page source (e.g. âHorsesâ). Unlike O- LONG, which has fixed classes, page topics are diverse and donât repeat across corpora. Given oracle(samecategory,d i ,d j ), since each new document only needs to check one document per cat- egory, this is O T (NM). To test this we include an Outlier (fix M ) setting where M stays constant ( O T (N)) and Outlier (scale M ) where M grows proportional to N ( O T (N 2 )). (g) Grouping, q i =âGroup the following scientific abstracts into k groupsâ, a i is a dictionary which must have k keys and put abstracts in the same topic group together (note k increases naturally with N ). Abstracts (d i ) and true topic labels (e.g. Biology, Plant Biology) are mined from OpenAlex [Priem et al., 2022]. This has the the same structure as Outlier (wiki) and is O T (NM). (h) Strmatch, q i =âFind word sequences with at least k words in commonâ, a i = 3 pair IDs that match. d i are random noun sequences. Calling oracle(hascommonk,d i ,d j ), the task requires searching over O T (N 2 ) pairs. This task serves as a synthetic control for other pairwise tasks. (i) Reorder (Bai et al. [2024]), q i =âGiven the passage (chunks have been randomly shuffled), output the original ordering.â, a i is an ID list of length N with true ordering, and d i are sentences from a Project Gutenberg passage. If we use oracle(directlyneighbors,d i ,d j ), this requires brute-force checking all pairs to recover the order ( O T (N 2 )). (j) Textgroups, q i =âFind groups of 3 passages whose adjective count add ups to t.âgiven Project Gutenberg chunks, where property and count t vary (e.g. 67 nouns). With calls to oracle(propertysum,d i ,d j ,d k ) searching over all triples, we include it as an O T (N 3 ) exemplar. 3 Role of Task Complexity on Growing Corpora Having established CTC and CTC-BENCH, we now evaluate a range of models to understand how well they perform on these tasks. In particular, we focus on performance as a function of corpus size: How challenging do high-CTC tasks become as corpus size grows? Experimental Setup We train Qwen3.5-4B individually for all 22 CTC-BENCH tasks, ranging from 2k to 32k context length in training and evaluation. For all tasks except OBLIQ (where we use synthetic data, Appendix C), we use existing or generated in-domain fine-tuning sets to isolate architectural limits independent of data and generalization. 2 We often include synthetic / semi-synthetic tasks for controllability and cleaner analysis, though we design all CTC- BENCH tasks to structurally resemble realistic tasks (see Appendix B) 5 We always train for 1 epoch on 20k datapoints per task (except for OBLIQ and SciFact), with evenly split examples across context lengths (matching the corpus sizes we evaluate on). We train with full fine-tuning, with a learning rate of 5Ă 10 â5 . All tasks use this prompt format: [Initial] 1:[Doc 1 content] ...N:[Doc N content] [Query] [Answer] Result: High-CTC Task Performance Drops More Rapidly Than Low-CTC. We plot in Figure 1 (left) averages across tasks of full attention performance for all High-CTC (orange) and Low-CTC (blue) tasks across CTC-BENCH (task-individual plots in Figure 3). Average performance drops 0.910 â 0.788 (13%) from 2k to 32k on low-CTC (10 out of 12 tasks degrade less than 0.1 in performance) but on high-CTC tasks average performance drops 0.851 â 0.511 (40%) from 2k to 32k (7 of 10 tasks drop over 0.1 in performance). In aggregate, even with in-distribution training, high complexity task difficulty grows much faster on larger corpora. 4 Rethinking Free Lunches With CTC In the previous section, we show that high-CTC tasks often degrade at larger corpus sizes much faster than more commonly studied low-CTC tasksâsuggesting that even costly full attention models are insufficient at scale for high-CTC tasks. But how does this relate to the large body of prior LCLM work that has predominantly focused on reducing LCLM computation? We revisit 3 common modern LCLM choices from the lens of CTC: block-sparse attention (§4.1), hybrid architectures (§4.2), and length generalization from short train contexts (§4.3). 4.1 Full vs Block-Sparse Attention In a regular Transformer model (full attention), pre-filling a corpus has quadratic computational complexity. Motivated by the fact that in corpus reasoning, the input is a collection of independent documents, much prior work has tried [Beltagy et al., 2020, Zaheer et al., 2020, Gollapudi et al., 2026, Xiao et al., 2025] block-sparse attention: pre-filling each document independently so that they attend to tokens within the same document only, with only a small number of query and answer tokens attending globally. These approaches have been shown effective, though often limited to evaluation on O T (N) settings like QA, retrieval, and in-context learning. We investigate several decisions reducing computation from full attention, but what if we instead apply more computation to cheap methods? Our block-sparse attention implementation follows that of [Xiao et al., 2025] 3 , but we additionally propose a new mask-mixing technique: during block- sparse attention training, with probability p a training batch uses the full-attention mask instead of the block-sparse one, where p = 0 indicates original block-sparse attention, and p = 1 indicates full attention (we anneal on a curriculum from p = 0.8 to p = 0 during training). During evaluation, block-sparse attention is used for all inputs. Mask-Mixing Frequently Improves Block-Sparse. We evaluate mask-mixing on a 10 task subset that we call CTC-BENCH-10, that we select to cover diverse task structures and difficulties across CTC classes in CTC-BENCH (results in Figure 5, Left). We find mask-mixing greatly improves block-sparse attention, and consequently apply it to all block-sparse experiments. Specifically, while it helps less on retrieval settings like FiQA and NQ, we find that on many High-CTC tasks and tasks requiring aggregation across context like OOLONG, mask-mixing improves block-sparse performanceâpotentially by distilling representations for tasks from the more computationally ex- pressive full attention. Full vs Block-Sparse Gap Grows Faster in High-CTC. Figure 3 shows degradation and com- parisons between full and block-sparse attention for the full CTC-BENCH. On low-CTC tasks, the gap between full and block-sparse attention is negligible for all tasksâreproducing much prior work [Beltagy et al., 2020, Gollapudi et al., 2026], we find that block-sparse gives a free lunch of comparable performance (sometimes even better) while being much cheaper. However, across all high-CTC tasks, choosing block-sparse attention over full attention leads to worse performance, de- spite our own improvements through mask-mixing. Unless the task is so difficult that both approach zero (e.g. Textgroups, Reorder), this gap monotonically grows at longer contexts. Averaged across tasks, the performance degradation from using block-sparse on high-CTC isâ26.9% (2k),â33.0% 3 Qwen3.5 models use 75% gated delta-net layers (already linear), so we only apply block-sparse to remaining 25% 6 0.00 0.25 0.50 0.75 1.00 Score QDmatch (FiQA)QDmatch (NQ)QDmatch (HPQA) Outlier (scale M) Textgroups 0.00 0.25 0.50 0.75 1.00 Score Grouping (OpenAlex)X-AbsenceContradictionStrmatchReorder 0.00 0.25 0.50 0.75 1.00 Score FiQANQHotpotQAOutlier (Amazon) Outlier (fixed M) 0.00 0.25 0.50 0.75 1.00 Score OOLONGMS MARCO rerank 2k4k8k16k32k Context Length MS MARCO 2k4k8k16k32k Context Length OBLIQ 2k4k8k16k Context Length Absence 2k4k8k16k32k Context Length 0.00 0.25 0.50 0.75 1.00 Score NIAH-contra 2k4k8k16k32k Context Length SciFact High CTC Low CTC Full attention Block-sparse attention Figure 3: Scaling of full vs. block-sparse attention (mask mix) We show block-sparse vs full attention performance at different contexts on our full task suite. While both methods perform near-identically on low-CTC, high-CTC tasks correspond to growing gaps between them on larger corpora. (4k), â43.7% (8k), â57.4% (16k) and â65.9% (32k). This supports a central themeâdecisions that did not matter for low-CTC matter greatly on high complexity tasks. 4.2 Full vs Hybrid Beyond block-sparse attention, alternative architectures such as state-space-models (SSMs) [Katharopoulos et al., 2020, Gu and Dao, 2023] and adjacent approaches like gated delta net (GDN) [Yang et al., 2024] have also enabled attention to reduce computational complexity. Specifically, these methods replace all-to-all token interactions with a recurrent state update, giving linear com- putation and constant memory. While this has shown promise, pure-GDN has, even at low-CTC, proven insufficientâlanguage models like Qwen3.5 [Qwen Team, 2026] have mixed GDN with full attention rather than replacing it. Strong performance of Qwen3.5 on long-context benchmarks Bai et al. [2024]) and prior compar- isons of full vs hybrid architectures [Merrill et al., 2026] have suggested hybrid architectures to be comparable or even better than full attention, but does this free lunch apply to high-CTC tasks? To do a controlled test of this question, we compare OLMo-3-7B [Ettinger et al., 2025] vs OLMo- 3-7B-Hybrid [Merrill et al., 2026], the closest open-weight comparison between hybrid and full architectures. Note that since Olmo3 by default uses sliding window attention, we adapt it to a full- attention version with a 100M-token continued-pretraining phase on Dolma3-Longmino data (0.1% of its mid-training budget). OLMo-3-7B-Hybrid is already mid-trained natively on this data. Hybrid Underperforms Full Attention on High-CTC Tasks. We plot individual task results on the 10 CTC-BENCH-10 tasks in Figure 4. Similar to block-sparse attention, hybrid attention often leads to no degradation compared to full attention on low-CTC tasks (in fact doing better at 32k), 7 2k4k8k16k32k 0.00 0.25 0.50 0.75 1.00 Score set-F1 X-Absence 2k4k8k16k32k pair-F1 QDmatch (NQ) 2k4k8k16k32k pair-F1 QDmatch (FiQA) 2k4k8k16k32k set-F1 Outlier (scale M) 2.5k4k8k16k set-F1 Contradiction 2k4k8k16k32k Context Length 0.00 0.25 0.50 0.75 1.00 Score gold-ID F1 NQ 2k4k8k16k32k Context Length gold-ID F1 HotpotQA§ 2k4k8k16k32k Context Length gold-ID F1 FiQA 2k4k8k16k32k Context Length partial credit OOLONG⥠2k4k8k16k32k Context Length set-F1 Outlier (Amazon)â High CTCLow CTCOLMo-3-7B, full attentionOlmo-Hybrid-7B (3:1 GDN) Figure 4: Hybrid vs Full Models We plot CTC-BENCH-10 results for a full-attention (solid) version of OLMo-3-7B vs OLMo-3-Hybrid (dot-dashed). On low-CTC tasks both perform similarly, but on high-CTC tasks we observe consistent performance gaps. Low CTCHigh CTC TaskGainTaskGain NQ+0.002QDmatch (FiQA) +0.031 HotpotQA+0.004QDmatch (NQ) +0.283 FiQA+0.011Outlier (scale-M ) +0.505 OOLONG+0.581XAbsence+0.646 Outlier (Amazon) +0.773Contradiction+0.773 Mean+0.274Mean+0.448 32k64k128k Context Length (Tokens) 0% 20% 40% 60% 80% 100% Percentage of 32k Performance Low CTCHigh CTC Figure 5: (Left) Gain of curriculum mask-mixing over pure block-sparse training (no mixing), av- eraged across 2kâ32k contexts on CTC-BENCH-10. Mask-mixing consistently improves block- sparse, especially on High-CTC tasks and tasks more dispersed across contexts (such as OOLONG). (Right) Length generalization (full attention). For 64k and 128k context eval sets (trained only to 32k), we plot percentage of 32k score. High-CTC tasks are harder for length generalization. but leads to large degradation on high-CTC. Note that these numbers are affected by OLMo models being generally weaker than Qwen3.5, and while overall trends are consistent, the gap varies by task, e.g. QDmatch (NQ) vs Outlier (wiki, Scale M ). 4.3 Length Generalization Our work shows that even up to the relatively small scale of 32k tokens, high-CTC tasks already degrade greatlyâscaling data sufficiently, especially for larger corpora, becomes increasingly im- portant. But LCLM training is costly. Given these prohibitive costs, much work has sought to use short-context data to generalize to longer contexts (training only on short versions of tasks or short instruction-tuning data). Such work has successfully shown generalization on a variety of tasks past lengths used in fine-tuning [Gao et al., 2024, Peng et al., 2023, Mehta et al., 2026]. However, these results have predominantly been demonstrated only on low-CTC settings. High-CTC Tasks May Generalize Worse to Longer Contexts. We evaluate 2k-32k-trained mod- els at 64k and 128k on CTC-BENCH-10. Note this does not require context extension as Qwen3.5- 4Bâs native context is Ì 256K tokens. We plot results in Figure 5 (right) with full attention, showing percentage of 32k performance retained on the y-axis to increase comparability. At 128k context low-CTC ranges from 28%-100% while high-CTC ranges from 4%-14%âall high-CTC points fall below low-CTC points. We find these trends at only 128k tokens, and itâs likely that this issue may 8 4k8k16k 0 -10% -20% -30% -40% Block-Sparse Degradation HotpotQA O T (N) 4k8k16k Contradiction O T (N 2 ) Context Length Qwen3.5 0.8B Qwen3.5 2B Qwen3.5-4B OLMo-3-7B Llama-3.2-3B 2k4k8k16k32k Context Length 1Ă 2Ă 4Ă 8Ă 16Ă Ratio O CTC ( N 2 ) to O CTC ( N ) NIAH-Contra vs Contradiction HotpotQA vs QDmatch HotpotQA NQ vs QDmatch NQ FiQA vs QDmatch FiQA Figure 6: (Left) Model scale/family Percentage of full-attention performance lost to block-sparse attention at 4k, 8k and 16k context, for three Qwen3.5 scales and two other model families, on a low- CTC (HotpotQA, O T (N)) and high-CTC (Contradiction, O T (N 2 )) task. The gap is minimal on low-CTC and large and growing on high-CTC; within the Qwen3.5 family (shades of purple) smaller models degrade faster. (Right) Oracle Difficulty For 4 task pairs with matched oracle operations (block-sparse attention), ratio of O T (N) to O T (N 2 ) task performance on the same corpus (pairs named in the legend). Tasks with harder base operations (darker) see the ratio grow faster. become even more pronounced at larger corpus scales (e.g. 1 million+ tokens). Taken together with our prior results, this poses a conundrum: full attention is too costly to scale to large corpora, but many modeling decisions that make LCLMs tractable for larger corpora cause degradation on high-CTC tasks. 5 Analyses: Model Scale, Operation Difficulty We so far show that high-CTC often translates to tasks becoming much harder on larger corpora and how various âfree lunchesâ that have been demonstrated on common tasks donât apply on high-CTC tasks. In this final section, we analyze how factors beyond complexity, both modeling (model family, model scale, §5.1) and task-specific (oracle difficulty, §5.2) interplay with our previous findings. 5.1 Role of Model Family and Scale Are our findings robust to different model scales and families? To answer this question, we sam- ple two tasks: HotpotQA retrieval, one of the most commonly evaluated low-CTC tasks in CTC- BENCH, and Contradiction, a representative high-CTC task. We train with three model families (OLMo-3-7B, Qwen3.5-4B, and Llama3.2-3B) [Team, 2024, Ettinger et al., 2025], as well as dif- ferent model scales within Qwen3.5. We compare full vs block-sparse attention performance to see whether the trends align with our earlier finding. Block-Sparse Result Holds Across Model Families. We report the performance gap between full and block-sparse attention across three sizes of Qwen 3.5, Llama, and OLMo in Figure 6 (Left); individual results are reported in Figure 8 of Appendix E. Across all families and scales, block- sparse attention causes little degradation on HotpotQA but substantial degradation on Contradiction. Comparing degrees of degration across three model sizes of Qwen-3.5 (0.8B, 2B, 4B) additionally reveal the pattern that smaller models degrades faster on larger input corpora. This confirms our earlier finding that replacing full with block-sparse attention has a larger impact on high-CTC than low-CTC tasks. 5.2 Oracle Operation Difficulty CTC focuses on how the number of oracle calls required to solve a task scales with corpus size, rather than the difficulty of each oracle call itself. A natural question to ask is: How does oracle operation difficulty affect model performance on low- and high-CTC tasks? 9 To study this, we consider four O T (N) tasks, Contra-NIAH-Contra, HotpotQA, NQ, and FiQA, and rank them by relative difficulty, measured empirically by Qwen3.5-4B performance averaged across all evaluated context lengths. We pair each task with its corresponding O T (N 2 ) tasksâ Contradiction, QDMatch HotpotQA, QDMatch NQ, QDMatch FiQAâand measure how much harder the O T (N 2 ) version is relative to its matched O T (N) task, i.e., the ratio of their per- formance at aech context length, under block-sparse attention. CTC Magnifies Difficulty Gaps Between Tasks. Figure 6 (Right) shows that the performance gap between each O T (N 2 ) task and its matching O T (N) tasks grows with context length. Importantly, the ordering of these gaps follows the ordering of oracle difficulty: tasks with harder oracle oper- ations exhibit larger gaps as context length increases. This suggests that oracle difficulty and CTC interact systematically, and that relative degradation between tasks at shorter contexts may provide bounds on, or even predict degradation at longer contexts and higher CTC classes. 6 Related Work Prior Corpus Reasoning Tasks Corpus reasoning tasks (including examples with possibly high- CTC) have been studied for decades in computer science, from various low-CTC tasks in our suite (e.g. IR Craswell et al. [2025]), to others like event ordering [Chambers et al., 2014]. Fields like Exploratory Data Analysis [Tukey, 1962] (which studies visualization and understanding of large data), though often focused on structured data, have explored engineering specialized pipelines to understand unstructured data [Shankar et al., 2024]. Work in library sciences has also developed theories of interrelatedness between documents, most famously in the taxonomy of Tillett [1991]. More recently Zhang et al. [2025]âwhich informally mentions a notion of task complexity related to CTCâincludes an exhaustive pair generation task they find to be more challenging at scale for closed-source LLMs. Overall, while we assemble a large and new set of high-CTC tasks, we are not the first to propose tasks classifiable as high-CTC. That said, beyond existing notions [Goldman et al., 2024], we develop a new unified understanding of difficulty within CTC classes. To our knowledge this work is the first to identify LCLMs as uniquely suitable for high CTC tasks, and to connect task complexity to architectural decisions. Through CTC-BENCH, our work also provides the most comprehensive testbed for how high-CTC task difficulty grows at scale. Scalable Corpus Methods Work applying language models to corpora has taken several direc- tions. One path is to develop agentic scaffolds that combine efficient tools like dense retrievers Khattab and Zaharia [2020], Karpukhin et al. [2020] with LLMs. These are often hampered by fundamental challenges in retrieval [Weller et al., 2025, Su et al., 2024, Wei et al., 2025], but as shown by Zhang et al. [2025] can be promising given the right scaffold and sufficient inference compute. Note that the slowness of auto-regression (and the high per-query online cost, Zhang et al. [2025]) make agentic systems intractable for high-complexity tasksâfinding subtle contradictions via enumeration across N documents may require generating on the order of N 2 tokens per query. Consequently, a complementary line of workâwhich we focus on in this workâseeks to develop architectures capable of ingesting full corpora end-to-end, often by making attention more efficient [Acharya et al., 2024, Beltagy et al., 2020, Ivgi et al., 2022, Lu et al., 2024, Xiao et al., 2025, Izacard and Grave, 2020, Zaheer et al., 2020, Katharopoulos et al., 2020, Yang et al., 2024]. Context exten- sion Peng et al. [2023], and length generalization Mehta et al. [2026] also fall into these efforts. Our work helps develop a unified understanding of what these can / cannot achieve as a function of their computation. Importantly, our findings qualify this line of work, and reveal limitations obscured by the fact that these methods have primarily been developed on low-CTC tasks. 7 Conclusion Our work focuses on clearly defining the challenges around high-CTC settings, and identifying the relationship between architecture design and CTC. While helping explain the success of cheaper linear cost methods, our investigation in particular encourages the community to avoid over-reliance on low-CTC evaluations and pay greater attention to high CTC tasks, which represent an interesting and impactful long-term open problem. 10 Acknowledgment We thank Ryan Wang, Karim Abdel Sadek, Jongho Park, Diane Tchuindjo, Omar Khattab, Suhas Kotha, Rhys Gould, Yaowen Ye, Yichuan Wang and other members of Jacob Steinhardt, Sewon Min, and Berkeley AI Research groups for discussion and feedback. This research was supported in part by ONR (N00014-26-1-2233), the NVIDIA Academic Grant Program, and gifts from Ai2 and Apple. This material is based upon work supported by the National Science Foundation Graduate Research Fellowship Program under Grant Numbers DGE2146752, DGE2637800, DGE2140739. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation. This project was also supported generously by compute from VESSL AI. References Shantanu Acharya, Fei Jia, and Boris Ginsburg. Star attention: Efficient llm inference over long sequences. ArXiv, abs/2411.17116, 2024. URL https://api.semanticscholar.org/ CorpusID:274280741. Yushi Bai, Shangqing Tu, Jiajie Zhang, Hao Peng, Xiaozhi Wang, Xin Lv, Shulin Cao, Jiazheng Xu, Lei Hou, Yuxiao Dong, Jie Tang, and Juanzi Li. Longbench v2: Towards deeper understanding and reasoning on realistic long-context multitasks. ArXiv, abs/2412.15204, 2024. URL https: //api.semanticscholar.org/CorpusID:274859535. Iz Beltagy, Matthew E. Peters, and Arman Cohan.Longformer: The long-document trans- former. ArXiv, abs/2004.05150, 2020. URL https://api.semanticscholar.org/ CorpusID:215737171. Amanda Bertsch, Adithya Pratapa, Teruko Mitamura, Graham Neubig, and Matthew R. Gormley. Oolong: Evaluating long context reasoning and aggregation capabilities. ArXiv, abs/2511.02817, 2025. URL https://api.semanticscholar.org/CorpusID:282749185. Nathanael Chambers, Taylor Cassidy, Bill McDowell, and Steven Bethard. Dense event ordering with a multi-pass architecture. Transactions of the Association for Computational Linguistics, 2: 273â284, 2014. URL https://api.semanticscholar.org/CorpusID:1564278. Ziyang Chen, Xing Wu, Junlong Jia, Chaochen Gao, Qingfang Fu, Debing Zhang, and Songlin Hu. Longbench pro: A more realistic and comprehensive bilingual long-context evaluation benchmark. ArXiv, abs/2601.02872, 2026. URL https://api.semanticscholar.org/ CorpusID:284512608. Nick Craswell, Bhaskar Mitra, Emine Yilmaz, Daniel Fernando Campos, and Jimmy J. Lin. Overview of the trec 2021 deep learning track. ArXiv, abs/2507.08191, 2025. URL https: //api.semanticscholar.org/CorpusID:261242374. Allyson Ettinger, Amanda Bertsch, Bailey Kuehl, David W. Graham, David Heineman, Dirk Groen- eveld, Faeze Brahman, Finbarr Timbers, Hamish Ivison, Jacob Daniel Morrison, Jake Poznanski, Kyle Lo, Luca Soldaini, Matt Jordan, Mayee F. Chen, Michael Noukhovitch, Nathan Lambert, Pete Walsh, Pradeep Dasigi, Robert Berry, Saumya Malik, Saurabh Shah, Scott Geng, Shane Arora, Shashank Gupta, Taira Anderson, Teng Xiao, Tyler C. Murray, Tyler Romero, Victoria Graf, Akari Asai, Akshita Bhagia, Alexander Wettig, Alisa Liu, Aman Rangapur, Chloe Anastasi- ades, Costa Huang, Dustin Schwenk, Harsh M. Trivedi, Ian Magnusson, Jaron Lochner, Jiacheng Liu, Lester James Validad Miranda, Maarten Sap, Malia Morgan, Michaela Schmitz, Michal Guerquin, Michael Wilson, Regan Huff, Ronan Le Bras, Rui Xin, Rulin Shao, Sam Skjons- berg, Shannon Zejiang Shen, Shuyue Stella Li, Tucker Wilde, Valentina Pyatkin, William Mer- rill, Yapei Chang, Yuling Gu, Zhi yuan Zeng, Ashish Sabharwal, Luke Zettlemoyer, Pang Wei Koh, Ali Farhadi, Noah A. Smith, and Hannaneh Hajishirzi. Olmo 3. ArXiv, 2025. URL https://api.semanticscholar.org/CorpusID:283908770. Harvey Yiyun Fu, Aryan Shrivastava, Jared Moore, Peter West, Chenhao Tan, and Ari Holtzman. Absencebench: Language models canât tell whatâs missing. ArXiv, abs/2506.11440, 2025. URL https://api.semanticscholar.org/CorpusID:279391603. 11 Tianyu Gao, Alexander Wettig, Howard Yen, and Danqi Chen. How to train long-context language models (effectively). In Annual Meeting of the Association for Computational Linguistics, 2024. URL https://api.semanticscholar.org/CorpusID:273098476. Omer Goldman, Alon Jacovi, Aviv Slobodkin, Aviya Maimon, Ido Dagan, and Reut Tsarfaty. Is it really long context if all you need is retrieval? towards genuinely difficult long con- text nlp. ArXiv, abs/2407.00402, 2024. URL https://api.semanticscholar.org/ CorpusID:270870356. Siddharth Gollapudi, Nilesh Gupta, Prasann Singhal, and Sewon Min. Can language models actually retrieve in-context? drowning in documents at million token scale. ArXiv, 2026. URL https: //api.semanticscholar.org/CorpusID:289749122. Albert Gu and Tri Dao.Mamba:Linear-time sequence modeling with selective state spaces. ArXiv, abs/2312.00752, 2023. URL https://api.semanticscholar.org/ CorpusID:265551773. Abe Bohan Hou, Orion Weller, Guanghui Qin, Eugene Yang, Dawn J. Lawrie, Nils Holzenberger, Andrew Blair-Stanek, and Benjamin Van Durme. Clerc: A dataset for u. s. legal case retrieval and retrieval-augmented analysis generation. In North American Chapter of the Association for Com- putational Linguistics, 2025. URL https://api.semanticscholar.org/CorpusID: 278664835. Yupeng Hou, Jiacheng Li, Zhankui He, An Yan, Xiusi Chen, and Julian McAuley. Bridging language and items for retrieval and recommendation. ArXiv, abs/2403.03952, 2024. URL https:// api.semanticscholar.org/CorpusID:287635730. Maor Ivgi, Uri Shaham, and Jonathan Berant. Efficient long-text understanding with short-text models. Transactions of the Association for Computational Linguistics, 11:284â299, 2022. URL https://api.semanticscholar.org/CorpusID:251224058. Gautier Izacard and Edouard Grave. Leveraging passage retrieval with generative models for open domain question answering.ArXiv, abs/2007.01282, 2020.URL https://api. semanticscholar.org/CorpusID:220302360. Gautier Izacard, Patrick Lewis, Maria Lomeli, Lucas Hosseini, Fabio Petroni, Timo Schick, Jane A. Yu, Armand Joulin, Sebastian Riedel, and Edouard Grave. Few-shot learning with retrieval augmented language models. J. Mach. Learn. Res., 24:251:1â251:43, 2022. URL https: //api.semanticscholar.org/CorpusID:251371732. Qiao Jin, Bhuwan Dhingra, Zhengping Liu, William W. Cohen, and Xinghua Lu. Pubmedqa: A dataset for biomedical research question answering. ArXiv, abs/1909.06146, 2019. URL https: //api.semanticscholar.org/CorpusID:202572622. Vladimir Karpukhin, Barlas O Ì guz, Sewon Min, Patrick Lewis, Ledell Yu Wu, Sergey Edunov, Danqi Chen, and Wen tau Yih. Dense passage retrieval for open-domain question answer- ing.ArXiv, abs/2004.04906, 2020.URL https://api.semanticscholar.org/ CorpusID:215737187. Angelos Katharopoulos, Apoorv Vyas, Nikolaos Pappas, and Franccois Fleuret. Transformers are rnns: Fast autoregressive transformers with linear attention. In International Conference on Machine Learning, 2020. URL https://api.semanticscholar.org/CorpusID: 220250819. O. Khattab and Matei A. Zaharia. Colbert: Efficient and effective passage search via contextu- alized late interaction over bert. Proceedings of the 43rd International ACM SIGIR Confer- ence on Research and Development in Information Retrieval, 2020. URL https://api. semanticscholar.org/CorpusID:216553223. Tom Ì as Kocisk Ì y, Jonathan Schwarz, Phil Blunsom, Chris Dyer, Karl Moritz Hermann, G Ì abor Melis, and Edward Grefenstette. The narrativeqa reading comprehension challenge. Trans- actions of the Association for Computational Linguistics, 6:317â328, 2017. URL https: //api.semanticscholar.org/CorpusID:2593903. 12 Tom Kwiatkowski, Jennimaria Palomaki, Olivia Redfield, Michael Collins, Ankur P. Parikh, Chris Alberti, Danielle Epstein, Illia Polosukhin, Jacob Devlin, Kenton Lee, Kristina Toutanova, Llion Jones, Matthew Kelcey, Ming-Wei Chang, Andrew M. Dai, Jakob Uszkoreit, Quoc V. Le, and Slav Petrov. Natural questions: A benchmark for question answering research. Trans- actions of the Association for Computational Linguistics, 7:453â466, 2019. URL https: //api.semanticscholar.org/CorpusID:86611921. Woosuk Kwon, Zhuohan Li, Siyuan Zhuang, Ying Sheng, Lianmin Zheng, Cody Hao Yu, Joseph E. Gonzalez, Hao Zhang, and Ion Stoica. Efficient memory management for large language model serving with pagedattention. In Proceedings of the ACM SIGOPS 29th Symposium on Operating Systems Principles, 2023. Jimmy J. Lin, Xueguang Ma, Sheng-Chieh Lin, Jheng-Hong Yang, Ronak Pradeep, Rodrigo Nogueira, and David R. Cheriton. Pyserini: A python toolkit for reproducible information re- trieval research with sparse and dense representations. Proceedings of the 44th International ACM SIGIR Conference on Research and Development in Information Retrieval, 2021. URL https://api.semanticscholar.org/CorpusID:235366815. Songshuo Lu, Hua Wang, Yu Rong, Zhi Chen, and Yaohua Tang. Turborag: Accelerating retrieval- augmented generation with precomputed kv caches for chunked text. In Conference on Empirical Methods in Natural Language Processing, 2024. URL https://api.semanticscholar. org/CorpusID:273233795. Manas Mehta, Fangcong Yin, and Greg Durrett.Randomized yarn improves length general- ization for long-context reasoning.ArXiv, abs/2606.23687, 2026.URL https://api. semanticscholar.org/CorpusID:289629978. William Merrill, Yanhong Li, Tyler Romero, Anej Svete, Caia Costello, Pradeep Dasigi, Dirk Groeneveld, David Heineman, Bailey Kuehl, Nathan Lambert, Jacob Morrison, Luca Sol- daini, Finbarr Timbers, Pete Walsh, Noah A. Smith, Hanna Hajishirzi, and Ashish Sabhar- wal. Olmo hybrid: From theory to practice and back. ArXiv, abs/2604.03444, 2026. URL https://api.semanticscholar.org/CorpusID:287199770. Bowen Peng, Jeffrey Quesnelle, Honglu Fan, and Enrico Shippole.Yarn: Efficient context window extension of large language models. ArXiv, abs/2309.00071, 2023. URL https: //api.semanticscholar.org/CorpusID:261493986. Jason Priem, Heather A. Piwowar, and Richard Orr. Openalex: A fully-open index of scholarly works, authors, venues, institutions, and concepts. ArXiv, abs/2205.01833, 2022. URL https: //api.semanticscholar.org/CorpusID:248512771. Qwen Team. Qwen3.5: Towards native multimodal agents, February 2026. URL https://qwen. ai/blog?id=qwen3.5. Stephen E. Robertson and Karen Sp Ì arck Jones. Relevance weighting of search terms. J. Am. Soc. Inf. Sci., 27:129â146, 1976. URL https://api.semanticscholar.org/CorpusID: 45186038. Shreya Shankar, Aditya G. Parameswaran, and Eugene Wu. Docetl: Agentic query rewriting and evaluation for complex document processing. ArXiv, abs/2410.12189, 2024. URL https: //api.semanticscholar.org/CorpusID:273374845. Hongjin Su, Howard Yen, Mengzhou Xia, Weijia Shi, Niklas Muennighoff, Han Wang, Hai-Bo Liu, Quan Shi, Zachary S. Siegel, Michael Tang, Ruoxi Sun, Jinsung Yoon, Sercan Ì O. Arik, Danqi Chen, and Tao Yu. Bright: A realistic and challenging benchmark for reasoning-intensive retrieval. ArXiv, abs/2407.12883, 2024. URL https://api.semanticscholar.org/ CorpusID:271270735. Diane Tchuindjo, Devavrat Shah, and Omar Khattab. Obliq-bench: Exposing overlooked bottle- necks in modern retrievers with latent and implicit queries. ArXiv, abs/2605.06235, 2026. URL https://api.semanticscholar.org/CorpusID:288014448. Llama Team. The llama 3 herd of models, 2024. 13 Nandan Thakur, Nils Reimers, Andreas Rucklâe, Abhishek Srivastava, and Iryna Gurevych. Beir: A heterogenous benchmark for zero-shot evaluation of information retrieval mod- els.ArXiv, abs/2104.08663, 2021.URL https://api.semanticscholar.org/ CorpusID:233296016. Barbara B. Tillett. A taxonomy of bibliographic relationships. Library Resources & Technical Services, 35:150â158, 1991. URL https://api.semanticscholar.org/CorpusID: 59748210. John W. Tukey. The future of data analysis. Annals of Mathematical Statistics, 33:1â67, 1962. URL https://api.semanticscholar.org/CorpusID:122864799. Jason Wei, Zhiqing Sun, Spencer Papay, Scott McKinney, Jeff Han, Isa Fulford, Hyung Won Chung, Alexandre Passos, William Fedus, and Amelia Glaese. Browsecomp: A simple yet challenging benchmark for browsing agents. ArXiv, abs/2504.12516, 2025. URL https: //api.semanticscholar.org/CorpusID:277857238. Orion Weller, Michael Boratko, Iftekhar Naim, and Jinhyuk Lee.On the theoretical limita- tions of embedding-based retrieval. ArXiv, abs/2508.21038, 2025. URL https://api. semanticscholar.org/CorpusID:280949957. Emily Xiao, Chin-Jou Li, Yilin Zhang, Graham Neubig, and Amanda Bertsch. Efficient many-shot in-context learning with dynamic block-sparse attention. ArXiv, abs/2503.08640, 2025. URL https://api.semanticscholar.org/CorpusID:276928367. Songlin Yang, Jan Kautz, and Ali Hatamizadeh. Gated delta networks: Improving mamba2 with delta rule. ArXiv, abs/2412.06464, 2024. URL https://api.semanticscholar.org/ CorpusID:274598177. Zhilin Yang, Peng Qi, Saizheng Zhang, Yoshua Bengio, William W. Cohen, Ruslan Salakhutdinov, and Christopher D. Manning. Hotpotqa: A dataset for diverse, explainable multi-hop question answering. In Conference on Empirical Methods in Natural Language Processing, 2018. URL https://api.semanticscholar.org/CorpusID:52822214. Howard Yen, Tianyu Gao, Minmin Hou, Ke Ding, Daniel Fleischer, Peter Izsak, Moshe Wasserblat, and Danqi Chen. Helmet: How to evaluate long-context language models effectively and thor- oughly. ArXiv, abs/2410.02694, 2024. URL https://api.semanticscholar.org/ CorpusID:273098808. Manzil Zaheer, Guru Guruganesh, Kumar Avinava Dubey, Joshua Ainslie, Chris Alberti, Santi- ago Onta Ì n Ì on, Philip Pham, Anirudh Ravula, Qifan Wang, Li Yang, and Amr Ahmed. Big bird: Transformers for longer sequences. ArXiv, abs/2007.14062, 2020. URL https://api. semanticscholar.org/CorpusID:220831004. Alex L. Zhang, Tim Kraska, and Omar Khattab. Recursive language models. ArXiv, abs/2512.24601, 2025. URL https://api.semanticscholar.org/CorpusID:284350669. A Limitations While this work shows initial evidence for challenging properties of CTC tasks, there is still room for future work to expand on our analysis. Our paper, while supporting our hypotheses up to 32k tokens in-domain (128k tokens in our length generalization experiments) due to compute limitations does not examine larger corpus-scale settings beyond 128k tokensânote that for many high-CTC tasks performance already degrades greatly by 32k tokens and shows clear trends of degrading further. While we aim to get a comprehensive set (including 12 tasks representative of previously explored settings), there are still likely several low-CTC and high-CTC tasks our suite misses, and that we encourage future work to examine and reproduce our findings on. While this work helps define and understand high-CTC tasks, it only take initial steps towards solving them, and we are excited to see future work make further progress on high-CTC tasks. 14 B Discussion of Real High CTC Tasks A key message of this work is to encourage more work on O T (N 2 ) and O T (NM) tasks, which represent very different architectural challenges at scale. While our investigation focuses largely on the technical and architectural aspects of this problem, we emphasize that while these tasks are under-explored, they are realistic, and systems that can do such tasks over large corpora may open up various new valuable applications not previously possible, inspiring our current task suite. We below detail just a few applications and potential ideas for future work to investigate that could benefit from such systems at scale, connected to tasks from our suite: Contradiction / Redundancy Detection (high-CTC tasks a) Motivating example: scientific lit- erature. Given a large and growing body of scientific literature, a key and evolving question in determining new research and experiments is always what information does the community have? Often, one will examine a specific research area at a local level, and given specific ideas may, with keyword search and other tools, try to determine whatâs been explored and not, or whatâs been ver- ified or not, which is O T (N). To determine the state of an entire field at a global level (e.g. all claims with the most contradictory evidence, claims with the most redundant evidence), allowing for systematic synthesis and resolution of such evidence, is O T (N 2 ), and not currently tractable. Better corpus reasoning systems could allow such systematic analysis end-to-end for scientific lit- erature, fact-checking, minimizing / tracking redundancy in long-text like books, and many other applications. Discovering long-tail categories / phenomena (high-CTC tasks f, g) Motivating example: Monitor- ing LLM Generations. Language models can generate text at rapid scale, and for an LLM provider or other larger-scale user, every day a new corpus may get generated. For such instances, being able to faithfully look for the long tail of the least common events with harmful or other properties may be important to the safe deployment of such systems (e.g. What are the weirdest questions today?). Doing so however is O T (NM) where M is the number of possible phenomena (which in the long-tail case will be quite large), and so doing such a task at high-fidelity may currently be very challenging. Similar analyses could be applied for finding under-explored research areas / methodologies. Structured Re-Organization of Large Corpora (high-CTC task i) Corpora are often unstructured and, aside from some metadata, relatively unorganized. Being able to do analyses like sorting pas- sages in a book by importance, or hierarchically re-organizing and grouping a corpus into a fash- ion reflecting the overall semantic structure (e.g. to reflect new trends in the corpus) can all be O T (NM) or O T (N 2 ), and potentially provide valuable analyses or new ways of interacting with corpora. Cross-Corpus Comparison (high-CTC tasks b, c, d, e) Often corpora donât exist as monoliths in isolation. We may be interested in understanding how corpora evolve over time from largely similar distributions with high overlap (e.g. historical records, internet text, internal LLM agent traces from different live model checkpoints), or we may be interested in finding connections between unrelated corpora (for example two unrelated fields of science). These tasks are versatile, and in large part often end up being O T (N 2 ) as a function of the corpora being compared. We believe that if systems which can handle such tasks become more scalable, given that the above are often difficult (or intractable) and may rely on a lot of manual work and heuristics with current systems, a large variety of applications may emerge from new methods here. Work towards building realistic benchmarks for these, as well as new architectures that can handle them, are valuable future directions. C Task Suite Data Details C.1 Data Construction Evaluation Set Construction We evaluate at lengths up to 128k tokens (our code supports up to 10M tokens for several tasks). For each task we typically fix a canonical query set (usually 500 examples per set), and then will across different length evaluation sets within the task expand the distractor set. The documents and queries between train and eval sets are by default kept completely disjoint to avoid any sort of contamination. 15 DatasetExample O(N): One-pass tasks NQâwho sold out jesus for 30 pieces of silverââ [1] HotpotQA (bridge)âWhat company did Rex Maughan aquire?ââ [8, 9] NIAH-contraâ... a hypertonic solution of 14.4% has an irreversible ciliostatic effectââ [20], the one claim saying reversible BEIR SciFactâ0-dimensional biomaterials show inductive properties.ââ [1] BEIR FiQAâWhere should I park my rainy-day / emergency fund?ââ [2, 8, 10, 12, 19] MS MARCOâwhat is the difference between fables and folktales? for kidsââ [2] MS MARCO rerankthe same 20-passage pool, every passage scoredâ Ranking: [2], [1], [3], ... OBLIQâ... written in a similar style and voice to: The slowness and calmness of the lodge came with genuine inquisitiveness... ââ [14, 23, 29] OOLONG10 labelled sentence pairs; âwhich of the labels is the most common?ââ Label: incorrect Outlier (Amazon)20 reviews, 16 rated 4-star and 4 rated 5-starâ Outliers: 4, 7, 11, 17 Outlier (wiki, fixed M )57 chunks from 3 articles (43 / 11 / 3)â Outliers: 5, 17, 54 Absence90 numbered sentences, 3 deleted from the copyâ ["The interior is what", "In opposite chapels are", ...] Higher-complexity tasks Outlier (wiki, scale-k)55 chunks from 10 articles (9 / 7 / 7 / ... / 3)â Outliers: 26, 41, 42 Grouping (OpenAlex)âCluster these 20 papers into 15 groups.ââ"groups": ["docids": [4, 5, 12], ...] Contradiction [2] â... has a reversible ciliostatic effectâ vs. [12] â... has an irreversible ciliostatic effectââ [[2,12], [8,11], [13,17]] xabsence19 claims, 8 matched pairs, 3 with no twin in the other corpusâ Unmatched: 1, 3, 14 strmatch [1] and [11] share âkossuth westward tacoââ [[1,11], [2,8], [15,19]] qdmatch (NQ) [7] âwhen did 10 shilling note go out of circulationââ [29]â [[7,29], [14,28], [19,40]] qdmatch (HPQA) [8] â âLost!â is a song by a British rock band formed in what year?ââ [25] and [34] qdmatch (FiQA) [25] âPay off credit card debt or earn employer 401(k) match?ââ [55] Reorder50 shuffled segments of Flatlandâ [31, 19, 12, 22, 37, ...] Textgroupsnoun counts 34+31+5 = 70 and 13+17+40 = 70â [[1,11,12], [2,14,17]] Table 2: One real example per task. All content is verbatim from the evaluation sets, elided with ... where a passage is too long to show; document IDs are 1-indexed exactly as the model sees them. Appendix H shows each example in full, with the task instruction, the surrounding corpus and the distractor types. Training Data Construction Unless stated otherwise, each task is trained for one epoch on 20,000 examples split evenly across five context budgets (so 4,000 examples for 2k, 4k, 8k, 16k and 32k respectively, so the training distribution matches the evaluation uniformly. Training examples are drawn from the same generator as the evaluation examples for that task, and for the tasks with a published split (e.g. NQ, etc.), we use existing train/test divisions. OBLIQ is the sole exception: it has no usable training split and its training data is synthesized, though for evaluation we use its existing evaluation set with BM25 mined hard negatives. C.2 Tasks: Overview C.2.1 O T (N) tasks: one pass over the corpus Factoid QA (NQ). Gold-ID F1. We use NaturalQuestions-Open (sourcing train and eval from existing train / eval set) [Izacard et al., 2022], with all documents â gold, hard negative and filler â drawn from the 100-word Wikipedia DPR corpus [Karpukhin et al., 2020] served by pyserini [Lin et al., 2021], so every document shares one surface format. For each question we BM25-search [Robertson and Jones, 1976] for a passage containing an answer string (that becomes the gold), take top BM25 hits that do not contain the answer as hard negatives, and fill the remaining slots with random wiki-DPR passages. By default we hold hard negatives toâŒ10% of the pool. Multi-hop QA (HotpotQA). Gold-ID F1. The bridge subset of HotpotQA [Yang et al., 2018], where answering requires composing two gold passages; the corpus is again wikipedia-100w with BM25 hard negatives. Because the answer needs a fixed (two) number of retrieval steps, this remains O T (N). We source train examples from the standard train set and test examples from the validation set. We use cross-encoder/ms-marco-MiniLM-L-6-v2 with a CE filter of 3 as well to remove false positives. And similar to NQ we hold hard negatives toâŒ10% of the pool. 16 BEIR SciFact / FiQA. Set-F1. We use two BEIR Thakur et al. [2021] tasks: SciFact (scientific claimâ abstract, single-gold) and FiQA (financial opinion QA, median 2 golds/query). Both mine distractors by BM25 from the datasetâs own corpus. FiQA is sparsely judged, so plain BM25 dis- tractors to filter unlabeled positives we score (query, candidate) pairs with a cross-encoder and keep a candidate only if it scores at least a margin below the gold, then fill the rest of the pool with random real corpus documents. FiQAâs train-set is too small (5,500 examples) so we re-use queries across context lengths to get to 20,000. SciFactâs existing train set was too small (809) to go to 20,000 total, so it has a smaller train set (4045 examples, each query used once per length). For SciFact the eval set is only 299 examples so our set doesnât go up to 500. We use the same CE filter pipeline as HotpotQA to remove false positives. MS MARCO retrieval and reranking. Set-F1; MRR@10 for docs with positive CE score Passages come from the msmarco-v1-passage index. Hard negatives are taken from SentenceTrans- formersâ precomputed BM25+dense mining and filtered by a margin on precomputed cross-encoder scores (same as above), so we donât re-run cross-encoder here; random fill is sampled as random pids from the 8.8M collection, which are byte-identical in format to gold and hard passages. The rerank variant reuses the identical pool but asks for the documents in ranked order based on cross-encoder score. Needle contradiction (NIAH-contra). Set-F1. An O T (N) control derived from the O T (N 2 ) contradiction task: one member of a gold contradiction pair is promoted to the query (âfind the document that contradicts this claimâ) and the other stays in the corpus as the needle. Every other claim, including the other gold pairs, is a distractor. Comparing this against contradiction isolates the effect of all-pairs search from the effect of PubMed claim text. OBLIQ retrieval. Set-F1. OBLIQ-Bench (dianetc/OBLIQ-Bench) poses subjective, long- form queries over its own corpora; we port it in-context by forcing all qrel positives into the example and filling with BM25-mined distractors from the same subset. Specifically, we use the twitter subset of the benchmark (âfind tweets where users are implicitly insinuating that great powers quietly profit from sustained turmoil. . . â), satisfied by a set of documents: median 5 golds per example, mean 9. The documents themselves are single tweets â a median of 257 characters. Synthetic training data. As OBLIQ has no usable training split: the benchmark has only a few hundred real queries per subset. We thus generate data as follows. For each seed document D (taken from corpus): 1. An LLM (Qwen3-14B-Instruct) writes an oblique queryQ thatD satisfies, few-shot primed with real (document, query) pairs (held out from final eval set). 2. An obliqueness filter rejects any Q with word-Jaccard overlap against D above a per-subset cap (0.55 for the writing subset, 0.35 elsewhere), so a keyword shortcut cannot separate the golds â matching real OBLIQ, whose queries are deliberately non-lexical. 3. BM25 retrieves candidate documents for Q from the same subset. 4. A multi-gold judge (also using Qwen3-8B) asks, for each top candidate, whether it also satisfies Q. These either become additional golds or hard negatives. Only training data is synthetic â the held-out evaluation set is the twitter subset of the benchmark (we use all subsets for generation of the training data). Our data is very initial and itâs likely that much better data could be generated for this task. Oolong. Partial-credit score. A port of OOLONG [Bertsch et al., 2025]: a long context of labeled classification items, each tagged with a date and a user id, and a distributional question â most/least common label, most frequent user, when label A overtook label B. We use the unlabeled context variant, so the model must classify each item and then aggregate. Because the label set is fixed and each item is judged independently before a single aggregation step, this is O T (N). Absence. Set-F1 over removed IDs. Following AbsenceBench [Fu et al., 2025]: the model sees a full numbered corpus, then a second copy with some elements deleted, and must name what is missing. We construct data with random Project Gutenberg passages, with sentence-level chunks: each document is deleted independently with probability p. Because the second copy preserves the original order, the two corpora are positionally aligned. 17 Outlier detection (Amazon Reviews). Set-F1. Each corpus contains customer reviews from the Amazon Reviews 2023 corpus [Hou et al., 2024], shown as review title and body only. Examples are mixed 50/50 between two variants. In the rating variant a majority of reviews share one star rating and 3 outliers carry a different one (âfind the outliers with the least common ratingâ); in the category variant the majority share one product category and 3 outliers come from another (âfind the outliers from the least common categoryâ), with categories taken from the corpusâs own product-category labels. C.2.2 O T (NM) tasks: categorization Outlier detection (Wikipedia). Set-F1. Each context is filled with 100-word chunks from a handful of Wikipedia articles with imbalanced counts; the answer is the ID list of chunks belonging to the article with the fewest chunks. We run two variants: scale-M , where the number of source articles grows with N (M = N/5 on average), and a fixed-M control where the article count stays constant (at a value of 3) as N grow. Grouping (OpenAlex). Kendall Tau with true order labels Given N scientific abstracts, partition them into M groups. Gold partitions come from the OpenAlex [Priem et al., 2022] concept hi- erarchy: we sample only papers annotated down to level L3 (lower levels indicate more specific categories), then per example pick a level LâL0,...,L3 and sample M distinct concept values at that level. The level sets the granularityâL0 gives coarse groups to L3 fine onesâand the model must infer from the corpus and M what granularity is being asked for. Note that M will naturally be larger for larger corpora with these heuristics. C.2.3 O T (N 2 ) tasks: all-pairs search Cross-corpus absence (xabsence). Set-F1. Two corpora A and B share near identical document sets. Almost every document in one has a twin in the other; exactly k are unmatched, and the model names these. The suite uses an exact-copy variant: a twin is an identical copy of its partner, and documents are full PubMed abstracts rather than single sentences, but this task could be made more challenging with paraphrasing or other variants. Query-document matching (qdmatch). Pair set-F1. The retrieval analogue of contradiction for 3 retrieval tasks. Pools are drawn so that relevant questions, distractor questions (gold withheld) and distractor documents (questions withheld) are disjoint such that only three pairs of (question, document) are in the corpus. The model must find the sparse gold pairs among NĂN combinations. We build three versions from three retrieval sourcesâNQ (1 gold/question), HotpotQA bridge (2 golds/question), and FiQA (median 2 golds/question)âso difficulty from the underlying retrieval problem varies while the search structure is fixed. Note that there are no hard negatives here, but the process to get train data and sources are the same as the original retrieval sets described above. Contradiction search (PubMed). Pair set-F1 Each document is a single claim sentence from a PubMed abstract [Jin et al., 2019]. Among N documents, K=3 gold pairs (d,d âČ ) are hidden: d is a real PubMed sentence and d âČ is a sentence, written by Qwen3-14B-Instruct, reporting what a different study might have found such that the two cannot both be true (and prompted with the style of other claim pairs). A word-overlap threshold (Jaccardâ€0.5) drops any near-duplicates. Only one sentence per pair is LLM-written. Candidate sentences are filtered via regex to be self-contained and claim sentences, and fillers come from abstracts disjoint from every gold-source abstract in that example. While we manually inspect 100 examples for obvious artifacts, subtle LLM-generated annotation artifacts likely make this version of the task much easier than more realistic versions of contradiction search, which we encourage future work to investigate. String matching (strmatch). Pair set-F1. N strings of L words drawn from a Wikipedia vocab- ulary, and the task is to find every pair sharing a contiguous run of â„ k words. Gold pairs share exactly one k-word run; hard negatives share a (kâ1)-word run. This task has no semantic content at all, so the only thing that scales is the number of comparisons. Reordering. Kendall-Ï . N consecutive sentence segments of a single Project Gutenberg book, presented in random order, with the task of recovering the original ordering as a list of document IDs. Because sorting requires comparisons between arbitrary pairs of segments, we label it O T (N 2 ) (unlike number sorting we canât assume a strict global positional prior). 18 C.2.4 Beyond O T (N 2 ) Textgroups. Group set-F1. N chunks (sourced from Project Gutenberg), each carrying a feature (how many nouns / verbs / adjectives it contains, or how often a chosen connective appears), and the task is to find every triple whose feature values sum to a target T . Because G=3, the construction can both plant exactly K triples and verify by brute force that no others exist. This is the one task in the suite where the per-document oracle operation is itself nontrivial (counting) and the CTC is greater than quadratic. We include it as an example of tasks that can go beyond O T (N 2 ). D Data Statistics / Evaluation Table 3 lists, for every task in the suite, the corpus it is built from, its CTC class, the number of documents present at each context rung, and the number of examples it is evaluated on. Each exam- ple carries documents (a list oftitle, text), queries, answers, and gold docindices. Document counts are measured from the evaluation files. Document length is given in characters. Evaluation We typically serve everything with vLLM Kwon et al. [2023] (we use a modified version for block-sparse inference), where block-sparse attention is implemented by masking with respect to marker tokens. For generation we use greedy decoding. Documents per example (N ) TaskSource corpusCTCMetric2k4k8k 16k32k Chars/doc Eval NQWikipedia 100w (DPR) O T (N)gold-ID F1112348 104208636500 HotpotQA (bridge)Wikipedia 100w (DPR) O T (N)gold-ID F1173672 144296432500 NIAH-contraPubMed claimsO T (N)gold-ID F14086 180 36574060500 BEIR SciFactSciFact abstractsO T (N)gold-ID F15102143881517300 BEIR FiQAFiQA-2018 postsO T (N)gold-ID F18194082166835500 MS MARCOmsmarco-v1-passage O T (N)gold-ID F1234693 187374337500 MS MARCO rerankâĄmsmarco-v1-passage O T (N)MRR@10204070 100376336500 OBLIQOBLIQ-Bench posts O T (N)gold-ID F1363019304196126 OOLONG§labeled item streamO T (N)partial credit 4183 153 337616154500 Outlier (Amazon)Amazon Reviews 2023 O T (N)set-F1204080 160320494500 Outlier (wiki, fix-M )Wikipedia 100wO T (N)set-F1142857 111220612500 AbsenceProject GutenbergO T (N)set-F190 180 360 720â146500 Outlier (wiki, scale-k) Wikipedia 100wO T (NM) set-F1142857 111220612500 GroupingOpenAlex abstracts O T (NM) pairwise-F110214388176893500 Textgroupssynthetic passagesO T (N 3 )group-F1112450 1032101182500 ContradictionPubMed claimsO T (N 2 )set-F15692 187 379762148500 Cross-corpus absencePubMed claimsO T (N 2 )set-F13981 165 333669139500 String matchingsynthetic stringsO T (N 2 )set-F13882 170 35070081500 QDmatch (NQ)Wikipedia 100w (DPR) O T (N 2 )pair-F1184084 174356338500 QDmatch (HotpotQA) Wikipedia 100w (DPR) O T (N 2 )pair-F1184084 174356272500 QDmatch (FiQA)FiQA-2018 postsO T (N 2 )pair-F1102658 122248548500 ReorderingProject GutenbergO T (N 2 )Kendall tau122757 116â581500 Table 3: Corpus statistics for every task in the evaluation suite Column headings 2kâ32k are approximate token targets per task; the entries are the median number of documents actually present in an example of that rung, measured from the evaluation files the reported results were graded on. Chars/doc is the median document length in characters at the deepest available rung. E Additional Experiments E.1 Model Scale We include a more detailed plot with some different dense and block-sparse attention values for our model scale comparison (Figure 7). This includes dense attention model scale results on Reordering and QDMatch (NQ), where we find a trend of smaller model scales sometimes being unable to learn challenging high CTC tasks. E.2 Model Family We in Figure 8 show a few exact model family performance numbers with both block-sparse and full attention. Note that block-sparse struggles greatly on contradiction across model families. 19 8k16k32k Context Length 0.0 0.2 0.4 0.6 0.8 1.0 Score (Task Metric) HotpotQA 0.98 0.97 0.94 0.99 0.97 0.94 8k16k32k Context Length 0.0 0.2 0.4 0.6 0.8 1.0 BEIR FiQA 0.66 0.53 0.29 0.73 0.62 0.31 4k8k16k Context Length 0.0 0.2 0.4 0.6 0.8 1.0 Reordering -0.01 0.01 0.00-0.01 0.00 0.00 0.60 0.26 0.05 8k16k32k Context Length 0.0 0.2 0.4 0.6 0.8 1.0 QDmatch (NQ) 0.00 0.00 0.00 0.94 0.87 0.66 0.95 0.88 0.69 Low CTC High CTC Qwen3.5-0.8BQwen3.5-2BQwen3.5-4B Figure 7: Full model performance on several tasks and Qwen3.5 model scales. Some high-CTC tasks have minimum model scales necessary to learn effectively. 2.5k 4k8k 16k Context Length 0.5 0.6 0.7 0.8 0.9 1.0 Score (set-F1) (high CTC, O T (N 2 )) Contradiction 2k4k8k 16k Context Length 0.5 0.6 0.7 0.8 0.9 1.0 Score (gold-ID F1) (low CTC, O T (N)) HotpotQA Qwen3.5-4BOLMo-3-7BOlmo-Hybrid-7BLlama-3.2-3BFull attentionBlock-sparse attention Figure 8: Full vs block-sparse attention with a few different model families. F Training Hyperparameters All CTC Suite results are full-parameter fine-tunes of a base checkpoint, trained with olmo-core. Every arm of a comparison â full attention, block-sparse, and block-sparse with mask mixing â is trained from the same base with the same recipe, so the only difference between arms is the attention mask used during training. Defaults shared across all settings: Optimizer: AdamW with skip-step (a step whose loss or gradient norm is a large outlier is skipped rather than applied), lr 5Ă10 â5 , ÎČ = (0.9, 0.95), weight decay 0, gradient clipping at global norm 1.0. Schedule: linear warmup over the first 3% of steps, then linear decay to 0. Epochs / batch: 1 epoch, global batch 8 sequences, 1 instance per micro-batch. Precision: bf16 parameters with fp32 gradient reduction, FSDP for data parallelism, activation checkpointing on. Packing: examples are not packed; one example per sequence, so per-example sequence lengths are stable across runs and document boundaries stay aligned with chunk boundaries. Mask mixing. We apply mask-mixing as a curriculum from 0.8 to 0 rather than a fixed p, finding this to work well empirically. Evaluation always uses the block-sparse mask with no mixing, so a mask-mixing result reflects pure block-sparse inference and differs from the pure-block-sparse arm only in how it was trained. G GPU Resources / Compute The experiments for our investigation involved roughly 3k A100 hours and 1k H200 hours (32 CPU cores, 300GB RAM). We expect that with 8xH100 GPUs, the results in the paper Figure 3 would take under 500 hours to reproduce. 20 H Task Examples We show one real example for every task in the suite (Table 1), we omit full corpus text omitted for readability. H.1 O T (N) tasks H.1.1 NQ (factoid retrieval) Instruction: âUse the given documents to identify which document is most relevant to answering the question. Write your answer in the following format: Relevant Document: [id]â Query: âwho sold out jesus for 30 pieces of silverâ Context (3 of 20 documents shown): [1] (gold) âThirty pieces of silver was the price for which Judas Iscariot betrayed Jesus, according to an account in the Gospel of Matthew 26:15 . . . â [2] (BM25 hard negative) âButuan Silver Paleograph. The Butuan Silver Palaeograph, also known as the âButuan Silver Stripâ, is a piece of metal with inscriptions . . . â [3] (BM25 hard negative) âPhantom Stranger . . . of betraying him. As the Spectre is about to attack the Stranger, a Mysterious Voice sends him off . . . As payment for what occurred . . . â [· 17 more documents omitted] Gold doc ID: 1 Answer string (not the target): âJudas Iscariotâ H.1.2 HotpotQA (bridge, multi-hop retrieval) Instruction: â... identify which documents are relevant ... Relevant Documents: [id1], [id2]â Query: âWhat company did Rex Maughan aquire?â (question text verbatim, including the source typo) Context (4 of 20 documents shown): [8] (gold-1) âForever Living Products International, Inc. (FLPI) is an American privately- held multi-level marketing (MLM) company based in Scottsdale, Arizona . . . â [9] (gold-2) âRex G. Maughan is an American businessman. He is the founder, president, and chief executive officer of Forever Living Products . . . â [1] (hard negative â name collision) âAlex Maughan (born April 24, 1995) is an Amer- ican rugby union player who plays in the front row for the United States menâs national team . . . â [2] (hard negative â same article, wrong chunk) âRuth graduated from BYU with a de- gree in elementary education, she and Rex moved to Arizona . . . â [· 16 more documents omitted] Gold doc IDs: [8, 9] Answer string: âAloe Vera of Americaâ H.1.3 NIAH-contradiction ( O T (N) control for contradiction) Instruction: single-document retrieval, as in NQ. Query: âFind the document that directly contradicts the following claim: The National Lung Screening Trial, performed mainly in academic medical centers, showed that cancer mortality can be reduced with computed tomography (CT) screening compared with chest radiography in high- risk patients.â Context (4 of 40 documents shown; the 2k rung): [23] (needle) âA large-scale randomized trial indicated that, for individuals at elevated risk, chest X-rays were more effective than CT scans in lowering cancer-related deaths.â [1] (filler) âThirteen focus group discussions involving a total of 97 informants were conducted.â [2] (filler) âTRIM47 expression levels were found to be significantly increased in PC compared to benign tissues by both immunohistochemistry and qRT-PCR . . . â [3] (filler) âFree cortisol was significantly elevated at 8:00 to 8:30 hours in the high job strain group but not at later times of the day or evening.â [· 36 more documents omitted, drawn from PubMed abstracts disjoint from the needleâs source abstract] 21 Gold doc ID: 23. H.1.4 BEIR SciFact Instruction: single/multi-document retrieval. Query (a scientific claim): â0-dimensional biomaterials show inductive properties.â Context (3 of 22 abstracts shown): [1] (gold) âNew opportunities: the use of nanotechnologies to manipulate and track stem cells. Nanotechnologies are emerging platforms that could be useful in measuring, under- standing, and manipulating . . . â [2] (BM25 negative) âThe spectrum of retinopathy in adults with Plasmodium falciparum malaria . . . â [3] (BM25 negative) âInheritance of coronary artery disease in men: an analysis of the role of the Y chromosome . . . â [· 19 more documents omitted] Gold doc ID: 1 H.1.5 BEIR FiQA (cross-encoderâcleaned negatives) Instruction: multi-document retrieval. Query: âWhere should I park my rainy-day / emergency fund?â Context (3 of 20 documents shown; 5 golds in this example): [2] (gold) âI would suggest your local credit union or local bank for security and liquidity. Liquidity is probably the most important issue for a emergency fund.â [8] (gold) âThis is probably a good time to note that credit is not a liquid asset, and not an emergency fund. Credit can be revoked or denied at any time . . . â [10] (gold) âFirst off, you generally want to park your emergency fund somewhere that is âsafeâ, meaning something that is not subject to market fluctuations . . . â [· 17 more documents omitted: cross-encoder-surviving hard negatives (âŒ10% of slots) plus random real corpus documents] Gold doc IDs: [2, 8, 10, 12, 19]. FiQA is sparsely judged, so candidates scoring close to the gold under the cross-encoder are dropped rather than used as negatives â they are likely unlabeled positives. H.1.6 MS MARCO (retrieval) Instruction: single-document retrieval. Query: âwhat is the difference between fables and folktales? for kidsâ Context (3 of 20 passages shown): [2] (gold) âFolktale vs Fable. Folktales and fables can be understood as two different types of stories that show a difference between them . . . â [1] (hard negative) âYour job is to make sense of the fact or example in the context of the overall main idea that is being conveyed . . . â [3] (random fill) âCascamite is a waterproof glue and is probably the must effective glue of all . . . â [· 17 more documents omitted] Gold doc ID: 2. Hard and random passages are drawn from the same index, so they are format- identical: there is no stylistic cue distinguishing a mined negative from a random one. H.1.7 MS MARCO reranking Instruction: âRank the documents by how relevant each is to the question, from most to least relevant. Output the document IDs in ranked order. Write your answer in the following format: Ranking: [id1], [id2], [id3], . . . â Query: âwhat is the difference between fables and folktales? for kidsâ Context (5 of 23 passages shown; the 2k rung. Cross-encoder scores not in the actual prompt): 22 [3] (CE +8.04; also the MS MARCO qrel positive) âFolktale vs Fable. Folktales and fables can be understood as two different types of stories that show a difference between them. Mostly, folktales and fables are passed on from one generation to another orally . . . â [17] (CE +4.60) âA fable differs from a parable in that the latter excludes animals, plants, inanimate objects, and forces of nature as actors that assume speech . . . â [12] (CE +4.40) âA fable is a moral tale that often features animal characters. We often associate fables with the master of them all, Aesop . . . â [9] (CEâ9.79) âA mood disorder is a mental health class that health professionals use to broadly describe all types of depression and bipolar disorders . . . â [19] (CEâ11.30, the lowest in the pool) âGeology 1003 with Weaver at University of Oklahoma . . . â [· 18 more passages omitted] Target (top-10): Ranking: [3], [17], [1], [12], [9], [22], [13], [16], [14], [5] H.1.8 OBLIQ (subjective retrieval, twitter subset) Instruction: multi-document retrieval. Query: âFind tweets where users are implicitly insinuating that great powers quietly profit from sustained turmoil in West Asia, suggesting that disruptions at key maritime chokepoints and damage to energy facilities maintain elevated fuel costs and tilt market share toward them, while questioning which actors truly profit from an extended standoff.â Context (3 of 33 documents shown; 2k rung): [19] (gold) âYes. . . So what happens if all of that Middle Eastern infrastructure gets destroyed over the next year or so including Iranâs? Who benefits in terms of oil sales? Mostly the US and Russia.â [27] (gold) âWho stands to gain and who stands to lose if the Strait of Hormuz stays closed?â [3] (distractor) âStrong conviction on the spike! Brentâs holding near $103 spot right now with Hormuz disruptions from the Iran strikes. Jumping to $119 today or $140 by Monday would demand major sustained. . . â [· 30 more documents omitted, BM25-mined from the twitter subsetâs 500-document pool] Gold doc IDs: [4, 19, 27, 30, 32] H.1.9 OOLONG (aggregation over labeled items) Instruction: âRead the data below and answer the question. Compute the exact answer by analyz- ing every item; do not guess or approximate.â Context (rendered verbatim as one stream, not as numbered documents; 2k rung, 59 items, one per line): âThe following lines contain 59 general-knowledge questions, one per line. Each question has an answer that can be described as one of 6 categories: âabbreviationâ, âentityâ, âhuman beingâ, ânumeric valueâ, âlocationâ, âdescription and abstract conceptâ. You will be asked to answer questions about the aggregate label statistics across all 59 ex- amples in this dataset. Do not try to guess, estimate, or approximate the result. Calculate the exact answer given these datapoints. Date: Oct 24, 2022 || User: 34487 || Instance: Where is Inoco based ? Date: Jul 14, 2022 || User: 11784 || Instance:Where did the term â 86 â come from ? Date: Feb 23, 2023 || User: 57329 || Instance:What interna- tional sport was originally called hurley ? Date: Feb 09, 2024 || User: 24838 || Instance: What is SVHS ? Date: Apr 17, 2025 || User: 60511 || Instance: What is HDLC ? [· 54 more items omitted]â Query: âFor the following question, only consider the subset of instances that occur in April of any year. Among instances occuring in April, which of the labels is the most common? Give your final 23 answer in the form âLabel: answerâ ... â Answer: abbreviation H.1.10 Outlier (Amazon Reviews) Instruction: âYou are given a list of product reviews. Most share a common attribute (star rating or product category); a few are outliers with a different value. First state what the majority attribute is and what the outlier attribute is, then list the 1-indexed document IDs of the outliers ... Outliers: [id1], [id2], . . . â Query: âCan you find outliers with the least common rating in this data?â Context (3 of 20 reviews shown; ratings and categories are withheld from the model â only title and body are rendered): [4] (outlier, 5-star) âWorks great, no errors on memtestâ â âThis RAM comes in 2 sticks of 4gb . . . and works perfectly in my old PC. Ran memtest with 0 errors . . . â [11] (outlier, 5-star) âGreat Case at a Fantastic Priceâ â âI never realized Amazon had their own line of products, AmazonBasics! . . . The case is the perfect size for my new Canon Powershot Camera . . . â [1] (majority, 4-star) âLightâ â âWorks well. Can be kind of heavy depending on the size of your camera. Easy to install and use . . . â [17 more reviews omitted] Target: âMost reviews are 4-star ratings and the outliers are 5-star reviews.â followed by Outliers: [4], [7], [11], [17]. Ground truth comes from structured metadata only (the star-rating field), never from an LLM label. The attribute set is small and fixed â five star ratings, or a closed category list â which is what keeps this variant O T (N): there is no category to discover. H.1.11 Outlier (Wikipedia, fixed M) The O T (N) control for the scale-k outlier task: identical format and generator, but the number of source articles M is pinned as N grows instead of scaling with it. Query: âCan you find passages that are about a different topic than the rest of these passages?â Context (3 of 14 chunks shown at the 2k rung; article titles are withheld): [2] (outlier) â1987, and 1989. Several notable players played for Sheppard in the 1980s: John Morris, Tony DeFrancesco, Pat Pacillo, Rich Scheid, Craig Biggio . . . â [14] (outlier) âFuture major leaguers Rick Cerone and Dan Morogiello played for Shep- pard during the 1970s. Seton Hall appeared in the NCAA Tournament three more times . . . â [1] (majority) â. . . account of black immigration to the United States from the Caribbean dates back to 1619, when a small group of voluntary indentured workers arrived in Jamestown . . . â [· 11 more chunks omitted] Article distribution (M=3, pinned): Privy Council of Sweden: 6, Trinidadian and Tobagonian Americans: 5, Mike Sheppard (baseball): 3 (outlier). Target: Outliers: [2], [11], [14]. Holding M fixed while N grows is what separates O T (N) from the O T (NM) scale-k row: with a constant article count, one exemplar per topic suffices and no group discovery is needed. H.1.12 Absence (Gutenberg text-diff) Instruction: âAbove are two versions of the same passage. Version B is identical to Version A except that some whole sentences have been removed. Identify every sentence that appears in Version A but is MISSING from Version B. For each missing sentence, write its first four words. Write your answer as a JSON list of strings, in order of occurrence ... â Version A (2 of 90 sentences shown; one Gutenberg travelogue, rendered as flowing prose â this task has no document IDs): âHow lonely it makes one to stand still and feel that of all the mighty throng which divides itself around him, not a being knows or cares for him! What knows he too of the thousands 24 who pass him by? . . . The interior is what one would expect to behold, after viewing the outside. . . . In opposite chapels are the tombs of Mary and Elizabeth, and near the former that of Darnley. . . . â Version B: the same passage with those three sentences deleted and nothing else changed. Target: ["The interior is what", "In opposite chapels are", "There is an innocence,"] â scored by set-F1 over the four-word prefixes.Scattered single deletions are the hard regime; large contiguous gaps are easy. H.2 O T (NM) tasks H.2.1 Outlier detection (Wikipedia, Scale M) Instruction: â... First state what the majority attribute is and what the outlier attribute is, then list the 1-indexed document IDs of the outliers. Outliers: [id1], [id2], . . . â Query: âCan you find passages that are about a different topic than the rest of these passages?â Context (4 of 55 chunks shown; article titles are withheld from the model): [26] (outlier) â. . . inaugural Interactive Agency of the Year award (2006), it gave it to AKQA, recognising the agencyâs âglobal culture, creative hires and technological muscleâ . . . â [41] (outlier) â. . . Year for the second year running at the Revolution Awards and Agency of the Year awards from New Media Age and the Interactive Advertising Bureau . . . â [42] (outlier) âIn 2014, AKQA won Queenâs Award for Enterprise: Innovation, and was named Most Innovative Agency at 2014 Digiday Awards . . . â [1] (majority) â. . . teach and children learn. It will offer a continuing look at how new technology such as wikis, blogs, vlogs, RSS, podcasts, social networking sites . . . â [· 51 more documents omitted] Article distribution (M=10 articles): Jos Ì e Holebas: 9, Andy Carvin: 7, Devi Ahilya Vishwavidyalaya: 7, SMS Bl Ì ucher: 6, Iraqi insurgency: 5, La Baie, Quebec: 5, Terra (mythology): 5, Mane people: 4, Peter Sloterdijk: 4, James Hilton (designer): 3 (outlier). Gold doc IDs: [26, 41, 42] Note that M grows with N in the scale-k variant shown here; the fixed-M control holds the article count constant as N grows. H.2.2 Grouping (OpenAlex) Instruction: â... Group them into the requested number of categories based on what they are about. Output a JSON object of the form âgroupsâ: [âdoc idsâ: [. . . ], . . . ]. Every document must appear in exactly one group.â Query: âCluster these 20 papers into 15 groups.â (concept level L=3, the finest granularity; the query states k but never states the axis) Context (4 of 20 abstracts shown): [1] âMicroneedlesâ Device: Design, Fabrication, and Applicationsâ â âThe delivery of therapeutical molecules through the skin, particularly to its deeper layers, is impaired due to the stratum corneum layer . . . â [2] âIdentifying Resilient Communities in Road Networks: A Path-Based Embedding Ap- proachâ â âEffective resilience analysis of road networks is fundamental to building sus- tainable and disaster prepared cities . . . â [3] âRole of zinc in health and diseaseâ â âThis review provides a concise overview of the cellular and clinical aspects of the role of zinc . . . â [4] âUnveiling Cutting-Edge Developments in Electrocatalytic Nitrate-to-Ammonia Con- versionâ â âThe excessive enrichment of nitrate in the environment can be converted into ammonia . . . â [· 16 more documents omitted] Target:thelabeledpartition, âgroupsâ: [âlabelâ: âAmmonia productionâ, âdoc idsâ: [4, 5, 12], ...] â only the IDs are scored. Gold partition (15 clusters over 20 documents): [4, 5, 12], [2, 9], [3, 15], [14, 20], [19], [6], [10], [8], [17], [16], [18], [1], [11], [7], [13], whose OpenAlex L3 concepts are Ammonia production, Autoencoder, Zinc deficiency, 25 Macrophage, Elliptic PDE, Moxidectin, Pancreatic cancer, Routing protocol, Stock market, Environmental management system, Formate, Fabrication, Task analysis, Nomological network, Object detection. H.3 O T (N 2 ) tasks H.3.1 Contradiction (PubMed) Instruction: âGiven the following corpus of numbered claims, identify all pairs of claims that contradict each other. A pair of claims is contradictory if they cannot both be true at the same time. Output your answer as a JSON list of pairs ... For example: [[1, 4], [3, 7]]â Context (4 of 56 claims shown; the 2k rung, K=3 gold pairs): [9] (gold pair with [37]) âA meta-analysis of 15 studies indicates a protective effect of cigarette smoking against the development of clear cell renal cell carcinoma (ccRCC).â [37] âAn association between cigarette smoking and increased risk of clear cell renal cell carcinoma (ccRCC) has been established; however, there are limited data regarding the molecular mechanisms that underlie this association.â [31] (gold pair with [56]) âCirculating IgG anti-CII converted from positive to negative in 13 patients (10.7%) and from negative to positive in 18 patients (14.8%) among 122 patients with RA . . . monitored sequentially at a mean interval of 12.2 months.â [56] âIn a cohort of 122 rheumatoid arthritis patients monitored for IgG anti-CII over a mean interval of 13.4 months, circulating IgG anti-CII levels remained stable in 95.6% of patients, with no significant conversion observed.â [· 52 more claims omitted; fillers come from PubMed abstracts disjoint from every gold-source abstract in this example] Gold pairs: [[9, 37], [31, 56], [33, 51]]. H.3.2 XAbsence (cross-corpus absence, Gutenberg passages) Instruction (stated after the corpus; k is given explicitly): âBelow are two corpora of numbered passages, A and B. Every passage in corpus A appears again, word for word, in corpus B â except for exactly 3 passages. Those 3 passages from corpus A are MISSING from corpus B. Find them. Only passages from corpus A can be missing; every passage in corpus B also appears in corpus A. Write your answer in the following format: Missing: [id1], [id2], . . . â Context (19 items under one shared index â 11 corpus-A passages, then the 8 corpus-B copies in shuffled order; 6 of 19 shown): [1] A: âI am, as you doubtless begin to suspect, a fairy.â [2] A: âLooking around, he spied a bird with a long, sharp bill lying on the ground.â [3] A: (missing from B) âOf course the music, its lilt and the steps that their forefathers had footed to it in the olden time, were as little known to these, the London born, as the tongue and ceremonial of old Peru.â [4] A: (missing from B) âIn this number was the name âKukloiâ from the Greek word Kuklos (Kuklos), meaning a band or circle.â [5] A: (missing from B) âIt showed (1) that the scholars of the church were being influenced by the new learning; but also (2) that a strict reservation was to be enforced . . . â [· 6 more corpus-A passages omitted] [18] B: âI am, as you doubtless begin to suspect, a fairy.â (the word-for-word copy of [1]) [· 7 more corpus-B passages omitted, each an exact copy of an A passage, reordered] Target: Missing: [3], [4], [5] H.3.3 Stringmatch Instruction: â... identify all pairs of strings matching the criterion below ... JSON list of pairs.â Criterion (in the query): âFind all pairs of strings that contain a run of at least 3 consecutive 26 words in common (the same 3 words, in the same order, appearing contiguously in both strings).â Context (4 of 20 strings shown; L=10 words each): [1] (gold pair with [11]) âdiasporas kossuth westward taco recipes bakr cease panels neotype niddastauseeâ [11] âhermitage wass kossuth westward taco bolsheviks iryna epiphany allon garabetâ [2] (gold pair with [8]) âdrown traditionalists eateries visconti broadband amberdeep chisago kindergartens taglish portraitistâ [8] âkannada utama likert mollusk budge amberdeep chisago kindergartens modifying martingaleâ [· 16 more strings omitted, including 3 hard-negative pairs sharing a run of exactly 2 words] Gold pairs: [[1, 11], [2, 8], [15, 19]]. Every word not part of a planted run is glob- ally unique in the example, so these are provably the only qualifying pairs. H.3.4 QDMatch (NQ source) Instruction: âBelow is a numbered list of items. Each item is labeled either âQuery:â or âDocu- ment:â. A few query-document pairs are relevant: the document answers the query. Identify every relevant pair ... [[query id, documentid], . . . ]â Context (M=20 queries and N=20 documents under one shared numbering, 5 of 40 items shown; separate layout = query block then document block): [7] Query âwhen did 10 shilling note go out of circulationâ (relevant) [14] Query âwho played the original steve mcgarrett on hawaii five-oâ (relevant) [19] Query âbosnia and herzegovina croatia macedonia and slovenia all used to be parts ofâ (relevant) [28] Document âSteve McGarrett is a fictional character who is the protagonist of CBSâ âHawaii Five-Oâ. McGarrett is a former United States Navy officer . . . â [29] Document âBanknotes of the pound sterling . . . 10 shilling note was designed, featuring Sir Walter Raleigh, which would become the 50 pence note upon decimalisation . . . â [· 35 more items omitted: 17 distractor queries whose gold documents were withheld, and 17 distractor documents whose queries were withheld] Gold pairs: [[7, 29], [14, 28], [19, 40]] â 3 relevant pairs among 20Ă 20 = 400 combinations. Because query pools and document pools are drawn disjointly, the planted pairs are the only true matches. H.3.5 QDMatch (HotpotQA source) Same format; each relevant query is a bridge question with two gold documents, so k=3 relevant queries yield 6 gold pairs: [8] Query â âLost!â is a song by a British rock band formed in what year?â [25] Document â âLost!â is a song by the British rock band Coldplay. The band co- produced it with Brian Eno and Markus Dravs for their fourth album . . . â [3] Query âWhich teamâs 2013-2014 season had players including a Slovenian who plays at both the point guard and shooting guard positions?â [26] Document âGoran Dragic (born 6 May 1986) is a Slovenian professional basket- ball[er] for the Miami Heat . . . He plays at both the point guard and shooting guard posi- tions . . . â [· 36 more items omitted] Gold pairs: [[2, 29], [2, 36], [3, 26], [3, 39], [8, 25], [8, 34]] H.3.6 QDMatch (FiQA source) Same format over FiQA, where queries are financial questions and documents are forum answers â sparsely judged, so candidates scoring close to gold under the cross-encoder are dropped rather than used as negatives: 27 [2] Query âWhat typically happens to unvested stock during an acquisition?â [6] Document ââI worked for a small private tech company that was aquired by a larger publicly traded tech company. My shares were accelerated by 18 months, as written in the contract. I excer . . . â (answer text verbatim, including the source typo) [· 8 more items omitted] Gold pairs: [[2, 6], [3, 9], [4, 8]] H.3.7 Reorder (Gutenberg) Instruction: âYou are given a list of text passages presented in a random order. They were originally consecutive segments of a single document. Output the permutation that restores them to their original order, as a JSON array of the passage IDs.â Context (3 of 50 segments shown, all from one book â here Flatland â in shuffled order; chapter headings are stripped): [1] âPolygon of two or three hundred sides sometimes â by no means always, for the process is attended with serious risk â but sometimes overleaps two or three hundred generations . . . â [2] âI had but one voice, and that I had not been aware that his Royal Highness had two. âThat confirms my impression,â said the King, âthat you are not a Man, but a feminine Monstrosityâ . . . â [3] âLinelander. Only by the sound of the voice could sex or age be distinguished . . . â [· 47 more segments omitted] Gold ordering: [31, 19, 12, 22, 37, 21, 32, 14, 33, 48, 41, 46, 4, 25, 36, 20, 42, 18, 15, 23, 1, 40, 6, 7, 35, 16, 50, 28, 27, 39, 9, 30, 43, 3, 34, 2, 24, 47, 49, 45, 13, 29, 44, 10, 26, 5, 38, 11, 8, 17] (scored by Kendall-Ï against the true permutation). H.4 O T (N 3 ) tasks and beyond H.4.1 Textgroups Query: âEach passage has a value: the number of nouns. Find every group of 3 passages whose values add up to 70 (exactly 70).â Context (3 of 20 passages shown; the value is a property of the prose, never printed): [1] (gold; 34 nouns) âThe castle and the scholar arrived calmly. The river gathered rest- lessly. The teacher whispered calmly. The saddle whispered calmly. The meadow and the bridge and the garden waited abruptly . . . â [11] (gold; 31 nouns) âThe valley explored softly. The beacon watched slowly. The bea- con and the harvester and the telescope studied suddenly. The baker guarded wearily . . . â [2] (gold of the second triple; 13 nouns) âThe forest and the tower and the compass cir- cled suddenly. The teacher and the bridge faltered bravely. The weaver collapsed wearily . . . â [· 17 more passages omitted] Gold groups: [[1, 11, 12], [2, 14, 17]] â noun counts 34+31+5 = 70 and 13+17+40 = 70. The noun / verb / adjective lexicons are closed and pairwise disjoint, so each passageâs count is unambiguous, and sentence structure is varied so the count is not a proxy for passage length. 28