Next Article in Journal
Scalable One-Pixel Attacks on Deep Neural Networks for High-Resolution Images
Next Article in Special Issue
EPECT: An Eigenvalue-Guided Positional Encoding Classification Transformer for Cross-Subject EEG-fNIRS Decoding
Previous Article in Journal
A Procedure of Perturbation Leading to a New Class of Asymmetric Copulas
Previous Article in Special Issue
Multiple Correspondence Analysis and Hierarchical Clustering of Occupational Exposure to COVID-19 Among Healthcare Workers in Castilla y León, Spain
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

CalcTutor: Multi-Agent LLM Grading of Handwritten Mathematics with RAG-Grounded Feedback for Adaptive Learning Support

1
College of Computing and Data Science (CCDS), Nanyang Technological University, 50 Nanyang Avenue, Singapore S639798, Singapore
2
School of Physical and Mathematical Sciences, Nanyang Technological University, 21 Nanyang Link, Singapore S637371, Singapore
3
Division of Psychology, School of Social Sciences, Nanyang Technological University, 48 Nanyang Avenue, Singapore S639818, Singapore
*
Author to whom correspondence should be addressed.
Mathematics 2026, 14(7), 1094; https://doi.org/10.3390/math14071094
Submission received: 20 January 2026 / Revised: 3 March 2026 / Accepted: 13 March 2026 / Published: 24 March 2026

Abstract

Personalized instruction remains a major bottleneck in higher education, especially in large classes where timely, individualized feedback is difficult to achieve. Existing automation typically relies on rigid rule-based pipelines or computationally heavy deep learning models, making it difficult to simultaneously achieve interpretability, instructional usability, and scalable deployment. In this study, we present CalcTutor, a generative-AI-based assessment and feedback system designed to support open-ended handwritten calculus problem solving. The system organizes instructional support through three coordinated components: (1) a multi-agent large language model (LLM) mechanism that evaluates solution processes and produces diagnostic feedback, (2) a retrieval-augmented generation (RAG) pipeline that links diagnosed difficulties to aligned instructional materials, and (3) real-time learner analytics for both students and instructors, forming an integrated instructional support workflow rather than an automated answer-checking tool. In offline evaluation and a pilot classroom deployment, the multi-agent grader achieved a weighted agreement accuracy of 0.931 and an F1-score of 0.934 on 1055 handwritten solutions. Participant feedback and workflow testing indicated that CalcTutor can be stably integrated into routine classroom use and enables students to interpret and act upon the provided feedback. These results indicate that automated assessment, diagnostic feedback, and targeted review can operate coherently within a single instructional process that supports instructor-led assessment practices. Using undergraduate calculus as an application domain for open-ended handwritten mathematical assessment, the study demonstrates the operational feasibility of a closed-loop assessment–feedback–revision workflow and provides a deployable instructional infrastructure for formative instructional support in real classroom contexts.

1. Introduction

University mathematics courses, particularly calculus, are commonly taught at a uniform instructional pace. As class sizes increase, heterogeneous student backgrounds and learning progress become difficult to accommodate. Weaker students may fail to consolidate prerequisite concepts, while advanced learners receive insufficient challenge, gradually widening learning gaps. This issue is especially pronounced in calculus, where conceptual understanding is cumulative and interdependent. In large-class settings, instructors have difficulty examining students’ reasoning processes and providing timely, targeted guidance.
The central instructional difficulty is, therefore, not assigning scores but delivering formative feedback on open-ended solution processes. Classroom grading relies on verification of reasoning steps and identification of misconceptions, yet such process-oriented assessment is labor-intensive and difficult to implement consistently at scale.
From a technical perspective, two main challenges underlie this bottleneck. Challenge 1: Balancing personalization and scalability in grading and feedback. Traditional automated grading systems rely on rule-based [1], feature-based [2], or similarity-based [3] approaches. Although computationally efficient, these methods typically require extensive labeled data and mainly produce correctness judgments with limited diagnostic explanation [4]. Large language models (LLMs) show potential for identifying misconceptions and generating explanations [5,6,7], yet hallucinations and reasoning inconsistencies [8] limit their reliability in instructional settings. Fluent explanations from a single LLM do not guarantee alignment with pedagogical grading criteria or stable reasoning verification. Challenge 2: Disconnect between diagnostic assessment and instructional intervention. Existing recommendation methods, including rule-based [9], collaborative filtering [10], and deep learning approaches [11,12], often operate independently of grading diagnostics. As a result, automated assessment, feedback generation, and learning support are implemented as separate modules rather than as a coordinated instructional process. Existing systems, therefore, address only partial components of the instructional workflow. Grading systems provide scores but limited pedagogical explanation; tutoring or chatbot systems generate explanations but lack grading alignment; and recommendation systems suggest materials without grounding in diagnostic assessment. The absence of integration limits classroom usability, where instructors require coherent assessment–feedback–revision cycles.
To address these challenges, we present CalcTutor, a generative-AI-based instructional assessment support system. CalcTutor is organized around a formative feedback workflow integrating diagnostic grading, targeted instructional retrieval, and learner analytics. A multi-agent framework analyzes handwritten solution processes to identify conceptual difficulties rather than directly assigning scores. A Retrieval-Augmented Generation (RAG) pipeline links diagnosed difficulties to lecture notes, slides, and video materials. Real-time analytics dashboards support instructor interpretation and student self-reflection. The system is implemented using React Native and Django, integrates GPT-4o Mini for real-time processing, and has undergone end-to-end validation through authentic classroom pilot deployment. The system is designed for instructional support rather than instructor replacement, making reasoning-oriented feedback accessible in classes while preserving instructor judgement.
The main contributions of this work are as follows: (1) We propose a closed-loop formative feedback paradigm as an instructional support workflow, integrating grading, recommendation, and analytics into a coordinated assessment–feedback–revision process. (2) We design a multi-agent diagnostic grading mechanism and an RAG-based instructional linkage pipeline that organizes feedback around students’ solution processes rather than final answers alone. (3) We implement and validate a prototype system achieving 93.1% grading agreement on 1055 handwritten solutions and demonstrate its operational feasibility in real classroom use through pilot deployment and user feedback.
By structurally linking diagnosis, intervention, and feedback, CalcTutor establishes an operational instructional technology framework that can be incorporated into routine teaching practice. Undergraduate calculus is adopted as a representative instructional context to examine the operational feasibility of integrating assessment, feedback, and revision workflows in authentic classroom practice.

2. Related Work

2.1. Adaptive Learning and Automated Feedback

