Skip to main content
QUICK REVIEW

[Paper Review] FormalJudge: A Neuro-Symbolic Paradigm for Agentic Oversight

Jiayi Zhou, Yang Sheng|arXiv (Cornell University)|Feb 11, 2026
Ethics and Social Impacts of AISocial Sciences0 citations
TL;DR

FormalJudge uses a neuro-symbolic, bidirectional Formal-of-Thought pipeline where LLMs compile high-level intents into Dafny specifications and SMT solvers verify atomic facts, achieving formal guarantees for agent oversight and outperforming LLM-as-a-Judge baselines.

ABSTRACT

As LLM-based agents increasingly operate in high-stakes domains with real-world consequences, ensuring their behavioral safety becomes paramount. The dominant oversight paradigm, LLM-as-a-Judge, faces a fundamental dilemma: how can probabilistic systems reliably supervise other probabilistic systems without inheriting their failure modes? We argue that formal verification offers a principled escape from this dilemma, yet its adoption has been hindered by a critical bottleneck: the translation from natural language requirements to formal specifications. This paper bridges this gap by proposing , a neuro-symbolic framework that employs a bidirectional Formal-of-Thought architecture: LLMs serve as specification compilers that top-down decompose high-level human intent into atomic, verifiable constraints, then bottom-up prove compliance using Dafny specifications and Z3 Satisfiability modulo theories solving, which produces mathematical guarantees rather than probabilistic scores. We validate across three benchmarks spanning behavioral safety, multi-domain constraint adherence, and agentic upward deception detection. Experiments on 7 agent models demonstrate that achieves an average improvement of 16.6% over LLM-as-a-Judge baselines, enables weak-to-strong generalization where a 7B judge achieves over 90% accuracy detecting deception from 72B agents, and provides near-linear safety improvement through iterative refinement.

Motivation & Objective

  • Motivate the need for reliable oversight of increasingly autonomous LLM-based agents in high-stakes domains.
  • Bridge the gap between natural language requirements and formal verification to provide mathematical guarantees.
  • Propose a bidirectional architecture that decomposes intents into atomic facts and verifies them with SMT solvers.
  • Show that formal verification can outperform purely probabilistic judges across multiple benchmarks and agent models.

Proposed method

  • LLMs function as specification compilers to top-down decompose user intent into atomic, verifiable constraints.
  • Context-aware extraction splits trajectory data into grounded atomic facts via deterministic parsing and LLM-assisted semantic extraction.
  • Gathers Dafny specifications that encode logical composition of atomic facts.
  • Boogie and Z3 SMT solving verify the Dafny-generated specifications to produce a formal verdict.
  • The architecture separates neural semantic extraction from deterministic logical verification to provide provable guarantees.
Figure 1 : Teaser: LLM agents face scalable oversight challenges: it is difficult to identify a reliable oversight agent. While the LLM-as-a-Judge baseline relies on probabilistic Chain-of-Thought reasoning, we introduces a Formal-of-Thought architecture that leverages LLMs as specification compiler
Figure 1 : Teaser: LLM agents face scalable oversight challenges: it is difficult to identify a reliable oversight agent. While the LLM-as-a-Judge baseline relies on probabilistic Chain-of-Thought reasoning, we introduces a Formal-of-Thought architecture that leverages LLMs as specification compiler

Experimental results

Research questions

  • RQ1Can formal verification provide reliable, scalable oversight for agentic trajectories better than probabilistic judges?
  • RQ2Does decomposing oversight into atomic facts and verifying with SMT solvers achieve superior detection of safety failures and deception across agent models?
  • RQ3Can LLMs effectively compile natural-language intents into formal specifications that remain robust across varying agent strengths?
  • RQ4Does iterative, formal feedback enable progressive safety improvements in agent behaviors?

Key findings

  • FormalJudge achieves an average 16.6% improvement over LLM-as-a-Judge baselines across 3 benchmarks and 7 agent models.
  • A 7B judge under FormalJudge achieves over 90% accuracy detecting deception from 72B agents, demonstrating weak-to-strong generalization.
  • Formal verification feedback enables near-linear safety improvement through iterative refinement across three rounds.
  • Structured input helps but cannot bridge the gap to full formal verification, underscoring the need for deterministic composition.
  • Executable Python checks help but do not provide formal guarantees like Dafny+Z3.
  • FormalJudge maintains high detection accuracy across attack sophistication levels and judge model sizes, unlike purely probabilistic baselines.
Figure 2 : The neuro-symbolic architecture and verification pipeline of FormalJudge . Panel (a) outlines the oversight workflow where an LLM compiles user intent into Dafny specifications and extracts atomic facts, enabling a Z3 SMT solver to provide deterministic proofs of correctness independent o
Figure 2 : The neuro-symbolic architecture and verification pipeline of FormalJudge . Panel (a) outlines the oversight workflow where an LLM compiles user intent into Dafny specifications and extracts atomic facts, enabling a Z3 SMT solver to provide deterministic proofs of correctness independent o

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.