We proposed in a previous work a geometric framework to study a deep neural network, seen as sequence of maps between manifolds, employing singular Riemannian geometry. In this paper, we present an application of this framework, proposing a way to build the class of equivalence of an input point: such class is defined as the set of the points on the input manifold mapped to the same output by the neural network. In other words, we build the preimage of a point in the output manifold in the input space. In particular. We focus for simplicity on the case of neural networks maps from n–dimensional real spaces to (n−1)–dimensional real spaces, we propose an algorithm allowing to build the set of points lying on the same class of equivalence. This approach leads to two main applications: the generation of new synthetic data and it may provides some insights on how a classifier can be confused by small perturbation on the input data (e.g. a penguin image classified as an image containing a chihuahua). In addition, for neural networks from 2D to 1D real spaces, we also discuss how to find the preimages of closed intervals of the real line. We also present some numerical experiments with several neural networks trained to perform non-linear regression tasks, including the case of a binary classifier.

A singular Riemannian geometry approach to deep neural networks II. reconstruction of 1-D equivalence classes / A. Benfenati, A. Marta. - In: NEURAL NETWORKS. - ISSN 0893-6080. - 158:(2023 Jan), pp. 344-358. [10.1016/j.neunet.2022.11.026]

A singular Riemannian geometry approach to deep neural networks II. reconstruction of 1-D equivalence classes

A. Benfenati
Primo
;
A. Marta
Ultimo
2023

Abstract

We proposed in a previous work a geometric framework to study a deep neural network, seen as sequence of maps between manifolds, employing singular Riemannian geometry. In this paper, we present an application of this framework, proposing a way to build the class of equivalence of an input point: such class is defined as the set of the points on the input manifold mapped to the same output by the neural network. In other words, we build the preimage of a point in the output manifold in the input space. In particular. We focus for simplicity on the case of neural networks maps from n–dimensional real spaces to (n−1)–dimensional real spaces, we propose an algorithm allowing to build the set of points lying on the same class of equivalence. This approach leads to two main applications: the generation of new synthetic data and it may provides some insights on how a classifier can be confused by small perturbation on the input data (e.g. a penguin image classified as an image containing a chihuahua). In addition, for neural networks from 2D to 1D real spaces, we also discuss how to find the preimages of closed intervals of the real line. We also present some numerical experiments with several neural networks trained to perform non-linear regression tasks, including the case of a binary classifier.
Classification problem; Deep learning; Neural network; Riemannian geometry;
Settore MAT/08 - Analisi Numerica
Settore MAT/03 - Geometria
gen-2023
dic-2022
Article (author)
File in questo prodotto:
File Dimensione Formato  
2201.09656.pdf

accesso aperto

Tipologia: Pre-print (manoscritto inviato all'editore)
Dimensione 650.03 kB
Formato Adobe PDF
650.03 kB Adobe PDF Visualizza/Apri
1-s2.0-S0893608022004671-main.pdf

accesso riservato

Tipologia: Publisher's version/PDF
Dimensione 2.94 MB
Formato Adobe PDF
2.94 MB Adobe PDF   Visualizza/Apri   Richiedi una copia
Pubblicazioni consigliate

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/2434/947268
Citazioni
  • ???jsp.display-item.citation.pmc??? 0
  • Scopus 2
  • ???jsp.display-item.citation.isi??? 1
social impact