{"id":"6f21feb2-2f3c-4b89-8fe1-5af6eb5c9e47","arxiv_id":"2610.22863","paper_version":1,"verdict":"ACCEPT","confidence":"HIGH","novelty_score":6.0,"correctness_risk":"low","formal_verification":"none","parameter_count":0,"one_line_summary":"Production agentic LLM workloads create large, long-lived KV state; a one-hour idle cap reduces the memory ceiling 3.6X with minimal recomputation, and int4 demotion outperforms clairvoyant eviction under constrained budgets.","lead":"This paper analyzes four production traces from Microsoft M365, covering 121 million model calls across three agentic applications and enterprise chat. It finds that agentic sessions accumulate large key-value (KV) state in GPU memory, that retaining all this state would require terabytes of HBM, and that a combination of lower-precision retention and deployment-aware routing is needed to avoid costly recomputation.","discovery_kind":"new_application","skeptic_critique":{"model":"deepseek/deepseek-v4-flash","headline":"No significant objection identified","rationale":"The reader correctly identifies the KV byte conversion as a sensitivity, but the paper handles it explicitly: absolute estimates are linearly rescalable, and all non-dimensional results (reuse rates, reconstruction fractions at budget fractions) are independent of β. I found no additional load-bearing concern that would change the verdict. The paper is thorough in characterizing production traces, clean in separating measured/estimated/replayed quantities, and transparent about limitations. The trace generator and replay framework, once released, will support independent verification. The central claim is well evidenced by the capacity-constrained replay (MRR vs LRU/FNU) and the deployment-local floor analysis. The verdict ACCEPT with HIGH confidence remains appropriate.","tokens_in":26483,"tokens_out":1348,"duration_ms":19121,"concrete_test":"For additional confidence, reproduce the policy ordering result (LRU ≥ FNU ≥ MRR) on a different one-hour window within the Research trace (e.g., the second busiest hour) to verify that the policy separation at 10% budget is not an artifact of the specific interval chosen. The paper already validates the trace generator against this ordering; a cross-window check would strengthen generality.","verdict_should_be":"UNCHANGED","load_bearing_attack":"The paper's central claim – that efficient agentic serving requires both memory mechanisms that preserve recoverable KV under capacity pressure and placement mechanisms that maintain or move reusable state across deployments – is well supported by the evidence. The weakest point that could be raised is the reliance on int4 KV retention (MRR) without measuring its impact on response quality in agentic settings, but this is fully acknowledged by the authors (Section 5.7: 'The replay does not measure how int4 KV changes responses'). The paper correctly frames MRR as an illustrative mechanism, not a definitive solution, and the central claim does not depend on int4 being lossless. The KV-byte conversion assumption, noted by the reader, is carefully bounded: absolute values scale linearly and are presented alongside scaling-invariant relative results. All major limitations are stated (trace confidentiality, deployment granularity, replay assumptions), and the conclusions are tempered to match the scope. No internal inconsistency or unacknowledged vulnerability undermines the argument.","agreement_with_reader":"partial"},"referee_report":{"model":"deepseek/deepseek-v4-flash","summary":"This paper characterizes the KV cache residency of four production Microsoft M365 agentic workloads (Deep Research, Enterprise Assistant, Coding Agent, and Enterprise Chat) totaling over 121 million model calls. It measures how session depth, context growth, prefix reuse, idle gaps, and deployment placement affect the GPU memory demand. The authors show that the hold-all-live ceiling for Research is 501.8 TB under a reference Llama-2-70B KV layout, and that a one-hour idle cap reduces this by 3.6× with negligible reconstruction increase. Under tight memory budgets, destructive eviction (LRU, clairvoyant FNU) leaves 63% and 31% of calls recomputing, while int4 multi-resolution retention (MRR) reduces that to 13.6%. Deployment-local KV raises the first-touch floor from 5.4% to 20.2%. The paper concludes that efficient agentic serving requires both recoverable KV mechanisms and deployment-aware placement. A parametric trace generator, AgenticTraceSim, is planned for release.","tokens_in":26709,"tokens_out":2537,"duration_ms":29637,"significance":"The paper provides rare, large-scale production measurements of agentic LLM workloads, covering KV reuse, idle gaps, and deployment locality. These measurements are directly relevant to the design of LLM serving systems, memory management policies, and routing strategies. The trace-driven replay separates the effects of capacity and placement, and the int4 MRR results, while acknowledged as illustrative, highlight a promising direction. The planned release of AgenticTraceSim and a replay framework will support reproducible research. If the results hold, the paper's findings will influence how cloud providers provision GPU memory and design scheduling policies for agentic applications.","major_comments":[],"minor_comments":[{"comment":"The paper uses 'Deployment' to refer to a specific endpoint instance. The manuscript would benefit from an early, explicit definition that distinguishes a deployment from a model or a GPU worker, especially since readers may be unfamiliar with the internal naming. The current definition in Section 2.2 ('we call this endpoint instance a deployment') is clear but could be highlighted earlier.","section":"Abstract / Section 2.2","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The caption states 'The legend in (b) applies to all panels', but panel (c) for Chat uses the same legend. This is fine, but the text might be clearer if the legend were repeated or if the sentence read 'The legend in (b) applies to (a) and (c) as well'.","section":"Figure 11 caption","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The term 'context reduction' is used for calls with less context than the predecessor. The paper notes that the telemetry does not record the cause (compaction, summarization, truncation). It would be helpful to add a brief note that the replay in Section 5 respects these reductions (the session's current KV size is updated at each call), as the authors implicitly do.","section":"Section 3.2, line 'context reduction'","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The sentence 'Residency mechanisms leave the context unchanged and decide only whether, where, and at what precision its KV is kept' could be misinterpreted: context reduction (Section 3.2) does change the context. The paragraph later correctly separates context reduction from KV residency, but the initial phrasing might confuse. Consider rewording for clarity.","section":"Section 5.7, first paragraph of Open Problems","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The generator validation compares synthetic traces against the matched measured Research sample, but not against the Assist or Chat workloads. While the paper states the generator is calibrated to Research, noting whether the generator can reproduce other workloads at a coarse level (e.g., depth distributions) would strengthen the claim of generality. If not possible, a brief justification of why only Research is used would be helpful.","section":"Section 6, AgenticTraceSim validation","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The paper uses multiple abbreviations (MRR, FNU, SR, SD) that are defined early but not always restated. Consider including a table of acronyms, or at least redefining them in figure captions where they first appear.","section":"General","authors_acknowledge":null,"authors_acknowledge_p":null}],"recommendation":"minor_revision"},"author_rebuttal":null,"desk_editor":{"model":"deepseek/deepseek-v4-flash","letter":"This is a well-executed operational study that answers a concrete question: how much GPU memory does KV state actually need in production agentic workloads, and what can be done about it? The paper has real evidence: four traces from Microsoft M365, 121M model calls, clear definitions, and careful separation of measured, estimated, and replayed quantities. The central finding – that efficient agentic serving needs both recoverable KV retention (like MRR) and deployment-aware routing – is well supported by the data. The discovery that a one-hour idle cap cuts the hold-all-live ceiling by 3.6× while barely increasing reconstruction is practically useful, and the demonstration that even clairvoyant eviction leaves 31% reconstruction under tight budgets is a strong motivator for MRR and similar approaches.\n\nThe paper does several things particularly well. It distinguishes between two distinct sources of recomputation (eviction under memory pressure vs. unavailability due to deployment changes) and quantifies the independent floor from placement. It provides a clear decomposition of model-class structure (Spine, Mid, etc.) and shows how reuse degrades after excursions. The authors are unusually transparent about their assumptions: the Llama-2-70B stand-in KV layout, the pooled budget in replay, the lack of int4 quality measurement – all are stated plainly.\n\nSoft spots are minor and mostly acknowledged. The KV byte conversion is a stand-in; the absolute byte numbers scale linearly with that choice, though relative results are robust. The deployment identifier may not capture cache sharing at the worker level. The generality is limited to these four M365 workloads, and the int4 MRR results depend on published open-model quality numbers rather than production quality data. None of these undermine the central conclusions.\n\nThis paper is for the systems community: anyone building LLM serving infrastructure, designing KV-cache eviction policies, or planning fleet capacity for agentic workloads. It deserves a serious referee. I would cite it in my own work and bring it to a reading group.\n\nRecommendation: accept for peer review. The paper is methodologically sound and the contributions are clearly scoped.","headline":"Solid production characterization of KV residency in agentic LLM workloads, with honest limitations and useful counterfactual analysis. Worth reading and citing.","tokens_in":27233,"tokens_out":969,"duration_ms":13888},"pith_extraction":{"msc":[],"pacs":[],"model":"deepseek/deepseek-v4-flash","headline":"Agentic LLM workloads need both recoverable KV caches and deployment-aware routing to avoid massive context recomputation.","keywords":["KV cache","agentic workloads","LLM serving","multi-resolution retention","cache residency","production trace characterization","deployment-aware routing","GPU memory management"],"falsifier":"Re-run the trace-driven replay using the actual per-token KV sizes of the production models (if they become known) and check whether the relative ordering of policies (LRU, FNU, MRR) and the idle-cap trade-offs remain the same as reported.","tokens_in":27980,"feed_emoji":"","tokens_out":3666,"duration_ms":33772,"temperature":0.7,"pith_summary":"This paper characterizes KV cache residency in four production Microsoft M365 agentic workloads totaling over 121 million model calls. It finds that agentic sessions accumulate large, reusable KV state that sits idle for long intervals. Under tight memory budgets, even clairvoyant eviction forces 31% of calls to recompute context, while multi-resolution retention (demoting KV to int4) cuts this to 13.6%. Deployment changes cause reuse to drop from 89% to 29%, creating a routing floor that more memory cannot fix. The authors conclude that efficient agentic serving requires both recoverable KV representations and deployment-aware routing.","feed_headline":"Int4 demotion beats clairvoyant eviction for agentic KV by 2.3x","feed_subtitle":"Production-scale trace study shows memory and placement mechanisms needed to avoid wasteful context recomputation in agentic LLM serving.","key_machinery":"The analysis uses trace-driven replay that models each session's current KV context as a variable-sized object. Multi-resolution retention (MRR) demotes the LRU session's KV to int4 representation (quarter the fp16 size) within the same memory budget, instead of discarding it entirely. The methodology separates memory-induced recomputation from routing-induced recomputation by comparing session-keyed versus session-and-deployment-keyed cache objects. The replay uses Belady's furthest-next-use (FNU) as a clairvoyant destructive-eviction reference, and MRR as a recoverable alternative.","core_discovery":"The paper establishes that agentic LLM workloads exhibit a unique KV residency problem: sessions are deep (median 13 calls), context grows from ~10K to 68K tokens by call 30, reuse is high (80% of tokens from prefix cache), but idle gaps are heavy-tailed. Two distinct sources of recomputation arise: insufficient GPU memory (even clairvoyant eviction at 10% budget leaves 31.1% miss rate) and deployment-local placement (routing floor of 20.2% with unlimited memory). The key intervention is multi-resolution retention, which keeps displaced KV as int4 copies, reducing miss rate 2.3× below clairvoyant eviction. The paper argues that serving systems must combine memory mechanisms that preserve recoverable KV under capacity pressure and placement mechanisms that maintain or move reusable state across deployments.","pith_inferences":["The results suggest that existing serving systems designed for single-turn requests will underperform on agentic workloads without explicit session-level KV management that accounts for idle gaps and deployment continuity.","Multi-resolution retention could be combined with host-memory offload to approach the first-touch floor, but at the cost of increased data transfer bandwidth; the paper estimates 285 GB/s average for int4 transfer over the busiest hour.","The heavy-tailed idle gap distribution implies that a single fixed timeout cannot be optimal; adaptive policies that estimate resumption probability from session history may further reduce memory pressure without increasing recomputation."],"forward_implications":["Serving systems should implement multi-tier KV retention where displaced state is quantized rather than discarded, reducing recomputation under memory pressure.","Routing policies should prefer maintaining deployment continuity to maximize KV reuse; a same-model deployment change drops reuse from 89% to 29%.","Idle caps of about one hour can reduce fleet KV memory requirements by 3.6× with only a 0.46 percentage point increase in recomputation rate.","Capacity planning must account for both session working-set distribution and concurrent session count; deep agentic sessions create large individual working sets while chat creates large aggregate footprint via concurrency.","Model-class transition predictability (88% accuracy on next class) offers a low-cost signal for prefetching or preemptively migrating KV state across deployments."],"supporting_citations":[{"why":"Establishes PagedAttention and the paged KV cache management paradigm that the paper extends to agentic sessions.","marker":"[20]"},{"why":"Provides the public Llama-2-70B KV geometry (80 layers, 8 KV heads, 128 head dimension, fp16) used as the stand-in representation for all byte estimates.","marker":"[49]"},{"why":"Prior characterization of coding-agent workloads (TraceLab) that the paper compares against and extends with deployment-level telemetry.","marker":"[66]"},{"why":"Production-scale coding-agent trace (GitHub Copilot) that the paper contrasts as a single-workload study missing deployment information.","marker":"[28]"},{"why":"Benchmark-driven ReAct study establishing growing contexts and short outputs in agents, used as a reference for agentic workload properties.","marker":"[60]"},{"why":"Belady's optimal eviction rule (FNU) used as the clairvoyant destructive-eviction baseline against which LRU and MRR are compared.","marker":"[5]"},{"why":"KIVI introduces the int4 KV quantization that MRR uses to retain displaced state at reduced precision.","marker":"[32]"},{"why":"CacheGen demonstrates KV cache compression and streaming, supporting the idea of recoverable KV across tiers.","marker":"[30]"},{"why":"Preble introduces deployment-aware routing and prompt scheduling, providing the placement-side mechanism the paper motivates.","marker":"[45]"},{"why":"VeriCache keeps a compressed KV copy for lossless verification, related to MRR's approach of retaining a recoverable copy.","marker":"[57]"}],"fun_headline_variants":["Production-scale agentic traces: int4 demotion beats clairvoyant eviction by 2.3x","Agentic KV residency: int4 demotion beats eviction under memory pressure","Production agentic traces: cross-deployment KV reuse drops from 89% to 29%","One-hour idle cap cuts agentic KV HBM ceiling 3.6x with slight recompute rise","Deep Research sessions exceed H100 HBM; int4 demotion lowers recompute to 13.6%"],"cache_read_input_tokens":0,"weakest_assumption_plain":"The paper assumes that all models use the same per-token KV size as Llama-2-70B (327,680 bytes per token in fp16); all absolute byte estimates scale linearly with this assumed size, and if the actual production models differ, the absolute memory requirements could be substantially different.","fun_headline_variants_meta":{"raw":{"variants":["Production-scale agentic traces: int4 demotion beats clairvoyant eviction by 2.3x","Agentic KV residency: int4 demotion beats eviction under memory pressure","Production agentic traces: cross-deployment KV reuse drops from 89% to 29%","One-hour idle cap cuts agentic KV HBM ceiling 3.6x with slight recompute rise","Deep Research sessions exceed H100 HBM; int4 demotion lowers recompute to 13.6%"]},"model":"deepseek/deepseek-v4-flash","effort":"low","cost_usd":0.000439,"raw_usage":{"cost":0.0004391114,"is_byok":false,"cost_details":{"upstream_inference_cost":0.0004391114,"upstream_inference_prompt_cost":3.52534e-05,"upstream_inference_completions_cost":0.000403858},"total_tokens":3428,"prompt_tokens":1209,"completion_tokens":2219,"prompt_tokens_details":{"audio_tokens":0,"video_tokens":0,"cached_tokens":1027,"cache_write_tokens":0},"completion_tokens_details":{"audio_tokens":0,"image_tokens":0,"reasoning_tokens":2106}},"tokens_in":1209,"tokens_out":2219,"cost_source":"openrouter_usage","duration_ms":18357,"image_pages":[],"temperature":1.0,"billed_attempts":1,"reasoning_tokens":2106,"transport_provider":"openrouter","cache_read_input_tokens":0,"cache_creation_input_tokens":0},"cache_creation_input_tokens":0},"created_at":"2026-10-19T16:59:03.358178+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":"Re-run the trace-driven replay using the actual per-token KV sizes of the production models (if they become known) and check whether the relative ordering of policies (LRU, FNU, MRR) and the idle-cap trade-offs remain the same as reported.","supporting_citations":[{"cited_title":"Gonzalez, Hao Zhang, and Ion Stoica","cited_arxiv_id":null,"evidence_quote":"Establishes PagedAttention and the paged KV cache management paradigm that the paper extends to agentic sessions."},{"cited_title":"Llama 2: Open Foundation and Fine-Tuned Chat Models","cited_arxiv_id":"2307.09288","evidence_quote":"Provides the public Llama-2-70B KV geometry (80 layers, 8 KV heads, 128 head dimension, fp16) used as the stand-in representation for all byte estimates."},{"cited_title":"TraceLab: Characterizing Coding Agent Workloads for LLM Serving","cited_arxiv_id":"2606.30560","evidence_quote":"Prior characterization of coding-agent workloads (TraceLab) that the paper compares against and extends with deployment-level telemetry."},{"cited_title":"Agentic Coding in the Wild: Characterizing GitHub Copilot Traces at Production Scale","cited_arxiv_id":"2608.00101","evidence_quote":"Production-scale coding-agent trace (GitHub Copilot) that the paper contrasts as a single-workload study missing deployment information."},{"cited_title":"Agentic AI workload charac- teristics","cited_arxiv_id":null,"evidence_quote":"Benchmark-driven ReAct study establishing growing contexts and short outputs in agents, used as a reference for agentic workload properties."},{"cited_title":null,"cited_arxiv_id":null,"evidence_quote":"Belady's optimal eviction rule (FNU) used as the clairvoyant destructive-eviction baseline against which LRU and MRR are compared."},{"cited_title":"KIVI: A tuning-free asymmetric 2bit quantization for KV cache","cited_arxiv_id":null,"evidence_quote":"KIVI introduces the int4 KV quantization that MRR uses to retain displaced state at reduced precision."},{"cited_title":"CacheGen: KV cache compression and streaming for fast large language model serving","cited_arxiv_id":null,"evidence_quote":"CacheGen demonstrates KV cache compression and streaming, supporting the idea of recoverable KV across tiers."},{"cited_title":"Preble: Efficient Distributed Prompt Scheduling for LLM Serving","cited_arxiv_id":"2407.00023","evidence_quote":"Preble introduces deployment-aware routing and prompt scheduling, providing the placement-side mechanism the paper motivates."},{"cited_title":"VeriCache: Turning Lossy KV Cache into Lossless LLM Inference","cited_arxiv_id":"2605.17613","evidence_quote":"VeriCache keeps a compressed KV copy for lossless verification, related to MRR's approach of retaining a recoverable copy."}],"lane_accuracy":{"status":"not yet measured","lane":{"model":"deepseek/deepseek-v4-flash","input_kind":null},"url":"https://pith.science/accuracy"},"review_version":1}