arXiv:2610.12363cs.AIOct 2026

Manuscript Offprint

arXiv:2610.12363

HANS: A Handwritten Answer Sheet Dataset for Noisy Hybrid Document Parsing

Xiazhen Wu, Wansong Qin, Yangbin Zheng, Liangda Fang, Zhan Li, Xiujie Huang, Liushen Zhou, Quanlong Guan

Xiazhen Wu, Wansong Qin, Yangbin Zheng, Liangda Fang, Zhan Li, Xiujie Huang, Liushen Zhou, and Quanlong Guan

Jinan University, Guangzhou, China

wuxiazhen@stu2024.jnu.edu.cn

{songbai,zybbyz}@stu2025.jnu.edu.cn

{fangld,lizhan,t_xiujie,crystal,gql}@jnu.edu.cn

Abstract. Intelligent grading and automated scoring technologies constitute critical infrastructure for smart education. However, existing document parsing and handwriting recognition benchmarks are predominantly designed for well-structured printed documents or isolated mathematical expressions, lacking datasets that capture the complex characteristics inherent to student answer sheets, including multi-line derivation processes, heterogeneous mixtures of text and mathematical formulae, and noise artifacts such as strikethroughs. To address this gap, we introduce HANS, the first dataset explicitly constructed for real-world educational scenarios, encompassing mathematical expressions, natural language text, hand-drawn tables, and diverse noise patterns including corrections and deletions, accompanied by fine-grained annotations that establish a reliable foundation for robust recognition research. Building upon HANS, we propose NA-GOT, an end-to-end framework that achieves two-stage noise suppression through a lightweight noise suppression module operating at the feature level, complemented by a noise-aware attention mechanism incorporated into the decoding stage. Experimental results demonstrate that HANS poses substantial challenges to existing methods, while NA-GOT achieves significant improvements in both accuracy and stability for answer process recognition. The dataset will be made publicly available upon publication.

Keywords: Smart education · Handwritten document parsing · HANS dataset

1 Introduction

Intelligent grading and automated scoring technologies are increasingly emerging as pivotal driving forces in the advancement of smart education. In contrast to outcome-oriented evaluation paradigms that focus exclusively on final answers, modern pedagogical practice, particularly in mathematics education, places greater emphasis on understanding and diagnosing students' problem-solving thought processes. This demands that intelligent systems be capable of recognizing the derivation steps and natural language explanations written by

X. Wu et al.

Figure

Fig. 1: Illustration of representative characteristics of the HANS dataset. HANS is a real-world student handwritten mathematics answer sheet dataset, encompassing the dual challenges of complex formula-text interleaving (blue bounding boxes) and correction noise artifacts (red bounding boxes).

students on answer sheets, thereby enabling step-wise scoring, error cause analysis, and personalized feedback. Consequently, the accurate recognition of students' handwritten problem-solving processes constitutes a critical component of intelligent grading systems, as its accuracy and robustness directly determine the viability of downstream scoring and diagnostic tasks.

Recent years have witnessed substantial progress in document parsing and handwriting recognition. Document parsing methods are predominantly designed for well-structured printed documents, with representative approaches including multi-stage pipeline [8] processing and end-to-end vision-language models [10,15,16,20,23], exemplified by benchmark datasets such as OmniDocBench [13] and FOX [11]. Concurrently, research on handwriting recognition using classical benchmarks — including IAM [12], CROHME [24], and ICDAR Math — has driven an architectural evolution from CNN and RNN-CTC paradigms toward Transformer-based [17] encoders with Seq2Seq decoders and unified vision-language modeling frameworks.

Nevertheless, existing benchmarks exhibit several critical limitations. 1) Prevailing datasets predominantly focus on printed academic documents, neglecting real-world handwritten document types such as student answer sheets. 2) There is a systematic absence of research on handwriting noise: most benchmarks assume high document quality and lack systematic annotation and targeted evaluation of common noise artifacts such as strikethroughs, erasures, and overwriting. 3) Existing handwriting datasets are confined to either pure text lines or isolated mathematical expressions; in particular, handwritten mathematical expression recognition has largely been restricted to single-line expressions, with limited investigation into continuous multi-line writing scenarios involving interleaved text and formulae.

To address these limitations, we introduce HANS, the first dataset explicitly constructed for real-world educational scenarios. HANS is sourced from scanned student answer sheets collected during eighth-grade mathematics quality assessment examinations conducted over three semesters in a municipal school district, specifically from the open-ended mathematical problem-solving sections. To protect student privacy, all personally identifiable information was cropped prior to data release and use. Unlike prior datasets comprising pure text or isolated formulae, the student problem-solving processes in HANS encompass mathematical expressions, natural language text, hand-drawn tables, and manual strikethroughs, faithfully reflecting the typical interplay between mixed handwriting and structured writing characteristic of authentic examination contexts, as shown in Fig. 1. More critically, we provide fine-grained annotations across distinct writing modalities within the problem-solving process, including content-level annotations for expressions, text, and tables, as well as spatial annotations for noise elements such as strikethroughs and deletions. These annotations furnish a supervisory foundation for explicitly distinguishing noise from valid handwriting, thereby supporting subsequent robust modeling and analysis.

Building upon the noise annotations provided by HANS, we further propose NA-GOT, an end-to-end noise-aware recognition framework extending the GOT [21] architecture. The proposed framework suppresses noise interference through a two-stage mechanism. In the first stage, we design a Lightweight Noise Suppression Module (LNSM) that attenuates noise at the feature level. In the second stage, we introduce a noise-aware attention mechanism that reduces attention weights assigned to noise-bearing regions via learned noise bias terms. Experimental results demonstrate that incorporating the noise-aware mechanism yields significant improvements in both recognition accuracy and output stability for answer sheet problem-solving process recognition.

In summary, the contributions of this paper are as follows:

  1. We construct HANS, a real-world educational answer sheet dataset encompassing mixed handwritten problem-solving processes with heterogeneous content types including mathematical expressions, natural language text, and tables. Fine-grained annotations are provided, with particular emphasis on spatial bounding box annotations for real-world noise artifacts such as strikethroughs and deletions, establishing a foundation for robust recognition research.

  2. We propose NA-GOT, an end-to-end noise-aware recognition framework that achieves two-stage noise suppression through a Lightweight Noise Suppression Module(LNSM) and a noise-aware attention mechanism.

  3. Extensive experimental results demonstrate that the HANS dataset presents substantial challenges to current state-of-the-art methods, and validate that the proposed approach significantly outperforms existing methods.

X. Wu et al.

References (26)