arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2307.15907cs.LGcs.FL
收藏

一种综合二值化神经网络的自动机理论方法

An Automata-Theoretic Approach to Synthesizing Binarized Neural Networks

National University of Defense Technology(国防科技大学);ShanghaiTech University(上海科技大学);Institute of Software, Chinese Academy of Sciences(中国科学院软件研究所);University of Chinese Academy of Sciences(中国科学院大学);Automotive Software Innovation Center(汽车软件创新中心)

Ye Tao, Wanwei Liu, Fu Song, Zhen Liang, Ji Wang, Hongxu Zhu

AI总结:

本文提出一种基于自动机理论的二值化神经网络合成方法,利用BLTL时序逻辑规约和SMT求解器,在训练前确定网络超参数,有效提升了网络的个体公平性和局部鲁棒性并保持精度。

摘要:

深度神经网络(DNNs,又称NNs)已广泛应用于各种任务,并被证明是成功的。然而,其伴随的昂贵计算和存储成本使得在资源受限设备上的部署成为一个重要问题。为了解决这个问题,量化作为一种有效的方法应运而生,通过将浮点数量化为低宽度定点表示,以极小的精度损失来降低DNNs的成本。量化神经网络(QNNs)已被开发出来,其中二值化神经网络(BNNs)被限制为二进制值,作为一种特殊情况。关于神经网络的另一个问题是其脆弱性和缺乏可解释性。尽管对DNNs的可信性研究很活跃,但针对QNNs提出的方法却很少。为此,本文提出了一种自动机理论方法来合成满足指定属性的BNNs。更具体地说,我们定义了一种称为BLTL的时序逻辑作为规约语言。我们展示了每个BLTL公式都可以转换为有限词上的自动机。为了处理状态爆炸问题,我们在实际实现中提供了一种基于tableau的方法。对于合成过程,我们利用SMT求解器在构建过程中检测模型(即BNN)的存在性。值得注意的是,合成提供了一种在训练前确定网络超参数的方法。此外,我们通过实验评估了我们的方法,并证明了其在提高BNNs的个体公平性和局部鲁棒性方面的有效性,同时在很大程度上保持了精度。

英文摘要:

Deep neural networks, (DNNs, a.k.a. NNs), have been widely used in various tasks and have been proven to be successful. However, the accompanied expensive computing and storage costs make the deployments in resource-constrained devices a significant concern. To solve this issue, quantization has emerged as an effective way to reduce the costs of DNNs with little accuracy degradation by quantizing floating-point numbers to low-width fixed-point representations. Quantized neural networks (QNNs) have been developed, with binarized neural networks (BNNs) restricted to binary values as a special case. Another concern about neural networks is their vulnerability and lack of interpretability. Despite the active research on trustworthy of DNNs, few approaches have been proposed to QNNs. To this end, this paper presents an automata-theoretic approach to synthesizing BNNs that meet designated properties. More specifically, we define a temporal logic, called BLTL, as the specification language. We show that each BLTL formula can be transformed into an automaton on finite words. To deal with the state-explosion problem, we provide a tableau-based approach in real implementation. For the synthesis procedure, we utilize SMT solvers to detect the existence of a model (i.e., a BNN) in the construction process. Notably, synthesis provides a way to determine the hyper-parameters of the network before training.Moreover, we experimentally evaluate our approach and demonstrate its effectiveness in improving the individual fairness and local robustness of BNNs while maintaining accuracy to a great extent.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