Skip to content

Simple Projection Variants Improve ColBERT Performance

optionalextendedfrontierpaperrubric 8/122025 · ~30 min

Benjamin Clavié, Sean Lee, Rikiya Takehi, Aamir Shakir, Makoto P. Kato

Status

TL;DR. Every ColBERT-style model ends with h(x)=xWh(x) = xW, a single linear map from backbone dimension dd to kk (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.

MaxSim keeps only the best-matching document token for each query token:

MaxSim(q,d)=∑imax⁡jq^i⊤d^j,∂ score∂d^j=∑i: j∗(i)=jq^i.\text{MaxSim}(q,d) = \sum_i \max_j \hat q_i^\top \hat d_j, \qquad \frac{\partial\,\text{score}}{\partial \hat d_j} = \sum_{i:\,j^*(i)=j} \hat q_i .

Only “winning” pairs get gradient. A linear head gives one global metric M=WW⊤M = WW^\top. Under a fixed trace, MM 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.

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.

  1. 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.
  2. 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.
  3. 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.

Done with this page?

Status