ZonoGPT: Towards An Abstract Domain for Verifying Large GPT Models
Abstract
Transformer-based models are widely used for reasoning, coding, and multimodal agentic tasks. To provide formal assurance of desirable behaviors, such as robustness, safety, and fairness, neural network verification techniques prove required properties and provide auditable guarantees before deployment. However, prior work remains limited to small or restricted Transformers, and maintaining precision across deep models remains challenging. In this work, we introduce ZonoGpt, an abstract domain for verifying large transformers that maintains a space complexity independent of network depth. ZonoGpt uses a structured zonotope and a generator reduction mechanism to efficiently preserve correlations. To maintain precision, it introduces block-specific fused transformations for Attention and LayerNorm that retain feature relations, along with an affine transform for GELU that preserves generator relations. These mechanisms enable ZonoGpt to be the first approach to verify standard architectures, scaling to official HuggingFace models up to GPT-2 Medium (24 blocks, 300M+ parameters) and successfully verifying 1,339 instances across text and vision tasks.
Create a lesson
Metadata
- Categories
- cs.LG, cs.SE
Related papers
δ-APO: Domain Adaptive Policy Optimization for Large Multimodal Learning
Shared title terminologycs.LGThanh-Dat Truong, Huu-Thien Tran, Vinh-Tiep Nguyen et al.
RIVET: Router-Informed, Verifier-Guided Expert Tailoring for MoE Self-Speculative Decoding
Shared title terminologycs.LGYunhao Wang, Hongyu Zhao, Zhenjia Mo et al.
Laying Off Experts: Domain-Conditioned Pruning of Mixture-of-Experts Models
Shared title terminologycs.LGChinmayee Raman, Haolin Yang, Reza Rawassizadeh
From Subspaces to Manifolds: Local Range-Null Decompositions for Domain Generalization
Shared title terminologycs.LGAristeidis Bifis, Emmanouil Z. Psarakis
Geometric Subspace Learning for Domain Generalization
Shared title terminologycs.LGAristeidis Bifis, Emmanouil Z. Psarakis
UnlearningSoup: Is Repeated Tuning Necessary for Large Language Model Unlearning?
Shared title terminologycs.LGPuning Yang, Qizhou Wang, Junchi Yu et al.