arXiv:2609.03857cs.IRSep 2026

Manuscript Offprint

arXiv:2609.03857

GRASP: Graph-Retrieval Automated Scoring Pipeline for Label-Free Multi-Topic Essay Grading

Aafreen Husain, Samar Shailendra, Saad Sajid Hashmi

Aafreen Husain, Samar Shailendra, and Saad Sajid Hashmi

Melbourne Institute of Technology, Australia

Abstract. Automated short-answer grading research has historically focused on exams consisting solely of questions pertaining to a single topic. Automatic grading of exams containing questions about more than one topic remains less explored. In this work, a Graph-Retrieval Automated Scoring Pipeline (GRASP) is introduced for grading label-free multi-topic science exams. Label-free exams are short-answer exams in which a student's responses to several distinct topics are merged into a single paragraph, with no markup labels or segmentation indicating which span answers which question. Reference answers for each question are encoded into a FAISS vector index via Sentence-BERT, and a semantic similarity graph is constructed over this set of reference answers. At grading time, sentence count heuristics, with a large language model used to resolve ambiguous cases, are first applied to predict how many distinct topics were answered in the student essay. This process is performed without training data or domain-specific example essays. Candidate reference nodes, each storing one (question, reference answer, concatenation of both) from the reference index, are then retrieved through cosine similarity based Retrieval-Augmented Generation (RAG) and Graph Retrieval-Augmented Generation (GRAG). GRAG operates by taking the top cosine matches as seed nodes and then performing a graph traversal over strong edges to find additional reference nodes that may have been missed by RAG. The Hungarian algorithm is then used to optimally assign one reference node per question segment such that no reference is duplicated. Each segment is then graded against its assigned reference independently using GPT-4.1-mini. This experiment is performed to show the effect of retrieval quality on grading accuracy and the benefit of graph-augmented retrieval versus strict cosine similarity methods at various levels of essay complexity.

Keywords: Automated essay scoring · Graph-augmented retrieval generation · Multi-topic grading · SBERT · Hungarian algorithm · Few-shot learning.

1 Introduction

Consider an automated examination system that generates science exams. Each question it can ask comes from a list of reference nodes it stores. Each node has an exam question as well as the answer to that question. Questions will range from Physics to Chemistry to Biology to Earth Science. To assess students' understanding at the sub-topic level, the system builds a larger question of related nn sub-topics randomly selected from its database. For example, it might pull three questions about mineral hardness and then paraphrase them into one exam question. The student is given this question and must answer the nn topics in one running paragraph. There are no numbered parts, no section headings, and no markers that can be used to tell where the response to one topic ends and another begins.

This task is challenging because the nn topics were all sampled from the same section of the database and are thus grounded in the same scientific concept. Their reference answers share wording and logic, and the embeddings of the gold reference nodes lie close together in vector space. An untrained retrieval model, when queried for nn matching references, may return nn copies of the same reference rather than nn distinct ones. Retrieval thus faces a three-fold test:

(i) There is never explicit mention of how many topics nn there are. This must be parsed from the student's submission and exam question.

(ii) Answers can contain multiple sentences, yet there are no annotations connecting a sentence to the topic it addresses. The system must determine which sentence answers which topic based solely on semantics.

(iii) Sentences must be matched to the appropriate reference node from the pool of reference nodes with no annotated guidance.

Existing automated essay scoring (AES) systems [1, 30] assume one topic per response and score against a single known reference. They cannot segment student's answer to nn topics asked in the question. RAG-based grading systems [2, 21] retrieve evidence before scoring but pull from a flat index with no awareness of how references relate to each other. This causes retrieval accuracy to collapse when there are multiple related nodes which must all be found simultaneously.

This paper introduces the GRASP pipeline. This pipeline addresses these limitations. First, GRASP pipeline detects how many topics question and student answer contains. It splits the answer and the question into topic-focused segments so that each part can be graded against the reference it actually addresses. Secondly, it organises reference nodes into a graph that captures how they relate to one another. This allows related references to be retrieved together rather than from a flat, unaware index. Finally, it assigns each segment to its most appropriate reference node through an optimal global matching step. This ensures that distinct but semantically similar references are kept apart rather than collapsed into near-duplicates. Our main contribution is this end-to-end problem formulation for label-free multi-topic grading, together with the evaluation methodology that separates retrieval quality from grading quality. The graph expansion mechanism itself adapts existing GraphRAG-style retrieval [9, 14] to this new setting rather than introducing a new retrieval algorithm.

The remainder of this paper is structured as follows. Section 2 reviews related work. Section 3 formally defines the multi-topic grading problem. Section 4 describes the GRASP pipeline. Section 5 presents results and analysis. Section 6 concludes with directions for future work.

References (30)