Adaptive learning platforms (ALPs) aim to provide personalized instructional support at scale and have demonstrated positive effects on engagement and learning outcomes across diverse educational contexts [13,14,15,16,17]. However, most ALPs primarily adapt content sequencing or difficulty levels, while diagnostic feedback on open-ended problem solving remains limited in authentic classroom settings.
Automated grading systems (AGSs) provide the technical foundation for adaptive feedback [18]. Classical AGSs rely on rule-based matching [1], feature extraction [2], or similarity scoring [3]. Although efficient, these approaches often require large labeled datasets [4,19,20,21] and typically produce static correctness judgments rather than explanatory feedback.
Recent large language models (LLMs) enable analysis of open-ended solutions and generation of richer explanations [5,7,22,23,24]. However, hallucinations and inconsistent reasoning [8] limit their reliability in instructional grading. Multi-agent collaboration frameworks, such as AutoGen [25], decompose reasoning tasks into coordinated roles, improving consistency and interpretability. Prior work, therefore, improves grading capability but typically treats grading as an isolated scoring or explanation module. In classroom instruction, grading must support diagnosis and subsequent intervention. CalcTutor adopts multi-agent diagnostic grading to enable this instructional function rather than to optimize scoring accuracy alone.

2.2. Personalized Recommendation and Instructional Retrieval

Personalized recommendation is another key component of adaptive learning. Rule-based systems offer transparency but limited adaptability [9]. Collaborative filtering and deep sequence models [10,11,12] improve personalization but suffer from cold-start and sparsity issues and are generally driven by historical interaction data rather than immediate learning needs.
Retrieval-Augmented Generation (RAG) grounds generated responses in external knowledge sources by retrieving relevant materials and conditioning generation on them [26]. In educational settings, this enables support tied to instructional materials rather than generic explanations. Recent studies have also explored virtual student agents and learner modeling to simulate diverse learning behaviors [27]. However, recommendation systems are typically independent of assessment systems and rely on predicted preferences or historical patterns rather than verified reasoning difficulties. CalcTutor links recommendation directly to diagnostic grading outcomes so that retrieved materials correspond to specific conceptual errors observed in students’ written solutions.

2.3. Learner Analytics and CalcTutor’s Positioning

Learner analytics dashboards visualize learning trajectories at the individual and cohort levels and support formative reflection. Existing dashboards emphasize monitoring and modular integration [9], but they are often loosely coupled with grading and recommendation components, limiting their role in instructional adjustment. Beyond standard sequence models, graph-based encodings of temporal traces (e.g., visibility graphs) have been surveyed for time series prediction and classification and may be useful for modeling learner performance trajectories as part of future work [28]. Across automated grading, recommendation, and analytics research, most prior systems study components independently. Grading evaluates correctness, recommendation selects materials, and analytics visualizes performance, whereas the instructional workflow connecting evaluation, feedback, and revision is rarely implemented as a unified process.
CalcTutor is positioned as an instructional support framework rather than a single intelligent module. By integrating multi-agent diagnostic grading, RAG-grounded recommendation, and learner analytics, the system forms a closed-loop assessment–feedback–revision cycle that supports student self-regulation and instructor instructional adjustment.
Table 1 summarizes representative approaches. Rather than introducing a new grading or recommendation algorithm alone, CalcTutor structurally combines these components to operationalize adaptive learning within routine classroom practice.

3. System Architecture

CalcTutor is implemented as an Android-based learning platform organized around a three-tier architecture comprising presentation, application logic, and data layers (Figure 1). This structure follows the principle of separation of concerns [29], improving modularity, maintainability, and scalability while enabling data flow across the grading, recommendation, and learner analytics components.

3.1. Presentation Layer

The presentation layer provides interfaces for students and instructors and is implemented with React Native to support cross-platform deployment and rapid updates. Students can access instructional materials, complete quizzes, and upload handwritten solutions via a built-in scanning function. The system is optimized for bandwidth-limited classroom environments to ensure timely feedback delivery.
In practice, students typically follow a “learn–attempt–diagnose–review” cycle: they study materials, submit responses, receive step-level feedback, and review recommended resources aligned with diagnosed difficulties. Students may also access a personal analytics page displaying their performance history and progress trends for self-monitoring.
The instructor interface supports course management and analytics. Instructors can organize teaching materials, monitor class performance, observe error distributions, and track learning progress. These summaries help identify common misconceptions and guide follow-up instruction (Figure 2). Communication with backend services is handled through RESTful APIs, decoupling user interaction from processing modules.

3.2. Application Logic Layer

The application logic layer, implemented in Django (Python), serves as the system’s intelligent processing core. When a handwritten solution is submitted, a multi-agent grading pipeline built on AutoGen [25] is triggered. The pipeline includes three stages: the LaTeX agent performs OCR transcription, the solver agent generates a step-by-step reference solution, and the grader agent compares the student solution with the reference under predefined rubrics to produce feedback. Agents are coordinated via a GroupChatManager to ensure consistent execution. GPT-4o Mini [30] is used as the reasoning model for multimodal processing with a manageable computational cost.
By decomposing grading into expression interpretation, reasoning verification, and scoring decision stages, grading does not depend on a single generated response. Recognition or reasoning errors can be checked during subsequent comparison steps, improving reliability in instructional settings.
After grading, the system initiates a Retrieval-Augmented Generation (RAG) process that searches a curated knowledge base—including lecture notes, slides, and video transcripts—to generate targeted review recommendations. Interaction data, including grading outcomes and feedback histories, are aggregated and provided to instructor analytics dashboards. The modular design allows grading and recommendation components to be updated without restructuring the overall system.

3.3. Data Layer

The data layer manages both structured and unstructured data. User profiles, course metadata, and learning logs are stored in a PostgreSQL relational database to ensure consistency and transactional integrity. Instructional materials are embedded and stored in a Chroma vector database to support semantic retrieval for RAG recommendations [31]. Separating transactional records from retrieval resources preserves persistent learner records while maintaining stable content retrieval.

3.4. Deployment and End-to-End Workflow

CalcTutor is deployed on Amazon Web Services (AWS). The backend runs on EC2 instances with autoscaling and monitoring via CloudWatch, while lecture media are delivered through S3 and CloudFront. Data transmissions use HTTPS encryption and anonymized access control for privacy protection.
The workflow proceeds as follows: students upload handwritten solutions through the interface, the backend performs multi-agent grading and diagnosis, the RAG pipeline retrieves relevant instructional materials and generates recommendations, and feedback is returned in real time. Meanwhile, interaction data are recorded and visualized for instructors, supporting instructional adjustment and follow-up exercises. Assessment outputs, therefore, serve both student revision and instructor decision-making, linking diagnosis, intervention, and follow-up assessment within a continuous instructional process.

4. GenAI Functionalities

To support scalable, interpretable, and pedagogically aligned personalization, CalcTutor integrates two complementary GenAI mechanisms: a multi-agent grading process and a Retrieval-Augmented Generation (RAG) pipeline for instructional guidance. Assessment is formulated as a staged workflow in which handwritten solutions are processed through notation interpretation, reasoning verification, and rubric-based feedback generation. The RAG module then links diagnostic outcomes to curriculum-aligned materials and returns actionable review guidance. These mechanisms support a closed-loop assessment–feedback–revision use pattern.

4.1. Multi-Agent Grading

CalcTutor adopts a multi-agent collaboration framework built on AutoGen [25] to conduct rubric-based, process-oriented assessment of open-ended handwritten mathematical solutions rather than evaluating final answers alone. In mathematics instruction, grading primarily verifies reasoning processes and identifies misconceptions. A single LLM may generate fluent explanations, but it does not reliably adhere to step-based pedagogical grading criteria. Therefore, grading is modeled as a staged assessment workflow rather than a single inference step.
AutoGen enables structured multi-turn interaction among specialized agents [32]. Accordingly, the grading procedure is implemented as a fixed evaluation pipeline (Figure 3), improving stability and interpretability by separating perceptual interpretation, reasoning reference construction, and rubric-based judgement (full prompts in Appendix A):
  • LaTeX Agent (interpretation stage). This agent uses GPT-4o Mini’s OCR to transcribe handwritten solutions into Mathematics 14 01094 i001 and explicitly marks blanks and illegible symbols. Its role is restricted to expression interpretation, making perceptual uncertainty explicit rather than embedding it within grading decisions.
  • Solver Agent (reasoning reference stage). The agent generates a step-by-step reference solution for the given problem. This reference path serves as a semantic anchor so that grading is based on logical equivalence rather than surface symbol matching.
  • Grader Agent (evaluation and feedback stage). The agent applies a structured rubric to compare the student solution with the reference and produces personalized feedback. Scoring depends on the validity and completeness of reasoning steps; local transcription errors do not necessarily cause incorrect grading when the mathematical logic remains consistent.
All agents are orchestrated sequentially by a GroupChatManager, ensuring consistent information flow and reproducible outcomes. System reliability derives from the staged mechanism: grading decisions are grounded in reasoning consistency and rubric alignment rather than token-level recognition accuracy.
The data flow is formalized as:
S LaTeX = OCR S image ,
A solution = F Q input ,
G , P feedback = E S LaTeX , A solution , R ,
where OCR performs transcription, F denotes the reasoning process for the input, and E represents rubric-based pedagogical evaluation.
We adopt a process-oriented rubric consistent with classroom grading practice (Figure 4). For two-mark items, full credit requires both a correct method and a correct final answer; answer-only responses receive 0. Equivalent forms and alternative valid solution paths are accepted, and minor arithmetic slips are not penalized when reasoning is correct. For one-mark items, full credit requires a correct answer accompanied by minimal working; answer-only responses receive 0.
Within the system, the rubric is embedded in the staged workflow: transcription structures expressions, the solver provides a reasoning reference, and the grader performs rubric-based judgement and feedback. Consequently, local symbol-recognition errors do not necessarily propagate into grading errors, as evaluation depends on logical consistency with the reference solution rather than surface token matching.

4.2. RAG-Based Personalized Learning Recommendations

While automated grading can identify misconceptions, students often lack immediate access to instructional resources that address their specific weaknesses. The instructional challenge is, therefore, translating diagnostic results into actionable learning support. To bridge this diagnosis–intervention gap, CalcTutor employs Retrieval-Augmented Generation (RAG) to align grading feedback with course materials, generating diagnosis-driven review recommendations (Figure 5).
The recommendation pipeline consists of three stages. First, the system aggregates grading feedback and uses an LLM to extract key weak areas, which are encoded as query vectors. Next, lecture notes, slides, and transcript texts (from video lectures) are segmented into semantically coherent chunks and embedded into a Chroma vector database. For each query vector Q, cosine similarity is computed against document vectors D i ,
Similarity ( Q , D i ) = Q · D i Q D i ,
and the top k most relevant chunks are retrieved. Finally, retrieved chunks and metadata (e.g., page numbers, slide indices, timestamps) are passed to an LLM, which generates a structured review summary and targeted revision guidance rather than general content recommendation.
In classroom use, the system presents an overall performance summary and matched review resources after each quiz (Figure 6). For example, for difficulties in double integrals, CalcTutor may recommend a lecture segment on Fubini’s Theorem, prerequisite note pages on single integrals, and pages introducing the framework for evaluating double integrals, diagnosing learners’ learning difficulties and directing them to the most relevant parts of the lecture slides and video lectures (for example), explaining why each part matters for their solution process.
By combining general-purpose LLMs with curated lecture content, CalcTutor supports a timely feedback–review loop that operationalizes an assessment–feedback–revision workflow. The RAG module is positioned as instructional support that enables learners to act on diagnostic feedback, rather than as direct evidence of improved learning outcomes.

5. Evaluation

To assess CalcTutor’s assessment reliability and instructional usability, we conducted two complementary studies: an offline evaluation using real handwritten student solutions and a pilot classroom deployment accompanied by user surveys. The offline study examines grading behavior by comparing system decisions with instructor grading on open-ended handwritten responses, whereas the pilot deployment evaluates whether feedback, recommendations, and analytics can be meaningfully interpreted and used in routine instructional activities.
Handwritten calculus solutions contain intermediate derivations and mathematical notation; accordingly, the task is framed as rubric-guided interpretive judgement rather than answer classification. Agreement with human grading is, therefore, adopted as the primary evaluation criterion, indicating whether the system follows reasoning-verification principles consistent with step-level classroom grading. The reported accuracy and F1-score represent decision consistency across diverse solution forms, notation variations, and handwriting noise, rather than classification performance.
The pilot deployment provides complementary instructional validation by examining whether students can revise their work based on feedback and whether instructors can monitor learning progress and adjust instruction through analytics. The two studies offer system-level validation: the offline evaluation verifies the reliability of the grading mechanism, and the classroom deployment demonstrates the operational feasibility of an assessment–feedback–revision workflow in authentic instructional settings.

5.1. Multi-Agent Grading Accuracy

5.1.1. Experimental Setup

We collected 1055 handwritten calculus solutions from actual university quizzes, covering 16 problems in partial differentiation, multiple integrals, and vector calculus. Each problem was labeled as a one-mark ( n = 106 ) or two-mark ( n = 949 ) item based on grading complexity. All responses were annotated by human instructors using the rubric defined in Section 4.1, and subsequently graded by CalcTutor’s multi-agent pipeline.
Figure 7 shows representative handwriting samples. Unlike standardized benchmarks, the dataset originates from routine classroom submissions and contains natural variation in layout, notation conventions, and image quality. This setting corresponds to the intended application scenario: open-ended handwritten solutions represent a common and challenging assessment form in mathematics teaching, requiring both visual interpretation and reasoning verification.

