Download PDFOpen PDF in browser

Logic of Differentiable Logics: Towards a Uniform Semantics of DL

21 pagesPublished: June 3, 2023

Abstract

Differentiable logics (DL) have recently been proposed as a method of training neural networks to satisfy logical specifications. A DL consists of a syntax in which specifications are stated and an interpretation function that translates expressions in the syntax into loss functions. These loss functions can then be used during training with standard gradient descent algorithms. The variety of existing DLs and the differing levels of formality with which they are treated makes a systematic comparative study of their properties and implementations difficult. This paper remedies this problem by suggesting a meta-language for defining DLs that we call the Logic of Differentiable Logics, or LDL. Syntactically, it generalises the syntax of existing DLs to FOL, and for the first time introduces the formalism for reasoning about vectors and learners. Semantically, it introduces a general interpretation function that can be instantiated to define loss functions arising from different existing DLs. We use LDL to establish several theoretical properties of existing DLs and to conduct their empirical study in neural network verification.

Keyphrases: declarative semantics, Differentiable Logic, Fuzzy Logic, machine learning, probabilistic logic, types

In: Ruzica Piskac and Andrei Voronkov (editors). Proceedings of 24th International Conference on Logic for Programming, Artificial Intelligence and Reasoning, vol 94, pages 473--493

Links:
BibTeX entry
@inproceedings{LPAR2023:Logic_of_Differentiable_Logics,
  author    = {Natalia \textbackslash{}'Slusarz and Ekaterina Komendantskaya and Matthew Daggitt and Robert Stewart and Kathrin Stark},
  title     = {Logic of Differentiable Logics: Towards a Uniform Semantics of DL},
  booktitle = {Proceedings of 24th International Conference on Logic for Programming, Artificial Intelligence and Reasoning},
  editor    = {Ruzica Piskac and Andrei Voronkov},
  series    = {EPiC Series in Computing},
  volume    = {94},
  pages     = {473--493},
  year      = {2023},
  publisher = {EasyChair},
  bibsource = {EasyChair, https://easychair.org},
  issn      = {2398-7340},
  url       = {https://easychair.org/publications/paper/Qw1c},
  doi       = {10.29007/c1nt}}
Download PDFOpen PDF in browser