NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions
Tommaso Teofili

Tommaso Teofili

The Apache Software Foundation · Elastic
6 previous affiliations
6Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Tommaso Teofili focuses on information retrieval, approximate nearest-neighbor search, and the integration of dense vector representations into traditional search infrastructure. His trajectory spans early efforts to adapt inverted indexes for dense vectors to the direct integration of hierarchical navigable small-world graphs into established retrieval toolkits. His most recent work investigates efficiency optimizations for graph-based similarity search.

Research Trajectory

Teofili’s research initially addressed the architectural friction between traditional sparse retrieval systems and the emerging use of dense embeddings in deep learning. In 2019, he led first-author work exploring how to bridge this gap within widely used search libraries. In Lucene for Approximate Nearest-Neighbors Search on Arbitrary Dense Vectors, he and his co-author evaluated three distinct techniques to natively integrate dense vector search into Lucene, which was fundamentally built around inverted indexes of sparse term-document matrices. The study investigated the creation of documents populated with "fake words," the application of Locality-Sensitive Hashing (LSH) to lexical realizations of dense vectors, and the use of k-d trees coupled with dimensionality reduction. This early work contributed to the broader area of Why Spatial Indexing Collapses in High Dimensions, establishing a foundation for adapting legacy text-search infrastructure to modern neural representations.

By 2023, Teofili’s focus had evolved toward more direct and efficient methods of handling dense vectors, particularly as hierarchical navigable small-world (HNSW) networks became the industry standard. He co-authored several key papers investigating the mechanics and necessity of specialized vector search infrastructure. In the second-author paper Searching Dense Representations with Inverted Indexes, he explored a contrarian approach, demonstrating that top-$k$ retrieval on dense vector representations could still be effectively performed using inverted indexes.

Concurrently, Teofili played a significant role in bringing dense retrieval capabilities to established academic toolkits. As a second author on Anserini Gets Dense Retrieval: Integration of Lucene's HNSW Indexes, he helped integrate Lucene’s HNSW indexes into the Anserini toolkit. This integration allowed researchers to utilize both traditional bag-of-words models (like BM25) and learned sparse representations alongside dense retrieval models in a uniform interface. This development directly supported the research direction of Unified Dense-Sparse Hybrid Retrieval and advanced themes such as Hybrid Retrieval for Lexical Precision and Semantic Recall, simplifying the process of stitching together results for hybrid fusion techniques.

In 2024, Teofili continued to critically evaluate the infrastructure required for modern search. In the second-author paper Vector Search with OpenAI Embeddings: Lucene Is All You Need, he and his collaborators challenged the prevailing narrative that dedicated vector databases are strictly necessary for neural search. Using the MS MARCO passage ranking dataset, the authors provided an end-to-end demonstration showing that Lucene's native HNSW indexes are entirely adequate for vector search capabilities. This research, which intersects with work in the area of Decoupled Representation Learning with Bi-Encoder Architectures, suggested that standard bi-encoder architectures can be deployed efficiently without the overhead of introducing a separate vector store.

Most recently, in 2025, Teofili has focused on optimizing the computational efficiency of the underlying graph structures used in vector search. Returning as a first author, he published Patience in Proximity: A Simple Early Termination Strategy for HNSW Graph Traversal in Approximate k-Nearest Neighbor Search. Acknowledging that HNSW graph traversal can become computationally expensive on large-scale datasets, the paper introduced a saturation-based threshold to dynamically halt graph exploration, reducing computational overhead without significantly degrading recall. Alongside this algorithmic work, Teofili has maintained his involvement in the Anserini ecosystem, participating as a middle author in Gosling Grows Up: Retrieval with Learned Dense and Sparse Representations Using Anserini, reflecting his ongoing commitment to open-source retrieval infrastructure.

Current Directions

The most recent papers in the evidence indicate that Teofili’s current work is centered on improving the algorithmic efficiency of approximate nearest-neighbor search. Specifically, he is investigating early termination strategies and saturation-based thresholds to reduce the computational cost of traversing multi-layer proximity graphs like HNSW. Alongside these low-level algorithmic optimizations, recent work demonstrates a continued focus on the engineering and deployment of hybrid retrieval systems, ensuring that both learned dense and sparse representations can be efficiently indexed and queried within unified, open-source frameworks.

Profile updated

See something wrong? Report a mistake