Boosting-Based Construction of BDDs for Linear Threshold Functions and Its Application to Verification of Neural Networks

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

Understanding the characteristics of neural networks is important but difficult due to their complex structures and behaviors. Some previous work proposes to transform neural networks into equivalent Boolean expressions and apply verification techniques for characteristics of interest. This approach is promising since rich results of verification techniques for circuits and other Boolean expressions can be readily applied. The bottleneck is the time complexity of the transformation. More precisely, (i) each neuron of the network, i.e., a linear threshold function, is converted to a Binary Decision Diagram (BDD), and (ii) they are further combined into some final form, such as Boolean circuits. For a linear threshold function with n variables, an existing method takes O(n2n2) time to construct an ordered BDD of size O(2n2) consistent with some variable ordering. However, it is non-trivial to choose a variable ordering producing a small BDD among n! candidates. We propose a method to convert a linear threshold function to a specific form of a BDD based on the boosting approach in the machine learning literature. Our method takes O(2npoly (1 / ρ) ) time and outputs BDD of size O(n2ρ4ln1ρ), where ρ is the margin of some consistent linear threshold function. Our method does not need to search for good variable orderings and produces a smaller expression when the margin of the linear threshold function is large. More precisely, our method is based on our new boosting algorithm, which is of independent interest. We also propose a method to combine them into the final Boolean expression representing the neural network. In our experiments on verification tasks of neural networks, our methods produce smaller final Boolean expressions, on which the verification tasks are done more efficiently.

Original languageEnglish
Title of host publicationDiscovery Science - 26th International Conference, DS 2023, Proceedings
EditorsAlbert Bifet, Ana Carolina Lorena, Rita P. Ribeiro, João Gama, Pedro H. Abreu
PublisherSpringer Science and Business Media Deutschland GmbH
Pages477-491
Number of pages15
ISBN (Print)9783031452741
DOIs
Publication statusPublished - 2023
Event26th International Conference on Discovery Science, DS 2023 - Porto, Portugal
Duration: Oct 9 2023Oct 11 2023

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume14276 LNAI
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference26th International Conference on Discovery Science, DS 2023
Country/TerritoryPortugal
CityPorto
Period10/9/2310/11/23

All Science Journal Classification (ASJC) codes

  • Theoretical Computer Science
  • General Computer Science

Fingerprint

Dive into the research topics of 'Boosting-Based Construction of BDDs for Linear Threshold Functions and Its Application to Verification of Neural Networks'. Together they form a unique fingerprint.

Cite this