paper-with-me

홈 › Papers

QVIP: An ILP-based Formal Verification Approach for Quantized Neural Networks

2022-12-10 · Yedi Zhang, Zhe Zhao, Fu Song, Min Zhang, Taolue Chen, Jun Sun

Deep learning has become a promising programming paradigm in software development, owing to its surprising performance in solving many challenging tasks. Deep neural networks (DNNs) are increasingly being deployed in practice, but are limited on resource-constrained devices owing to their demand for computational power. Quantization has emerged as a promising technique to reduce the size of DNNs with comparable accuracy as their floating-point numbered counterparts. The resulting quantized neural networks (QNNs) can be implemented energy-efficiently. Similar to their floating-point numbered counterparts, quality assurance techniques for QNNs, such as testing and formal verification, are essential but are currently less explored. In this work, we propose a novel and efficient formal verification approach for QNNs. In particular, we are the first to propose an encoding that reduces the verification problem of QNNs into the solving of integer linear constraints, which can be solved using off-the-shelf solvers. Our encoding is both sound and complete. We demonstrate the application of our approach on local robustness verification and maximum robustness radius computation. We implement our approach in a prototype tool QVIP and conduct a thorough evaluation. Experimental results on QNNs with different quantization bits confirm the effectiveness and efficiency of our approach, e.g., two orders of magnitude faster and able to solve more verification tasks in the same time limit than the state-of-the-art methods.

📄 PDF Abstract BibTeX arXiv:2212.11138

Code (1)

qvip22/data 공식 구현

Tasks

Quantization

Similar Papers 제목 키워드 기반

Scalable Verification of Quantized Neural Networks (Technical Report)

2020-12-15 · Thomas A. Henzinger, Mathias Lechner, Đorđe Žikelić

Formal verification of neural networks is an active topic of research, and recent advances have significantly increased the size of the networks that verification tools can handle. However, most methods are designed for …

Computational EfficiencyQuantization

Towards Efficient Verification of Quantized Neural Networks

2023-12-20 · Pei Huang, Haoze Wu, Yuting Yang, Ieva Daukantas 외

Quantization replaces floating point arithmetic with integer arithmetic in deep neural network models, providing more efficient on-device inference with less power and memory. In this work, we propose a framework for for…

Heuristic SearchQuantization

Transformer Encoder Satisfiability: Complexity and Impact on Formal Reasoning

2024-05-28 · Marco Sälzer, Eric Alsmann, Martin Lange

We analyse the complexity of the satisfiability problem, or similarly feasibility problem, (trSAT) for transformer encoders (TE), which naturally occurs in formal verification or interpretation, collectively referred to …

Verifying Quantized GNNs With Readout Is Decidable But Highly Intractable

2025-10-09 · Artem Chernobrovkin, Marco Sälzer, François Schwarzentruber, Nicolas Troquard arxiv

We introduce a logical language for reasoning about quantized aggregate-combine graph neural networks with global readout (ACR-GNNs). We provide a logical characterization and use it to prove that verification tasks for …

Neural Network Compression of ACAS Xu Early Prototype is Unsafe: Closed-Loop Verification through Quantized State Backreachability

2022-01-17 · Stanley Bak, Hoang-Dung Tran

ACAS Xu is an air-to-air collision avoidance system designed for unmanned aircraft that issues horizontal turn advisories to avoid an intruder aircraft. Due the use of a large lookup table in the design, a neural network…

Collision AvoidanceNeural Network CompressionQuantization