PARSER: Read in Parallel, Reason in Depth for Long-Context LLM Agents
Organizations: The Chinese University of Hong Kong
Abstract
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 11x.
Figures & tables
| (a) Accuracy on HotpotQA (In-Distribution) | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Backbone | Method | # Paragraphs (Total Length) | Avg. | |||||||
| 50 (7K) | 100 (14K) | 200 (28K) | 400 (56K) | 800 (112K) | 1600 (224K) | 3200 (448K) | 6400 (896K) | |||
| DeepSeek-V4-Pro | Full-context (non-think) | 78.12 | 77.34 | 76.56 | 79.69 | 77.34 | 75.78 | 73.44 | 62.50 | 75.10 |
| Full-context (think-max) | 82.03 | 82.81 | 80.47 | 80.47 | 80.47 | 81.25 | 77.34 | 78.91 | 80.47 | |
| Qwen3.5-4B | Full-context (non-think) | 75.78 | 75.78 | 71.88 | 74.22 | 67.97 | 61.72 | 53.13 | 34.38 | 64.36 |
| Full-context (think) | 80.47 | 78.91 | 78.12 | 76.56 | 74.22 | 60.94 | 46.09 | 31.25 | 65.82 | |
| Concurrency | Method | # Paragraphs (Total Length) | |||||||
|---|---|---|---|---|---|---|---|---|---|
| 50 (7K) | 100 (14K) | 200 (28K) | 400 (56K) | 800 (112K) | 1600 (224K) | 3200 (448K) | 6400 (896K) | ||
| 1 | Full-context (non-think) | 1.16 | 1.86 | 2.11 | 3.52 | 6.25 | 18.36 | 51.86 | 185.42 |
| Full-context (think) | 12.33 | 17.78 | 18.93 | 31.89 | 42.73 | 68.19 | 162.97 | 375.32 | |
| MemAgent | 10.56 | 15.99 | 30.40 | 58.49 | 112.59 | 222.86 | 438.61 | 876.20 | |
| ParSer | 5.33 | 5.84 | 6.83 | 8.71 | 13.30 | 22.43 | 42.19 | 78.22 | |
| 16 | Full-context (non-think) | 0.63 | 0.91 | 1.11 | 2.55 | 9.46 | 28.00 | 94.22 | – |
| Subagent | # Paragraphs (Total Length) | Avg. | |||||||
|---|---|---|---|---|---|---|---|---|---|
| 50 (7K) | 100 (14K) | 200 (28K) | 400 (56K) | 800 (112K) | 1600 (224K) | 3200 (448K) | 6400 (896K) | ||
| Qwen3.5-2B | 82.55 | 84.38 | 82.29 | 84.11 | 77.87 | 76.56 | 69.01 | 69.27 | 78.26 |
| Qwen3.5-4B (default) | 85.68 | 84.64 | 83.60 | 85.68 | 85.42 | 83.07 | 83.07 | 85.42 | 84.57 |
| Qwen3.5-9B | 82.81 | 85.16 | 87.50 | 84.38 | 84.38 | 85.16 | 82.81 | 85.94 | 84.77 |
| Chunk size | # Paragraphs (Total Length) | Avg. | |||||||
|---|---|---|---|---|---|---|---|---|---|
| 50 (7K) | 100 (14K) | 200 (28K) | 400 (56K) | 800 (112K) | 1600 (224K) | 3200 (448K) | 6400 (896K) | ||
| 4096 | 85.68 | 84.64 | 83.60 | 85.68 | 85.42 | 83.07 | 83.07 | 85.42 | 84.57 |
| Full | 83.85 | 84.64 | 82.29 | 83.86 | 74.48 | 71.10 | 56.77 | 53.13 | 73.76 |
| 16,384 | 82.03 | 82.29 | 85.94 | 82.81 | 82.81 | 83.86 | 85.42 | 83.59 | 83.59 |
| 65,536 | 84.64 | 82.03 | 80.73 | 80.73 | 78.91 | 80.99 | 83.59 | 83.08 | 81.84 |
| 131,072 | 83.07 | 83.59 | 80.99 | 80.21 | 75.78 | 80.21 | 79.69 | 79.17 | 80.34 |
| Agent | # Paragraphs (Total Length) | Avg. | |||||||
|---|---|---|---|---|---|---|---|---|---|
| 50 (7K) | 100 (14K) | 200 (28K) | 400 (56K) | 800 (112K) | 1600 (224K) | 3200 (448K) | 6400 (896K) | ||
| DCI agent | 73.96 | 75.78 | 74.74 | 76.56 | 74.48 | 75.52 | 77.60 | 76.30 | 75.61 |
| Lead agent + DCI subagents | 86.72 | 88.28 | 89.06 | 86.72 | 85.94 | 80.47 | 81.25 | 78.91 | 84.67 |
| Full-context (think) | 80.47 | 78.91 | 78.12 | 76.56 | 74.22 | 60.94 | 46.09 | 31.25 | 65.82 |
| Lead agent + thinking subagents | 85.16 | 86.72 | 87.50 | 82.03 | 85.94 | 85.94 | 87.50 | 83.59 | 85.55 |
Appendix figures & tables7 assets
Supplementary material from the paper’s appendix.
Appendix
| # Paragraphs (Total Length) | ||||||||
| 50 (7K) | 100 (14K) | 200 (28K) | 400 (56K) | 800 (112K) | 1600 (224K) | 3200 (448K) | 6400 (896K) | |
| MemAgent (# tokens) | 2211 | 3379 | 6353 | 12334 | 23805 | 47174 | 93806 | 187058 |
| ParSer (# tokens by Lead + Subagents) | 534+312 | 533+348 | 525+379 | 485+392 | 523+474 | 522+515 | 546+586 | 541+804 |
| ParSer /MemAgent (Decode Computation) | 13.9% | 10.6% | 6.1% | 3.2% | 2.0% | 1.1% | 0.6% | 0.4% |
| (a) Accuracy on HotpotQA (In-Distribution) | |||||||||||
| Backbone | Method | # Paragraphs (Total Length) | Avg. | ||||||||
| 50 (7K) | 100 (14K) | 200 (28K) | 400 (56K) | 800 (112K) | 1600 (224K) | 3200 (448K) | 6400 (896K) | ||||
| Qwen3.5-4B | MemAgent | w/o RL | 69.53 | 62.76 | 58.86 | 50.78 | 40.62 | 32.29 | 25.78 | 19.79 | 45.05 |
| w/ RL | 81.25 | 81.51 | 83.59 | 77.86 | 77.86 | 79.69 | 73.96 | 72.92 | 78.58 | ||
| ReMemR1 | w/o RL | 66.41 | 63.28 | 59.90 | 48.44 | 44.53 | 34.38 | 27.87 | 20.58 | 45.67 | |
| w/ RL | 82.03 | 79.95 | 82.03 | 78.91 | 77.86 | 79.95 | 77.08 | 73.44 | 78.91 | ||
| Split | # Samples | # Paragraphs per sample |
|---|---|---|
| Training (HotpotQA) | ||
| Eval (HotpotQA) | ||
| Eval (2WikiMultiHopQA) |
| Category | Hyperparameter | Value |
|---|---|---|
| Actor optimization | Optimizer | Adam |
| Learning rate; warm-up steps; schedule | ; ; constant | |
| Adam ; weight decay | ; | |
| Gradient clipping | ||
| PPO mini-batch size | ||
| PPO clip range; entropy coefficient | ; |
Long-Context Inference
Long-context inference studies how language models retrieve, retain, and reason over information spanning very large inputs.
See all 52 papers