Beyond Accuracy: Revisiting Out-of-Distribution Generalization in NLI Models

This study investigates how well discriminative transformers generalize in Natural Language Inference (NLI) tasks.We specifically focus on a well-studied bias in this task: the tendency of models to rely on superficial features and dataset biases rather than a true understanding of language.We argue that the performance differences observed between training and analysis datasets do not necessarily indicate a lack of knowledge within the model.Instead, the gap often points to a misalignment between the decision boundaries of the classifier head and the representations learned by the encoder for the analysis samples.By investigating the representation space of NLI models across different analysis datasets, we demonstrate that even when the accuracy is nearly random in some settings, still samples from opposing classes remain almost perfectly linearly separable in the encoder's representation space.This suggests that, although the classifier head may fail on analysis data, the encoder still generalizes and encodes representations that allow for effective discrimination between NLI classes.

Authors

Institutions

Publication Details

Published
2025-01-01
DOI
https://doi.org/10.18653/v1/2025.conll-1.36
Primary Topic
Forecasting Techniques and Applications
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Beyond Accuracy: Revisiting Out-of-Distribution Generalization in NLI Models

Mohammad Taher Pilehvar, Zahra Delbari
Forecasting Techniques and Applications
article

Beyond Accuracy: Revisiting Out-of-Distribution Generalization in NLI Models

Mohammad Taher Pilehvar, Zahra Delbari
article en

Abstract

This study investigates how well discriminative transformers generalize in Natural Language Inference (NLI) tasks.We specifically focus on a well-studied bias in this task: the tendency of models to rely on superficial features and dataset biases rather than a true understanding of language.We argue that the performance differences observed between training and analysis datasets do not necessarily indicate a lack of knowledge within the model.Instead, the gap often points to a misalignment between the decision boundaries of the classifier head and the representations learned by the encoder for the analysis samples.By investigating the representation space of NLI models across different analysis datasets, we demonstrate that even when the accuracy is nearly random in some settings, still samples from opposing classes remain almost perfectly linearly separable in the encoder's representation space.This suggests that, although the classifier head may fail on analysis data, the encoder still generalizes and encodes representations that allow for effective discrimination between NLI classes.

Khatam University (IR), Cardiff University (GB)
Openalex Percentile: Top 77%
Forecasting Techniques and Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.