On the Two-fold Role of Logic Constraints in Deep Learning

Invited seminar at the University of Cambridge – 29/04/2022

http://talks.cam.ac.uk/talk/index/173735

00:00 Introduction
04:09 Learning with Constraints
10:57 Minimizing supervised data in an Active Learning context
20:36 Defending from Adversarial Attacks
30:56 Creating an Explainable-by-Desgin Network
40:47 Q&A

In the last few years, Deep Learning (DL) has achieved impressive results in a variety of problems ranging from computer vision to natural language processing. Nonetheless, the excitement around the field may remain disappointed since there are still many open issues. To mitigate some of these problems, we consider the Learning from Constraints framework. In this setting learning is conceived as the problem of finding task functions while respecting the constraints representing the available knowledge. We provide an application in the Active Learning scenario where First-Order Logic knowledge is converted into constraints and their violation is checked as a guide for sample selection. Also, we propose to employ domain knowledge to defend from Adversarial Attacks since it provides a natural guide to detect adversarial examples. While some relationships are known properties of the considered environments, DNNs can also autonomously develop new relation patterns. Therefore, we also propose a novel Learning of Constraints formulation which aims at understanding which logic constraints are satisfied by the task functions. This allows explaining DNNs, otherwise commonly considered black-box classifiers. In a first case, we propose a pair of neural networks, where one learns the relationships among the outputs of the other one and provides First-Order Logic (FOL)-based descriptions. In a second case, we propose an end-to-end differentiable approach, extracting logic explanations from the same classifier. The method relies on an entropy-based layer which automatically identifies the most relevant concepts. It enables the distillation of concise logic explanations in several safety-critical domains, outperforming state-of-the-art white-box models.

On the Two-fold Role of Logic Constraints in Deep Learning


Post a Comment

0 Comments