MalAlgoQA: Pedagogical Evaluation of Counterfactual Reasoning in Large Language Models and Implications for AI in Education
On the map: LLM reasoning → Reasoning benchmarks and evaluation
Abstract (arXiv)
This paper introduces MalAlgoQA, a novel dataset designed to evaluate the counterfactual reasoning capabilities of Large Language Models (LLMs) through a pedagogical approach. The dataset comprises mathematics and reading comprehension questions, each accompanied by four answer choices and their corresponding rationales. At the heart of MalAlgoQA are ``malgorithms'' - rationales behind incorrect answer choices that represent flawed yet logically coherent reasoning paths. These malgorithms serve as counterfactual scenarios, allowing us to assess an LLM's ability to identify and analyze flawed reasoning patterns. We propose the Malgorithm Identification task, where LLMs are assessed based on their ability to identify corresponding malgorithm given an incorrect answer choice. To evaluate the model performance, we introduce two metrics: Algorithm Identification Accuracy (AIA) for correct answer rationale identification, and Malgorithm Identification Accuracy (MIA) for incorrect answer rationale identification. Our experiments reveal that state-of-the-art LLMs exhibit significant performance drops in MIA compared to AIA, highlighting the challenges in counterfactual reasoning. Surprisingly, we find that the chain-of-thought prompting technique not only fails to consistently enhance MIA but can sometimes lead to underperformance compared to simple prompting. These findings have important implications for developing LLMs with improved counterfactual reasoning, particularly relevant for AI-powered tutoring systems, where identifying and addressing student misconceptions is essential. MalAlgoQA dataset is available hrefhttps://github.com/luffycodes/MalAlgoQA-Datasethere.
Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Placed in Reasoning benchmarks and evaluation, one of 17 directions in LLM reasoning. Builds on 7 of its 36 references that are in the map. First posted on arXiv 1 Jul 2024.
Builds on
7 of 36 references.
References · 7
- 2023GPT-4 Technical Reportcited by 18,396
- 2021On the Opportunities and Risks of Foundation Modelscited by 4,033
- 2022Emergent Abilities of Large Language Modelscited by 2,512
- 2020Text and Causal Inference: A Review of Using Text to Remove Confounding from Causal Estimatescited by 59
- 2024Pedagogical Alignment of Large Language Modelscited by 19
- 2023Novice Learner and Expert Tutor: Evaluating Math Reasoning Abilities of Large Language Models with Misconceptionscited by 15
- 2024Student Data Paradox and Curious Case of Single Student-Tutor Model: Regressive Side Effects of Training LLMs for Personalized Learningcited by 6
Built on by
Citing papers per year: 2025: 5; 2026: 3.
8 papers.
- 2025Learning to Make MISTAKEs: Modeling Incorrect Student Thinking And Key Errorscited by 20
- 2025LookAlike: Consistent Distractor Generation in Math MCQscited by 7
- 2025On the Eligibility of LLMs for Counterfactual Reasoning: A Decompositional Studycited by 5
- 2025The Imitation Game for Educational AIcited by 1
- 2025CLEAR-3K: Assessing Causal Explanatory Capabilities in Language Modelscited by 1
- 2026Misconception Diagnosis From Student-Tutor Dialogue: Generate, Retrieve, Rerankcited by 1
- 2026Reflection or Re-Generation? Why LLM Revision Fails Where Human Revision Succeedscited by 0
- 2026Correct Diagnosis, Better Feedback: A Symbolic-Verifier for Faithful LLM Tutoring Feedback in Logic Proofscited by 0
- 2026Correct Diagnosis, Better Feedback: A Symbolic-Verifier for Faithful LLM Tutoring Feedback in Logic Proofs18 Sep 2026
- 2026Reflection or Re-Generation? Why LLM Revision Fails Where Human Revision Succeeds31 Jul 2026
- 2026Misconception Diagnosis From Student-Tutor Dialogue: Generate, Retrieve, Rerank2 Feb 2026
- 2025Learning to Make MISTAKEs: Modeling Incorrect Student Thinking And Key Errors13 Oct 2025
- 2025CLEAR-3K: Assessing Causal Explanatory Capabilities in Language Models20 Jun 2025
- 2025On the Eligibility of LLMs for Counterfactual Reasoning: A Decompositional Study17 May 2025
- 2025LookAlike: Consistent Distractor Generation in Math MCQs3 May 2025
- 2025The Imitation Game for Educational AI21 Feb 2025
Similar, not cited
Close in wording, no citation either way
- 2025Large Language Models and Mathematical Reasoning Failures
- 2026Can LLMs Model Incorrect Student Reasoning? A Case Study on Distractor Generation
- 2025CounterBench: Evaluating and Improving Counterfactual Reasoning in Large Language Models
- 2025Flying Pigs, FaR and Beyond: Evaluating LLM Reasoning in Counterfactual Worlds
- 2024CLR-Bench: Evaluating Large Language Models in College-level Reasoning
- 2024Reasoning Elicitation in Language Models via Counterfactual Feedback
- 2022Towards Reasoning in Large Language Models: A Survey
- 2025FINEREASON: Evaluating and Improving LLMs' Deliberate Reasoning through Reflective Puzzle Solving