Keshav Santhanam

Stanford University
2 previous affiliations
37Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Keshav Santhanam focuses on the intersection of distributed systems and machine learning, specifically developing infrastructure to optimize the training, deployment, and orchestration of large-scale models. His research addresses the systems-level challenges of modern artificial intelligence, ranging from cluster scheduling for heterogeneous hardware to the creation of declarative programming models for language model pipelines. His current work emphasizes improving the efficiency of model inference through the extraction of latent parallelism and the systematic evaluation of serving performance.

Research Trajectory

Santhanam’s early research was rooted in classical distributed systems and formal methods. Between 2017 and 2019, his work addressed the fundamental trade-offs between consistency guarantees and performance in distributed database protocols. In ROLA: A New Distributed Transaction Protocol and Its Formal Analysis, he participated in the design and verification of a protocol tailored for applications that require read atomicity and the prevention of lost updates without the overhead of stronger causal consistency. This work utilized the Maude framework for model checking, establishing a foundation in rigorous systems analysis that would later inform his approach to machine learning infrastructure.

By 2020, Santhanam shifted his focus toward the systems challenges inherent in deep learning (DL) workloads, particularly the management of expensive and diverse hardware resources. As specialized accelerators like GPUs, TPUs, and FPGAs became standard for training, existing cluster schedulers struggled to account for performance heterogeneity across different model architectures. In Heterogeneity-Aware Cluster Scheduling Policies for Deep Learning Workloads, he contributed to the development of Gavel, a scheduler that systematically generalizes scheduling policies—such as fairness and makespan optimization—to be heterogeneity-aware. Gavel uses a formulation that allows it to optimize multi-job objectives by considering how different models perform on different hardware types, significantly improving throughput in shared cluster environments.

This interest in the distribution of neural network workloads led to the development of specialized intermediate representations (IR) for distributed computation. In DistIR: An Intermediate Representation and Simulator for Efficient Neural Network Distribution, Santhanam led the creation of an expressive IR designed to model various distribution strategies, including data, tensor-model, and pipeline parallelism. Because the search space for optimal distribution is combinatorially large and testing on physical clusters is resource-intensive, DistIR introduced a simulator that enables efficient analysis and selection of distribution strategies. This work bridged the gap between high-level model definitions and the low-level execution details of distributed clusters.

Language Model Orchestration and Efficiency

Starting in 2022, Santhanam’s research transitioned toward the orchestration and evaluation of foundation models. He became a central figure in the development of frameworks that treat language models (LMs) as components of larger, programmable systems rather than isolated endpoints. He led the work on Demonstrate-Search-Predict: Composing retrieval and language models for knowledge-intensive NLP, which introduced the DSP framework. This research moved beyond simple "retrieve-then-read" pipelines by treating retrieval and LMs as composable modules within a program. By using weak supervision to bootstrap demonstrations and decomposing complex questions into multi-hop search queries, the framework demonstrated that systematic orchestration could yield significant performance gains over standard in-context learning. This line of research eventually informed the development of DSPy, which automates the optimization of these declarative pipelines.

As the deployment of large language models moved into production environments, Santhanam addressed the lack of standardized metrics for evaluating inference efficiency. In Cheaply Evaluating Inference Efficiency Metrics for Autoregressive Transformer APIs, he introduced the "idealized runtime" metric. This work modeled LLM runtime as a linear function of prompt and output lengths to provide a level playing field for comparing different API providers. The analysis revealed that many performance advantages in the market were the result of engineering optimizations in the serving stack rather than fundamental architectural improvements, highlighting the importance of systems-level efficiency in the AI landscape.

Current Directions

Santhanam’s recent work focuses on the Scheduling Complex Workflows with Directed Acyclic Graph Dependencies by identifying and exploiting latent structures within user-generated queries. While traditional serving systems treat prompts as monolithic units, his recent research suggests that many real-world prompts contain decomposable subtasks that can be executed in parallel.

In PARALLELPROMPT: Extracting Parallelism from Large Language Model Queries, he contributed to the creation of a benchmark and methodology for measuring intra-query parallelism. By analyzing over 37,000 real-world prompts, this work demonstrated how structured schemas can be used to extract task templates and shared contexts, allowing serving systems to reduce latency by executing independent components of a single prompt concurrently. This work represents a shift toward more granular, structure-aware optimization of LLM workloads.

Additionally, Santhanam has participated in large-scale efforts to evaluate and improve the efficiency of model architectures. This includes involvement in the Holistic Evaluation of Language Models (HELM) project and research into hybrid architectures, such as the Nemotron-H family, which integrates Mamba-2 layers with traditional attention layers to reduce the computational costs associated with the KV cache. His trajectory reflects a consistent focus on making machine learning systems more scalable, efficient, and easier to program through rigorous systems design.

Representative Work

Profile updated

See something wrong? Report a mistake