Skip to main content
QUICK REVIEW

[Paper Review] Neuro-Symbolic Verification on Instruction Following of LLMs

Yiming Su, Kunzhao Xu|arXiv (Cornell University)|Jan 25, 2026
Topic ModelingComputer Science0 citations
TL;DR

Nsvif presents a universal neuro-symbolic verifier that checks if LLM outputs follow prompts by formulating instruction following as a constraint-satisfaction problem, combining logic/semantic constraints with a unified solver, and introducing VifBench for evaluation.

ABSTRACT

A fundamental problem of applying Large Language Models (LLMs) to important applications is that LLMs do not always follow instructions, and violations are often hard to observe or check. In LLM-based agentic workflows, such violations can propagate and amplify along reasoning chains, causing task failures and system incidents. This paper presents NSVIF, a neuro-symbolic framework for verifying whether an LLM's output follows the instructions used to prompt the LLM. NSVIF is a universal, general-purpose verifier; it makes no assumption about the instruction or the LLM. NSVIF formulates instruction-following verification as a constraint-satisfaction problem by modeling user instructions as constraints. NSVIF models both logical and semantic constraints; constraint solving is done by a unified solver that orchestrates logical reasoning and semantic analysis. To evaluate NSVIF, we develop VIFBENCH, a new benchmark for instruction-following verifiers with fine-grained data labels. Experiments show that NSVIF significantly outperforms LLM-based approaches and provides interpretable feedback. We also show that feedback from NSVIF helps improve LLMs' instruction-following capability without post-training.

Motivation & Objective

  • Motivate the need for reliable verification of LLM instruction following to prevent propagation of violations in agentive workflows.
  • Propose a universal verifier that models prompts as constraints and checks outputs via logic and semantic analyses.
  • Enable interpretable feedback by pinpointing which constraint is violated and how the output fails it.
  • Demonstrate effectiveness over LLM-based judges and show potential for improving LLM instruction following without post-training.

Proposed method

  • Formulate instruction following as a first-order logic CSP encoding constraints and their relations.
  • Decompose constraints into logic (symbolic) and semantic (neural) constraints and use a unified SMT solver (Z3) to check feasibility.
  • Use a multi-agent system: formulation agent (extracts constraints and builds a Z3 program), checking agent (generates constraint checkers), and solver agent (executes the CSP).
  • Leverage LLMs for constraint extraction, constraint type classification, and semantic evaluation, with self-reflection loops to repair checker code.
  • Introduce VifBench as a curated dataset with fine-grained constraint-level annotations to evaluate verifiers.
  • Provide feedback mechanisms to improve LLM instruction following without post-training.

Experimental results

Research questions

  • RQ1Can a universal neuro-symbolic verifier accurately determine whether an LLM output follows its prompting instruction across diverse instructions and LLMs?
  • RQ2How does decomposing instructions into logic and semantic constraints impact verification accuracy and interpretability?
  • RQ3Does constraint-level feedback from Nsvif translate into improved LLM instruction following without post-training?
  • RQ4How does Nsvif compare to LLM-based judges in terms of accuracy, precision/recall, and robustness across models?
  • RQ5What is the effect of instruction complexity on verification performance?

Key findings

  • Nsvif significantly outperforms LLM-as-a-judge baselines across multiple models in F1/precision/recall metrics.
  • The CSP-based, neuro-symbolic approach yields interpretable results by pinpointing violated constraints and the reasoning path.
  • A multi-turn feedback loop with Nsvif can guide LLMs to improve instruction following without post-training.
  • A dedicated benchmark (VifBench) with fine-grained constraint labels exposes the limitations of single-label evaluations and enables deeper analysis.
  • Ablation studies show that symbolic reasoning (SMT solver) substantially boosts verification performance over purely semantic checks, while still benefiting from semantic analysis.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.