Using large language models to provide effective embeddings for native language identification

Roxane Auger, Olivier Boeffard, Jean-François Bonastre


Abstract
Native Language Identification (NLI) consists in predicting a person’s native language based on their second language production. In the field of text-based NLI, approaches based on Large Language Models (LLM) outperform previous approaches based on statistical classifiers trained on linguistic features. However, the unstructured nature of LLM textual output does not support the direct application of usual classifiers. To address this limitation, we explore the use of LLM to generate effective latent vector representations (embeddings) for NLI. Our experiments, across ten models ranging from 0.1B to 405B parameters, show that embeddings gathered from a frozen LLM coupled with a linear classifier match the performance of fine-tuned generative LLM. Furthermore, layer-depth analysis reveals that the first 40% of an LLM’s layers are sufficient to achieve full representational utility for NLI.
Anthology ID:
2026.findings-emnlp.1251
Volume:
Findings of the Association for Computational Linguistics: EMNLP 2026
Month:
October
Year:
2026
Address:
Budapest, Hungary
Editors:
Hung-Yi Lee, Sunipa Dev, Jessy Li, Desmond Elliott
Venue:
Findings
SIG:
SIGDAT
Publisher:
Association for Computational Linguistics
Note:
Pages:
26452–26460
Language:
URL:
https://aclanthology.org/2026.findings-emnlp.1251/
DOI:
Bibkey:
Cite (ACL):
Roxane Auger, Olivier Boeffard, and Jean-François Bonastre. 2026. Using large language models to provide effective embeddings for native language identification. In Findings of the Association for Computational Linguistics: EMNLP 2026, pages 26452–26460, Budapest, Hungary. Association for Computational Linguistics.
Cite (Informal):
Using large language models to provide effective embeddings for native language identification (Auger et al., Findings 2026)
Copy Citation:
PDF:
https://aclanthology.org/2026.findings-emnlp.1251.pdf