Imagine searching for:
"How to fix a car that won't start?"
But your document contains:
"Troubleshooting a vehicle with engine ignition failure."
A traditional keyword search might struggle because the query and document use different words.
Dense retrieval might understand their semantic similarity, but it doesn't explicitly preserve traditional keyword matching.
This is where SPLADE comes in.
What is SPLADE?
SPLADE stands for Sparse Lexical and Expansion Model .
It is a neural information retrieval model that combines two important ideas:
Lexical matching: Matching important words between queries and documents.
Term expansion: Understanding related terms that might not explicitly appear in the original text.
In simple terms, SPLADE expands your query and documents with relevant terms and assigns importance weights to them.
Unlike dense retrieval, which represents text using fixed-size dense vectors, SPLADE generates sparse vectors over a vocabulary.
How does SPLADE work?
Let's understand it…