5.1.2. Overall Results

Table 2 reports grading outcomes compared with human annotations. CalcTutor achieved a weighted accuracy of 93.1% and a weighted F1-score of 93.4%. These values should be interpreted as agreement with instructor judgement rather than classification accuracy, indicating that the system reproduces step-based evaluation decisions across diverse handwritten solutions.

5.1.3. Category-Wise Analysis and Typical Errors

Figure 8 shows confusion matrices for one-mark and two-mark problems.
For one-mark problems, accuracy reached 0.953 with very few misclassifications. Most discrepancies occurred when students provided only a final answer without required working, where the system assigned full credit but the instructor label was 0. This behavior reflects reliance on observable solution evidence: in step-based grading, the presence of required reasoning steps is essential.
For two-mark problems, accuracy was 0.928 and F1-score 0.932. False negatives were more common than false positives, mainly due to (i) missing intermediate steps and (ii) OCR recognition errors (e.g., 8 3 misread as 8 7 ). When the submitted work did not support full reasoning verification, the system tended to deduct credit conservatively, reflecting a grading strategy based on reasoning-chain completeness rather than final-answer correctness alone.

5.1.4. Pedagogical Insights

Performance is more stable on one-mark problems, whereas two-mark items are more sensitive to missing steps and OCR errors. This reflects a property of open-ended mathematical assessment: grading depends on the verifiability of reasoning processes rather than solely on final answers. As scoring is determined by the validity and completeness of the observable reasoning chain, feedback can identify where a derivation becomes incomplete or inconsistent, supporting step-level diagnosis rather than correctness-only judgement. Future improvements will focus on enhancing mathematical OCR robustness and refining grader-agent prompting to reduce deductions caused by non-critical omissions while maintaining rigorous reasoning verification.

5.2. Pilot User Feedback

5.2.1. Deployment and Survey Setup

During CalcTutor’s closed beta testing on the Google Play Store, a pilot classroom deployment was conducted with 15 participants who had basic calculus knowledge. Participants freely explored system functions during normal use and evaluated usability and learning-support experience. Feedback was collected through a structured questionnaire (Appendix B) adapted from the Technology Acceptance Model and the E-Learning Tool Evaluation rubric.
The questionnaire consisted of nine Likert-scale items (S1–S9). Items S1–S3 measured perceived usefulness in supporting the learning process, while S4–S9 evaluated operational experience, including grading behavior, feedback interpretability, learner analytics, and recommendation support (Table 3).

5.2.2. Feedback Summary

Multi-Agent Grading. As shown in Figure 9, 93.3% of participants agreed that the grading results were consistent with their solution processes. Participants reported that step-level feedback helped them understand their reasoning. One user commented:
“I was genuinely impressed by how accurately the system assessed my work. The personalized feedback gave me real insight into my problem-solving process.”
A few cases involved symbol-recognition errors (e.g., a square root interpreted as π ), leading to incorrect scores. This indicates that current limitations are primarily related to mathematical OCR rather than grading logic, and suggests directions for technical improvement.
RAG Recommendations. All participants reported that the recommendation module supported targeted review. Users noted that the system directly pointed them to relevant instructional materials, reducing time spent identifying mistakes.
“The targeted guidance reduced the time I spent figuring out my mistakes and directed me efficiently to the right content.”
Learner Analytics. In total, 86.7% of respondents agreed that analytics helped monitor progress. However, cohort-level statistics were interpreted differently across learners, with some perceiving pressure from comparison. This suggests that analytics should be framed as formative self-monitoring rather than ranking information.
Overall Evaluation. Participants expressed generally positive attitudes toward the system and reported perceived improvement in understanding and confidence (self-reported perceptions rather than measured learning outcomes). In total, 93% found the interface user-friendly, and all participants indicated willingness to continue using the app. The word cloud in Figure 10 highlights frequently mentioned attributes, such as clarity, usefulness, and efficiency. Suggested improvements included a handwriting canvas and clearer feedback presentation.
These results provide experience-level evidence: learners were generally able to interpret and use the feedback, while also identifying improvement directions including OCR robustness, feedback presentation, and analytics personalization. User responses further suggest an implication for analytics design. Learners used the dashboard primarily for monitoring their own progress, but cohort comparison was sometimes interpreted as social evaluation. In AI-assisted instruction, analytics is, therefore, more effective as metacognitive support rather than competitive ranking. Considered together with the offline grading agreement study, the observations reveal a functional instructional process: diagnostic grading identifies reasoning difficulties, recommendations support targeted review, and analytics supports progress monitoring and instructional adjustment. Therefore, the pilot evaluates classroom usability and operational feasibility rather than long-term learning outcome effects.

6. Conclusions

This paper presented CalcTutor, an adaptive learning platform for university calculus instruction that integrates multi-agent automated grading and retrieval-augmented recommendations into a coordinated assessment–feedback–revision workflow. Offline evaluation on 1055 real handwritten solutions achieved a grading agreement of 93.1% with human instructors, indicating that the system reproduces rubric-based human judgement rather than simple answer matching. The RAG module linked diagnostic outcomes to curated course materials to support targeted review during routine instructional use, and pilot observations showed that learners were able to interpret and act on the provided feedback. The primary contribution is, therefore, not a claim of improved learning outcomes, but the operational validation that a multi-agent LLM-based instructional pipeline can function in authentic classroom environments. The results demonstrate that automated assessment, interpretable feedback, and targeted review can be integrated into a deployable instructional support workflow. In addition, the platform serves as a research infrastructure for studying learning processes. Continuous recording of solution traces, diagnostic feedback, and interaction records makes instructional activities observable in authentic settings. Pre–post studies, controlled experiments, and longitudinal analyses of conceptual understanding and self-regulated learning will guide future work.

Author Contributions

Conceptualization, K.H.C.; methodology, L.Y.T., S.H., B.Z., A.M. and K.H.C.; software, L.Y.T., B.Z. and A.M.; validation, L.Y.T., B.Z., S.H., A.M., D.J.Y. and K.H.C.; formal analysis, L.Y.T., S.H., D.J.Y. and K.H.C.; investigation, L.Y.T., B.Z. and S.H.; resources, K.H.C.; data curation, L.Y.T., B.Z. and S.H.; writing—original draft preparation, L.Y.T., B.Z. and S.H.; writing—review and editing, L.Y.T., B.Z., S.H., A.M., D.J.Y. and K.H.C.; visualization, L.Y.T. and B.Z.; supervision, D.J.Y. and K.H.C.; project administration, K.H.C.; funding acquisition, K.H.C. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Singapore Ministry of Education (MOE) Tertiary Education Research Fund (TRF) Grant No. MOE2022-TRF-029.

