Why Deep Research Systems Are Slow: Token-by-Token Generation and Parallel Denoising

    This article abstracts the latency of deep research report generation as a general technical problem. It examines how planning, retrieval, writing, and citation validation become coupled through autoregressive token-by-token generation, where serial generation queues up work that could otherwise run in parallel. It then explores whether diffusion-style language models with parallel denoising can relieve the bottleneck structurally, and what engineering trade-offs are required. The article covers a typical deep research pipeline, the root causes of serial latency, a hybrid parallel-denoising architecture for planning, retrieval, writing, validation, and engineering deployment, plus evaluation metrics and practical boundaries.

    Why Deep Research Systems Are Slow: Token-by-Token Generation and Parallel Denoising

    Many users assume that “AI report writing is slow” because search is slow, the network is slow, or the model is stuck in a queue. In deep research systems, however, the most easily overlooked and hardest bottleneck to avoid is the generation method itself. The cursor that appears to pop out one character at a time is not a UI animation. It reflects the underlying model making decisions in sequence: read the preceding context, guess the next token; read the updated context, guess the next token again. The longer the report, the more serial decisions are required. The more subtasks there are, the more obvious the queuing becomes.

    This article does not discuss a specific product. Instead, it abstracts “why deep research systems write reports slowly” as a general technical problem: when planning, retrieval, writing, and citation validation are tied together by serial generation, where does system latency come from? If we adopt the parallel denoising idea of diffusion-style language models, can the bottleneck be alleviated structurally? What engineering costs must be paid?

    1. A Typical Pipeline for Deep Research Systems

    A general deep research system is usually not a “one-shot Q&A” interaction but a multistage pipeline:

    1. Intent understanding: Determine whether the user wants a research report, technical review, competitive analysis, or decision recommendation.
    2. Task planning: Break the main question into retrievable sub-questions and define the report structure and evidence requirements.
    3. Retrieval and evidence collection: Call search engines, databases, document repositories, and other tools to collect web pages, papers, and internal materials.
    4. Evidence organization: Deduplicate, filter, summarize, and establish mappings between evidence and conclusions.
    5. Long-form writing: Generate chapters, paragraphs, tables, and citations according to the outline.
    6. Consistency validation: Check facts, citations, terminology, logic, and formatting.

    In this chain, retrieval is I/O-intensive, writing is generation-intensive, and planning has both characteristics. In theory, multiple independent sub-questions can be retrieved concurrently, and multiple chapters can be drafted in parallel. The problem is that in many systems, both the “planning results” and the “writing content” are generated token by token by autoregressive language models. As long as the generation side is serial, downstream concurrency is held back by upstream queuing.

    2. The Root Cause: Autoregressive Generation Queues Up Parallel Tasks

    The basic working method of an autoregressive language model is: given the existing context, predict the next token, append the new token to the context, and predict the next token again. This process can be represented in pseudocode:

    1. function autoregressive_generate(prompt, max_steps):
    2. context = prompt
    3. output = []
    4. for step in range(max_steps):
    5. next_token = model.predict_next(context)
    6. output.append(next_token)
    7. context = context + next_token
    8. return output

    This pseudocode looks simple, but it reveals three structural limitations:

    • The number of steps equals the output length: Writing a report of several thousand words requires thousands of token-by-token decisions. Even if each step is fast, the cumulative latency is not low.
    • Each step depends on the previous step: The Nth token must wait for the first N-1 tokens to be generated before it can be determined. It is impossible to generate all positions in the same passage completely at the same time.
    • Planning and execution are tightly coupled: If the system must first generate four retrieval sub-questions and then send retrieval requests, the four questions must finish queuing in the generation sequence before retrieval can begin, even if their content is mutually independent.

    This is like tightening screws on an assembly line: the second screw cannot move until the first is tightened. For short Q&A, this serial cost is acceptable. For deep research reports, with long outputs, many stages, and many tool calls, the serial cost is amplified.

    More critically, deep research systems also have “generation-wait-generation” gaps. Retrieval can begin only after planning is complete, writing can begin only after retrieval is complete, and citation validation must be interleaved during writing. If every stage depends on token-by-token generation, CPU/GPU computation and network I/O are difficult to fully overlap, and end-to-end latency naturally remains high.

    3. Diffusion-Style Language Models: From “Guessing Token by Token” to “Denoising a Whole Passage”

    Diffusion-style language models take a different approach from autoregressive models. They do not require determining tokens one by one from left to right. Instead, they first obtain a noisy or relatively模糊 initial sequence, and then gradually revise the entire passage through multiple rounds of “denoising.” Each denoising round can adjust multiple positions in the sequence at the same time rather than strictly waiting for the previous token to settle.

    This can be compared with illustrative pseudocode:

    1. function diffusion_generate(prompt, length, rounds):
    2. x = initialize_noisy_sequence(length, prompt)
    3. for t in range(rounds):
    4. x = denoise_all_positions(x, prompt, t)
    5. return decode_sequence(x)

    The core idea here is not “perfect generation in one pass” but “coarse first, fine later, with multiple rounds of parallel revision.” For deep research systems, this characteristic has several potential benefits:

    • Planning stage: Multiple sub-question candidates and report outline drafts can be formed in parallel, then converged through constraints and validation.
    • Writing stage: Paragraphs or chapters can be drafted simultaneously, then terminology, logic, and citations can be revised by a global consistency module.
    • Candidate exploration: Multiple structural options can be retained at the same time, and an evaluator can select the better one instead of fully serial writing followed by rewriting.
    • Earlier tool invocation: Retrieval intent can be identified early in denoising, batch retrieval can be initiated in advance, and network I/O can overlap with later revision.

    It is important to emphasize that parallel denoising does not automatically mean “better quality” or “faster for all tasks.” In some experimental studies, generation with parallel denoising has achieved several-fold speedups while maintaining quality close to that of serial generation. However, the exact multiplier depends on task type, model scale, number of denoising rounds, batching strategy, validation mechanisms, and hardware conditions. It cannot be simply extrapolated as a fixed improvement for all systems. In engineering practice, it should be treated as an optional generation paradigm, not a universal acceleration key.

    4. Rebuilding a Deep Research System as a “Parallel Denoising Pipeline”

    To truly solve the slowness problem, it is not enough to replace only the writing model. The pipeline must be redesigned. A feasible hybrid architecture is: structured planning with parallel drafts plus constraint convergence, batch concurrent retrieval, segmented parallel writing plus global validation, and evidence binding plus automated verification as a fallback for key facts.

    1. Planning Layer: Generate Candidate Outlines in Parallel, Then Converge Through Constraints

    The planning layer does not need to write the final text word by word. It only needs to produce a structured task graph: sub-questions, dependencies, evidence types, and priorities. A diffusion-style generator can first produce multiple candidate plans, and then rules or evaluators can check:

    • Whether the sub-questions cover user intent;
    • Whether there is duplicate retrieval;
    • Whether dependencies form cycles;
    • Whether each sub-question can be executed by retrieval tools;
    • Whether the report structure meets length and citation requirements.

    The final output should be in a structured format, such as a field-based task list, rather than a block of free text. This allows downstream retrievers to execute concurrently immediately without waiting for the entire plan to be “finished.”

    2. Retrieval Layer: Batch Concurrency According to the Dependency Graph

    After planning produces the task graph, sub-questions without dependencies should be retrieved concurrently. For tasks requiring multiple retrieval rounds, an evidence sufficiency threshold can be set: stop expanding once the threshold is reached to avoid endless searching. Retrieval results enter a unified evidence pool and retain metadata such as source, time, snippet, and confidence.

    Acceleration at this layer mainly comes from I/O concurrency, not model generation. However, if the planning layer remains token-by-token serial, retrieval concurrency starts late. The value of parallel planning is that executable tasks are released earlier.

    3. Writing Layer: Segmented Parallel Drafting with Global Consistency Revision

    Long reports are not suitable for generating all paragraphs completely independently; otherwise, terminology drift, repeated discussion, and contradictions are likely. A more robust approach is:

    • First determine the global outline, terminology list, and citation conventions;
    • Draft each chapter in parallel;
    • Use a global validator to check cross-chapter consistency;
    • Locally rewrite conflicting passages;
    • Finally unify formatting and citations.

    Diffusion-style generation can be used for parallel revision of chapter drafts; autoregressive or constrained decoding can be used for key sentences, numbers, citation formats, and other fragments that require high determinism. A hybrid approach is more realistic than a “full replacement.”

    4. Validation Layer: Evidence Binding and Fallback Mechanisms

    The quality floor of a deep research system is facts and citations. Parallel generation produces more candidate content, so it must be paired with evidence binding: each key conclusion should be associated with evidence snippets; conclusions that cannot be bound should be marked for verification or removed. For high-risk content, secondary retrieval and human review can be triggered.

    5. Engineering Support: Decouple Stages with General Cloud Capabilities

    In engineering deployment, planning, retrieval, generation, validation, and caching can be split into independent modules. General container platforms can host compute tasks, object storage can store evidence and intermediate drafts, message queues can smooth peak loads, and logging and monitoring services can track latency at each stage. For example, in a deployment on Baidu AI Cloud, general-purpose container platforms, object storage, message queues, logging, and monitoring capabilities can be used to host such a pipeline. The point is not a specific API, but enabling generation and I/O to overlap, failures to be retried, and stages to be observable.

    5. Evaluation: Do Not Look Only at “How Many Times Faster”

    A complete evaluation system must be established before and after the redesign; otherwise, it is easy to end up with “lower latency and quietly degraded quality.” At a minimum, the following metrics should be covered:

    • End-to-end latency: Time from submitting a question to receiving the complete report;
    • First-paragraph visible latency: How quickly the user can see the first meaningful piece of content;
    • Stage time: The proportion of time spent on planning, retrieval, writing, and validation;
    • Throughput and concurrency: Number of reports that can be processed per unit time;
    • Factual consistency: Match rate between key conclusions and evidence;
    • Citation coverage and accuracy: Whether citations actually support conclusions;
    • Structural completeness: Outline coverage, chapter balance, and logical coherence;
    • Reproducibility: Whether result variance under the same input is controllable;
    • Cost: Compute, retrieval, and storage cost per report.

    Acceleration is meaningful to the business only when quality metrics do not significantly regress. For high-risk scenarios such as legal, medical, and financial applications, human sampling and audit logs should also be added.

    6. Boundaries and Conclusion

    Diffusion-style parallel denoising is not “cost-free acceleration.” It may bring challenges in long-text consistency, exact copying, and tool-call format stability, which require constrained decoding, evaluators, and fallback mechanisms. A more reasonable path is a hybrid architecture: let the parts suitable for parallelism run in parallel, and keep constraints and validation for the parts that require determinism.

    Returning to the initial question: why can AI report writing be slower than ordering takeout? The answer lies not only in the network or search, but in the generation method that queues many tasks that could have been parallel into a serial queue. Replacing token-by-token generation with parallel denoising and decoupling planning, retrieval, writing, and validation at the pipeline level can indeed significantly reduce end-to-end latency. But the real engineering value is not the pursuit of a fixed multiplier. It is the use of an observable, verifiable, and fallback-capable architecture to help deep research systems achieve a better balance among speed, quality, and cost.