{"paper":{"title":"Tool Waiting and Re-arrival in Compile-Time-Static LLM Serving: Cost Mechanisms and Configuration Selection","arxiv_id":"2609.34663","primary_cat":"cs.PF","submitted_at":"2026-09-28T09:02:13+00:00","version_compiled":"v1"},"notice":"Every quoted sentence is the authors' text from the arXiv listing abstract. Labels and probabilities are the outputs of classifier-1.13.0 on the question bank abstract-p1-20260923, exactly as returned. No sentence in this record was written by a language model.","schema":"pith.compiled-record/v0","status":"compiled","abstract":{"source":"arXiv listing abstract v1","sentences":[{"i":0,"p":1.0,"id":"s0","own":false,"role":"background","text":"In agentic LLM services, a session calls an external tool, waits for it, and re-arrives to continue inference.","hedge":{"p":0.99,"label":"asserted"},"own_p":0.09,"main_claim_p":0.02,"quantitative":false,"quantitative_p":0.04,"role_probabilities":{"gap":0.0,"method":0.0,"result":0.0,"background":1.0,"limitation":0.0,"future_work":0.0,"contribution":0.0,"interpretation":0.0}},{"i":1,"p":0.96,"id":"s1","own":false,"role":"background","text":"Statically compiled NPU serving can fix the batch bucket set, the maximum batch size, and the number of KV cache slots at compile time.","hedge":{"p":0.79,"label":"asserted"},"own_p":0.12,"main_claim_p":0.03,"quantitative":false,"quantitative_p":0.16,"role_probabilities":{"gap":0.0,"method":0.03,"result":0.0,"background":0.96,"limitation":0.0,"future_work":0.0,"contribution":0.01,"interpretation":0.0}},{"i":2,"p":0.95,"id":"s2","own":true,"role":"contribution","text":"We define such an environment as a compile-time-static serving substrate and analyze the execution-time cost that tool waiting and re-arrival incur in it.","hedge":{"p":0.95,"label":"asserted"},"own_p":0.77,"main_claim_p":0.04,"quantitative":false,"quantitative_p":0.04,"role_probabilities":{"gap":0.0,"method":0.01,"result":0.0,"background":0.04,"limitation":0.0,"future_work":0.0,"contribution":0.95,"interpretation":0.0}},{"i":3,"p":0.98,"id":"s3","own":true,"role":"method","text":"On a single LLM instance, we run synthetic workloads following a measured tool waiting time distribution and compare, on the same inputs, a baseline configuration with settings {1, 2, 4, 8}, 8, and 8 against configurations that change some of them.","hedge":{"p":0.9,"label":"asserted"},"own_p":0.94,"main_claim_p":0.03,"quantitative":true,"quantitative_p":0.92,"role_probabilities":{"gap":0.0,"method":0.98,"result":0.0,"background":0.0,"limitation":0.0,"future_work":0.0,"contribution":0.02,"interpretation":0.0}},{"i":4,"p":0.99,"id":"s4","own":true,"role":"method","text":"Because re-arrival times differ across configurations, we build a simulator that replays request processing in time order, select the candidate with the lowest predicted cost among 2,077 configurations, and validate it on new inputs.","hedge":{"p":0.98,"label":"asserted"},"own_p":0.96,"main_claim_p":0.05,"quantitative":true,"quantitative_p":0.95,"role_probabilities":{"gap":0.0,"method":0.99,"result":0.0,"background":0.0,"limitation":0.0,"future_work":0.0,"contribution":0.01,"interpretation":0.0}},{"i":5,"p":0.64,"id":"s5","own":true,"role":"result","text":"We identify three mechanisms: discrete batch alignment, KV cache survival, and prefill interference.","hedge":{"p":1.0,"label":"asserted"},"own_p":0.93,"main_claim_p":0.09,"quantitative":true,"quantitative_p":0.55,"role_probabilities":{"gap":0.0,"method":0.0,"result":0.64,"background":0.0,"limitation":0.0,"future_work":0.0,"contribution":0.32,"interpretation":0.04}},{"i":6,"p":0.97,"id":"s6","own":true,"role":"result","text":"At a concurrency of 6, absent from the bucket set, tool waiting lowered the padding ratio (0.235 to 0.120) yet increased decode execution time 1.51-fold, so padding alone did not indicate cost.","hedge":{"p":1.0,"label":"asserted"},"own_p":0.95,"main_claim_p":0.05,"quantitative":true,"quantitative_p":0.99,"role_probabilities":{"gap":0.0,"method":0.0,"result":0.97,"background":0.0,"limitation":0.0,"future_work":0.0,"contribution":0.0,"interpretation":0.03}},{"i":7,"p":1.0,"id":"s7","own":true,"role":"result","text":"On new inputs at a concurrency of 8, where the baseline reused KV in 9 of 24 re-arrivals, enlarging the maximum batch size alone cut execution cost by 8.25%, and the selected configuration, which also adjusted the bucket set, by 9.72%.","hedge":{"p":1.0,"label":"asserted"},"own_p":0.96,"main_claim_p":0.11,"quantitative":true,"quantitative_p":0.99,"role_probabilities":{"gap":0.0,"method":0.0,"result":1.0,"background":0.0,"limitation":0.0,"future_work":0.0,"contribution":0.0,"interpretation":0.0}},{"i":8,"p":1.0,"id":"s8","own":true,"role":"result","text":"Where 17 of 18 re-arrivals were already reused, the effect was 0.59%.","hedge":{"p":0.97,"label":"asserted"},"own_p":0.92,"main_claim_p":0.04,"quantitative":true,"quantitative_p":0.99,"role_probabilities":{"gap":0.0,"method":0.0,"result":1.0,"background":0.0,"limitation":0.0,"future_work":0.0,"contribution":0.0,"interpretation":0.0}},{"i":9,"p":0.98,"id":"s9","own":true,"role":"interpretation","text":"Compile-time configurations should thus be selected by diagnosing KV reuse loss and the resulting change in execution.","hedge":{"p":0.79,"label":"asserted"},"own_p":0.7,"main_claim_p":0.86,"quantitative":false,"quantitative_p":0.04,"role_probabilities":{"gap":0.0,"method":0.0,"result":0.0,"background":0.0,"limitation":0.0,"future_work":0.02,"contribution":0.0,"interpretation":0.98}}]},"compiled":{"main_claim":{"p":1.0,"text":"Compile-time configurations should thus be selected by diagnosing KV reuse loss and the resulting change in execution.","location":"abstract s9","hedge_strength":{"p":0.79,"label":"asserted"}},"provenance":{"route":{"via":"TypeSafe API","model":"classifier-1.13.0","endpoint":"https://api.typesafe.ai/v1/systemone","provider":"TypeSafe"},"packing":"one request per paper","requests":1,"input_tokens":7786,"cost_usd_reported":0.0},"compiled_at":"2026-09-29","bank_version":"abstract-p1-20260923","model_version":"classifier-1.13.0","abstract_states":{"claims_first":0.05,"states_limitation":0.43,"human_participants":0.03,"controlled_comparison":0.97,"randomized_assignment":0.02,"states_quantitative_result":0.98,"compares_with_prior_results":0.9,"mentions_code_or_data_availability":0.03},"evidential_basis":{"p":0.93,"value":"observation or experiment","probabilities":{"argument":0.0,"literature":0.0,"proof_or_derivation":0.0,"analysis_of_existing_data":0.0,"observation_or_experiment":0.93,"simulation_or_computation":0.07}},"contribution_type":{"p":0.85,"value":"empirical study","probabilities":{"review":0.0,"method_or_tool":0.07,"empirical_study":0.85,"simulation_study":0.08,"theoretical_result":0.0,"dataset_or_benchmark":0.0,"position_or_commentary":0.0}},"contribution_statement":{"p":0.49,"text":"Because re-arrival times differ across configurations, we build a simulator that replays request processing in time order, select the candidate with the lowest predicted cost among 2,077 configurations, and validate it on new inputs.","location":"abstract s4"}},"coverage":{"tier":"abstract","levels_run":["P abstract"],"not_examined":["full text","figures and tables","references and citing sentences","relations to other papers"],"sources_read":["arXiv listing abstract v1"],"levels_not_run":["S sections","T body sentences","C citations","R cross-paper relations"],"sentences_examined":10,"sentences_in_abstract":10},"measured_accuracy":{"url":"https://pith.science/accuracy","measured_on":"2026-10-02","method":"two independent model families labelled a fresh random sample blind; the figure is how often the published label matches their consensus","sentence_role_agreement":0.92,"main_claim_agreement":0.908,"typed_citation_agreement":0.933,"typed_citation_agreement_95_interval":[0.917,0.945],"review_comments_accurate":0.758,"review_comments_accurate_95_interval":[0.684,0.82],"review_caught_admitted_error_found_or_related":0.448,"review_comments_judged":{"judged_by":["gpt-5.6-luna","grok-4.7"],"judged_against":"Pith's own text copy of each paper: text extracted from the PDF, the first 90,000 characters","measured_on":"2026-10-04","accurate":113,"decided":149,"sampled_reviews":200,"split_by_lane":false,"by_lane":"https://pith.science/accuracy#by-lane"}}}