acceptodds
Published as a conference paper at NeurIPS 2026

Time to Pay Attention! Understanding High Complexity Corpus Reasoning Tasks

Prasann Singhal, Amanda Bertsch, Jacob Steinhardt, Sewon Min

Abstract

Corpus reasoning tasks, which require extracting and integrating information from large collections of documents (e.g. scientific literature, LLM agent traces), range from well-studied tasks such as factoid question answering (e.g. When was Ralph Lauren founded? ), to more complex, underexplored queries like What are all the conflicting claims in this literature? . We observe that on these complex tasks, efficient architectures can scale much worse compared than they do on more well-explored tasks, but why does this happen? We develop a unified view—corpus task complexity (CTC)—to systematically distinguish complex tasks from simpler ones in terms of the smaller operations needed to solve them (and how such operations scale with corpus size): for example, we classify tasks which compare all possible document pairs as more complex than factoid retrieval. We first investigate new long-context language model (LCLM) training dynamics challenges on these tasks, and propose an effective new mask mixing technique that improves O(N) attention approaches on high CTC tasks, but at larger corpus scale we ultimately find that there is no free lunch: (i) methods that scale efficiently with corpus size do poorly when CTC is high , and (ii) methods that can handle these tasks scale quadratically in cost with corpus size . We identify high-CTC tasks as a long-term open problem and encourage more future work investigating new methods to overcome these limitations.

Keywords:
Sydney, Main Track

Reviews

Among:
Shape:
123456this paper, Bottom 1%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 3.33 over 3 reviews, above 0% of the others.
Reviewer_ckYBOpenReview ↗
Rating
3
Clarity
2
Confidence
4
Originality
3
Quality
2
Significance
2
Read review
Summary

This paper introduces a metric to categorize the difficulty of reasoning tasks and explores the performance of several LLMs depending on the task difficulty and the attention mechanism used. The authors work with several “reasoning” tasks (some from previous work, some newish). All experiments are done with versions of Qwen.

Strengths and weaknesses

