The $μ\mathcal{G}$ Language for Programming Graph Neural Networks

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Belenchia, Matteo, Corradini, Flavio, Quadrini, Michela, Loreti, Michele
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866909349123719168
author Belenchia, Matteo
Corradini, Flavio
Quadrini, Michela
Loreti, Michele
author_facet Belenchia, Matteo
Corradini, Flavio
Quadrini, Michela
Loreti, Michele
contents Graph neural networks form a class of deep learning architectures specifically designed to work with graph-structured data. As such, they share the inherent limitations and problems of deep learning, especially regarding the issues of explainability and trustworthiness. We propose $μ\mathcal{G}$, an original domain-specific language for the specification of graph neural networks that aims to overcome these issues. The language's syntax is introduced, and its meaning is rigorously defined by a denotational semantics. An equivalent characterization in the form of an operational semantics is also provided and, together with a type system, is used to prove the type soundness of $μ\mathcal{G}$. We show how $μ\mathcal{G}$ programs can be represented in a more user-friendly graphical visualization, and provide examples of its generality by showing how it can be used to define some of the most popular graph neural network models, or to develop any custom graph processing application.
format Preprint
id arxiv_https___arxiv_org_abs_2407_09441
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle The $μ\mathcal{G}$ Language for Programming Graph Neural Networks
Belenchia, Matteo
Corradini, Flavio
Quadrini, Michela
Loreti, Michele
Formal Languages and Automata Theory
Artificial Intelligence
Machine Learning
D.2.4
Graph neural networks form a class of deep learning architectures specifically designed to work with graph-structured data. As such, they share the inherent limitations and problems of deep learning, especially regarding the issues of explainability and trustworthiness. We propose $μ\mathcal{G}$, an original domain-specific language for the specification of graph neural networks that aims to overcome these issues. The language's syntax is introduced, and its meaning is rigorously defined by a denotational semantics. An equivalent characterization in the form of an operational semantics is also provided and, together with a type system, is used to prove the type soundness of $μ\mathcal{G}$. We show how $μ\mathcal{G}$ programs can be represented in a more user-friendly graphical visualization, and provide examples of its generality by showing how it can be used to define some of the most popular graph neural network models, or to develop any custom graph processing application.
title The $μ\mathcal{G}$ Language for Programming Graph Neural Networks
topic Formal Languages and Automata Theory
Artificial Intelligence
Machine Learning
D.2.4
url https://arxiv.org/abs/2407.09441