SAFE: how to check every step of LLM multi-step reasoning on the fly

13 September 202639 views

Multi-step QA benchmarks often credit a correct answer that was reached through logically flawed reasoning. The SAFE framework closes this gap: an external LLM verifier checks each step against reference texts and the previous trajectory, while decomposition into KG triplets simplifies validation. According to the authors, accuracy improved by an average of 8.8 percentage points across three benchmarks.

SAFE: how to check every step of LLM multi-step reasoning on the fly

The problem: a correct answer doesn't mean correct reasoning

Multi-step QA benchmarks are designed to evaluate only the final answer. Because of this, an LLM often gets the score even if the intermediate steps were erroneous or not connected to real facts at all. This behavior is called "false" correctness: the answer is right, but the chain of thought is not. This is dangerous for practical applications: the model looks reliable, but in a new situation, it can just as confidently make an invalid inference.

Researchers Daeyong Kwon, Soyoung Yoon, and Seung-won Hwang from Seoul National University proposed the SAFE framework to solve this problem. The work was accepted at EMNLP 2026, and the latest version of the paper dates to August 2026. The idea is to verify not just the final result, but each step of the reasoning — directly during its generation.

What SAFE does

SAFE is a framework based on the LLM-as-a-verifier principle. An external verifier monitors the reasoning process and checks each intermediate step against the provided passages and what the model has inferred previously. This approach differs from the usual scheme, where quality assessment happens after generation, based on a single final answer.

SAFE's key feature is the decomposition of reasoning into atomic units. Each such unit represents a knowledge graph triplet: subject, relation, and object. This makes the steps formally verifiable: instead of a vague statement, the verifier sees a specific connection between entities that can be matched against the source.

How the framework works

Preparation: cleaning supervision through KG constraints

At the training stage, SAFE analyzes data from benchmarks. Many of them contain examples where the "correct" reasoning trajectory does not actually rely on facts. SAFE passes such examples through knowledge graph constraints and discards invalid chains. As a result, only reliable data remains for training the verifier — data where each step is truly confirmed by sources.

Inference: checking at every step

During generation, the external verifier operates in online mode. As soon as the LLM makes an intermediate inference, it is checked: does the triplet correspond to facts from the passages, is it consistent with previous steps. If invalid reasoning is detected, the model receives corrective feedback before the error propagates further down the chain. This allows degradation to be stopped at an early stage, rather than trying to "retrospectively" explain why the final answer should be considered correct.

Results and conclusions

On three multi-step QA benchmarks, SAFE showed an average accuracy improvement of 8.8 percentage points. This result in itself confirms the main thesis: it is more beneficial for models not just to "think aloud," but to have control over every link in the reasoning chain.

But something else is more important — the shift in the evaluation paradigm itself. Instead of a post-hoc judgment of "is the answer correct," SAFE offers step-by-step verification of reasoning. This approach better reflects the real needs of systems where traceability of the solution is important.

Summary

SAFE is a step towards more reliable LLMs that can be used in tasks requiring well-founded conclusions. Verification during generation, reliance on a knowledge graph, and atomic steps make reasoning transparent and controllable. For AI tool developers, this is a signal: the future lies not with "big and confident" models, but with systems that can check themselves at every step.

Frequently asked questions

Related materials

All materials
SAFE: how to check every step of LLM multi-step reasoning on the fly