Deterministic automata corrections enable personalized student feedback
Correcting Deterministic Finite Automata for Didactic Feedback
Formal Languages and Automata Theory
Summary
Some computer programs, called deterministic finite automata, help recognize patterns, like checking correct answers written by students. This paper shows how to list all simple fixes to such a program so it works perfectly for a specific pattern. The authors also show how to pick fixes that make sense to teach, allowing personalized hints for learners based on their attempts. This approach can improve automatic feedback in learning software.
What this means in practice
- •For educational software developers: Generate tailored corrections for student answers by identifying all minimal edits needed on pattern-recognizing programs.
- •For language processing engineers: Improve automatic error correction by characterizing all edits transforming finite automata to recognize target languages.
A theory result. No direct application yet.
Authors
Maurice Bornett Herwig, Norbert Hundeshagen
Abstract
Motivated by educational applications, we study the problem of computing all corrections that transform a finite automaton into one recognizing a given regular language L. We show that for deterministic finite automata the set of all corrections can be finitely characterized as a regular tree language. The construction is based on a tree encoding of all deterministic finite automata recognizing L, which is extended to correction trees that make individual corrections and their induced edit-operations explicit. Leveraging the closure properties of regular tree languages, we introduce so-called filters for selecting corrections satisfying didactic constraints, enabling the derivation of individualized feedback from student submissions.