Manuscript Offprint

arXiv:2609.06702

PARSER: Read in Parallel, Reason in Depth for Long-Context LLM Agents

Kun Li, Zexuan Qiu, Tianhua Zhang, Irwin King, Helen Meng

Kun Li*, Zexuan Qiu*, Tianhua Zhang*, Irwin King, Helen Meng

The Chinese University of Hong Kong

*Equal contribution.

Sequential memory agents process long documents by reading chunks one after another while maintaining a compact memory state, coupling document traversal to reasoning depth. This coupling introduces sensitivity to evidence placement and ties inference latency linearly to document length. We introduce PARSER, which decouples reading from reasoning. A bank of lightweight subagents each bound to a single chunk read the entire document in parallel, while a lead agent reasons in depth through iterative scatter-gather rounds: at each round it broadcasts a query to all subagents, aggregates the returned evidence, and formulates a deeper follow-up query conditioned on what has been found so far. This decoupled design concentrates all learnable behavior in the lead agent, which is optimized with reinforcement learning, while the subagents remain frozen off-the-shelf models. On multi-hop QA with contexts ranging from 7K to 896K tokens, PARSER with a 4B backbone outperforms the strongest sequential memory baseline by 5.7 points on average and by 12.0 points at 896K tokens. Scaling to a 9B backbone, PARSER surpasses DeepSeek-V4-Pro by 6.3 points. Controlled experiments confirm that PARSER is robust to perturbations in evidence position, order, and distance, conditions that cause large accuracy swings in sequential methods, while reducing inference latency by up to 11×11\times.

Email: {li.kun, qzexuan, thzhang}@link.cuhk.edu.hk

Project Page: https://cuhk-parser.github.io/

1 Introduction

Reasoning over long documents is a core capability for large language models, yet remains challenging: in tasks such as multi-document QA or legal analysis, the evidence for a single question can be scattered across hundreds of thousands of tokens. Despite context windows now reaching a million tokens or more (DeepSeek-AI, 2026), model accuracy degrades as context grows, a phenomenon known as context rot (Hong et al., 2025). One well-documented manifestation is positional bias: evidence placed away from the boundaries of the input is systematically ignored (Liu et al., 2024). We observe the same on multi-hop QA, where direct full-context answering drops by tens of points as documents lengthen from 7K to 896K tokens, even for million-token models. Since accuracy degrades even when the window is far from full, the bottleneck is no longer capacity; the open question is how to select what to read and in what order to reason about it.

One response to the selection problem is the sequential memory paradigm: the document is read chunk by chunk, and at each step the agent compresses the current chunk together with its previous memory into an updated memory. The final answer is generated from this memory alone. MemAgent (Yu et al., 2026) and its follow-ups (Shi et al., 2026; Sheng et al., 2026) train this recurrent workflow end-to-end with reinforcement learning, handling documents of millions of tokens within a small context window. These methods address a genuinely hard problem: bounded working memory, arbitrary input length, and end-to-end trainability.

However, these memory-based methods share a structural commitment: the document is traversed exactly once, in order. This single-pass recurrent structure imposes two constraints: evidence must be evaluated through a repeatedly compressed prefix state, and every chunk update depends on the preceding one. The first leads to a sensitivity to evidence placement: because each chunk is compressed before the rest of the document has been seen, the agent judges relevance under a strict information deficit. In particular, its accuracy could be affected by the absolute position of evidence, the logical order among evidence pieces, and the distance between them. This sensitivity is most damaging in multi-hop reasoning, where the answer depends on scattered evidence whose relevance emerges only incrementally. The second leads to inference latency: since each chunk update depends on the output of the previous one, the T steps form an irreducibly sequential chain whose wall-clock cost grows linearly with document length, regardless of available parallelism. Subsequent work in this sequential memory paradigm has largely been a sequence of patches to these two symptoms, often trading one for the other. Shi et al. (2026) adds a callback module that retrieves earlier memory states to counter position bias, at the price of extra retrieval on the sequential path; Sheng et al. (2026) adds gates that skip evidence-free chunks to save computation, but the sequential chain remains intact because the agent must still scan up to the last required evidence.

The order in which a long document is read is imposed by the document; the order in which a question is reasoned about is imposed by the question. Sequential memory agents let the first drive the second. We introduce PARSER (Parallel Reading, Sequential Reasoning), which decouples the two orders. Instead of tying sequential depth to document length, PARSER reads all chunks in parallel and reserves sequential computation only for the reasoning the question demands. To achieve this decoupling, PARSER assigns reading and reasoning to two separate roles. A lead agent never sees a single raw document token; it reasons about the question in a ReAct-style (Yao et al., 2023) loop of interleaved thinking and action. A bank of lightweight subagents (one per chunk) read only their own chunk and extract evidence for a given query. At each round the lead agent scatters a query to all subagents in parallel, then gathers their findings and decides what to ask next, iterating until it can commit to an answer.

This scatter-gather architecture changes the dependency structure of long-document processing. Sequential memory requires T dependent updates in sequence; PARSER replaces this with K scatter-gather rounds where all chunk-level calls execute in parallel, so latency scales with reasoning depth rather than document length. Furthermore, every chunk is re-read under a freshly formulated query at each round, eliminating the chunk-level position bias inherent in sequential traversal. Because no chunk is permanently discarded, the lead agent can condition each new query on previously discovered evidence, which is essential for multi-hop reasoning where a single static query cannot identify downstream hops (Zhou et al., 2024; Zhao et al., 2024; Xu et al., 2026). Finally, this decoupled design simplifies training: we train only the lead agent with reinforcement learning using the verifiable outcome reward (Shao et al., 2024), while the subagents remain frozen. Since each subagent's task is simple (locate evidence for a pointed query in a short span), an off-the-shelf model suffices.

We evaluate PARSER on multi-hop long-context question answering, including the in-distribution HotpotQA (Yang et al., 2018) and the out-of-distribution 2WikiMultiHopQA (Ho et al., 2020), with context ranging from 7K to 896K tokens. On HotpotQA, PARSER with 4B and 9B backbones achieves average accuracies of 84.6% and 86.8% respectively, outperforming the strongest sequential memory baseline by 5.7 and 6.7 percentage points; at the longest setting (896K tokens) the gaps widen to 12.0 and 9.9 percentage points, as sequential methods degrade sharply with length while PARSER remains stable. Scaling to a 9B backbone, PARSER achieves an average of 86.8%, surpassing DeepSeek-V4-Pro (DeepSeek-AI, 2026), which natively supports a one-million-token context, by 6.3 percentage points. Controlled experiments that independently perturb the absolute position, the logical order, and the relative distance of evidence within context confirm the source of this stability: sequential memory agents exhibit large accuracy swings as any of these factors changes, whereas PARSER remains nearly flat across all three conditions. On inference latency, parallel reading yields an 11×11\times reduction at 896K tokens under single concurrency (876s vs. 78s per sample relative to MemAgent) and maintains a 1.7×1.7\times advantage under a concurrency of 16 (102s vs. 59s).

References (44)