使用模糊逻辑和概念嵌入在感知任务中实现深度神经网络的验证
Enabling Verification of Deep Neural Networks in Perception Tasks Using Fuzzy Logic and Concept Embeddings
摘要:
用于安全关键应用的深度卷积神经网络(CNN)的一个主要缺点是其黑盒性质。这使得在已经训练好的计算机视觉CNN上很难验证或监控复杂的符号要求。在这项工作中,我们提出了一个简单而有效的方法来验证一个CNN符合与视觉概念相关的符号谓词逻辑规则。这是第一个:(1)不修改CNN,(2)可以使用没有CNN输入或输出特征的视觉概念,以及(3)可以利用连续的CNN置信度输出。为了实现这一目标,我们新结合了可解释的人工智能和逻辑的方法:首先,使用监督概念嵌入分析,CNN的输出是事后丰富的概念输出。其次,来自先验知识的规则被建模为接受CNN输出的真值函数,并且可以以很少的计算开销进行评估。我们在这里研究模糊逻辑的使用,即,连续的真值,以及适当的输出校准,这在理论上和实际上都显示出轻微的好处。在三个验证用例的最先进的对象检测器上证明了适用性,其中对违反规则的监控可以揭示检测错误。
英文摘要:
One major drawback of deep convolutional neural networks (CNNs) for use in safety critical applications is their black-box nature. This makes it hard to verify or monitor complex, symbolic requirements on already trained computer vision CNNs. In this work, we present a simple, yet effective, approach to verify that a CNN complies with symbolic predicate logic rules which relate visual concepts. It is the first that (1) does not modify the CNN, (2) may use visual concepts that are no CNN in- or output feature, and (3) can leverage continuous CNN confidence outputs. To achieve this, we newly combine methods from explainable artificial intelligence and logic: First, using supervised concept embedding analysis, the output of a CNN is post-hoc enriched by concept outputs. Second, rules from prior knowledge are modelled as truth functions that accept the CNN outputs, and can be evaluated with little computational overhead. We here investigate the use of fuzzy logic, i.e., continuous truth values, and of proper output calibration, which both theoretically and practically show slight benefits. Applicability is demonstrated on state-of-the-art object detectors for three verification use-cases, where monitoring of rule breaches can reveal detection errors.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。