The University of Southampton
University of Southampton Institutional Repository

Logic of differentiable logics: towards a uniform semantics of DL

Logic of differentiable logics: towards a uniform semantics of DL
Logic of differentiable logics: towards a uniform semantics of DL

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. Keywords: Differentiable Logic, Fuzzy Logic, Probabilistic Logic, Machine Learning, Training with Constraints, Types.

declarative semantics, Differentiable Logic, Fuzzy Logic, machine learning, probabilistic logic, types
2398-7340
473-493
EasyChair
Ślusarz, Natalia
368b7981-c4b3-4ddb-aa83-3243088a1172
Komendantskaya, Ekaterina
f12d9c23-5589-40b8-bcf9-a04fe9dedf61
Daggitt, Matthew L.
7788a0b1-f07e-4b37-b34a-77b7d6ad4005
Stewart, Robert
3b99f51f-d1fe-4783-a845-5668e67b72bb
Stark, Kathrin
295a14fb-f7f3-4acb-8b94-844199274978
Piskac, Ruzica
Voronkov, Andrei
Ślusarz, Natalia
368b7981-c4b3-4ddb-aa83-3243088a1172
Komendantskaya, Ekaterina
f12d9c23-5589-40b8-bcf9-a04fe9dedf61
Daggitt, Matthew L.
7788a0b1-f07e-4b37-b34a-77b7d6ad4005
Stewart, Robert
3b99f51f-d1fe-4783-a845-5668e67b72bb
Stark, Kathrin
295a14fb-f7f3-4acb-8b94-844199274978
Piskac, Ruzica
Voronkov, Andrei

Ślusarz, Natalia, Komendantskaya, Ekaterina, Daggitt, Matthew L., Stewart, Robert and Stark, Kathrin (2023) Logic of differentiable logics: towards a uniform semantics of DL. Piskac, Ruzica and Voronkov, Andrei (eds.) In Proceedings of 24th International Conference on Logic for Programming, Artificial Intelligence and Reasoning. vol. 94, EasyChair. pp. 473-493 . (doi:10.29007/c1nt).

Record type: Conference or Workshop Item (Paper)

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. Keywords: Differentiable Logic, Fuzzy Logic, Probabilistic Logic, Machine Learning, Training with Constraints, Types.

Text
Logic_of_Differentiable_Logics_Towards_a_Uniform_Semantics_of_DL - Version of Record
Available under License Other.
Download (1MB)

More information

Published date: 3 June 2023
Additional Information: Funding Information: This work was supported by the EPSRC grant EP/T026952/1, AISEC: AI Secure and Explainable by Construction and the EPSRC DTP Scholarship for N. S´lusarz. We thank anonymous referees, James McKinna, Wen Kokke, Bob Atkey and Emile Van Krieken for valuable comments on the early versions of this paper, and Marco Casadio for contributions to the Vehicle implementation. Publisher Copyright: © 2023, EasyChair. All rights reserved.
Venue - Dates: 24th International Conference on Logic for Programming, Artificial Intelligence and Reasoning, LPAR 2023, , Manizales, Colombia, 2023-06-04 - 2023-06-09
Keywords: declarative semantics, Differentiable Logic, Fuzzy Logic, machine learning, probabilistic logic, types

Identifiers

Local EPrints ID: 482739
URI: http://eprints.soton.ac.uk/id/eprint/482739
ISSN: 2398-7340
PURE UUID: 7831ca6d-30bf-41f5-898d-96ac59d32e79

Catalogue record

Date deposited: 12 Oct 2023 16:38
Last modified: 17 Mar 2024 05:09

Export record

Altmetrics

Contributors

Author: Natalia Ślusarz
Author: Ekaterina Komendantskaya
Author: Matthew L. Daggitt
Author: Robert Stewart
Author: Kathrin Stark
Editor: Ruzica Piskac
Editor: Andrei Voronkov

Download statistics

Downloads from ePrints over the past year. Other digital versions may also be available to download e.g. from the publisher's website.

View more statistics

Atom RSS 1.0 RSS 2.0

Contact ePrints Soton: eprints@soton.ac.uk

ePrints Soton supports OAI 2.0 with a base URL of http://eprints.soton.ac.uk/cgi/oai2

This repository has been built using EPrints software, developed at the University of Southampton, but available to everyone to use.

We use cookies to ensure that we give you the best experience on our website. If you continue without changing your settings, we will assume that you are happy to receive cookies on the University of Southampton website.

×