Precise Verification of Transformers through ReLU-Catalyzed Abstraction Refinement
Hengjie Liu, Zhenya Zhang, Jianjun Zhao

TL;DR
This paper introduces a novel verification method for transformers that leverages ReLU-based bounds to improve precision, reducing false alarms compared to existing over-approximation techniques.
Contribution
The authors develop two new frameworks for transformer verification using ReLU-based bounds, enhancing accuracy while maintaining efficiency.
Findings
Significant precision improvement over baseline methods.
Effective verification across different transformer architectures.
Balanced trade-off between accuracy and computational efficiency.
Abstract
Formal verification of transformers has become increasingly important due to their widespread deployment in safety-critical applications. Compared to classic neural networks, the inferences of transformers involve highly complex computations, such as dot products in self-attention layers, rendering their verification extremely difficult. Existing approaches explored over-approximation methods by constructing convex constraints to bound the output ranges of transformers, which can achieve high efficiency. However, they may sacrifice verification precision, and consequently introduce significant approximation error that leads to frequent occurrences of false alarms. In this paper, we propose a transformer verification approach that can achieve improved precision. At the core of our approach is a novel usage of ReLU, by which we represent a precise but non-linear bound for dot products…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
