{"id":"6e07ced8-6be3-4c5b-8e29-749a1ce29cf6","arxiv_id":"2609.34432","paper_version":1,"verdict":"CONDITIONAL","confidence":"MODERATE","novelty_score":6.0,"correctness_risk":"medium","formal_verification":"none","parameter_count":3,"one_line_summary":"A two-week trace of 11.7M requests from a production AI agent platform shows serving demand concentrates in a few sessions, workflows are mostly serial, and reusable context often spans task boundaries.","lead":"This paper analyzed two weeks of real traffic, 11.7 million requests, from a large production platform that runs AI agents, and mapped how sessions, tasks, and individual model calls shape demand on a serving fleet of over 10,000 GPUs.","discovery_kind":"extension","skeptic_critique":{"model":"deepseek/deepseek-v4-flash","headline":"The 'same-task/different-episode' cell in Table 4 is populated by pairs split on idle>300s or a context event—both shown to depress reuse—so the 44.67% vs 80.59% episode-affinity contrast may partly re-encode the idle-reuse decay built into the episode definition.","rationale":"The reader placed the load-bearing weight on unvalidated workflow reconstruction from logs (sibling-edge identification, task boundaries, context-event detection) plus generalizability of a single two-week sample. Those are real epistemic limits, and the reader's CONDITIONAL verdict is well supported. My stress-test found a distinct, more internal concern that the reader did not isolate: the episode definition in Section 6.2 builds the idle-over-300s rule and context events directly into what counts as a 'different episode,' and the paper's own Figure 17 and Figure 16 show those very features depress cache reuse. Table 4's central contrast (80.59% for cross-task-within-episode vs 44.67% for within-task-cross-episode) is therefore confounded by construction: the two cells are selected on the very axes known to predict reuse differences. This matters because Observation 11 and the episode concept are the paper's primary novel contributions and drive the episode-based scheduling and adaptive-retention discussions. I do not think this overturns the verdict: the paper is honest about the 300s threshold being a grouping parameter, frames episode scheduling as an open question, and reports modest, non-monotonic retention savings (6.4%/1.0%/13.9%), so it would survive even a weakened Table 4. Hence UNCHANGED rather than REJECT. The concern is testable with the trace already in hand, and the paper promises sanitized trace release, so verification is feasible without new measurement. I partially agree with the reader: same verdict direction, but the most load-bearing specific worry in my reading is the internal selection confound in the episode evidence, not primarily the unvalidated reconstruction.","tokens_in":22051,"tokens_out":7862,"duration_ms":47814,"concrete_test":"Recompute Table 4 stratified by the cause of episode separation, holding idle fixed. Restrict to adjacent-request pairs with idle interval at most 300s and no idle-based split, then compare actual token reuse across three groups: (a) same task, same episode; (b) different task, same episode; (c) same task, different episode split purely by a context event (model switch, subagent launch, compaction, or prompt rewrite), all within the <=300s band. If group (c) still shows reuse near 44.67% while (a) and (b) hold at roughly 90% and 80%, the episode boundary captures affinity beyond idle duration and Observation 11 stands. If (c) rises toward 80-90%, the published 44.67% figure was driven by idle>300s selection embedded in the episode definition, and the episode-affinity evidence should be re-presented with idle-controlled breakdowns.","verdict_should_be":"UNCHANGED","load_bearing_attack":"The paper's central novel contribution is the episode as a serving-affinity unit (Observation 11), and its cleanest quantitative support is Table 4: cross-task continuations within an episode retain 80.59% actual token reuse versus 44.67% for same-task continuations across episodes. But the episode construction in Section 6.2 splits an episode on either an idle interval exceeding the 300-second horizon or a context event (model switch, subagent launch, compaction, prompt rewrite). Consequently, the 'Same task / Different episode' cell is populated by construction with pairs that either waited longer than 300s or crossed a context event, both of which the paper itself shows independently depress reuse: Figure 17 shows high-reuse share falling from ~91% at 0-5s idle to as low as 27% past 1800s, and Figure 16(b) gives model switches a median reuse of 1.18%. The 'Different task / Same episode' cell is, by the same construction, restricted to pairs with idle at most 300s and no intervening context event. The headline 80.59% versus 44.67% contrast therefore conflates the affinity signal (task boundary vs episode boundary) with the idle-duration and context-event signals used to define those boundaries; the comparison is confounded by construction. The paper is transparent that the 300-second horizon is a grouping parameter rather than a measured TTL, but it does not address this selection confound, so the empirical support for 'episodes beat tasks as affinity units' is weaker than the raw table suggests. Note the other half of the claim is cleaner: the within-episode cross-task comparison (Different-Same, 80.59%) against the Same-Same baseline (90.08%) holds idle constant and supports the 'reuse spans tasks' direction; it is specifically the same-task cross-episode cell that is contaminated.","agreement_with_reader":"partial"},"referee_report":{"model":"deepseek/deepseek-v4-flash","summary":"The paper analyzes a two-week, 11.69M-request production trace from a large-scale LLM agent serving platform (948.4k sessions, >10k GPUs) and characterizes the workload at three connected levels. At the task level it contrasts user- vs agent-triggered tasks, measures request concentration (top 5% of sessions = 56.1% of requests), and analyzes recurring automated activity. At the workflow level it reconstructs request/task DAGs and finds that serial structures dominate (77.6% of requests), sibling execution overlap is rare (0.225%), and tool-associated waiting and successor reuse vary by tool type. At the infrastructure level it measures token work, logical context residency, and cache reuse across context events and idle intervals, and proposes the 'episode' as a serving-affinity unit that groups requests by context and retention continuity, arguing that episode boundaries capture serving affinity better than task boundaries (Observation 11, Table 4). The paper closes with an offline retention-allocation model (savings 6.4%, 1.0%, 13.9% relative to uniform TTL at three budgets) and three open research directions: cross-layer abstractions, episode-based scheduling, and adaptive KV-cache management.","tokens_in":22441,"tokens_out":7656,"duration_ms":47670,"significance":"If the measurements hold, this is one of the most complete production-scale characterizations of agent serving to date, complementing the Copilot and TraceLab studies with an end-to-end view that connects task initiation, workflow structure, and infrastructure demand. The paper's strengths are real: it is transparent about measurement qualifications (decode-phase shares explicitly include waiting and scheduling overheads; the 300-second episode horizon is explicitly labeled a grouping parameter, not a measured TTL; retention savings are honestly reported as modest and non-monotonic); the offline retention model in Section 7.3 is a well-defined optimization with explicit inputs and computed, not tuned, savings figures; and the quantitative claims are concrete and reproducible from the described definitions. The episode construct, if supported, could directly inform placement and KV-cache policy. The main weaknesses are that the headline quantitative support for the episode claim (Table 4) is confounded by construction, the workflow reconstruction is unvalidated, and the single-platform, two-week sample with withheld cluster sizes limits external generalization.","major_comments":[{"comment":"The headline contrast in Table 4 is confounded by construction. Episodes are defined to split on an idle interval exceeding the 300-second horizon or on a context event (model switch, subagent launch, compaction, prompt rewrite), and Figures 16 and 17 show that exactly these signals independently depress reuse: high-reuse share falls from ~91% at 0-5s idle to as low as 27% past 1800s, and model switches have median reuse of 1.18%. Consequently the 'Same task / Different episode' cell is populated by pairs that either waited >300s or crossed a context event, while the 'Different task / Same episode' cell is restricted to pairs with idle <=300s and no intervening event. The 80.59% vs 44.67% contrast therefore re-encodes the idle-duration and context-event effects used to define the boundary rather than isolating the task-vs-episode affinity signal. The paper is transparent that the 300s horizon is a grouping parameter, but it does not address this selection effect. The qualitative claim that episodes bind affinity more strongly than tasks is still supported by the within-episode comparison (90.08% same-task vs 80.59% different-task, a 9.5-point task effect) and by the large episode effect in both task conditions, but the cleanest numbers would change under a proper control. Please (a) present the within-episode and across-episode task-boundary contrasts separately as the controlled evidence, and (b) add a stratified version of Table 4, e.g., the episode effect restricted to pairs with idle <=300s or within idle bins with context-event presence held fixed. The claim may survive, but the current presentation overstates its magnitude.","section":"§6.2, Table 4, Observation 11","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The workflow reconstruction is taken as ground truth without validation or methodological detail. Observations 5-8 (serial dominance at 77.6%, the 0.225% sibling overlap rate) and the episode pair classifications in Table 4 all depend on trace-faithful identification of sessions, tasks, request edges, sibling relationships, and tool categories, but the paper does not describe how these structures are recovered from the logs (e.g., how task boundaries are detected, how sibling edges are inferred, how tool returns are attributed to intervals) or provide any sensitivity analysis. For a characterization whose deployment implications rest on these structures, a methodology subsection describing the reconstruction and robustness checks (e.g., perturbation of the 300s horizon, alternative task-boundary rules, or mislabeling rates on a labeled subset) is needed. This is a correctness-risk concern: if the reconstruction mislabels logical relationships, observations 5 through 8 and the retention-model inputs shift.","section":"§5.1, Table 3, §6.2","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The paper's external validity rests on a single two-week, single-platform sample with cluster size and total workload withheld for confidentiality. The paper states this, but it does not discuss how the reported figures might vary across backends, model mixes, or platform scale, which matters because the model mix (Figure 2) and the 13-fold GPU-footprint disparity between models with similar request shares suggest dependency on the specific model set. A brief discussion of which observations are likely robust across platforms and which are platform-specific would strengthen the paper's contribution to the community beyond this one deployment.","section":"Overall scope (Sections 3-4)","authors_acknowledge":null,"authors_acknowledge_p":null}],"minor_comments":[{"comment":"The sentence 'The three levels workflow pattern describe how requests and tasks are organized across a session;' is grammatically incomplete and is repeated; please rewrite and remove the duplicate.","section":"§5.1","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The reuse definition 'R = sum C_r / sum I_r' renders with garbled symbols in the typeset formula; please typeset it properly and define I_r and C_r at the point of first use.","section":"§6.2","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The bar labels interleave numeric values with bin names (e.g., '91 0-5 88 5-30 ...') and are difficult to read; consider a table of idle-bin reuse shares or clearer label placement.","section":"Figure 17","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The 'cached-input fraction' is used in Section 3 (median 98.1%, 6.34% with no cached input) before it is defined in Section 6.2; define the quantity at first use.","section":"§3","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"Consider stating explicitly that the retention budget units (10^12 token·s) correspond to the logical context residency measure introduced in Section 6.1, so readers can cross-check the offline model against the residency measurements.","section":"§7.3","authors_acknowledge":null,"authors_acknowledge_p":null}],"recommendation":"major_revision"},"author_rebuttal":null,"desk_editor":{"model":"deepseek/deepseek-v4-flash","letter":"Quick take: the episode result has a real selection problem, but this is still the most complete end-to-end look at a general-purpose agent platform we have, and it deserves peer review, not a desk reject.\n\nWhat's genuinely new: the three-level framing (task initiation semantics, workflow DAG structure, serving demand) over a non-coding production platform with 10k+ GPUs. Copilot and TraceLab are coding-only and request-level; this gives you task triggers, workflow shapes, concentration numbers, and a proposed serving-affinity unit (the episode) that nothing else in the literature offers. The offline retention model is well-defined, computed rather than tuned, and the paper honestly reports modest, non-monotonic savings (6.4/1.0/13.9%). The paper is also transparent about its own limitations: the 300-second horizon is labeled a grouping parameter, decode-phase shares include waiting overhead, and episode scheduling is framed as an open question, not a validated win.\n\nThe soft spots are real but not fatal. The stress-test note is right: episode boundaries are defined by an idle interval exceeding 300 seconds or a context event, and both independently depress reuse. So the \"Same task / Different episode\" cell in Table 4 (44.67% reuse) is populated by construction with pairs that waited long or crossed a context event, which means the 80.59% versus 44.67% contrast partially re-encodes the idle-reuse decay used to define the boundary. The paper acknowledges the 300s threshold is a grouping parameter, but nowhere addresses this selection confound. That weakens the headline claim that episodes beat tasks as serving-affinity units. The other half of the evidence is clean: the within-episode cross-task comparison (80.59%) against the same-same baseline (90.08%) holds idle constant and supports the \"reuse spans tasks\" direction.\n\nThe broader epistemic limitation stands as the reader describes: the workflow reconstruction is unvalidated, the trace isn't released, cluster size and total workload are withheld, and all numbers come from a single two-week sample. These aren't logical flaws; they're verification gaps. The conclusion says sanitized traces will be released \"soon,\" but the paper under review doesn't include them.\n\nBottom line: this is a valuable workload study for anyone working on agent-serving schedulers or cache management. I'd send it to referees and ask for (a) a control for idle duration and context events in the episode-affinity analysis, and (b) either the sanitized trace, a validated reconstruction method, or explicit variance reporting. Serious thinker: yes. I'd bring it to reading group to argue about the episode methodology.","headline":"The episode claim has a selection confound, but the paper's three-level characterization is the best end-to-end view of general-purpose agent serving we have and deserves a serious referee.","tokens_in":23111,"tokens_out":3052,"duration_ms":18849},"pith_extraction":{"msc":[],"pacs":[],"model":"deepseek/deepseek-v4-flash","headline":"Agent-serving demand at production scale is concentrated in a few long sessions whose workflows are narrow serial chains and whose reusable context crosses task boundaries, so serving systems should manage state by episodes rather than by…","keywords":["agent serving","workload characterization","LLM inference","workflow DAG","KV cache reuse","episode scheduling","production trace","context retention"],"falsifier":"Apply the same workflow-reconstruction pipeline to an independent multi-week trace from a second production platform, or to a released sanitized copy of this trace, and check whether the serial-task request share (77.6%), sibling-overlap rate (0.225%), and top-5% session concentration (56.1%) reproduce; deviations by an order of magnitude would identify these figures as artifacts of this platform's task taxonomy or log semantics. Recomputing Observation 11 with 60- and 600-second idle horizons would test the stability of the episode boundary result.","tokens_in":23471,"feed_emoji":"🤖","tokens_out":4963,"duration_ms":29545,"temperature":0.7,"pith_summary":"The paper tries to establish that understanding how AI agents generate inference work requires looking across three levels at once: how tasks are initiated, how the resulting requests are structured into workflows, and how that structure lands on serving infrastructure. From a two-week, 11.7-million-request production trace spanning 948.4k sessions on over 10k GPUs, it shows demand is extremely lopsided, with the top 5% of sessions carrying 56.1% of requests and most workflows being narrow serial chains that contribute 77.6% of requests. Its most consequential finding is that cache-reusable context routinely spans task boundaries while context changes happen inside tasks, so task and session boundaries misstate where serving state actually persists. If these measurements hold, serving engines should schedule around episodes, concentrate optimization on heavy sessions, and allocate cache retention per waiting type rather than with a uniform time-to-live.","feed_headline":"Top 5% of sessions drive 56% of agent requests","feed_subtitle":"Workflows are narrow serial chains whose reusable context crosses task boundaries, pointing to episode-based serving and adaptive cache…","key_machinery":"The load-bearing construct is the episode, a serving-affinity unit that groups requests continuing one context history within a retention horizon, delimited by context-changing events (model switch, subagent launch, compaction, system-prompt rewrite) and by idle intervals exceeding 300 seconds; it reveals that reusable context spans tasks while context shifts within a task, which session and task boundaries cannot capture. The second piece is the reconstruction of workflows as directed acyclic graphs, classifying intra-task structures as singleton, serial, or branching and measuring graph depth and width to separate workflow organization from observed execution timing. The third is an offline retention-allocation model that minimizes modeled recomputation across four waiting types (read/write, command, sub-agent, ask-user) under a fixed retention budget, which supplies the quantitative grounding for the adaptive cache-lifetime recommendation.","core_discovery":"The paper claims that agent-serving demand is not spread across requests but concentrated in a small set of sessions whose workflows are mostly narrow serial chains and whose reusable context crosses task boundaries. The trace shows a top 5% of sessions responsible for 56.1% of requests, and a common 14.3% of sessions holding 98.5% of logical context residency, 92.3% of new-prefill tokens, and 86.0% of decode tokens. Serial tasks, fewer than half of all tasks, contribute 77.6% of requests and 70.4% of cumulative execution, while logical sibling requests overlap in execution in only 0.225% of pairs. The paper finds that task boundaries misalign with cache affinity: cross-task continuations inside an episode retain 80.6% actual token reuse, whereas same-task continuations across an episode boundary retain only 44.7%, so it introduces episodes, delimited by context-changing events and a 300-second idle horizon, as the serving-affinity unit that task boundaries miss. An offline retention model over four waiting types then shows that adaptive per-type time-to-live can beat the best uniform TTL at matched retention cost, reducing modeled recomputation by up to 13.9%.","pith_inferences":["The episode is a measurable, framework-independent granularity: a serving engine could detect context continuity and idle boundaries from request histories alone, so episode-based cache pinning could be tested against session-granularity pinning on the same trace even where the agent framework exposes no workflow semantics.","The 300-second idle horizon is a grouping parameter, not a measured eviction time, so re-deriving Observation 11 with horizons of 60 and 600 seconds would reveal how sensitive the task-versus-episode boundary result is to that choice.","If the 0.225% sibling-overlap figure holds across platforms, schedulers that prepare for concurrent execution of logical branches may rarely pay off, and engines should not over-provision for parallel branch execution.","The paper's retention model minimizes recomputation but does not price memory cost per token, so an extension adding a per-token memory price and re-solving the allocation would test whether the savings survive a realistic cost of holding large contexts during waits."],"forward_implications":["A small set of heavy sessions drives most load, so concentrating scheduling, batching, and cache-pinning optimizations on the top few percent of sessions captures most of the benefit.","Because serial chains carry over three-quarters of requests, request sequences within a task should be treated as continuation-bound work rather than as independent queue arrivals.","Since task boundaries do not align with cache affinity, state management and placement should follow episodes (context history plus retention horizon) rather than session or task scope.","Adaptive, per-type time-to-live allocation can reduce recomputation relative to a uniform TTL at matched retention cost, with savings as large as 13.9% at the 25-minute reference budget.","Because decode accounts for 76.1% of cumulative service time in the heavy-session group, decode-phase optimizations matter more than prefill for these workloads."],"supporting_citations":[{"why":"ServeGen supplies the production workload-characterization and generation baseline whose request-level focus this paper extends to task and workflow semantics.","marker":"[5]"},{"why":"BurstGPT supplies request arrival and demand-distribution dataset context for characterizing inference demand.","marker":"[6]"},{"why":"The GitHub Copilot characterization supplies a comparable production-scale coding-agent trace whose transition and cache findings the workflow-DAG analysis compares against.","marker":"[7]"},{"why":"TraceLab supplies coding-agent execution, context-growth, and tool-call measurements that motivate the general multi-model workload analysis.","marker":"[8]"},{"why":"CacheWise supplies the coding-agent KV-cache management guidance that the adaptive-retention discussion builds on.","marker":"[12]"},{"why":"Continuum supplies the time-to-live based retention mechanism that the offline retention allocation model draws on.","marker":"[18]"},{"why":"Parrot supplies the cross-layer abstraction (semantic variables) that the paper's first open question builds on.","marker":"[21]"},{"why":"The utility-optimization approach to network cache design supplies the optimization framing for allocating retention across waiting types under a budget.","marker":"[28]"}],"fun_headline_variants":["Top 5% of sessions drive 56% of agent requests","Agent demand clusters in few sessions, serial workflows","Context reuse across tasks reshapes agent serving","Why episode-based serving beats task boundaries","Trace of 11.7M requests exposes agent serving gaps"],"cache_read_input_tokens":0,"weakest_assumption_plain":"The paper treats its reconstruction of session, task, sibling, and tool relationships from production logs as ground truth, and assumes a single two-week, single-platform sample generalizes to agent-serving workloads broadly; if the trace mislabels logical workflow structure, the load-share measurements and the retention-model inputs shift.","fun_headline_variants_meta":{"raw":{"variants":["Top 5% of sessions drive 56% of agent requests","Agent demand clusters in few sessions, serial workflows","Context reuse across tasks reshapes agent serving","Why episode-based serving beats task boundaries","Trace of 11.7M requests exposes agent serving gaps"]},"model":"deepseek/deepseek-v4-flash","effort":"low","cost_usd":0.00015,"raw_usage":{"cost":0.000149968,"is_byok":false,"cost_details":{"upstream_inference_cost":0.000149968,"upstream_inference_prompt_cost":0.000107128,"upstream_inference_completions_cost":4.284e-05},"total_tokens":1123,"prompt_tokens":970,"completion_tokens":153,"prompt_tokens_details":{"audio_tokens":0,"video_tokens":0,"cached_tokens":256,"cache_write_tokens":0},"completion_tokens_details":{"audio_tokens":0,"image_tokens":0,"reasoning_tokens":77}},"tokens_in":970,"tokens_out":153,"cost_source":"openrouter_usage","duration_ms":2548,"image_pages":[],"temperature":1.0,"billed_attempts":1,"reasoning_tokens":77,"transport_provider":"openrouter","cache_read_input_tokens":0,"cache_creation_input_tokens":0},"cache_creation_input_tokens":0},"created_at":"2026-09-29T23:01:09.959823+00:00","model_set":{"reader":"deepseek/deepseek-v4-flash"},"pipeline_version":"pith-pipeline@v1.4.1-daily-deepseek-or-medium","input_kind":null,"input_chars":null,"input_total_chars":null,"passes_missing":null,"published_standing":null,"published_confidence":null,"objection_audit":null,"run_record":null,"basis":{"kind":"not_recorded","source":null,"chars_given":null,"chars_total":null},"receipt":null,"falsifier":"Apply the same workflow-reconstruction pipeline to an independent multi-week trace from a second production platform, or to a released sanitized copy of this trace, and check whether the serial-task request share (77.6%), sibling-overlap rate (0.225%), and top-5% session concentration (56.1%) reproduce; deviations by an order of magnitude would identify these figures as artifacts of this platform's task taxonomy or log semantics. Recomputing Observation 11 with 60- and 600-second idle horizons would test the stability of the episode boundary result.","supporting_citations":[{"cited_title":"ServeGen: Workload Characterization and Generation of Large Language Model Serving in Production","cited_arxiv_id":null,"evidence_quote":"ServeGen supplies the production workload-characterization and generation baseline whose request-level focus this paper extends to task and workflow semantics."},{"cited_title":"BurstGPT: A Real-World Workload Dataset to Optimize LLM Serving Systems","cited_arxiv_id":null,"evidence_quote":"BurstGPT supplies request arrival and demand-distribution dataset context for characterizing inference demand."},{"cited_title":"Agentic Coding in the Wild: Characterizing GitHub Copilot Traces at Production Scale","cited_arxiv_id":"2608.00101","evidence_quote":"The GitHub Copilot characterization supplies a comparable production-scale coding-agent trace whose transition and cache findings the workflow-DAG analysis compares against."},{"cited_title":"TraceLab: Characterizing Coding Agent Workloads for LLM Serving","cited_arxiv_id":"2606.30560","evidence_quote":"TraceLab supplies coding-agent execution, context-growth, and tool-call measurements that motivate the general multi-model workload analysis."},{"cited_title":"CacheWise: Understanding Workloads and Optimizing KVCache Management for Efficiently Serving LLM Coding Agents","cited_arxiv_id":null,"evidence_quote":"CacheWise supplies the coding-agent KV-cache management guidance that the adaptive-retention discussion builds on."},{"cited_title":"Continuum: Efficient and Robust Multi-Turn LLM Agent Scheduling with KV Cache Time-to-Live","cited_arxiv_id":"2511.02230","evidence_quote":"Continuum supplies the time-to-live based retention mechanism that the offline retention allocation model draws on."},{"cited_title":"Parrot: Efficient Serving of LLM-based Applications with Semantic Variable","cited_arxiv_id":null,"evidence_quote":"Parrot supplies the cross-layer abstraction (semantic variables) that the paper's first open question builds on."},{"cited_title":"Menasché, and Y","cited_arxiv_id":null,"evidence_quote":"The utility-optimization approach to network cache design supplies the optimization framing for allocating retention across waiting types under a budget."}],"lane_accuracy":{"status":"not yet measured","lane":{"model":"deepseek/deepseek-v4-flash","input_kind":null},"url":"https://pith.science/accuracy"},"review_version":1}