Author: Ekhi Azurmendi Arrue
Date: October 2024
Institution: University of the Basque Country (UPV/EHU) / HiTZ Center
Abstract
Throughout this project, we have attempted to develop an automatic evaluator that determines whether Basque language compositions meet the C1 level. To achieve our goal, we obtained 10,000 transcribed compositions through an agreement between HABE and HiTZ to train our system. We have developed different techniques to avoid data scarcity and system overfitting: EDA, SCL, and regulation; we have also conducted tests with different Language Models to analyze their behavior. Finally, we have also performed analyses of different system behaviors to measure model calibration and the impact of artifacts.
Introduction
Evaluating language proficiency is a high-stakes, labor-intensive task essential for academic and professional certification. For the Basque language, the C1 level (Effective Operational Proficiency) requires students to demonstrate not only grammatical correctness but also lexical richness, complex sentence structures, and discourse coherence. While automated essay scoring (AES) is well-established for high-resource languages like English, Basque has historically lacked such tools. This research addresses this gap by developing the first automated system designed to assist examiners at HABE (the Basque Government's language certification body) and provide instant feedback to learners.
Methodology and Data Acquisition
The core challenge of this research involved the "data scarcity" inherent in lower-resource languages and the subtle stylistic nuances that distinguish a "Pass" (GAI) from a "Fail" (EZ_GAI) at the C1 level.
Dataset
The study utilized a private dataset of approximately 10,000 transcribed essays obtained via HABE and the HiTZ Center. This included:
- Hobe_Esk: A high-quality subset of 614 manually transcribed essays with zero errors.
- 22Api & 22Urr: Two large batches (approx. 5,000 essays each) from 2022 exam periods, transcribed using Automatic Speech Recognition (ASR) with a ~2% Character Error Rate.
- Labeling: Essays were classified based on the official HABE threshold of 15/30 points.
Model Architectures and Training
Several NLP architectures were evaluated:
- Encoder Models: RoBERTa-euscrawl, BertEus, and the multilingual XLM-RoBERTa.
- Decoder Models: Latxa (7B), a large language model based on Llama-2, fine-tuned using Parameter-Efficient Fine-Tuning (PEFT) via LoRA (Low-Rank Adaptation).
- Supervised Contrastive Learning (SCL): Implemented to optimize the vector space by clustering passing essays together while distancing them from failing ones.
- Data Augmentation: Easy Data Augmentation (EDA) techniques, such as synonym replacement and word shuffling, were tested to improve generalization.
Key Insights and Discussion
The Proficiency Paradox
Results indicated that standard data augmentation (EDA) was counterproductive. In proficiency testing, specific word choice serves as a primary indicator of level. Replacing a sophisticated C1-level term with a common synonym effectively "downgrades" the essay's perceived quality, introducing noise that confuses the model during training.
Local vs. Global Features
A "stress test" involving the shuffling of sentences within passing essays revealed a significant finding: models often continued to predict a "Pass" despite the total loss of global coherence. This suggests that current Large Language Models (LLMs) rely heavily on local artifacts—such as advanced vocabulary and complex grammar—rather than the logical flow of discourse.
Model Calibration and Domain Sensitivity
Calibration analysis showed that models tend toward overconfidence, often predicting results with near 100% certainty even for borderline cases. Furthermore, models exhibited domain sensitivity; performance dropped slightly when a model trained on one exam period (e.g., April) was tested on another (October), likely due to shifts in exam prompts and topics.
Results
The research achieved a peak accuracy (AT) of 0.78 to 0.79. RoBERTa-euscrawl proved to be the most robust encoder. While the Latxa (7B) model showed significant potential, it required rigorous regularization and dropout tuning to prevent overfitting and match the performance of the specialized encoders.
Conclusion and Future Work
This study establishes a baseline for automated Basque proficiency assessment. Future iterations will focus on:
- Advanced Architectures: Transitioning to modern encoders like deBERTa.
- Multi-Criteria Learning: Training models to predict specific sub-scores (Coherence, Richness, Correctness) rather than a binary label.
- Bias Mitigation: Implementing entity masking to prevent demographic or geographic biases.
- Generative Feedback: Developing systems that provide qualitative explanations to learners regarding their performance relative to the C1 threshold.
Reference: Azurmendi Arrue, E. (2024). Euskarazko lehen C1 ebaluatzaile automatikoa. Master's Thesis, University of the Basque Country (UPV/EHU).
Summary updated