All models

CITADEL

A multi-vector text retriever whose query and document tokens interact only when routed to the same lexical key.

Language · 341 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (50 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
109.6M
Operations
341
Framework
PyTorch
Recurrent
No
Published
ACL 2023
Cited by
3 (as of 26 October 2026)
Authors
Minghan Li, Sheng-Chieh Lin, Barlas Oguz and others
License
CC-BY-NC-4.0
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m15104
Graph hash
35ff307fb1f7b116de9eb39c187f3d4dc230d3ffbe88eebb3f772112cfa04af7
Skeleton hash
39d476bc69172719df90c45d0f818b1da61065a00fb95befe82d6c461aab3cf3
Architecture hash
3580df5ad23e1a4eaa14a93c425dd5e68c861d8517cc8da7186860b1039e0017
Diagram SHA-256
56bf0dc7f801618ced9e8b1b8cd3101c025929caf1fe39435eb1a2f0ca1840a3
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

CITADEL is a multi-vector retrieval model, a text retriever that scores a query against a document through their token vectors. The paper starts from the cost of such methods, which it describes as orders of magnitude slower than their single-vector counterparts and in need of much more space to store their indices.

The key idea is routing: CITADEL learns to route each token vector to predicted lexical keys, so that a query token vector only interacts with document token vectors routed to the same key. The paper says this design significantly reduces the computation cost while maintaining high accuracy. In the released code the default number of routing keys is 1 for a query and 5 for a passage. The training command there sets the token projection dimension to 32 and the CLS projection dimension to 128.

On MS MARCO, the in-domain evaluation, and BEIR, the out-of-domain evaluation, the paper reports that CITADEL performs the same as or slightly better than ColBERT-v2 while being nearly 40 times faster. The code can also rerank the top-1000 candidates retrieved by BM25, a way to examine a trained model without building an index.

Key idea. CITADEL routes token vectors to predicted lexical keys so that a query token only interacts with document tokens under the same key, cutting the computation cost of multi-vector retrieval.

  • citadel
  • conditional token interaction
  • dynamic lexical routing
  • multi-vector retrieval
  • passage retrieval
  • text retrieval
  • dpr-scale
  • ms marco
  • beir

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{li2022citadelconditionaltokeninteraction,
      title={CITADEL: Conditional Token Interaction via Dynamic Lexical Routing for Efficient and Effective Multi-Vector Retrieval}, 
      author={Minghan Li and Sheng-Chieh Lin and Barlas Oguz and Asish Ghoshal and Jimmy Lin and Yashar Mehdad and Wen-tau Yih and Xilun Chen},
      year={2022},
      eprint={2211.10411},
      archivePrefix={arXiv},
      primaryClass={cs.IR},
      url={https://arxiv.org/abs/2211.10411}, 
}