Do Generalisation Results Generalise?
Matteo Boglioni, Andrea Sgobbi, Gabriel Tavernini, Francesco Rita, Marius Mosbach, Tiago Pimentel
TL;DR
This paper investigates whether out-of-distribution (OOD) generalisation results transfer across different distribution shifts in large language models by analyzing partial correlations across multiple OOD testsets while controlling for in-domain performance. Using OPT and OLMo2 in few-shot, pattern-based finetuning on 8 NLI datasets (with SNLI/MNLI as in-domain and seven OOD datasets), the authors compute residuals after regressing OOD performance on in-domain performance and examine cross-OOD correlations via GAM-based regressors. The key finding is that there is no universal trend: correlations between OOD generalisations are highly model- and dataset-dependent, sometimes positive, sometimes negative, and often unstable over training, underscoring the need for evaluating across multiple OOD testsets. The work highlights the instability and complexity of cross-OOD generalisation, cautioning against conclusions drawn from single-testset evaluations and advocating broader, more diverse benchmarking for deployment readiness.
Abstract
A large language model's (LLM's) out-of-distribution (OOD) generalisation ability is crucial to its deployment. Previous work assessing LLMs' generalisation performance, however, typically focuses on a single out-of-distribution dataset. This approach may fail to precisely evaluate the capabilities of the model, as the data shifts encountered once a model is deployed are much more diverse. In this work, we investigate whether OOD generalisation results generalise. More specifically, we evaluate a model's performance across multiple OOD testsets throughout a finetuning run; we then evaluate the partial correlation of performances across these testsets, regressing out in-domain performance. This allows us to assess how correlated are generalisation performances once in-domain performance is controlled for. Analysing OLMo2 and OPT, we observe no overarching trend in generalisation results: the existence of a positive or negative correlation between any two OOD testsets depends strongly on the specific choice of model analysed.
