Feedback-Driven Prompt Refinement for Educational AI: Affective Trajectory Estimation and Bloom's Taxonomy Classification

Josh Dean, Karan Patel, Gaurangi Raul, Yu-Zheng Lin, Jesus Pacheco, Sicong Shao, Shalaka Satam, Soheil Salehi, Pratik SatamarXiv 2026

Imagine you’re trying to teach a brilliant but slightly literal-minded assistant how to read the "vibe" of a classroom. You give them a set of instructions, but they keep missing the subtle shift when a student goes from "confused" to "frustrated." Instead of rewriting the assistant’s brain, you decide to hire a coach to watch the assistant work, spot the mistakes, and constantly tweak those instructions until the assistant finally "gets it."

This is the essence of Feedback-Driven Prompt Refinement, a technique explored in this paper to make Educational AI more reliable and perceptive.

TL;DR

Large Language Models (LLMs) are notoriously sensitive to how you phrase a request. This paper demonstrates a "closed-loop" system where a secondary AI acts as a coach, refining the prompts of a primary AI based on its performance. By doing this, the researchers significantly improved the AI's ability to track student emotions and categorize learning objectives without ever changing the underlying model's code.

What Problem Does This Paper Address?

As we move toward "Industry 4.0"—a world of interconnected smart factories and complex cyber-physical systems—the demand for personalized technical education is skyrocketing. We want AI tutors that can understand not just what a student is saying, but how they feel (their affective state) and what level of thinking they are engaging in (based on Bloom’s Taxonomy).

The hurdle? LLMs are "jittery." A tiny change in a prompt can lead to a totally different analysis. This variability makes it hard to trust an AI to guide a student through a difficult engineering concept. The authors tackle this by asking: Can we use automated feedback to "stabilize" and "sharpen" these models?

Methods

The researchers used a two-model architecture:

  1. The Executor: The primary model doing the heavy lifting (e.g., analyzing a dialogue).
  2. The Refiner: A secondary model that looks at the Executor’s output, compares it to a "ground truth" reference, and rewrites the Executor's prompt to minimize errors.

This is an iterative process. For the affective task, the Refiner looked at "trajectories"—how sentiment scores (from positive to negative) changed over the course of a conversation. For the cognitive task, it looked at multi-label classification (assigning Bloom’s levels like "Apply" or "Analyze" to a learning goal).

The conceptual synthesis of the prompt-refinement loop, showing how task evaluation feeds back into the refiner to update the executor's instructions.

Crucially, this happens without "fine-tuning," meaning they didn't have to retrain the models (which is expensive and data-intensive). They just improved the "instructions" the model receives.

Datasets

The study utilized two primary sources of data:

  • EduTalk: A dataset of roughly 1,280 teacher-student dialogues used to test the AI's ability to track emotional "trajectories."
  • Bloom’s Taxonomy Dataset: A collection of learning outcomes (70 for refinement, 1,000 for testing) annotated by humans to indicate which cognitive levels they represent.

Key Insights and Ideas

  • Consistency is as important as accuracy: One of the most interesting findings was that refinement didn't just make the AI "right" more often; it made it more consistent. The "run-to-run" variability (the standard deviation of the outputs) dropped significantly.
  • The "Coach" Model works across domains: The same refinement logic worked for two very different tasks—one involving continuous emotional scores and another involving discrete category labels.
  • Automated Prompt Engineering: This moves us away from "prompt engineering" as a manual, "vibes-based" trial-and-error process and toward a systematic, algorithmic approach.

Key Results

The numbers tell a compelling story of improvement:

  • Affective Tracking: The Mean Absolute Error (MAE) dropped from 0.742 to 0.702. More importantly, the variability between different runs of the same prompt decreased by about 22%.
  • Bloom’s Taxonomy: This saw a massive leap. The "Micro-F1" score (a measure of classification accuracy) jumped from 0.687 to 0.893.
  • Exact Match Accuracy: The AI’s ability to get every label right for a given learning outcome increased from 41.8% to 63.6%.
Fig. 4. Estimated sentiment trajectories across successive utterances in a Cold War instructional dialogue. Curves show student, teacher, and combined mean scores; shaded bands indicate standard deviations across ten repeated inference attempts. These are model-generated sentiment estimates, with positive values indicating more positive sentiment.

Limitations and Future Work

While the results are promising, the authors are careful to note the boundaries of their work:

  • The "Ground Truth" Problem: For the affective task, the "reference" was actually generated by another high-end LLM, not a human. We know the AI got better at agreeing with that reference, but we don't know for sure if that reference perfectly matches human emotion.
  • Missing the "So What?": The study measured how well the AI classified things, but it didn't measure if this actually helped students learn faster or better.
  • Cost vs. Benefit: Running an extra "Refiner" model adds computational cost and latency. Future work needs to determine if the performance boost is worth the extra "brain power" required.

Ultimately, this paper suggests that the path to better Educational AI might not just be "bigger models," but "better-coached" ones.

Summary updated

Abstract

Contribution: This study has shown that a shared prompt-refinement procedure, guided by distinct affective and cognitive feedback signals, can improve held-out reference agreement and multi-label classification while reducing affective-generation variability without executor parameter updates. Background: Industry 4.0 has increased demand for personalized technical education across interconnected computing and engineering domains, while prompt sensitivity and generation variability have complicated dependable interpretation of instructional dialogue and learning outcomes. Research Questions: The study has examined whether task-specific feedback can improve affective-reference agreement, generation consistency, and cognitive classification without updating executor parameters. Methodology: A secondary language model has revised executor prompts using executor-output discrepancies against model-generated affective references for four dialogues and annotated Bloom labels for 70 learning outcomes; separate sets of 100 EduTalk conversations and 1,000 outcomes have supported held-out comparisons. Small refinement sets, unvalidated affective references, and absent learner-outcome measures have constrained interpretation. Findings: Affective mean absolute error has decreased from 0.742 to 0.702 and mean generation standard deviation from 0.307 to 0.238, while Bloom micro-F1 has increased from 0.687 to 0.893 and exact-match subset accuracy from 0.418 to 0.636. These findings have supported prompt refinement as a candidate approach for developing adaptive technical instruction, while its effects on workforce learning remain to be established.
BibTeX
@misc{dean2026feedback,
  author = {Josh Dean and Karan Patel and Gaurangi Raul and Yu-Zheng Lin and Jesus Pacheco and Sicong Shao and Shalaka Satam and Soheil Salehi and Pratik Satam},
  title = {{Feedback-Driven Prompt Refinement for Educational AI: Affective Trajectory Estimation and Bloom's Taxonomy Classification}},
  year = {2026},
  eprint = {2611.28293},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.28293},
}
Figure