LLM for Automated Answer Evaluation with DSPy Prompt-Fine-tuning

Generative AI and prompt engineering have the potential to create innovative applications in a short time. This paper explores the potential of generative AI and how prompt engineering can be used to build educational applications to help instructors automate question generation and answer evaluation in a short time. This paper details how optimized prompts are used in an educational application that was designed to support instructors and students by automating the evaluation of student answers to provide personalized feedback. To fine-tune the prompts, DSPy-enabled optimization was utilized to achieve consistency in LLM-generated questions, and answer evaluations. The paper details the implementation for the prompt-based question generation and creation of different variations of the of the question and answer evaluation using DSPy integrated method. The results demonstrate that the structured approach of DSPy to prompt generation significantly enhances the reliability of the system, ensuring that the LLM outputs are in line with the goals of the system, while maintaining consistency and interpretability.

Authors

Institutions

Publication Details

Published
2025-05-23
DOI
https://doi.org/10.1109/incet64471.2025.11140055
Primary Topic
Topic Modeling
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

LLM for Automated Answer Evaluation with DSPy Prompt-Fine-tuning

Sreenandana Nandakumar, U Arjun, Shakti Kumar, K.R.M. Nair et al.
Topic Modeling
article

LLM for Automated Answer Evaluation with DSPy Prompt-Fine-tuning

Sreenandana Nandakumar, U Arjun, Shakti Kumar, K.R.M. Nair, Sruthy Anand, Sethuraman N Rao
article en

Abstract

Generative AI and prompt engineering have the potential to create innovative applications in a short time. This paper explores the potential of generative AI and how prompt engineering can be used to build educational applications to help instructors automate question generation and answer evaluation in a short time. This paper details how optimized prompts are used in an educational application that was designed to support instructors and students by automating the evaluation of student answers to provide personalized feedback. To fine-tune the prompts, DSPy-enabled optimization was utilized to achieve consistency in LLM-generated questions, and answer evaluations. The paper details the implementation for the prompt-based question generation and creation of different variations of the of the question and answer evaluation using DSPy integrated method. The results demonstrate that the structured approach of DSPy to prompt generation significantly enhances the reliability of the system, ensuring that the LLM outputs are in line with the goals of the system, while maintaining consistency and interpretability.

Amrita Vishwa Vidyapeetham (IN)
Openalex Percentile: Top 88%
Topic Modeling
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.