SensiDiff: Distilling Structured Text Comparison into Encoder Models
2612.05725

Authors

Michelle Wastl,Rico Sennrich,Jannis Vamvas

Abstract

Recent LLMs can compare and annotate different language versions of a text with high accuracy -- our evaluation shows that they can predict a diff-like data structure that visualizes differences between cross-lingual text versions. However, this process is too slow for real-time applications, which motivates distillation into a more efficient architecture.

This paper presents a family of encoder models trained on LLM-annotated sentence pairs between English and 42 other languages. We first distill these annotations into the encoder, then fine-tune on in-domain labels.

Experiments on two text domains show that this two-stage training improves downstream accuracy and enables cross-lingual transfer. Overall, the best encoder model reaches 86%-96% of the LLM teacher's accuracy.

However, transfer between domains remains a challenge for encoder models.

Resources

Ray graphicRay graphicRay graphicRay graphic

Stay in the loop

Every AI paper that matters, free in your inbox daily.

Details

  • takara.ai
  • Custom AI and machine learning from the Frontier Research Team.
  • © 2026 takara.ai Ltd
  • Content is sourced from third-party publications.
Ray graphicRay graphicRay graphic