English

On Length Divergence Bias in Textual Matching Models

Computation and Language 2022-05-05 v3

Abstract

Despite the remarkable success deep models have achieved in Textual Matching (TM) tasks, it still remains unclear whether they truly understand language or measure the semantic similarity of texts by exploiting statistical bias in datasets. In this work, we provide a new perspective to study this issue -- via the length divergence bias. We find the length divergence heuristic widely exists in prevalent TM datasets, providing direct cues for prediction. To determine whether TM models have adopted such heuristic, we introduce an adversarial evaluation scheme which invalidates the heuristic. In this adversarial setting, all TM models perform worse, indicating they have indeed adopted this heuristic. Through a well-designed probing experiment, we empirically validate that the bias of TM models can be attributed in part to extracting the text length information during training. To alleviate the length divergence bias, we propose an adversarial training method. The results demonstrate we successfully improve the robustness and generalization ability of models at the same time.

Keywords

Cite

@article{arxiv.2109.02431,
  title  = {On Length Divergence Bias in Textual Matching Models},
  author = {Lan Jiang and Tianshu Lyu and Yankai Lin and Meng Chong and Xiaoyong Lyu and Dawei Yin},
  journal= {arXiv preprint arXiv:2109.02431},
  year   = {2022}
}

Comments

Accepted to Findings of ACL 2022

R2 v1 2026-06-24T05:42:53.520Z