Institutional Review Board Statement

The study was approved by the Institutional Review Board (IRB) of Nanyang Technological University (protocol code IRB-2024-1001).

Informed Consent Statement

Informed consent was obtained from all subjects involved in the study.

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript; or in the decision to publish the results.

Appendix A. Details for Multi-Agent Workflow

Parameters Defined for LaTeX Agent
name = latex-transformer
agent_type = MultimodalConversableAgent
prompt = “‘You are an image-to-text transcription agent for math equations, specializing in transcribing student solutions into LaTeX. Your task is to faithfully and strictly transcribe *only* the student’s written solution into LaTeX, exactly as it appears in the image.
This includes all mathematical expressions, symbols, and any other text the student has included in their workings, even if the solution is incomplete, unconventional, or mathematically incorrect. Your goal is to create a precise LaTeX representation of the student’s work, not to evaluate or correct it.
Key guidelines: 
  • Do not interpret, correct, or add any information beyond the transcription. Do not complete any missing steps, simplify or re-arrange the student’s work, or add any assumptions or context not explicitly written by the student.
  • If any parts of the image are unreadable, represent them as “illegible”. Do not label it otherwise.
  • If the student submitted a blank solution, represent it as “Student submitted a blank solution”.
  • Even if the student’s solution seems wrong, or irrelevant to the question, just transcribe it as is.
  • Use proper LaTeX syntax to transcribe the equations, ensuring mathematical expressions are well-formatted.
  Your output must strictly follow this JSON format: {“student_solution”: “<transcribed_solution_in_LaTeX>”}”’
Parameters Defined for Solver Agent
name = solver
agent_type = AssistantAgent
prompt = “‘You are a meticulous expert at solving calculus problems. When given a calculus question, you must first analyze the problem thoroughly before giving a detailed, step-by-step solution using logical mathematical reasoning.
Make sure that your solution satisfies the question requirements fully. If the question requires you to prove a given result, ensure that your solution correctly lists out the steps to obtain the final derivation that matches the target expression exactly.
Guidelines for Formatting: 
  • Use “Step 1:”, “Step 2:”, to clearly outline each step.
  • Explain each step concisely but thoroughly.
  • Show intermediate calculations where necessary.
  • Conclude with the final answer.
Your response should follow this structured JSON format strictly: {{“llm_solution”: “<step-by-step-solution>”}}.
Please replace <step-by-step-solution> with the full solution to the problem as a single string, with each step clearly numbered and described.
Your response MUST strictly conform to this format. Do not include any extra text outside the JSON structure.”’
Parameters Defined for Grader Agent
name = grader
agent_type = AssistantAgent
prompt = “‘You are a meticulous expert grader for calculus problems. Your task is to strictly evaluate a student’s solution (student_solution) based on a provided correct solution (llm_solution) for the specific calculus question. Your grading must adhere strictly to the following structured grading approach:
  • Read and comprehend both the llm_solution and student_solution carefully.
  • Before applying the rubric, perform a detailed comparison between the student_solution and the llm_solution.
    • Identify all steps taken by the student.
    • Determine if each step is mathematically valid and leads logically toward the final answer found by llm_solution.
    • Recognize that mathematically equivalent expressions, alternative solution methods, and different notation styles should not be penalized as long as they are correct.
    • Note any true conceptual errors, calculation mistakes, or omissions that impact correctness.
    • Summarize the key differences and similarities between the two solutions in your mind.
  • Apply the grading rubric to score the student_solution:
    • You will be given the maximum score for the question.
    • If the maximum score is 2:
      (1 mark) Correct method: Award 1 mark if the student’s workings are roughly correct, regardless of minor mistakes. Alternative solution methods that are mathematically valid also earn this point. The student’s steps don’t need to precisely match the provided solution, as long as the underlying logic is correct.
      (1 mark) Correct answer: Award 1 mark if the student’s final answer is mathematically equivalent to the correct solution’s final answer. Equivalence means the answers represent the same value, regardless of simplification.
      In summary:
      *
      If both the workings AND the final answer are correct, award 2 marks.
      *
      If both the workings and the final answer are incorrect, award 0 marks.
      *
      If the student simply states a solution without any working to substantiate it, award 0 marks.
      *
      If the student made a big conceptual error that indicates poor domain understanding, award 0 marks.
      *
      If the student made a small careless mistake that doesn’t affect the logic of his solution, don’t penalize him.
    • If the maximum score is 1:
      Award 1 mark if the student’s final answer matches the correct solution AND shows at least minimal working to substantiate his answer. Minor mistakes in calculations or notation can be overlooked.
      Award 0 marks if either the student’s final answer is incorrect, or if the workings are wrong, or both.
    • Do not penalize or deduct marks for formatting mistakes. If there is any, then note them in the feedback but do not factor them into the final score. Do not comment on issues regarding LaTeX expressions or commands.
    • Grade the student’s solution only based on the specific calculus question provided. Do not infer or grade based on unrelated content or assumptions beyond the scope of the given question.
  • Compare the student_solution with the llm_solution and generate concise feedback of up to 150 words:
    • Your feedback must take on an encouraging tone and address the student in first person. It must include the following:
      Start by indicating the student’s score (e.g., “You scored X out of Y marks”).
      If the student scores full marks, emphasize what was done correctly and praise him.
      If the student did not score full marks, point out the student’s specific mistakes.
      Guide the student to the correct solution.
      Mention the final answer in the feedback.
      Highlight both strengths and weaknesses in the student’s solution. Provide encouragement for improvement.
      If no formatting issues are present, do NOT discuss formatting. If they exist, then briefly mention them. Do not discuss formatting if no such issues were detected. Do not discuss any LaTeX syntax issues.
  • Ensure the final response strictly follows this JSON format: {{“final_score”: <final_score>, “feedback”: <feedback>}}. Replace <final_score> with the numeric score (e.g., 2, 1, or 0). Replace <feedback> with the detailed and encouraging feedback text.
Your grading and feedback must always align with the specific question and the rubrics provided.”’

Appendix B. User Survey Questions

Data Collection
  • Please provide the Gmail account you used for testing.
  • Do you have a basic understanding or prior knowledge of calculus?
