DS SERVE: A Framework for Efficient and Scalable Neural Retrieval

Liu, Jinjian, Wang, Yichuan, Lyu, Xinxi, Shao, Rulin, Gonzalez, Joseph E., Zaharia, Matei, Min, Sewon

–arXiv.org Artificial Intelligence 

We present DSSERVE, a framework that transforms largescale text datasets--comprising half a trillion tokens--into a high-performance neural retrieval system. DSSERVE offers both a web interface and API endpoints, achieving low latency with modest memory overhead on a single node. The framework also supports inference-time tradeoffs between la-Figure 1: DSSERVE converts a large dataset into a neural tency, accuracy, and result diversity. We anticipate that DSretrieval system: a query q retrieves relevant text via ANN SERVE will be broadly useful for a range of applications such (DiskANN or IVFPQ), optionally reranks with Exact and/or as large-scale retrieval-augmented generation (RAG), train-Diverse Search, and returns the top-k chunks with voting for ing data attribution, training a search agent, and beyond.