Where Does Authorship Signal Emerge in Encoder-Based Language Models?

· HF Daily Papers ·

Mechanistic interpretability reveals that authorship attribution performance differences up to 4x depend not on encoder representations but on how scoring mechanisms consolidate authorship signal across layers.

Categories: Research

Excerpt

Francis Kulumba, Guillaume Vimont, Laurent Romary, Florian Cafiero — Authorship attribution models fine-tuned with the same pretrained encoder, data, and loss can differ four-fold in performance depending only on their scoring mechanism. We use mechanistic interpretability tools to explain this gap. Stylistic features such as word length, punctuation density, and function-word frequency are equally available at every layer in every model, including in an off-the-shelf control encoder, hence the gap not coming from representation quality. Instead, causal intervention shows that the scorer determines where the encoder consolidates authorship signal. Mean pooling forces consolidation by early to mid layers, while late interaction defers it to later layers. We further derive this difference from the gradient structure of each scorer, and training dynamics reveal distinct learning trajectories that follow from that difference.