CSPLADE: Learned Sparse Retrieval with Causal Language Models

Zhichao Xu, Aosong Feng, Yijun Tian, Haibo Ding, Lin Lee CheongarXiv 2025 · DOI

Introduction

Learned Sparse Retrieval (LSR) has traditionally been limited to smaller encoder-based models like BERT. CSPLADE (Causal SPLADE) successfully scales LSR to 8B-parameter causal language models, addressing training instability and the unidirectional limitations of decoder-only architectures. By employing a lightweight adaptation phase and enabling bidirectional attention, CSPLADE achieves state-of-the-art sparse retrieval performance while maintaining an index footprint up to 17x smaller than comparable dense retrievers.

The Challenge of Scaling Sparse Retrieval

Information Retrieval (IR) typically involves a trade-off between dense and sparse methods. Dense retrieval (e.g., RepLlama) offers high accuracy but results in massive, uninterpretable vector indexes that are costly to store and query. Conversely, sparse retrieval (e.g., SPLADE) projects text into vocabulary-sized vectors, utilizing efficient inverted index technology.

Scaling sparse retrieval to Large Language Models (LLMs) has faced two major obstacles:

  1. Training Instability: ReLU activation functions, necessary for sparsity, often "die" during early training, causing the model to output zero vectors.
  2. Unidirectional Constraints: Causal LLMs are designed to look only at preceding tokens. Effective retrieval, however, often requires understanding a token's importance within the full context of the sentence.

The CSPLADE Approach

CSPLADE introduces two key innovations to overcome these hurdles:

  • Adaptation Phase Training: To stabilize ReLU neurons, a lightweight pre-training step is added. The model optimizes a joint loss combining standard Causal Language Modeling with a log-saturation loss on unlabeled text. This process "wakes up" the neurons before aggressive contrastive training begins.
  • Bidirectional Contextualization: Two variants were explored to allow the model to see the entire input sequence:
  • CSPLADE-Echo: The input sequence is repeated, and representations are gathered from the second occurrence, allowing tokens to attend to the full context of the first occurrence.
  • CSPLADE-Bi: The causal mask is removed during fine-tuning, enabling full bidirectional attention. Surprisingly, this "rule-breaking" approach yielded the highest performance.

Experimental Results

The models were trained on the MS MARCO passage retrieval dataset and evaluated across in-domain (MS MARCO, TREC DL) and zero-shot (BEIR) benchmarks.

Performance and Efficiency

CSPLADE-Bi-8B achieved a state-of-the-art 41.3 MRR@10 on MS MARCO, outperforming previous BERT-based models. Crucially, it achieves this with a drastically reduced index size. While a Llama-2-7B dense retriever requires a 135GB index, CSPLADE-8B requires less than 8GB.

Table 1: Retrieval performance and index size comparison. CSPLADE-Bi-8B achieves state-of-the-art MRR@10 with a significantly smaller index footprint than dense models like RepLlama.

Scaling and Generalization

Moving from a 1B to an 8B parameter backbone provided a consistent boost in retrieval accuracy, confirming that scaling laws apply to sparse retrieval. On the BEIR benchmark, CSPLADE-8B performed on par with much larger dense models, proving its ability to generalize to new domains.

Key Insights

  • ReLU Stabilization: A simple 10k-step adaptation phase effectively eliminates training instability, proving that "dying ReLUs" are an initialization issue rather than an architectural flaw.
  • The Quantization Paradox: While 8-bit quantization reduces memory usage, it does not inherently improve inference speed. Without specialized GPU kernels, the overhead of dequantization can make the model slower than the 16-bit baseline.
Figure 1: Retrieval performance and inference speed vs. quantization bits. Note the 'quantization paradox' where lower bit-widths can result in lower inference speeds due to dequantization overhead.

Limitations and Future Work

Despite its success, CSPLADE faces challenges in encoding latency, as query processing requires an 8B parameter model. Additionally, full-parameter fine-tuning can lead to overfitting, necessitating techniques like LoRA for robust zero-shot performance. Future research will focus on specialized inference kernels to leverage both quantization and sparsity for improved speed.

Summary updated

BibTeX
@misc{xu2025csplade,
  author = {Zhichao Xu and Aosong Feng and Yijun Tian and Haibo Ding and Lin Lee Cheong},
  title = {{CSPLADE: Learned Sparse Retrieval with Causal Language Models}},
  year = {2025},
  eprint = {2504.10816},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2504.10816},
}
Figure