Type
Company
Locations
Bengaluru, India
Relationships
Parent Organizations

Latest Publications

  • Open Access

    Sutradhara : An Intelligent Orchestrator-Engine Co-design for Tool-based Agentic Inference

    by Anish Biswas, Kanishk Goel, Srivarshinee S, Jayashree Mohan, Alind Khare, Anjaly Parayil, Chetan Bansal, Ram Ramjee

    Agentic applications are LLMs that iteratively invoke external tools to accomplish complex tasks. Such tool-based agents are rapidly becoming the dominant paradigm for deploying language models in production. Unlike traditional single-turn inference, agentic workloads chain together multiple LLM calls and tool executions before producing a final response, creating a new performance bottleneck that manifests as increased latency in First Token Rendered (FTR) of the final answer. Through analysis of requests at production scale, we reveal three critical challenges: tool calls account for 30-85% of FTR latency, KV cache hit rates collapse despite substantial context reuse across iterations, and sequential orchestration wastes potential intra-request parallelism. These bottlenecks stem from a design gap in which orchestrators and LLM engines operate as decoupled black boxes, preventing cross-layer optimizations. We present Sutradhara, a co-designed agentic inference system that integrates orchestration with LLM serving through a thin API enabling three optimizations: overlap tool execution with subsequent LLM prefill using tool-aware prompt splitting, streaming tool execution to dispatch tools incrementally during decode rather than waiting for complete output, and orchestrator-aware cache management that uses semantic hints to improve hit rates and reduce thrashing. Implemented on vLLM, Sutradhara improves the throughput–latency trade-off in agentic systems, sustains up to 77% higher load at the same median FTR latency, or reduces median FTR latency by up to 15% at the same load while reducing end-to-end latency by up to 11% on A100 GPUs.

  • Open Access

    LLMs can better capture human judgments—with the right prompts

    by Danica Dillion, Chen Cecilia Liu, Baihui Wang, Daniele Barolo, Tanmay Rajore, Niket Tandon, Pranathi Ravikumar, Kurt Gray

    Are large language models (LLMs) bad at capturing human judgment? Two commonly stated limitations are that LLMs fail to capture full distributions of responses, and that their judgments are unstable across wording variations. We demonstrate simple prompting strategies that mitigate these limitations. Across two datasets—a U.S.-representative set of 144 moral scenarios and 38 moral beliefs from the International Social Survey Programme's Family and Changing Gender Roles module covering 32 countries—we show how simple elicitation techniques help improve AI-human alignment. First, prompting models to report standard deviations and response proportions recovers the full range of human responses better than common strategies. Second, ensuring scenarios are clear to human participants—as reflected in human confusion ratings—is associated with stronger model alignment, and LLMs can track human confusion ratings. At the same time, we find that model confidence ratings do not consistently track errors in models' judgments, though they can predict human variability relatively well. These results suggest that asking better questions to LLMs can yield better answers.

  • Open Access

    On Evaluating Performance of LLM Inference Systems

    by Amey Agrawal, Nitin Kedia, Anmol Agarwal, Jayashree Mohan, Nipun Kwatra, Souvik Kundu, Ramachandran Ramjee, Alexey Tumanov

  • Open Access

    No Request Left Behind: Tackling Heterogeneity in Long-Context LLM Inference with Medha

    by Amey Agrawal, Haoran Qiu, Junda Chen, Íñigo Goiri, Rayyan Shahid, Ram Ramjee, Alexey Tumanov, Esha Choukse

    Deploying million-token Large Language Models (LLMs) is challenging because production workloads are highly heterogeneous, mixing short queries and long documents. This heterogeneity, combined with the quadratic complexity of attention, creates severe convoy effects where long-running requests stall short, interactive ones, degrading system responsiveness. We present Medha, a serving system that eliminates these convoys by introducing fine-grained, preemptive scheduling to LLM inference. Medha makes preemption practical with a co-designed set of mechanisms – including Adaptive Chunking and Stream Pipeline Parallelism – that overcome the perceived inefficiencies and scaling challenges of chunking. Additionally, we present a new parallelism strategy KV-Cache Parallelism to reduce the decode latency and afford interactivity despite very long context. These mechanisms are orchestrated by a Length-Aware Relative Slack (LARS) scheduler, a deadline- and heterogeneity-aware scheduling policy that prevents both the convoy effect and the starvation that plagues simpler policies. Under a heterogeneous workload, Medha improves throughput by 5.7 × while reducing median and 90th-percentile latency by 30 × and 174 ×, respectively, compared to state-of-the-art non-preemptive systems.

  • Open Access

    Estimation Robustness of Static Congestion Pricing Under Learned Demand

    by Shereen Anand

    Congestion-pricing deployments often use simple, mostly static tolls. Recent work shows that with known demand, the revenue loss from doing so is bounded in canonical traffic models, but these guarantees assume the planner knows demand. In practice, demand is estimated from traffic that the toll itself shapes. We study whether simple tolls retain their guarantees under learned demand in a two-period congestion model with linear demand response and several extensions. The objective loss of any plug-in tolling policy is an exact quadratic form in toll error (Lemma 1), yielding the following results. (i) With known demand, the two-period price of simplicity is tight at \( (1+\sqrt2)/(2\sqrt2)\approx0.854 \), attained at demand ratio \( 1+\sqrt2 \); with H periods no constant guarantee holds, since the worst-case ratio decays like \( 4/H_H \) (Theorems 1 and 2). (ii) Estimation error increases the dynamic plug-in's loss relative to its dynamic oracle by at least as much as it increases the static plug-in's loss relative to its static oracle. The dynamic plug-in outperforms the static plug-in exactly when the true toll differential exceeds the root-mean-square error of the estimated differential (Corollary 3); the loss ordering extends to periods coupled by cross-period substitution (Theorem 4). (iii) This simplicity advantage applies to unshrunk plug-in estimators: certainty equivalence is Bayes-optimal in the interior regime, so a Bayesian dynamic planner weakly dominates a Bayesian static planner (Theorem 5), and a one-parameter shrinkage family interpolates between them with closed-form risk (Theorem 6). (iv) The static-optimal toll is identifiable from aggregate flows under one fixed toll, while the dynamic-optimal toll is not identifiable under any interior toll sequence (Propositions 1-2). (v) Under random-walk demand, batched re-estimation has an interior optimal review period; a continuously updated Kalman filter strictly dominates every batched schedule even with revision costs, and a one-time estimate never recovers from a demand shift (Theorems 7 and 8). We verify closed forms with seeded CPU simulations and report discrepancies.

  • Open Access

    eARCO: Efficient Automated Root Cause Analysis with Prompt Optimization

    by Drishti Goel, Raghav Magazine, Supriyo Ghosh, Akshay Nambi, Prathamesh Deshpande, Xuchao Zhang, Chetan Bansal, Saravan Rajmohan

    Root cause analysis (RCA) for incidents in large-scale cloud systems is a complex, knowledge-intensive task that often requires significant manual effort from on-call engineers (OCEs). Improving RCA is vital for accelerating the incident resolution process and reducing service downtime and manual efforts. Recent advancements in Large-Language Models (LLMs) have proven to be effective in solving different stages of the incident management lifecycle including RCA. However, existing LLM-based RCA recommendations typically leverage default finetuning or retrieval augmented generation (RAG) methods with static, manually designed prompts, which lead to sub-optimal recommendations. In this work, we leverage 'PromptWizard', a state-of-the-art prompt optimization technique, to automatically identify the best optimized prompt instruction that is combined with semantically similar historical examples for querying underlying LLMs during inference. Moreover, by utilizing more than 180K historical incident data from Microsoft, we developed cost-effective finetuned small language models (SLMs) for RCA recommendation generation and demonstrate the power of prompt optimization on such domain-adapted models. Our extensive experimental results show that prompt optimization can improve the accuracy of RCA recommendations by 21% and 13% on 3K test incidents over RAG-based LLMs and finetuned SLMs, respectively. Lastly, our human evaluation with incident owners have demonstrated the efficacy of prompt optimization on RCA recommendation tasks. These findings underscore the advantages of incorporating prompt optimization into AI for Operations (AIOps) systems, delivering substantial gains without increasing computational overhead.


  • Open Access

    Equivalence Checking of ML GPU Kernels

    by Benjamin Driscoll, Kshitij Dubey, Anjiang Wei, Neeraj Kayal, Rahul Sharma, Alex Aiken

    With the rapid progress of deep learning and large language models (LLMs), companies spend enormous sums executing GPU kernels. These kernels have become prime targets for aggressive optimization. Recent efforts increasingly leverage LLMs to generate GPU kernels, but make no formal guarantees about the generated kernels. We present the first equivalence checker for GPU kernels and use it to formally verify the correctness of machine learning (ML) kernels optimized by hand, by LLM, and by compiler. We show that our equivalence checker is sound and, for a well-defined class of GPU kernels which includes many programs of interest, complete. Our implementation, VOLTA, can verify ML computations such as convolutions, matrix multiplications, and various attention mechanisms.

  • Open Access

    LLM-42: Enabling Determinism in LLM Inference with Verified Speculation

    by Raja Gond, Aditya K Kamath, Ramachandran Ramjee, Ashish Panwar

    In LLM inference, the same prompt often returns different outputs across different runs. At the system level, this non-determinism arises from floating-point non-associativity interacting with dynamic batching and GPU kernels whose reduction orders vary with batch size. A straightforward way to eliminate nondeterminism is to disable dynamic batching, but doing so severely degrades throughput. Another approach is to make the kernels batch-invariant; however, this tightly couples determinism to kernel design, requires new implementations, and imposes fixed overheads regardless of how much of the workload actually requires determinism. Inspired by self-speculative decoding, we present LLM-42 — a scheduling-based approach to enable determinism in LLM inference. Our key observation is that a given sequence of tokens is likely to emit the same next token across multiple runs, even with dynamic batching. Moreover, most GPU kernels use the same reduction schedules for all inputs of a given shape. Leveraging these insights, LLM-42 decodes tokens using a nondeterministic fast path and enforces determinism through a verify-rollback protocol. The verifier replays fast path tokens under a fixed batch size to obtain a deterministic reference output, commits tokens that match the reference, and rolls back those that do not. LLM-42 reuses many existing kernels unchanged and incurs overhead only proportional to the fraction of traffic that requires determinism.


  • Open Access

    FaultSense: Fault Localization in Large-Scale Mixture-of-Experts Model Serving Infrastructure

    by Harish S A, Vignesh S, Ashwin Kurella, Rohan Gandhi, Praveen Tammana

    While Mixture-of-Experts (MoE) models scale LLM serving across hundreds of GPUs, their reliance on all-to-all communication makes them susceptible to gray failures (e.g., GPU stragglers) which inflate serving latency without explicit errors, complicating fault localization. We present FaultSense, an application-layer approach that localizes faulty GPUs and communication paths in MoE model serving replicas without host instrumentation. FaultSense introduces a lightweight MoE probe model prototype alongside a two-phase hierarchical fault localization algorithm. Modeling the cluster as a GPU communication graph, it performs: (1) a global coverage that tests all GPUs and communication paths with a small set of probes to identify suspicious components, and then (2) a drill-down into suspicious components to localize faulty GPUs or communication paths. Our design reduces the number of diagnostic tests compared to individually testing all components (up to 20×) while maintaining low memory overheads.