Research Article

Streamlining Assignment Grading with Automated Categorization and Multi-Agent Systems

Duole Hong1,*, Ziyan Wei2
1. University of Rochester, Rochester, USA
2. Haide College, Ocean University of China, Qingdao, China

* Corresponding author: [email protected]

Abstract

This report addresses the growing challenge of grading student assignments in Computer Science and Statistics departments, where increasing enrollment has led to overwhelming submission volumes, time constraints, and potential inconsistencies in manual assessment. We propose an AI-driven solution leveraging R programming and OpenAI's GPT-4 model to automate key aspects of the grading process. The system employs natural language processing (NLP) and clustering algorithms to categorize student submissions, group similar responses, and generate precise feedback through multi-agent processing. Analyzing coding assignments and textual answers reduces educators' manual workload while improving grading accuracy and consistency. An accompanying R package provides tools for automated code evaluation, response clustering, and feedback generation, enabling efficient management of large-scale assessments. The system's distributed architecture allows parallel processing of submissions, significantly accelerating turnaround times. This integrated approach aims to transform educational assessment by combining AI-powered analysis with instructor oversight, freeing educators to focus on personalized instruction while maintaining rigorous evaluation standards. The solution addresses both technical implementation through customizable R functions and pedagogical considerations by preserving human-in-the-loop quality control for complex assessments.

Keywords: Grading; Automated Categorization; Multi-Agent; Homework
Published: December 18, 2025
DOI: 10.54254/2755-2721/2025.30694
Volume: ACE Vol.199
pp. 119-132
Download PDF

References

  1. Agent Society: From Individuality to Sociability. Available at: https: //arxiv.org/pdf/2309.07864.
  2. ChatGPT Prompt Engineering for Developers . DeepLearning.AI . Available at: https: //www.deeplearning.ai/short-courses/chatgpt-prompt-engineering-for-developers/ .
  3. Weng, L . (2023) . Agent . Available at: https: //lilianweng.github.io/posts/2023-06-23-agent/ .
  4. OpenAI API Keys . Available at: https: //platform.openai.com/api-keys .
  5. Smith, J . , & Doe, A . (2023) . Advanced Topics in AI . Available at: https: //arxiv.org/html/2309.12924v2 .
  6. Fang, K . N . (n.d.) . Creating your own R package . Retrieved from http: //www.kuangnanfang.com/?id=16 .