Strengths:

  • The categorization of “reasoning” tasks into three complexity levels is interesting. The authors make a convincing argument that task complexity is about the task itself, not what results some LLM gets, or the complexity of specific approaches o solve a task. I do buy this argument much more than what most papers implicitly state (i.e., this task/benchmark is hard because these models get bad results).

    I would suggest (not a weakness, just an idea for future work) that the authors explore more in depth the “base difficulty” of an operation, as reducing all the same complexity (equivalent to all operation costing O(1) in algorithm theory) is unsound with language (e.g., given two sentences, identifying the shortest one is easier than identifying whether they contradict each other). It looks like the authors consider any task (one prompt / questions to an LLM to be the basic operations, and that has constant time, which is a fine assumption. Perhaps they could make it more clear.

  • “Mask mixing” is stragithforward and effective (in a good way, simple and effective is better than complex and effective). I do wish the author investigated (empirically) and reported results with several thresholds for p to gain some insights about why it works (results and compute savings).

Weaknesses:

  • Reading 79, I was curious about where the gold data for ground truth would come from. Later, when they define it (line 168), we are given the answer and it is disappointing: it is a made up task / problem, where the contradictions are generated by an LLM, and the amount of contradictions to be found is rather small. Is the LLM generating contradictions such as “X (sentence from wiki)” and “It is not the case that X” (or similar straightforward contradictions?) I see no reason not to believe so based on the paper (there is no description about what the contradictions look, the paper just states that they generate them with an LLM). This is a major weakness, as the authors emphasize quite a bit the O(N^2) (as the ones that have not been explored; Section 1 and 5). Further, are they just blindly trusting an LLM to generate contradictions? Scientific papers, the domain they work with, surely have contradictory sentences (as more knowledge/research becomes available, papers contradict each other). I really wish the authors worked with natural / real / genuine contradictions (doing so is harder but much more interesting).

  • Following with the emphasis on O(N^2) tasks and the assertion by the authors that there are few previous works, I just don’t think it is true. Event ordering has been studied for decades; corpora / benchmark have existed for decades. Sorting events is clearly in O(N^2) according to the author’s definition (and you actually need longer documents to figure out the order, not just "documents" that are single sentences). I don’t understand why the authors do not work with existing O(N^2) reasoning tasks. This is a major weakness.

    See, for example: https://aclanthology.org/Q14-1022/, https://aclanthology.org/P14-2082/ .

  • I cannot tell where is the support for the paragraph in 190. I get that the second sentence mentions “hypothesize”, but is there a follow-up in the paper that proves or disproves this hypothesis (and other statement in the paragraph)?

  • I cannot tell what are the “simpler approaches” in line 202. Therefore, I cannot tell what the “initial intuitive fix is”, or what to conclude from that paragraph.

  • Mask-mixing combines both attention mechanisms. The jumps with “Contradiction” are so huge (mask mixing gets 40-97% better results, F1 are .74, and .99), that one has to wonder what is going on. Finding “hard” contradiction is hard; these numbers are problematic and bring additional concerns about how they automatically generated the dataset for the contradiction task.

  • Last by not least, all the experiments are insights are about Qwen (a few versions and sizes). There is nothing wrong with Qwen, but there are several open LLMs now. At a minimum the paper (starting with the abstract) should replace mentions to LLMs with Qwen.

More comments (mostly negative but relatively minor):

  • I find it weird to refer to factoid question answering (as defined a few decades ago) as a reasoning task, as it is basically a sentence retrieval task. At least back then we didn’t call it reasoning task.

  • Unfinished sentence in line 35.

  • “tasks that with” in 68.

  • “To taxonomize”. I guess it may be technically correct, but the taxonomy is really 3 complexity levels. Perhaps nothing wrong here, but calling it a taxonomy is a strectch.

  • The three “difficulty levels” (2.1) are clever, but I find the definitions extremely verbose. I have the same comment about the first two pages.

  • I do not get the reference to FLOPs in 113; the whole analysis is about the asymptotic cost of the attention mechanism.

  • I think you need more explanation in 125-127. At least I cannot follow. N square is N square, isn’t it? Where does the lower base computation come from, and what is the “original” base computation?

  • “Outlier detection” seems a weird word choice to define the task. Aren’t they basically identifying paragraphs that do not belong to the same document? I guess they can be call “outliers”, but I find that unintuitive.

  • Is “C” the corpus in 164?

  • Figure 3 and line188: I can only guess that the query is in the intructions and the answer in the output, but it should be very clear. Readers will get lost.

  • I would add numbers in the plots in Figure 4 so the reader can tell where the 2.7x, 3.1x etc. gap increases come from (also referred to in 253).

Questions

See weaknesses

Limitations

Briefly discussed in Appendix A. The limitation about (potentially) using parametric knowledge (O(1)) is sound (and it only become obvious to me after I read Appendix A, so kudos to the authors).

Paper formatting concerns

None

Reviewer_ZCcNOpenReview ↗
Rating
3
Clarity
2
Confidence
3
Originality
3
Quality
3
Significance
3
Read review
Summary

The paper talks about the challenges of scaling document-chunked attention approaches over certain corpus reasoning tasks using long-context language models. Corpus reasoning tasks are tasks where you need to reason over a corpus of documents to arrive at the answer. The document-chunked attention approach limits attention to within each document, thereby making the computation linear in terms of the number of documents over simple corpus reasoning tasks such as factoid search. However, they scale much worse on other categories of corpus reasoning tasks that have a high corpus task complexity (CTC). They define CTC as the complexity of an oracle algorithm that solves a corpus reasoning task in the best way possible. Some tasks such as finding all contradictions in a corpus have a CTC of O(N^2) because you need to check every document with every other document. To reduce the bad performance of chunked attention approaches compared to full attention approaches on tasks with high CTC, they propose two ideas: Natural CoTs and Masked Mixing. Experimentally, they then show that, despite adding masked mixing, as the number of documents scales the chunked attention performs quite worse compared to full attention approach on the high CTC tasks as predicted by CTC.

Strengths and weaknesses

Strengths

  • The authors describe a way to classify corpus reasoning tasks over the number of oracle operations needed to solve them. They use this classification method to identify a class of corpus reasoning tasks that are especially hard for the document-chunked attention approach. They then empirically show that the identified tasks indeed show the behaviors predicted by the classification.

Weaknesses

  • I found multiple parts of the paper not well written. There are many concepts and experiments explained but often they don’t flow well into each other making it quite a hard read.
    • For example, CTC is followed by “Method complexity” but then followed by “Tasks” which describe tasks classified by CTC. Ideally, the tasks should follow CTC description. Perhaps, a better header could be used instead of “Tasks” such as “Tasks classified by CTC” or “Corpus Reasoning Tasks classified by CTC”.
    • Then, we jump to “Handling Sparse Learning Signal” which is preceded by a very thin motivation text which does not clearly describe why we are trying to understand the sparse learning signal.
    • Lines 207-217 have been written poorly. Most of the CoT ablations have not been explained properly.
      • What happens if CoT is removed? Which ablation is that?
      • What is the meaning of majority/minority labels? Does it contain both or only one of them? Does minority mean IDs of the outlier documents? Does majority mean IDs of the non-outlier documents?
      • What is a content-less phrase?
      • What exactly is the meaning of “faithful” CoT?
      • What does “heavily smooth attention” mean?
      • What is HPQA? It took me a while to tell that it means HotpotQA. The first usage of an acronym should always associate it with the full form.
  • Experimentation setup is confusing
    • Figure 4 and Table 2 use different models randomly on different tasks without a clear explanation as to why. In Table 2, three experiments are for contradiction but only one for the other three high CTC tasks.
    • Why is there no line for chunked attention without mask mixing in Figure 4?
    • Missing error bars in all experiments makes it hard to tell the statistical significance of the results.
  • The first description of an approach should cite the paper it comes from so that it is clear it isn’t a contribution. Is document-chunked attention a contribution of this work? The “attention is all you need” paper has not been cited at all even though this work fully builds upon attention and transformers.

Grammar/Typo issues:

  • Line 210-213: Punctuation issues
  • Line 219: Typo: “suffers may suffer”
  • Line 225: exemplar
  • Line 240: Both are capable of what tasks?
Questions

See Weaknesses. Overall, I think that there may be value to this new kind of classification for corpus reasoning tasks, however, the paper’s writing and flow needs to be improved for it to be a strong paper. Also,

  • How do the authors define LCLM? LLMs with what context sizes are considered LCLMs?
  • Mask mixing doesn’t work for all tasks and is mostly effective with Qwen3.5. What is the authors’ hypothesis for this? How would one go about identifying the tasks and models where mask mixing might be applicable?
  • The authors mentioned the problem of sparse gradients. How does natural CoT solve this problem? Does it make the gradients denser?
  • Why would mixing full attention mask training batches during chunked attention training have an effect on inference with chunked approach only? The chunked attention approach doesn’t look at other documents at all due to the mask. How does it compare two documents for the contradiction task if it doesn’t do inter-document attention?
Limitations

The authors discuss two limitations of their work in the appendix.

Paper formatting concerns

None.

Final justification

The paper needs quite a bit of rewriting. I don't think I can judge the proposed revisions without seeing them first. Therefore, my score stays the same.

Reviewer_ER5HOpenReview ↗
Rating
4
Clarity
3
Confidence
3
Originality
3
Quality
3
Significance
3
Read review
Summary

This paper introduces Corpus Task Complexity (CTC), a task-oriented framework for characterizing corpus-level reasoning problems based on how the number of required elementary oracle operations scales with corpus size. Within this framework, the authors empirically show that architectures with linear-time attention, such as chunked attention and SSM-based models, perform well on low-CTC tasks but experience substantial performance degradation as corpus size increases on more complex tasks, including contradiction detection and sequence reordering. In contrast, full-attention models exhibit better scalability in terms of reasoning quality on these tasks, although at a significantly higher computational cost. The paper further investigates the sparsity of learning signals in long-context language models, proposes a simple mask-mixing strategy that interleaves full-attention batches during chunked-attention training, and releases a collection of benchmark tasks and datasets intended to facilitate future research on scalable corpus-level reasoning.

Strengths and weaknesses

Strengths: 1、The paper draws attention to the relatively underexplored problem of high-CTC corpus reasoning and presents evidence that many existing efficient methods struggle to scale effectively in this setting. In addition to the findings, the release of benchmark tasks and code will likely facilitate future research, while the proposed CTC framework offers a useful perspective for guiding architecture design, benchmark development, and methodological choices for large-scale corpus reasoning. 2、The experimental evaluation spans a diverse set of tasks covering OT(N), OT(NM), and OT(N2) complexities, providing empirical support for the proposed CTC framework across different reasoning regimes. The paper further includes a series of ablation studies on mask-mixing ratios, attention sparsity, model scale, and the effect of chain-of-thought prompting. 3、The paper provides several cross-model observations. In particular, it shows that smaller full-attention models can outperform substantially larger chunked-attention models on high-CTC tasks, suggesting that architectural design may play a more important role than model scale in this setting. Weaknesses: 1、The proposed CTC framework is useful for organizing corpus-level reasoning tasks, but its complexity definition is largely heuristic and relies on oracle operations. As a result, it does not explicitly consider structural properties of real-world corpora such as redundancy, indexing, candidate filtering, or graph-based retrieval, that could substantially reduce the effective reasoning complexity. Incorporating these factors would provide a more complete characterization of practical corpus reasoning scenarios. 2、Although the paper discusses the implications of CTC for very long contexts, the experiments are conducted on relatively limited input lengths. Consequently, the conclusions regarding scalability to corpora containing hundreds of thousands or even millions of tokens remain largely conceptual rather than empirically demonstrated. Additional experiments on substantially longer contexts would strengthen the claims about large-scale corpus reasoning. 3、The contradiction benchmark is constructed using LLM-generated contradictory sentence pairs, which introduces the possibility of generation artifacts and may not fully capture the characteristics of contradictions found in real-world scientific or technical documents. The paper would benefit from a more detailed discussion of the human validation process and the measures taken to control for spurious or overly predictable contradiction pairs. 4、Performance on the reordering task remains very low at larger corpus sizes, even for full-attention models. This makes it difficult to determine whether the observed performance is primarily limited by current model capabilities, the design of the task itself, or the strength of the supervision and evaluation protocol. A more detailed analysis would help clarify this point.

Questions

1、For the contradiction dataset, how were LLM-generated contradictions validated to avoid trivial lexical negations or artifacts? Any human verification or calibration against naturally occurring contradictory claims? 2、Could you clarify whether the CTC framework can be adapted to account for these structural optimization techniques? Furthermore, if these heuristics were applied to your tasks, would the performance gap between OA(N) chunked attention and OA(N2) full attention still behave the same way as shown in your scaling curves? 3、The results show that performance on the reordering task degrades drastically at larger corpus sizes, even when using the full-attention models. Based on your error analysis, is this floor-effect primary driven by an inherent limitation in current LCLM architectures to track global permutations, or is it a symptom of the task's formulation and evaluation?

Limitations

yes

Paper formatting concerns

N/A

Comments on the paper

1 comment
Meta-review

Summary: The paper studies the interplay between the efficiency of LLM architectures (in terms of linear-time attention) and their performance on complex corpus level reasoning tasks. To this end, the authors propose a measure of “difficulty” in terms of the number of basic operations an oracle approach would need to execute. They find that methods which are able to linearly scale in terms of corpus size generalize poorly on complex reasoning tasks.

Strengths: The analysis provides interesting and rather surprising results. I also like the idea of classifying the complexity of corpus level reasoning tasks in terms of elementary operations.

Weaknesses:

  • The definition of complexity in terms of oracle operations is a simplification (not taking into account other aspects of language understanding or corpus structure).
  • A benchmark with contradictions consists of LLM-generated data. This comes with the risks of generation artefacts. On the other hand, synthetic data generation also has clear advantages (e.g. being able to control problem difficulty more precisely, guaranteeing that the corpus is not in the training data of the LLM). Still, some human validation to assess the quality of the generated data would have been useful.
  • Experiments only use Qwen models. Some validation of the results for models from other families would strengthen the analysis.

Overall an interesting and original analysis that could be accepted.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.