Usefulness
  • Please indicate your level of agreement with the statements below.
    • Using CalcTutor enhances the effectiveness of my calculus learning.
    • CalcTutor is advantageous to my learning.
    • Using CalcTutor improves my calculus performance.
  • Please give your reasoning for choosing the ratings above.
  • How well does CalcTutor help you engage with calculus problems that were previously difficult or complex?
    • It significantly enhances my ability to do so.
    • It has improved my ability to do so.
    • It feels like a direct substitute for other learning tools with no real change in engagement.
  • Does CalcTutor help you develop problem-solving and analytical skills (higher-order thinking skills) in calculus?
    • Yes, using CalcTutor easily facilitates me to think critically and apply such skills.
    • Somewhat, using CalcTutor may facilitate me to think critically.
    • No, using CalcTutor does not facilitate me to think critically and apply such skills.
  • Does CalcTutor help you track your learning progress and receive useful feedback?
    • Yes, I regularly receive feedback that helps me track performance and improvement.
    • Somewhat, I get feedback, but it is limited or infrequent.
    • No, I do not receive useful feedback to monitor my progress.
Ease of Use
  • Please select the option you agree with the most.
    • CalcTutor has a user-friendly interface and it is easy for instructors and students to become skillful in a personalized and intuitive manner.
    • CalcTutor has an interface that may be confusing.
    • CalcTutor’s interface is not user-friendly.
  • Please indicate your level of agreement with the statements below.
    • Interacting with CalcTutor was clear and understandable.
System Performance
  • Please indicate your level of agreement with the statements below.
    • CalcTutor is accurate in scoring my solutions for each question.
    • The personalized feedback provided for each question is accurate in addressing my learning needs.
    • The personalized feedback provided for each question is helpful to my learning.
    • The learner analytics on the ’Profile’ page is useful to gauge my performance compared to others.
    • The learner analytics on the ’Profile’ page makes me reflect on my learning.
    • It is helpful to receive recommendations directing me to lecture notes or slides covering the areas where I need improvement.
  • Please comment on why you gave the ratings above.
Intention to Use
  • Please indicate your level of agreement with the statements below.
    • If given the chance, I intend to use CalcTutor in the future to aid my learning.
  • Please enter two adjectives to describe CalcTutor (separated by a comma).
  • Do you have any suggestions or feedback to improve CalcTutor?
Note: The Likert-scale items reported in the main text (S1–S9) correspond to the statements listed under the “Usefulness” and “System Performance” sections below. Specifically, S1–S3 are derived from the usefulness statements evaluating learning effectiveness, and S4–S9 correspond to the system performance statements evaluating grading accuracy, feedback quality, learner analytics, and recommendation support.

