Leveraging Prompts in LLMs to Overcome Imbalances in Complex Educational Text Data

Jeanne McClure, Machi Shimmei, Noboru Matsuda, Shiyan Jiang
4/28/2024
cs.CYcs.AIcs.CL

No confident code implementation found for this paper.

Abstract

In this paper, we explore the potential of Large Language Models (LLMs) with assertions to mitigate imbalances in educational datasets. Traditional models often fall short in such contexts, particularly due to the complexity and nuanced nature of the data. This issue is especially prominent in the education sector, where cognitive engagement levels among students show significant variation in their open responses. To test our hypothesis, we utilized an existing technology for assertion-based prompt engineering through an 'Iterative - ICL PE Design Process' comparing traditional Machine Learning (ML) models against LLMs augmented with assertions (N=135). Further, we conduct a sensitivity analysis on a subset (n=27), examining the variance in model performance concerning classification metrics and cognitive engagement levels in each iteration. Our findings reveal that LLMs with assertions significantly outperform traditional ML models, particularly in cognitive engagement levels with minority representation, registering up to a 32% increase in F1-score. Additionally, our sensitivity study indicates that incorporating targeted assertions into the LLM tested on the subset enhances its performance by 11.94%. This improvement primarily addresses errors stemming from the model's limitations in understanding context and resolving lexical ambiguities in student responses.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{mcclure2024leveraging,
  title  = {Leveraging Prompts in LLMs to Overcome Imbalances in Complex Educational Text Data},
  author = {Jeanne McClure and Machi Shimmei and Noboru Matsuda and Shiyan Jiang},
  year   = {2024},
  eprint = {2407.01551},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.01551v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2407.01551.svg)](https://codeofpaper.com/paper/2407.01551)

Discussion