Simple Projection Variants Improve ColBERT Performance
TL;DR. Every ColBERT-style model ends with , a single linear map from backbone dimension to (usually 128), followed by L2 normalisation. The paper argues that this head and MaxSim’s sparse gradients work against each other. Swapping in small FFN blocks works as a drop-in upgrade: the best variants gain over 2 NDCG@10 points on average across DL19/20 and four BEIR sets.
Key idea
Section titled “Key idea”MaxSim keeps only the best-matching document token for each query token:
Only “winning” pairs get gradient. A linear head gives one global metric . Under a fixed trace, must keep some weight on every direction and cannot sharpen per token. Deeper heads factorise the map and can sharpen. Residual connections let them refine backbone vectors instead of replacing them.
Results. Many variants beat the linear head, and even several suboptimal ones still do. In paired t-tests over extra seeds, FFN depth 2 and GLU depth 4 are significant (p < 0.05) on DL19, TREC-COVID, SciFact and FiQA, but not on NFCorpus or DL20. The best design, a 2-layer FFN with upscaling and a residual connection, was adopted in mxbai-edge-colbert-v0.
Connections
Section titled “Connections”- mxbai-edge-colbert-v0 confirmed the gain from the 2-layer projection in a production model.
- Activation patching could test the sharpening story directly by patching projected token vectors and watching which MaxSim winners change.
- SPARSEUP is another redesign of the late-interaction output layer.
- Sparks of Weight-Space Programming is the anchor for Takehi’s pinned works.
Questions to think through
These questions have no single right answer. Write or say your answer before you open the hints. Mark a question once you could defend your answer in a reading group.
- Derive / compute
Derive the gradient of the MaxSim score with respect to a query token vector and a document token vector, and explain the winner-takes-all bottleneck it creates during training.
What a strong answer covers
- Score = sum over query tokens i of max over document tokens j of the dot product of normalised q_i and d_j.
- With j*(i) the argmax for query token i, the gradient with respect to q_i is d_j*(i).
- The gradient with respect to d_j is the sum of q_i over the query tokens it wins; tokens that win for no query token get zero.
- So each step updates only a few token pairs, and most document tokens get no learning signal from that example.
- Mechanism
Why might a single linear projection conflict with MaxSim training, and how are depth and residual connections supposed to help?
What a strong answer covers
- A linear head xW induces one fixed metric M = W W-transpose for cosine similarity, shared by every token type.
- With a trace budget on M, it must spread weight over all semantic directions, which lowers the peak similarities MaxSim rewards.
- Winner tokens pull M towards their directions while it must still support all others, creating a tension.
- Depth gives token-dependent sharpening through factorisation; a residual lets the head refine backbone vectors instead of overwriting them.
- Critique
The paper runs five seeds and reports paired t-tests. Which claims are well supported and which are not, and how did residual connections interact with intermediate upscaling?
What a strong answer covers
- Every setting was trained with 5 seeds and indexed 3 times; extra seeds for FFN depth 2 and GLU depth 4 gave p below 0.05 on DL19, TREC-COVID, SciFact and FiQA.
- NFCorpus and DL20 differences are not significant; on DL20 the linear head was originally ahead.
- Residuals hurt variants without an upscaled intermediate layer but helped in all cases with a 2x intermediate dimension.
- Non-linearity (GLU or activation choice) was not a significant driver; one 32M Ettin backbone and a 640k-tuple MS MARCO sample limit generality.