Abstract
This study underscores the pivotal role of syntax feedback in augmenting the syntactic proficiency of students. Recognizing the challenges faced by learners in mastering syntactic nuances, we introduce a specialized dataset named Essay-Syntax-Instruct designed to enhance the understanding and application of English syntax among these students. Leveraging the capabilities of Large Language Models (LLMs) such as GPT3.5-Turbo, Llama-2-7b-chat-hf, Llama-2-13b-chat-hf, and Mistral-7B-Instruct-v0.2, this work embarks on a comprehensive fine-tuning process tailored to the syntax improvement task. Through meticulous evaluation, we demonstrate that the fine-tuned LLMs exhibit a marked improvement in addressing syntax-related challenges, thereby serving as a potent tool for students to identify and rectify their syntactic errors. The findings not only highlight the effectiveness of the proposed dataset in elevating the performance of LLMs for syntax enhancement but also illuminate a promising path for utilizing advanced language models to support language acquisition efforts. This research contributes to the broader field of language learning technology by showcasing the potential of LLMs in facilitating the linguistic development of Students.
Introduction
Automated Essay Scoring (AES) has traditionally focused on providing summative numerical grades. While useful for assessment, these scores offer little pedagogical value to students seeking to improve their writing. Mastering English syntax—the complex rules governing sentence structure—remains a significant challenge for both native and non-native learners. This research introduces Essay-Syntax-Instruct, a specialized dataset designed to provide actionable, qualitative syntax feedback. By fine-tuning Large Language Models (LLMs), we demonstrate that automated systems can move beyond simple scoring to become effective tools for linguistic development.
Methodology
The researchers developed a multi-stage pipeline to transform raw student essays into a high-quality training resource for syntax feedback. This process, illustrated in Figure 1, involves data cleaning, prompt engineering, and model fine-tuning.
Data Preprocessing and Placeholder Replacement
A significant hurdle in using existing datasets like the ASAP (Automated Student Assessment Prize) collection is anonymization. These datasets often use placeholders (e.g., "@LOCATION1") which can confuse LLMs, leading them to misidentify these tags as syntactic errors. To resolve this, the team used GPT-3.5-Turbo to replace placeholders with contextually appropriate names, dates, and locations, ensuring the models could process the natural flow of the text.
Synthetic Feedback Generation
The core of the methodology involves generating structured feedback. Using GPT-3.5-Turbo as a "teacher," the system analyzed essays across seven specific syntax categories: misspelled words, conjunctions/linking phrases, modifiers, prepositions, modal verbs, punctuation, and articles. The prompt used for this analysis (see Figure 2) directed the model to identify errors, provide corrections, and explain the findings.
Model Fine-Tuning
The validated dataset was used to fine-tune three open-source models: Llama-2-7b-chat, Llama-2-13b-chat, and Mistral-7B-Instruct-v0.2. The team employed Low-Rank Adaptation (LoRA), a technique that allows for efficient fine-tuning of large models without requiring massive computational resources.
The Essay-Syntax-Instruct Dataset
The primary contribution of this work is the Essay-Syntax-Instruct dataset. It comprises 8,320 examples of student essays (Grades 7–10) paired with detailed, category-specific syntax feedback. This dataset facilitates a "distillation" effect, where the knowledge from a large proprietary model (GPT-3.5) is transferred to smaller, more efficient open-source models.
Results and Discussion
Fine-tuning led to substantial performance gains across all models. Mistral-7B-Instruct-v0.2 emerged as the most effective, with its ROUGE-1 score increasing from 0.366 to 0.514.
Qualitative improvements were even more pronounced. Human evaluations using a five-tier rating system (A to E) showed that the Llama-2-13B model's "Rating B" (indicating robust, high-quality feedback) increased from 11% to 60% after fine-tuning. Conversely, the frequency of deficient or inconsistent ratings (D and E) dropped significantly, suggesting that the specialized models became more reliable and less prone to "hallucinations" or overlooking errors.
Conclusion
This research demonstrates that specialized, smaller LLMs can rival larger systems in providing nuanced pedagogical feedback when trained on high-quality, domain-specific data. By moving from automated scoring to automated instruction, this work paves the way for scalable, personalized writing support in educational settings. Future work will focus on expanding the system to other languages and conducting classroom-based studies to measure long-term student improvement.
Summary updated