References

  1. Štajduhar, I.; Mauša, G. Using string similarity metrics for automated grading of SQL statements. In Proceedings of the 2015 38th International Convention on Information and Communication Technology, Electronics and Microelectronics (MIPRO); IEEE: Piscataway, NJ, USA, 2015; pp. 1250–1255. [Google Scholar] [CrossRef] [Scilit]
  2. Rowtula, V.; Oota, S.R.; Jawahar, C.V. Towards Automated Evaluation of Handwritten Assessments. In Proceedings of the 2019 International Conference on Document Analysis and Recognition (ICDAR); IEEE: Piscataway, NJ, USA, 2019; pp. 426–433. [Google Scholar] [CrossRef] [Scilit]
  3. Baral, S.; Botelho, A.F.; Erickson, J.A.; Benachamardi, P.; Heffernan, N.T. Improving Automated Scoring of Student Open Responses in Mathematics. In Proceedings of the 14th International Conference on Educational Data Mining (EDM), Online, 2–29 July 2021. [Google Scholar]
  4. Lee, H.S.; Pallant, A.; Pryputniewicz, S.; Lord, T.; Mulholland, M.; Liu, O.L. Automated text scoring and real-time adjustable feedback: Supporting revision of scientific arguments involving uncertainty. Sci. Educ. 2019, 103, 590–622. [Google Scholar] [CrossRef] [Scilit]
  5. Qadir, J. Engineering Education in the Era of ChatGPT: Promise and Pitfalls of Generative AI for Education. In Proceedings of the 2023 IEEE Global Engineering Education Conference (EDUCON); IEEE: Piscataway, NJ, USA, 2023; pp. 1–9. [Google Scholar] [CrossRef] [Scilit]
  6. Ma, Y.; Li, X.; Hu, S.; Liu, S.; Cheong, K.H. Trustworthy AI in education: Framework, cases, and governance strategies. Innov. Emerg. Technol. 2025, 12, 2550026. [Google Scholar] [CrossRef] [Scilit]
  7. Poličar, P.G.; Špendl, M.; Curk, T.; Zupan, B. Automated Assignment Grading with Large Language Models: Insights from a Bioinformatics Course. arXiv 2025, arXiv:2501.14499. [Google Scholar] [CrossRef] [Scilit]
  8. Tobler, S. Smart grading: A generative AI-based tool for knowledge-grounded answer evaluation in educational assessments. MethodsX 2024, 12, 102531. [Google Scholar] [CrossRef] [Scilit]
  9. Troussas, C.; Krouska, A.; Sgouropoulou, C. A Novel Teaching Strategy Through Adaptive Learning Activities for Computer Programming. IEEE Trans. Educ. 2021, 64, 103–109. [Google Scholar] [CrossRef] [Scilit]
  10. Madani, Y.; Ezzikouri, H.; Erritali, M.; Hssina, B. Finding optimal pedagogical content in an adaptive e-learning platform using a new recommendation approach and reinforcement learning. J. Ambient. Intell. Humaniz. Comput. 2020, 11, 3921–3936. [Google Scholar] [CrossRef] [Scilit]
  11. Pardos, Z.A.; Tang, S.; Davis, D.; Le, C.V. Enabling Real-Time Adaptivity in MOOCs with a Personalized Next-Step Recommendation Framework. In Proceedings of the Fourth (2017) ACM Conference on Learning @ Scale, Cambridge, MA, USA, 20–21 April 2017; Association for Computing Machinery: New York, NY, USA, 2017; L@S ’17; pp. 23–32. [Google Scholar] [CrossRef] [Scilit]
  12. Saito, T.; Watanobe, Y. Learning Path Recommendation System for Programming Education Based on Neural Networks. Int. J. Distance Educ. Technol. 2020, 18, 36–64. [Google Scholar] [CrossRef] [Scilit]
  13. Tan, L.Y.; Hu, S.; Yeo, D.J.; Cheong, K.H. Artificial Intelligence-Enabled Adaptive Learning Platforms: A Review. Comput. Educ. Artif. Intell. 2025, 9, 100429. [Google Scholar] [CrossRef] [Scilit]
  14. Liu, M.; McKelroy, E.; Corliss, S.B.; Carrigan, J. Investigating the effect of an adaptive learning intervention on students’ learning. Educ. Technol. Res. Dev. 2017, 65, 1605–1625. [Google Scholar] [CrossRef] [Scilit]
  15. Xie, H.; Chu, H.C.; Hwang, G.J.; Wang, C.C. Trends and development in technology-enhanced adaptive/personalized learning: A systematic review of journal publications from 2007 to 2017. Comput. Educ. 2019, 140, 103599. [Google Scholar] [CrossRef] [Scilit]
  16. Orsi Koch Delgado, H.; de Azevedo Fay, A.; Sebastiany, M.J.; Cortina Silva, A.D. Artificial intelligence adaptive learning tools: The teaching of English in focus. Braz. Engl. Lang. Teach. J. 2020, 11, e38749. [Google Scholar] [CrossRef] [Scilit]
  17. Gligorea, I.; Cioca, M.; Oancea, R.; Gorski, A.T.; Gorski, H.; Tudorache, P. Adaptive Learning Using Artificial Intelligence in e-Learning: A Literature Review. Educ. Sci. 2023, 13, 1216. [Google Scholar] [CrossRef] [Scilit]
  18. Tan, L.Y.; Hu, S.; Yeo, D.J.; Cheong, K.H. A Comprehensive Review on Automated Grading Systems in STEM Using AI Techniques. Mathematics 2025, 13, 2828. [Google Scholar] [CrossRef] [Scilit]
  19. Valenti, S.; Neri, F.; Cucchiarelli, A. An Overview of Current Research on Automated Essay Grading. J. Inf. Technol. Educ. Res. 2003, 2, 319–330. [Google Scholar] [CrossRef] [Scilit]
  20. Anjum, G.; Choubey, J.; Kushwaha, S.; Patkar, V. AI in Education: Evaluating the Efficacy and Fairness of Automated Grading Systems. Int. J. Innov. Res. Sci. Eng. Technol. (IJIRSET) 2023, 12, 9043–9050. [Google Scholar] [CrossRef] [Scilit]
  21. Bond, M.; Khosravi, H.; De Laat, M.; Bergdahl, N.; Negrea, V.; Oxley, E.; Pham, P.; Chong, S.W.; Siemens, G. A meta systematic review of artificial intelligence in higher education: A call for increased ethics, collaboration, and rigour. Int. J. Educ. Technol. High. Educ. 2024, 21, 4. [Google Scholar] [CrossRef] [Scilit]
  22. Rawas, S. ChatGPT: Empowering lifelong learning in the digital age of higher education. Educ. Inf. Technol. 2024, 29, 6895–6908. [Google Scholar] [CrossRef] [Scilit]
  23. Wan, T.; Chen, Z. Exploring generative AI assisted feedback writing for students’ written responses to a physics conceptual question with prompt engineering and few-shot learning. Phys. Rev. Phys. Educ. Res. 2024, 20, 010152. [Google Scholar] [CrossRef] [Scilit]
  24. Baral, S.; Worden, E.; Lim, W.C.; Luo, Z.; Santorelli, C.; Gurung, A.; Heffernan, N. Automated Feedback in Math Education: A Comparative Analysis of LLMs for Open-Ended Responses. arXiv 2024, arXiv:2411.08910. [Google Scholar]
  25. Wu, Q.; Bansal, G.; Zhang, J.; Wu, Y.; Li, B.; Zhu, E.; Jiang, L.; Zhang, X.; Zhang, S.; Liu, J.; et al. AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversation. In Proceedings of the ICLR 2024 Workshop on Large Language Model (LLM) Agents, Vienna, Austria, 11 May 2024. [Google Scholar]
  26. Wu, S.; Xiong, Y.; Cui, Y.; Wu, H.; Chen, C.; Yuan, Y.; Huang, L.; Liu, X.; Kuo, T.W.; Guan, N.; et al. Retrieval-Augmented Generation for Natural Language Processing: A Survey. arXiv 2025, arXiv:2407.13193. [Google Scholar]
  27. Ma, Y.; Hu, S.; Li, X.; Wang, Y.; Chen, Y.; Liu, S.; Cheong, K.H. When LLMs Learn to be Students: The SOEI Framework for Modeling and Evaluating Virtual Student Agents in Educational Interaction. arXiv 2024, arXiv:2410.15701. [Google Scholar]
  28. Wen, T.; Chen, H.; Cheong, K.H. Visibility graph for time series prediction and image classification: A review. Nonlinear Dyn. 2022, 110, 2979–2999. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  29. Richards, M. Software Architecture Patterns; O’Reilly Media, Inc.: Sebastopol, CA, USA, 2015. [Google Scholar]
  30. OpenAI. GPT-4o Mini: Advancing Cost-Efficient Intelligence. Available online: https://openai.com/index/gpt-4o-mini-advancing-cost-efficient-intelligence/ (accessed on 17 July 2024).
  31. Singh, P.N.; Talasila, S.; Banakar, S.V. Analyzing Embedding Models for Embedding Vectors in Vector Databases. In Proceedings of the 2023 IEEE International Conference on ICT in Business Industry & Government (ICTBIG); IEEE: Piscataway, NJ, USA, 2023; pp. 1–7. [Google Scholar] [CrossRef] [Scilit]
  32. Sun, Q.; Yin, Z.; Li, X.; Wu, Z.; Qiu, X.; Kong, L. Corex: Pushing the Boundaries of Complex Reasoning through Multi-Model Collaboration. arXiv 2024, arXiv:2310.00280. [Google Scholar] [CrossRef] [Scilit]
