Ravishankar Krishnaswamy
2 previous affiliations
- Carnegie Mellon University2007–2012
- PhD student · 2007–2012
- Undergrad student · 2003–2007
Research Overview
Ravishankar Krishnaswamy focuses on the design and analysis of algorithms for large-scale vector search, approximation algorithms, and online optimization. His work primarily addresses the technical challenges of approximate nearest neighbor search (ANNS) in high-dimensional spaces, with a particular emphasis on developing hybrid memory-disk indexing systems that scale to billion-point datasets. By combining theoretical algorithmic foundations with systems-level optimizations, he develops data structures that maintain high recall and low latency while operating under significant memory constraints.
Research Trajectory
The early stages of Krishnaswamy’s career were characterized by a focus on the theoretical foundations of online computation and stochastic optimization. Following his doctoral work at Carnegie Mellon University and postdoctoral research at Princeton, his work explored the application of Linear Programming Duality for Online Algorithm Analysis. During this period, he investigated problems where decisions must be made irrevocably without full knowledge of future inputs, such as the Irrevocable Decisions in Online Resource Allocation. This foundational work in competitive analysis and approximation provided the mathematical framework for his subsequent shift toward large-scale data systems.
In the mid-2010s, Krishnaswamy began transitioning toward problems at the intersection of machine learning and streaming data. This period saw an increased focus on clustering and parameter estimation in high-dimensional settings. By 2017, his research began to address the limitations of traditional heuristics when applied to massive, streaming datasets, particularly in the context of Gaussian mixture models. This work laid the groundwork for his later contributions to vector search by emphasizing the need for algorithms that are both theoretically sound and computationally efficient in one-pass or memory-limited environments.
Starting around 2019, Krishnaswamy’s research trajectory shifted decisively toward the development of the DiskANN family of algorithms. This work addressed a critical bottleneck in modern search engines: the requirement that high-performance vector indices reside entirely in main memory. By designing hybrid data structures that utilize solid-state drives (SSDs) for the bulk of the index while keeping only a small fraction in RAM, he enabled billion-scale similarity search on single commodity workstations. His subsequent work has refined this system to handle dynamic updates, out-of-distribution queries, and complex filtering constraints, while also seeking to provide more rigorous theoretical guarantees for graph-based search methods.
Current Directions
Krishnaswamy’s recent research expands the scope of vector search to accommodate the nuanced requirements of modern machine learning pipelines. One significant area of focus is the move from single-vector representations to multi-vector models. As semantic relationships in modalities like text and images become more complex, representing a single data point as a collection of embeddings has shown superior accuracy. His current work develops efficient algorithms for multi-vector nearest neighbor search, addressing the high storage and computational costs associated with set-to-set similarity measures.
Another active area of investigation involves the integration of discrete metadata filters with continuous vector search. In practical applications, users often require results that satisfy specific attributes—such as price, date, or category—alongside geometric proximity. Krishnaswamy is exploring data-driven approaches to learn optimal trade-offs between vector distance and filter satisfaction, moving away from fixed, data-independent penalties. Additionally, he continues to investigate the theoretical properties of graph-based indices, specifically looking at Algorithmic Trade-offs in Bounded Doubling Metrics and the worst-case performance of pruning strategies. His recent work also touches upon Diversifying Search Results for Multi-Faceted Queries, ensuring that search outputs remain representative when queries are broad or ambiguous.
Representative Work
Learning Mixture of Gaussians with Streaming Data In this senior-authored work, Krishnaswamy addresses the problem of estimating model parameters for a mixture of $k$ spherical Gaussians from a single pass over a $d$-dimensional data stream. The paper analyzes a streaming variant of Lloyd’s heuristic, providing theoretical evidence that the algorithm can accurately estimate component centers if they are sufficiently separated. Specifically, the work establishes that if centers are separated by a factor related to the number of components and the maximum variance, the algorithm achieves asymptotic accuracy. This research represents an important step in adapting classical clustering techniques to the constraints of modern streaming environments.
Rand-NSG: Fast Accurate Billion-point Nearest Neighbor Search on a Single Node As a core contributor to the DiskANN project, Krishnaswamy helped develop a graph-based indexing and search system capable of handling billion-point datasets on a single workstation with limited RAM. The primary technical challenge addressed is the high latency of SSDs compared to main memory. The system utilizes a hybrid approach, storing the full graph index on an SSD while maintaining a compressed representation in memory to guide the search. By minimizing the number of SSD accesses required per query, the system achieves high recall and low latency, challenging the prevailing assumption that large-scale ANNS requires massive distributed memory clusters.
FreshDiskANN: A Fast and Accurate Graph-Based ANN Index for Streaming Similarity Search In this work, Krishnaswamy extends the DiskANN framework to support real-time updates, including insertions and deletions, on billion-scale indices. Traditional graph-based indices often require expensive re-indexing when data changes. FreshDiskANN introduces a "relaxed" graph pruning strategy and a write-efficient background merge process that allows the index to remain "fresh" without sacrificing search accuracy or latency. The system demonstrates significant cost-effectiveness compared to distributed alternatives, providing a solution for applications where the underlying dataset is constantly evolving.
OOD-DiskANN: Efficient and Scalable Graph ANNS for Out-of-Distribution Queries As the lead author, Krishnaswamy investigates the performance degradation of vector search engines when query distributions differ from the data used to build the index—a common occurrence in cross-modal search. OOD-DiskANN addresses this "overfitting" by incorporating a small sample of expected queries into the index construction process. The paper also introduces Accurate Product Quantization (APQ), a scheme that improves the precision of distance estimations. These optimizations result in substantial improvements in both latency and recall for out-of-distribution scenarios on billion-scale datasets.
Sort Before You Prune: Improved Worst-Case Guarantees of the DiskANN Family of Graphs This research focuses on bridging the gap between the empirical success of graph-based ANNS and its theoretical understanding. While algorithms like HNSW and DiskANN perform well in practice, their worst-case theoretical guarantees have historically been weak. Krishnaswamy and his co-authors analyze the pruning strategies used in these graphs, proposing a "sort before you prune" approach that provides tighter bounds on the search complexity and graph quality. This work contributes to the formal verification of the robustness of the DiskANN family of algorithms.
$\alpha$-Reachable Graphs for Multivector Nearest Neighbor Search Addressing the emerging need for multi-vector retrieval, this work develops a theoretical model for non-metric similarity measures. Krishnaswamy explores the use of $\alpha$-reachable graphs to accelerate search and retrieval when data points are represented as sets of embeddings rather than single vectors. By optimizing the set-to-set similarity computations, the research aims to make multi-vector approaches—which offer superior accuracy in dense retrieval—computationally feasible for large-scale applications. This work is central to his current efforts to modernize retrieval pipelines for complex, multi-modal data.
Profile updated
Loading new papers…
Other researchers whose papers cluster into the same research directions — a proxy for overlapping technical interests and shared intellectual neighborhoods.
See something wrong? Report a mistake