Audited Reasoning Refinement: Fine-Tuning Language Models via LLM-Guided Step-Wise Evaluation and Correction

Sumanta Bhattacharyya, Sara Riazi, Pedram RooshenasarXiv 2025 · DOI

Introduction

Large Language Models (LLMs) are increasingly capable of Chain-of-Thought (CoT) reasoning, yet they remain brittle in specialized, high-stakes domains like database design or healthcare. In these fields, a single hallucinated reasoning step can lead to a cascade of errors. A significant "faithfulness" gap exists where fine-tuning smaller models on raw LLM outputs often results in models that provide correct answers for the wrong reasons or inherit teacher inconsistencies. This is particularly problematic for tasks involving complex structures, such as Extended Entity-Relationship Diagrams (EERDs), where missing a single constraint violates fundamental logic.

The Reason-Refine-then-Align ($R^2tA$) Framework

To bridge this gap, we propose Reason-Refine-then-Align ($R^2tA$), a multi-stage framework that transforms a "Guide LLM" into a rigorous auditor to fix flawed reasoning traces before they are used for training. The framework consists of three main stages:

  1. Iterative Factual Auditing: Instead of accepting initial LLM outputs, $R^2tA$ uses a Guide LLM (GPT-4o) to audit traces against domain-specific rubrics. It surgically removes hallucinations and inserts missing explanations until factual accuracy (measured by F1 score) stabilizes.
  2. Stylistic Polishing: Once facts are verified, the guide polishes the text for readability and pedagogical flow, ensuring the reasoning is useful for learners.
  3. Two-Stage Alignment:
    • Supervised Fine-Tuning (SFT): The base model (e.g., a DeepSeek-Distill variant) is trained on these audited traces.
  4. Direct Preference Optimization (DPO): The model is refined by comparing audited traces against its own unrefined attempts, prioritizing conceptually sound reasoning over hallucinated paths.

Experimental Setup and Datasets

As no standard benchmark existed for granular reasoning in database design, the researchers curated a new dataset comprising 600 EERD variants based on classic schemas (Company, University, Airport). Errors were intentionally introduced across 11 categories, such as incorrect key attributes and participation constraints. A held-out "Hospital" schema was used to evaluate generalization to novel problems.

An example of an input ERD used for evaluating model reasoning.

Results and Key Insights

The $R^2tA$ framework was tested using a DeepSeek-R1-Distill-Qwen-32B base model. The results demonstrate that high-quality, audited data can significantly boost performance:

  • Superior Accuracy: The full $R^2tA$ model achieved an overall F1 score of 76, outperforming both GPT-4o (74) and the un-tuned base model (59).
  • Success in Complex Tasks: In difficult categories like Ternary Relationships, $R^2tA$ achieved an F1 of 89, compared to GPT-4o’s 82.
  • Efficiency at Scale: A smaller 7B parameter version of $R^2tA$ outperformed the 32B base model, proving that data quality can compensate for model size.
Comparison of reasoning traces and judgments between the base model, GPT-4o, and the $R^2tA$ refined model.

The study reveals that LLMs are often better at verifying answers against rubrics than generating them from scratch. By decoupling factual auditing from stylistic polishing, $R^2tA$ prevents the model from sacrificing accuracy for confidence. Furthermore, DPO is essential to anchor the model to human-validated conceptual preferences.

Conclusion

While $R^2tA$ currently relies on powerful Guide LLMs and expert-designed rubrics, it provides a robust path toward more faithful reasoning. Future work will explore replacing LLM-based auditors with programmatic formal logic verifiers and developing explicit causal modeling to ensure models truly understand the logic behind their answers.

Summary updated

BibTeX
@misc{bhattacharyya2025audited,
  author = {Sumanta Bhattacharyya and Sara Riazi and Pedram Rooshenas},
  title = {{Audited Reasoning Refinement: Fine-Tuning Language Models via LLM-Guided Step-Wise Evaluation and Correction}},
  year = {2025},
  eprint = {2509.12476},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.12476},
}
Figure