Figure 1. Three-layer system architecture. CalcTutor integrates a React Native presentation layer, a Django-based application logic layer (multi-agent grading and RAG), and a hybrid PostgreSQL–Chroma data layer, forming a closed-loop pipeline for grading, recommendation, and learner analytics.
Figure 1. Three-layer system architecture. CalcTutor integrates a React Native presentation layer, a Django-based application logic layer (multi-agent grading and RAG), and a hybrid PostgreSQL–Chroma data layer, forming a closed-loop pipeline for grading, recommendation, and learner analytics.
Mathematics 14 01094 g001
Figure 2. Core CalcTutor interfaces. A consolidated view of the primary student- and instructor-facing screens. (a) User login interface; (b) Dashboard overview; (c) Video-assisted learning interface; (d) Problem input interface; (e) Handwritten solution upload; (f) Automated grading feedback; (g) Quiz progress and performance summary; (h) Teacher dashboard; (i) Student performance analytics; (j) Performance distribution visualization; (k) Class-level analytics; (l) Exercise management interface.
Figure 2. Core CalcTutor interfaces. A consolidated view of the primary student- and instructor-facing screens. (a) User login interface; (b) Dashboard overview; (c) Video-assisted learning interface; (d) Problem input interface; (e) Handwritten solution upload; (f) Automated grading feedback; (g) Quiz progress and performance summary; (h) Teacher dashboard; (i) Student performance analytics; (j) Performance distribution visualization; (k) Class-level analytics; (l) Exercise management interface.
Mathematics 14 01094 g002
Figure 3. Multi-agent grading workflow. Role-specialized agents (OCR/Mathematics 14 01094 i001, solver, grader, and coordinator) collaborate via conversation programming to produce reliable scores and diagnostic feedback for handwritten solutions.
Figure 3. Multi-agent grading workflow. Role-specialized agents (OCR/Mathematics 14 01094 i001, solver, grader, and coordinator) collaborate via conversation programming to produce reliable scores and diagnostic feedback for handwritten solutions.
Mathematics 14 01094 g003
Figure 4. Intermediate artifacts in the multi-agent pipeline. Examples illustrate OCR/Mathematics 14 01094 i001 transcription, step-by-step reference solution generation, and rubric-based grading with personalized feedback.
Figure 4. Intermediate artifacts in the multi-agent pipeline. Examples illustrate OCR/Mathematics 14 01094 i001 transcription, step-by-step reference solution generation, and rubric-based grading with personalized feedback.
Mathematics 14 01094 g004
Figure 5. RAG recommendation pipeline. Grading feedback is summarized into weak areas, which query a curated knowledge base; retrieved chunks are grounded to generate targeted, explainable review recommendations.
Figure 5. RAG recommendation pipeline. Grading feedback is summarized into weak areas, which query a curated knowledge base; retrieved chunks are grounded to generate targeted, explainable review recommendations.
Mathematics 14 01094 g005
Figure 6. Rendered quiz summary and RAG-based recommendations in the student interface. Performance feedback is paired with precise pages and timestamps from course materials, bridging diagnostic grading and focused review.
Figure 6. Rendered quiz summary and RAG-based recommendations in the student interface. Performance feedback is paired with precise pages and timestamps from course materials, bridging diagnostic grading and focused review.
Mathematics 14 01094 g006
Figure 7. Representative samples of students’ handwritten solutions. (Top) Partial derivative chain rule. (Bottom) Directional derivative. The diversity and noisiness of real handwriting underscore the need for robust OCR and grading.
Figure 7. Representative samples of students’ handwritten solutions. (Top) Partial derivative chain rule. (Bottom) Directional derivative. The diversity and noisiness of real handwriting underscore the need for robust OCR and grading.
Mathematics 14 01094 g007
Figure 8. Confusion matrices vs. human annotations. One-mark (left) and two-mark (right) problems show near-perfect alignment on basic items and a conservative under-scoring bias on multi-step derivations.
Figure 8. Confusion matrices vs. human annotations. One-mark (left) and two-mark (right) problems show near-perfect alignment on basic items and a conservative under-scoring bias on multi-step derivations.
Mathematics 14 01094 g008
Figure 9. Survey responses on grading, analytics, and recommendations. Likert-scale results for items S1–S9 (defined in Table 3) indicate high perceived accuracy of multi-agent grading and strong utility of RAG-driven targeted review.
Figure 9. Survey responses on grading, analytics, and recommendations. Likert-scale results for items S1–S9 (defined in Table 3) indicate high perceived accuracy of multi-agent grading and strong utility of RAG-driven targeted review.
Mathematics 14 01094 g009
Figure 10. Adjectives describing user experience. The word cloud highlights perceived strengths such as simplicity, usefulness, clarity, and efficiency.
Figure 10. Adjectives describing user experience. The word cloud highlights perceived strengths such as simplicity, usefulness, clarity, and efficiency.
Mathematics 14 01094 g010
Table 1. Summary of automated grading and recommendation system approaches.
Table 1. Summary of automated grading and recommendation system approaches.
(A) Automated Grading Systems
ApproachFlexibilityFeedback TypeScalability
Rule-basedLowPre-defined, staticHigh
Machine learningModerateLimited personalizationModerate
LLM + Multi-Agent (CalcTutor)HighPersonalized, real-timeHigh
(B) Recommendation Systems
ApproachPersonalizationExplainabilityComputational Cost
Rule-basedLowHighLow
Collaborative filteringModerateModerateModerate
Deep learningHighLowHigh
RAG-based (CalcTutor)Very HighHighModerate
Table 2. Multi-agent grading performance compared to human scores.
Table 2. Multi-agent grading performance compared to human scores.
Metric1-Mark2-MarkWeighted
Accuracy0.9530.9280.931
Precision0.9540.9380.939
Recall0.9530.9280.931
F1-score0.9530.9320.934
Table 3. Mapping of questionnaire items used in the Likert-scale evaluation (S1–S9).
Table 3. Mapping of questionnaire items used in the Likert-scale evaluation (S1–S9).
ItemDescriptionCategory
S1Enhances effectiveness of calculus learningUsefulness
S2Beneficial to learningUsefulness
S3Improves calculus performanceUsefulness
S4Accurate grading of submitted solutionsSystem performance
S5Feedback matches learning needsSystem performance
S6Feedback helpful for learningSystem performance
S7Analytics helps evaluate learning performanceSystem performance
S8Analytics encourages reflectionSystem performance
S9Recommended materials helpful for improvementSystem performance
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Tan, L.Y.; Zhu, B.; Hu, S.; Mishra, A.; Yeo, D.J.; Cheong, K.H. CalcTutor: Multi-Agent LLM Grading of Handwritten Mathematics with RAG-Grounded Feedback for Adaptive Learning Support. Mathematics 2026, 14, 1094. https://doi.org/10.3390/math14071094

AMA Style

Tan LY, Zhu B, Hu S, Mishra A, Yeo DJ, Cheong KH. CalcTutor: Multi-Agent LLM Grading of Handwritten Mathematics with RAG-Grounded Feedback for Adaptive Learning Support. Mathematics. 2026; 14(7):1094. https://doi.org/10.3390/math14071094

Chicago/Turabian Style

Tan, Le Ying, Buyuan Zhu, Shiyu Hu, Ankit Mishra, Darren J. Yeo, and Kang Hao Cheong. 2026. "CalcTutor: Multi-Agent LLM Grading of Handwritten Mathematics with RAG-Grounded Feedback for Adaptive Learning Support" Mathematics 14, no. 7: 1094. https://doi.org/10.3390/math14071094

APA Style

Tan, L. Y., Zhu, B., Hu, S., Mishra, A., Yeo, D. J., & Cheong, K. H. (2026). CalcTutor: Multi-Agent LLM Grading of Handwritten Mathematics with RAG-Grounded Feedback for Adaptive Learning Support. Mathematics, 14(7), 1094. https://doi.org/10.3390/math14071094

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop