TL;DR
This paper introduces a novel framework called Mathematical Language Processing (MLP) to automatically grade open-ended math questions in STEM education. By treating mathematical expressions as "words" and clustering student solutions, MLP can assign partial credit and provide targeted feedback, significantly reducing the manual grading burden on large educational platforms.
What Problem Does This Paper Address?
Scaling education through online platforms like MOOCs has been highly successful in delivering content, but a significant bottleneck remains in assessing student understanding. Grading open-response mathematical questions, which are crucial for evaluating deeper comprehension in STEM fields, is time-consuming and labor-intensive for instructors. Current automated systems often resort to simplified multiple-choice questions or peer-grading, which can be less informative or shift the burden. This paper aims to bridge this gap by developing an automated system that can accurately grade complex mathematical solutions and offer constructive feedback.
Methods
The proposed Mathematical Language Processing (MLP) framework consists of three core steps:
- Feature Extraction (Bag-of-Expressions): Similar to how Natural Language Processing (NLP) uses a "bag-of-words" model, MLP extracts unique mathematical expressions from student solutions. These expressions are then standardized using symbolic mathematics (e.g., SymPy) to handle variations in notation and simplification. The solutions are then represented as numerical feature vectors.
- Clustering Solutions: The extracted features from many student solutions are clustered to identify groups of similar approaches and correctness levels. Two clustering approaches are presented:
- MLP-S (Similarity-Based Clustering): This method defines a similarity metric between solutions based on common expressions and then applies standard clustering algorithms like spectral clustering or affinity propagation.
- MLP-B (Bayesian Nonparametric Clustering): This approach uses a Bayesian nonparametric model (specifically, a Chinese Restaurant Process prior) to automatically infer the number of clusters, offering more flexibility.
- Automatic Grading and Feedback: Once clusters are formed, an instructor provides a grade for one representative solution per cluster. The system then uses these grades to automatically assign scores to all other solutions within the same cluster. A key advantage of MLP-B is its ability to track the progression of expressions within a multi-step solution, allowing it to pinpoint the likely location of errors by identifying when a step deviates from a cluster of correct solutions.
Datasets
The study utilizes a dataset of 116 learners who solved 4 open-response mathematical questions from an edX course. These questions include two high-school level algebra problems and two college-level signal processing problems. The solutions were graded by an instructor on a scale of {0, 1, 2, 3}.
Key Insights and Ideas
- Mathematical Expressions as "Words": The core innovation is treating mathematical expressions as the fundamental units of analysis, analogous to words in text, enabling the application of NLP-inspired techniques to mathematical content.
- Clustering Reveals Solution Structures: Clustering student solutions effectively reveals common patterns of correct, partially correct, and incorrect approaches, even for questions with multiple valid solution paths.
- Automated Grading with Minimal Instructor Input: The system demonstrates that a small number of instructor-graded solutions (one per cluster) can be sufficient to accurately grade a large number of student submissions, significantly reducing grading workload.
- Targeted Error Localization: MLP-B's ability to track step-by-step progress allows for precise identification of where a student might have made an error, enabling more effective and timely feedback.
- Handling Notational Variations: The use of symbolic mathematics for feature extraction is crucial for normalizing expressions and ensuring that different but equivalent notations are recognized as the same concept.
Key Results
- Reduced Grading Effort: The MLP framework, both MLP-S and MLP-B, significantly outperforms a random sub-sampling baseline in terms of Mean Absolute Error (MAE) for auto-grading. For example, on Question 2, an MAE of 0.04 was achieved using only 13 instructor grades for 113 solutions.
- Accuracy: MLP-S with spectral clustering consistently outperformed the baseline, while MLP-B achieved comparable or better accuracy and automatically estimated the optimal number of clusters.
- Feedback Efficacy: MLP-B demonstrated the ability to provide feedback on errors as early as the second line of a multi-step solution, indicating its potential for real-time tutoring.
Limitations and Future Work
- Computational Complexity: MLP-B, while more flexible in inferring the number of clusters, is computationally more intensive than MLP-S.
- Feature Extraction Scope: The current framework primarily focuses on mathematical expressions and largely ignores explanatory text, which could be valuable for generating feedback.
- Future Directions: The authors plan to conduct larger-scale experiments on the edX platform. They also aim to incorporate the ordering of expressions and ancillary text into feature extraction. Exploring clustering algorithms that allow solutions to belong to multiple clusters is another avenue for improving robustness and reducing grading effort. Finally, they suggest investigating the use of MLP features for building predictive models, similar to Rasch models or item response theory.
Summary updated