Skip to content

InfiniSearch: Retrieval from LLM-Scale Corpora Beyond Lexical Matching

Mattes Ruckdeschel, Toine Bogers, Anna Rogers

cs.IR

Abstract

To understand modern Large Language Models (LLMs), we need to be able to explore their training data. A key problem for research on generalization and data attribution is that traditional retrievers do not scale to LLM dataset sizes. Byte Suffix Arrays (BSAs) offer fast retrieval that scales, but suffer from strict lexical n-gram matching. We introduce InfiniSearch a BSA-based first stage retriever that addresses the problem of lexical matching with keyword expansion, while preserving the scalability of BSAs. We validate its performance in a three-staged retriever setup on a range of information retrieval benchmarks, and we show its potential to support research on LLM-scale corpora in a qualitative study on a 4.6T token corpus.

Create a lesson

Metadata

Comments
Accepted at EACL2027 Findings