ACEpath Technical Architecture: How Four Diagnostic Layers Read Handwritten Reasoning

Technical white paper detailing ACEpath's four-layer architecture for handwritten STEM perception, six-step cognitive reconstruction, causal error decoupling, and AERA 2027 research.

Academic research desk featuring handwritten calculus derivations and physics vector diagrams beside a widescreen monitor displaying a four-layer reasoning tree and mathematical plots.

A technical overview of ACEpath’s four-layer diagnostic pipeline—combining stroke-level handwriting perception, six-step cognitive reconstruction, causal error decoupling, and rubric-aligned STEM assessment.

By ACEpath Research & Engineering Team · Published October 13, 2026 · Updated November 19, 2026

Document Metadata & Technical Scope

DimensionSpecification
Authoring TeamACEpath Research & Engineering Team (Led by Teng Guo, Ph.D., Chief Scientist, and Hui, Founder & CEO)
Peer-Reviewed FoundationPaper accepted for the 2027 AERA Annual Meeting (Toronto, Canada · April 14–18, 2027 · Reviewed by SIG-Cognition and Assessment)
Engineering & Research BackgroundMachine learning engineers, cognitive scientists, and curriculum specialists, including researchers from EPFL and Purdue University
Corporate Entity & WorkspaceACEPATH PTE. LTD. (Singapore) · https://acepath.ai/
Supported DisciplinesMathematics, Physics, Chemistry, Biology, and Economics (Secondary, AP/Honors, and Early Undergraduate)
Core Architecture4-Layer Diagnostic Pipeline (Perception, 6-Step Reconstruction, 8-Dimension Causal Attribution, Adaptive Remediation) + Interactive Disciplinary Microworlds

1. Beyond Answer Retrieval: Why Standard Foundation Models Fail STEM Assessment

For more than a decade, digital learning software centered on a single interaction model: answer retrieval. A student photographed a printed problem, an optical parser matched it against a solution bank or generated a fresh derivation, and the screen displayed a completed proof.

While rapid retrieval helps check a final number, it bypasses the cognitive mechanisms that drive retention—schema acquisition, constraint recognition, and step-by-step verification. Even for conscientious learners, comparing messy handwritten scratchwork against a static wall of generated LaTeX makes it difficult to isolate whether an error occurred in an early algebraic manipulation or a conceptual setup.

In secondary and early collegiate STEM assessment—exemplified by College Board AP Free-Response Questions (FRQs)—grading rubrics reward intermediate reasoning rather than final arithmetic alone. Defining coordinate axes, stating conservation laws, setting integral bounds, and justifying domain conditions determine the majority of process credit. Conversely, a minor arithmetic slip late in a derivation still earns substantial partial credit if the underlying physical or mathematical setup is valid.

General-purpose Large Language Models (LLMs) and Vision-Language Models (VLMs) struggle in this setting for two architectural reasons:

  • Lack of Spatial Trajectory Parsing: Autoregressive token prediction over rasterized pixels often misreads non-linear scratchwork, crossed-out terms, margin calculations, and multi-tier fractions.
  • Absence of Causal Rubric Decoupling: Standard models regenerate a clean forward solution from scratch rather than evaluating the student’s actual derivation path, causing cascade grading failures where one early sign slip invalidates every subsequent line.

ACEpath was engineered to function as a rubric-aligned diagnostic examiner rather than a black-box solver.


2. Two Core Pillars: The Thinking Model & Disciplinary Microworlds

ACEpath separates formal reasoning evaluation from conceptual intuition building through two complementary engines:

  1. The Thinking Model: Establishes structured baseline reasoning trees and error taxonomies across STEM curricula without forcing learners into a single rigid solution path.
  2. Disciplinary Causal Microworlds: Pairs line-by-line error diagnosis with parameter-driven interactive simulations (such as secant-to-tangent slope limits, velocity-area reflections, vector mechanics, and chemical equilibria), allowing students to test physical or mathematical relationships directly before returning to paper.

3. Four-Layer Diagnostic Architecture

The ACEpath pipeline executes across four decoupled engineering layers:

Layer 1: Perception Engine (Handwriting & Spatial Parsing)

The perception layer converts unstructured photographs of student scratchwork into structured semantic-spatial tokens. Rather than flattening a page into linear plain text, the vision parser tracks character coordinates, line groupings, crossed-out attempts, margin notes, and nested mathematical notation so downstream reasoning layers evaluate what the student actually wrote.

Layer 2: Reconstruction Engine (Six-Step Forward Cognitive Path)

Grounded in our research framework ("Beyond Knowledge Concepts: A Six-Step Problem-Solving Framework for LLM-Assisted Personalized Learning"), the reconstruction engine maps forward STEM problem solving across six distinct cognitive vectors:

  1. Situational Feature Recognition: Identifying explicit problem constraints, implicit boundary conditions, and geometric or physical cues.
  2. Model & Pattern Recognition: Mapping problem cues to canonical mathematical structures or physical laws.
  3. Transformation Strategy Selection: Choosing an appropriate solution heuristic (for example, conservation of mechanical energy versus impulse-momentum, or dydy versus dxdx integration slices).
  4. Cognitive Operation Execution: Carrying out step-by-step algebraic manipulation and symbolic transformation on paper.
  5. Knowledge Tool Invocation: Retrieving and instantiating relevant theorems, definitions, and domain equations.
  6. Systemic Synthesis: Coordinating multi-stage or coupled systems across an entire free-response prompt.

Layer 3: Attribution Engine (Eight-Dimension Causal Error Decoupling)

Conventional autograders conflate conceptual misunderstandings with clerical slips: an arithmetic mistake in Step 2 causes Steps 3 through 8 to be marked wrong. ACEpath decouples Root Causes (Comprehension, Knowledge, Model Selection, Method) from Operational Execution Dimensions (Logic, Computation, Standardized Expression, Systemic Synthesis).

Before presenting any solution, ACEpath surfaces valid steps under WHAT YOU DID WELL and isolates the exact breakpoint under WHY IT HAPPENED—separating, for instance, a simple subtraction slip from a conceptual confusion between net displacement and total distance. Full Answer and Solution steps remain collapsed below the diagnostic breakdown so students can inspect their own reasoning first. For multiple-choice diagnostics, distractors are similarly modeled as targeted probes tied to specific misconception classes.

Layer 4: Evolution Engine (Adaptive Remediation & Transfer)

Each diagnostic session updates the learner’s longitudinal skill profile across units and error categories. Remediation is structured across three adaptive tiers—concise metacognitive prompts, decision-rule scaffolding (01 Reasoning Path to 04 Next steps), and interactive visual sandboxes—followed by Lock it in active-recall flashcards and isomorphic practice problems (same underlying reasoning mechanism, new surface context) to verify transfer.


4. Academic Grounding & Peer-Reviewed Recognition

ACEpath’s diagnostic architecture is anchored in ongoing cognitive science and educational assessment research led by Chief Scientist Teng Guo, Ph.D.

The team’s paper, "Beyond Knowledge Concepts: A Six-Step Problem-Solving Framework for LLM-Assisted Personalized Learning," was selected from more than 13,000 submissions and formally accepted for presentation at the 2027 American Educational Research Association (AERA) Annual Meeting in Toronto, Canada (April 14–18, 2027), following review by the SIG-Cognition and Assessment panel. It will be presented in the paper session "AI and Large Language Models in Assessments of Cognitive Competencies."

"Statistical language models predict the next likely token, whereas mathematics and science require causal consistency. Our goal is to translate structured cognitive assessment research into practical diagnostic tools students can use at their own desk."
— Teng Guo, Ph.D., Chief Scientist at ACEpath


5. Platform Access & Official Resources

© 2026 ACEPATH PTE. LTD. All rights reserved.

Loading workspace…