Skip to content

Repository files navigation

SIRA

SuperIntelligent Retrieval Agent

SIRA is a multi-stage retrieval pipeline that uses LLMs to enrich both documents and queries, improving BM25 retrieval quality without training. The pipeline consists of five stages: data preparation, BM25 indexing, corpus enrichment (LLM-generated indexing phrases for documents), query expansion (LLM-generated search terms), and LLM-based pointwise reranking. SIRA achieves state-of-the-art results on BEIR benchmarks using only inference-time compute.

Paper: https://arxiv.org/pdf/2605.06647

Requirements

  • Python >= 3.12
  • CUDA-capable GPU(s) (tested on NVIDIA H100)
  • Rust toolchain (for building the bm25x extension)
  • Conda (recommended for environment management)

Setup

# Create and activate the conda environment
conda create -n sira312 python=3.12 -y
conda activate sira312
pip install -e .# Activate the development sandboxsource sandbox.sh

Quick Start

# Run the full pipeline on a single dataset (auto-starts LLM server)
python scripts/run_pipeline.py data=scifact server.auto_start=true
# Run on multiple datasets
python scripts/run_pipeline.py datasets='[scifact,arguana,fiqa]' server.auto_start=true
# Run specific stages only
python scripts/run_pipeline.py data=scifact stages='[enrich_query,rerank]'

See scripts/README.md for the full pipeline documentation, configuration options, and data layout.

Citation

@article{yang2026sira,
title={Superintelligent Retrieval Agent: The Next Frontier of Information Retrieval},
author={Yang, Zeyu and Ma, Qi and Chen, Jason and Shrivastava, Anshumali},
journal={arXiv preprint arXiv:2605.06647},
year={2026}
}

Contributing

See CONTRIBUTING.md for how to get involved.

License

This project is licensed under the MIT License - see the LICENSE file for details.

The src/sira/bm25x/ directory contains code derived from bm25x by LightOn, licensed under Apache 2.0. See the NOTICE file for details.

About

Superintelligent Retrieval Agent (SIRA)

Resources

Code of conduct

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages