Correct Diagnosis, Better Feedback: A Symbolic-Verifier for Faithful LLM Tutoring Feedback in Logic Proofs
Organizations: North Carolina State University · Purdue University · Kennesaw State University
Abstract
Effective LLM tutoring depends on correctly identifying the specific error in a student's reasoning before generating feedback. We study this problem in propositional-logic proof tutoring, where student actions can be checked against formal inference rules. We introduce a verifier-grounded architecture that separates diagnosis from language generation. Using 600 balanced student actions, we compare a zero-shot LLM detector, a fine-tuned detector, and a symbolic verifier. Each diagnosis is processed by shared rationale and feedback agents, isolating the effect of the initial diagnosis. The zero-shot detector achieves a macro-F1 of 0.191; fine-tuning raises this to 0.709 but retains systematic errors between structurally related classes. Rationales generally preserve the diagnosis supplied to them, showing that an incorrect diagnosis can be faithfully propagated through the pipeline. Feedback can likewise remain faithful to its rationale, non-revealing, and pedagogically appropriate while addressing the wrong error. Verifier-grounded feedback achieves the highest diagnostic correctness, and expert ratings largely uneven with the automatic feedback evaluations. These findings show that apparent feedback quality can conceal upstream diagnostic errors and that faithfulness must be evaluated separately from correctness. Our code is publicly available
Figures & tables
| Proof state | Rule | Label |
|---|---|---|
| 1. 2. 3. | Add | correct |
| 1. 2. 3. | MP | wrong_arity |
| 1. 2. | Equiv | antecedent_ mismatch |
| 1. 2. 3. | DeM | wrong_rule |
| Dimension | 2 | 1 | 0 |
|---|---|---|---|
| Quality judge (feedback vs. corresponding rationale) | |||
| Rationale faithfulness | Preserves the rationale’s diagnosis | Partial or vague | Contradicts or changes it |
| Non-revelation | No corrective rule, formula, or next step | Reveals a substantial clue | Explicitly reveals one |
| Pedagogical appropriateness | Concrete, relevant, appropriate depth | Generic or mismatched depth | Irrelevant or misleading |
| Diagnostic judge (feedback vs. reference diagnosis) | |||
| Diagnostic correctness | Communicates the reference class’s defining property | Compatible but underspecified | Contradicts it or targets another class |
| Zero-shot (B0) | SFT (B1) | |||||
|---|---|---|---|---|---|---|
| Macro-F1 | 0.191 | 0.709 | ||||
| Class | P | R | F1 | P | R | F1 |
| correct | 0.12 | 0.01 | 0.01 | 0.75 | 0.73 | 0.74 |
| wrong_arity | 0.29 | 0.19 | 0.23 | 0.98 | 0.82 | 0.89 |
| antecedent_mismatch | 0.25 | 0.43 | 0.31 | 0.81 | 0.37 | 0.51 |
| wrong_rule | 0.17 | 0.27 | 0.21 | 0.74 | 0.65 | 0.69 |
| System | ||||
|---|---|---|---|---|
| Verifier (proposed) | 94.3% | 94.3% | 0.977 | 0.977 |
| B1 (SFT) | 75.8% | 60.3% | 0.660 | 0.566 |
| B0 (zero-shot) | 73.5% | 25.3% | 0.573 | 0.256 |
| System | Label | Faith. | Pedag. | Diag. | |
|---|---|---|---|---|---|
| Verifier | – | 600 | 1.710 | 1.292 | 1.775 |
| B1 | Overall | 600 | 1.625 | 1.263 | 1.513 |
| B1 | Matched | 386 | 1.672 | 1.332 | 1.734 |
| B1 | Mismatched | 214 | 1.472 | 1.042 | 0.803 |
| B0 | Overall | 600 | 1.617 | 1.040 | 1.060 |
| B0 | Matched | 135 | 1.672 | 1.061 | 1.794 |
Appendix figures & tables10 assets
Supplementary material from the paper’s appendix.
Appendix
| Abbrev. | Rule Name | Form |
|---|---|---|
| MP | Modus Ponens | |
| MT | Modus Tollens | |
| Conj | Conjunction | |
| Simp | Simplification | (or ) |
| Add | Addition | |
| DS | Disjunctive Syllogism |
| System | Dimension | ||
|---|---|---|---|
| B1 | Faithfulness | 0.204 | |
| B1 | Pedagogy | 0.288 | |
| B1 | Diagnostic Correctness | 0.676 | |
| B0 | Faithfulness | 0.065 | |
| B0 | Pedagogy | 0.027 | |
| B0 | Diagnostic Correctness | 0.668 |
| Class | Hypotheses |
|---|---|
| wrong_arity | (1) The student selected the wrong number of formulas for the clicked rule. (2) The rule needs a different number of prior lines than were selected. (3) Too few or too many formulas were selected for this rule. (4) The number of selected formulas does not match what the rule requires. (5) The student selected an incorrect count of formulas. |
| antecedent_mismatch | (1) The student’s selected formulas do not satisfy the structural pattern of the clicked rule. (2) The selected formulas do not satisfy the structural pattern of the clicked rule. (3) The formulas do not match the antecedent requirements of the clicked rule. (4) The arity is correct but the formulas do not structurally match the clicked rule. (5) The clicked rule cannot be applied because the formula types do not match its pattern. |
| wrong_rule | (1) The student chose an inference rule that does not apply to the selected formulas. (2) The clicked rule cannot produce a valid derivation from these formulas. (3) A different rule should have been chosen for these selected formulas. (4) The student applied the wrong inference rule to otherwise valid formula selections. (5) The rule clicked does not match the logical form of the selected formulas. |
| correct | (1) The student’s attempted proof step is correct. (2) The selected formulas validly support applying the clicked rule. (3) The clicked rule is correctly applied to the selected formulas. (4) The student’s selected formulas satisfy the requirements of the clicked rule. (5) The attempted inference is valid and contains no structural error. |
Intelligent Tutoring Systems
Intelligent tutoring systems model learner knowledge and adapt instruction, practice, hints, and feedback to support learning.
See all 154 papersConfirming Correct, Missing the Rest: LLM Tutoring Agents Struggle Where Feedback Matters Most
SymDiag: Explainable Diagnosis for LLM Reasoning via Neuro-Symbolic Verification
verification'' signals are not diagnostic: answer matching observes only the outcome, LLM-as-judge provides subjective and non-verifiable critiques, and scalar rewards (e.g., PRMs/RMs) offer little insight into where a multi-step derivation fails.We propose **SymDiag**, a neuro-symbolic framework that **reframes reasoning verification as structured failure diagnosis**. SymDiag translates natural-language CoT into symbolic constraints and performs step-level satisfiability/entailment checks to (i) localize failing steps and (ii) produce verifiable diagnostic evidence, including counterexamples, inconsistency witnesses, and missing-premise indicators. A central challenge is that apparent logic violations'' can be caused either by genuine reasoning defects or by neural-to-symbolic translation noise. SymDiag therefore incorporates a Self-Auditor that disentangles TranslationError from ReasoningError via dual symbolic encodings consistency checks, enabling robust diagnosis under partial observability. Across diverse mathematical, logical, scientific, and general reasoning benchmarks, SymDiag improves detection of unfaithful reasoning and provides substantially more effective feedback for multi-round reasoning repair than outcome-only verification and LLM-based judging, offering a principled foundation for trustworthy and scalable reasoning diagnosis.