TL;DR
This paper introduces a novel framework that automatically translates high-level, natural language specifications into formal numerical constraints for deep neural network (DNN) verification. By leveraging foundation models (LLMs and VLMs) as an integration layer, the framework enables existing verification tools to check complex, context-dependent semantic properties without requiring any modifications to the underlying verification engines.
What Problem Does This Paper Address?
Formal verification tools provide mathematical guarantees that a neural network behaves correctly under specific conditions. However, a massive usability gap hinders their widespread adoption: current verifiers require specifications to be written as low-level numerical constraints (such as $\ell_p$-norm perturbations or fixed input coordinate bounds).
In contrast, real-world safety and correctness requirements are naturally expressed using high-level semantic concepts. For example, a developer might want to verify that "an image classifier correctly identifies a bird even if its beak is occluded."
Manually translating this into pixel-level constraints is not only error-prone and tool-specific, but often impossible to standardize because semantic features like a "beak" change coordinates across different images. This paper tackles this bottleneck by automating the translation from human intent to verifier-ready math.
Methods
Instead of developing new verification algorithms, the authors introduce a lightweight, modular pipeline that bridges the gap between natural language and existing verifiers. The pipeline operates in three distinct stages:
- Parsing: A Large Language Model (LLM), such as GPT-5 Mini or Gemini 3 Flash, ingests the natural language specification and decomposes it into structured components: the target semantic objects and the intended operation (e.g.,
objects: ["bird beak"],action: "occlude"). - Detection (Grounding): An off-the-shelf, open-vocabulary perception model localizes the extracted semantic objects within a specific input sample. For images, the authors use Grounding DINO to generate bounding box coordinates. For audio, they propose using sound event localization models to find temporal segments.
- Specification Generation: A generator takes the localized coordinates and the parsed operation to construct a standard numerical verification query (e.g., masking the pixels inside the bounding box). This query is then passed directly to an off-the-shelf verifier (like $\beta$-CROWN), leaving the core verification machinery completely unchanged.
The workflow also includes an optional interactive user-approval step to ensure the perception model correctly localized the target object before running the computationally heavy verifier.
Datasets
The authors evaluated their framework across two distinct domains:
- Statlog (German Credit Data): A tabular dataset mapping financial and personal customer attributes to credit risk. This was used to test the pipeline on structured, explicit features (e.g., verifying requirements related to an applicant's "age").
- CUB-200-2011: A fine-grained image dataset containing photos of 200 bird species, used to evaluate the pipeline's performance on unstructured, perceptual features (e.g., locating specific bird parts like beaks or legs).
Key Insights and Ideas
- Modularity Over Machinery: The core philosophy is to reuse mature, existing components. By decoupling the semantic understanding (LLMs/VLMs) from the mathematical verification, any independent advancement in foundation models immediately translates to a stronger, more accurate verification pipeline.
- Solving Context-Dependent Specifications: Traditional verification requires a uniform property applied across all inputs. This approach introduces context-grounded verification, where the exact mathematical bounds are dynamically computed based on the unique semantic contents of each individual input sample.
Key Results
The authors evaluated both the parsing and the object detection phases of their pipeline:
- High-Fidelity Parsing: Modern LLMs proved highly reliable at extracting intent. As shown in the evaluation results, both GPT-5 Mini and Gemini 3 Flash achieved parsing accuracies between 85% and 100% for identifying objects and actions across benchmarks. Gemini 3 Flash demonstrated significantly lower latency, processing tabular queries in just over a second.
- Perceptual Grounding Challenges: Localizing fine-grained features in images proved more difficult. On the CUB-200-2011 dataset, the highest accuracy achieved by a single configuration was 55% (using a "loose" thresholding mode). However, looking at the disjunction of all configurations ("any"), the system successfully localized the correct region 83% of the time, highlighting strong potential for multi-mode ensemble methods.
Limitations and Future Work
While the framework successfully demonstrates the feasibility of natural-language verification, a few limitations remain:
- Grounding Accuracy: Fine-grained open-vocabulary object detection is still a bottleneck for fully automated pipelines, occasionally missing or misidentifying complex semantic regions.
- Audio Domain Implementation: While the authors outline the theoretical translation pipeline for audio data (mapping sound events to temporal segments), they did not fully implement or evaluate the audio detection component in this work.
- Future Extensions: The authors plan to extend the framework to video data, support temporal constraints in audio, and transition from coarse bounding boxes to precise pixel-level regions using open-vocabulary segmentation models like Grounded SAM.
Summary updated