Semantic objective functions: A distribution-aware method for adding logical constraints in deep learning

Miguel Angel Mendez-Lucero, Enrique Bojorquez Gallardo, Vaishak Belle

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

Issues of safety, explainability, and efficiency are of increasing concern in learning systems deployed with hard and soft constraints. Loss-function based techniques have shown promising results in this area, by embedding logical constraints during neural network training. Through an integration of logic and information geometry, we provide a construction and theoretical framework for these tasks that generalize many approaches. We propose a loss-based method that embeds knowledge—enforces logical constraints—into a machine learning model that outputs probability distributions. This is done by constructing a distribution from the logical formula, and constructing a loss function as a linear combination of the original loss function with the Fisher-Rao distance or Kullback-Leibler divergence to the constraint distribution. This construction is primarily for logical constraints in the form of propositional formulas (Boolean variables), but can be extended to formulas of a first-order language with finite variables over a model with compact domain (categorical and continuous variables), and others statistical models that is to be trained with semantic information. We evaluate our method on a variety of learning tasks, including classification tasks with logic constraints, transferring knowledge from logic formulas, and knowledge distillation.
Original languageEnglish
Title of host publication Proceedings of the 17th International Conference on Agents and Artificial Intelligence - Volume 3
Subtitle of host publicationICAART
EditorsAna Paula Rocha, Luc Steels, H. Jaap van den Herik
PublisherSCITEPRESS
Pages909-917
Number of pages9
Volume3
ISBN (Electronic)9789897587375
DOIs
Publication statusPublished - 25 Feb 2025
Event17th International Conference on Agents and Artificial Intelligence - Porto, Portugal
Duration: 23 Feb 202525 Feb 2025
Conference number: 17
https://icaart.scitevents.org/?y=2025

Publication series

NameICAART
PublisherSciTePress
ISSN (Electronic)2184-433X

Conference

Conference17th International Conference on Agents and Artificial Intelligence
Abbreviated titleICAART 2025
Country/TerritoryPortugal
CityPorto
Period23/02/2525/02/25
Internet address

Keywords / Materials (for Non-textual outputs)

  • semantic objective functions
  • probability distributions
  • logic and deep learning
  • semantic regularization
  • knowledge distillation
  • constraint learning
  • applied information geometry

Fingerprint

Dive into the research topics of 'Semantic objective functions: A distribution-aware method for adding logical constraints in deep learning'. Together they form a unique fingerprint.

Cite this