We propose KILL (Knowledge Injection via Lambda Layer) as a novel method for the injection of symbolic knowledge into neural networks (NN) allowing data scientists to control what the network should (not) learn. Unlike other similar approaches, our method does not (i) require ground input formulae, (ii) impose any constraint on the NN undergoing injection, (iii) affect the loss function of the NN. Instead, it acts directly at the backpropagation level, by increasing penalty whenever the NN output is violating the injected knowledge. Experiments are reported to demonstrate the potential (and limits) of our approach.

A view to a KILL: Knowledge Injection via Lambda Layer / Matteo Magnini, Giovanni Ciatto, Andrea Omicini. - ELETTRONICO. - 3261:(2022), pp. 61-76. (Intervento presentato al convegno WOA 2022 – 23rd Workshop “From Objects to Agents” tenutosi a Genova, Italy nel 1–3 September 2022).

A view to a KILL: Knowledge Injection via Lambda Layer

Matteo Magnini;Giovanni Ciatto;Andrea Omicini
2022

Abstract

We propose KILL (Knowledge Injection via Lambda Layer) as a novel method for the injection of symbolic knowledge into neural networks (NN) allowing data scientists to control what the network should (not) learn. Unlike other similar approaches, our method does not (i) require ground input formulae, (ii) impose any constraint on the NN undergoing injection, (iii) affect the loss function of the NN. Instead, it acts directly at the backpropagation level, by increasing penalty whenever the NN output is violating the injected knowledge. Experiments are reported to demonstrate the potential (and limits) of our approach.
2022
WOA 2022 – 23rd Workshop “From Objects to Agents”
61
76
A view to a KILL: Knowledge Injection via Lambda Layer / Matteo Magnini, Giovanni Ciatto, Andrea Omicini. - ELETTRONICO. - 3261:(2022), pp. 61-76. (Intervento presentato al convegno WOA 2022 – 23rd Workshop “From Objects to Agents” tenutosi a Genova, Italy nel 1–3 September 2022).
Matteo Magnini, Giovanni Ciatto, Andrea Omicini
File in questo prodotto:
Eventuali allegati, non sono esposti

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/11585/899373
 Attenzione

Attenzione! I dati visualizzati non sono stati sottoposti a validazione da parte dell'ateneo

Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 2
  • ???jsp.display-item.citation.isi??? ND
social impact