We design a predictive layer for structured-output prediction (SOP) that can be plugged into any neural network guaranteeing its predictions are consistent with a set of predefined symbolic constraints. Our Semantic Probabilistic Layer (SPL) can model intricate correlations, and hard constraints, over a structured output space all while being amenable to end-to-end learning via maximum likelihood. SPLs combine exact probabilistic inference with logical reasoning in a clean and modular way, learning complex distributions and restricting their support to solutions of the constraint. As such, they can faithfully, and efficiently, model complex SOP tasks beyond the reach of alternative neuro-symbolic approaches. We empirically demonstrate that SPLs outperform these competitors in terms of accuracy on challenging SOP tasks including hierarchical multi-label classification, pathfinding and preference learning, while retaining perfect constraint satisfaction. Our code is made publicly available on Github at github.com/KareemYousrii/SPL.

Semantic Probabilistic Layers for Neuro-Symbolic Learning / Ahmed, Kareem; Teso, Stefano; Chang, Kai-Wei; Van den Broeck, Guy; Vergari, Antonio. - ELETTRONICO. - (2022), pp. 1-16. (Intervento presentato al convegno NeurIPS 2022 tenutosi a New Orleans, United States nel 28/11/2022 - 9/12/2022).

Semantic Probabilistic Layers for Neuro-Symbolic Learning

Teso, Stefano;
2022-01-01

Abstract

We design a predictive layer for structured-output prediction (SOP) that can be plugged into any neural network guaranteeing its predictions are consistent with a set of predefined symbolic constraints. Our Semantic Probabilistic Layer (SPL) can model intricate correlations, and hard constraints, over a structured output space all while being amenable to end-to-end learning via maximum likelihood. SPLs combine exact probabilistic inference with logical reasoning in a clean and modular way, learning complex distributions and restricting their support to solutions of the constraint. As such, they can faithfully, and efficiently, model complex SOP tasks beyond the reach of alternative neuro-symbolic approaches. We empirically demonstrate that SPLs outperform these competitors in terms of accuracy on challenging SOP tasks including hierarchical multi-label classification, pathfinding and preference learning, while retaining perfect constraint satisfaction. Our code is made publicly available on Github at github.com/KareemYousrii/SPL.
2022
Advances in Neural Information Processing Systems 35 (NeurIPS 2022)
San Diego, CA
NeurIPS foundation
9781713871088
Ahmed, Kareem; Teso, Stefano; Chang, Kai-Wei; Van den Broeck, Guy; Vergari, Antonio
Semantic Probabilistic Layers for Neuro-Symbolic Learning / Ahmed, Kareem; Teso, Stefano; Chang, Kai-Wei; Van den Broeck, Guy; Vergari, Antonio. - ELETTRONICO. - (2022), pp. 1-16. (Intervento presentato al convegno NeurIPS 2022 tenutosi a New Orleans, United States nel 28/11/2022 - 9/12/2022).
File in questo prodotto:
File Dimensione Formato  
reno38_probabilistic_semantic_layers.pdf

Solo gestori archivio

Descrizione: Manuscript
Tipologia: Pre-print non referato (Non-refereed preprint)
Licenza: Tutti i diritti riservati (All rights reserved)
Dimensione 740.74 kB
Formato Adobe PDF
740.74 kB Adobe PDF   Visualizza/Apri
NeurIPS-2022-semantic-probabilistic-layers-for-neuro-symbolic-learning-Paper-Conference.pdf

accesso aperto

Tipologia: Versione editoriale (Publisher’s layout)
Licenza: Tutti i diritti riservati (All rights reserved)
Dimensione 562.89 kB
Formato Adobe PDF
562.89 kB Adobe PDF Visualizza/Apri

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11572/364703
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus ND
  • ???jsp.display-item.citation.isi??? ND
social impact