Manuscript Offprint

arXiv:2610.37370

The Geometry of Manifold Learning: Singular foliations via Deep Learning models

Gabriele Novelli, Eliot Tron, Emanuele Latini, Rita Fioresi

Gabriele Novelli 1^{1}, Eliot Tron 2^{2}, Emanuele Latini 3^{3}, Rita Fioresi 4∗^{4*}

1^{1}Dipartimento FIM, Università di Modena, via Campi 213/A, Modena, I-41125, Italy.

2^{2} SAMM, Université Paris 1 Panthéon Sorbonne, 31 rue Baudricourt, Paris, 75013, France.

3^{3}Dipartimento di Matematica, Università di Bologna, Piazza Porta San Donato 5, Bologna, I-40126, Italy.

4^{4}FaBiT, Università di Bologna, via S. Donato 15, Bologna, I-40126, Italy.

*Corresponding author(s). E-mail(s): rita.fioresi@unibo.it; Contributing authors: 378046@studenti.unimore.it; eliot.tron@univ-paris1.fr; emanuele.latini@unibo.it;

Abstract. Deep learning algorithms have become widely used and successful across a wide range of tasks. A key challenge is determining whether these algorithms truly capture the intrinsic geometry of their training data in order to better understand what they learn from data. In this theoretical work, we explore a new geometric structure defined on the data space by a trained neural network through the Data Information Matrix (DIM), a variation of the Fisher Information Matrix. This new geometric structure is a foliation and the main focus of this work is to explore the non-smooth case of ReLU activation functions, where traditional geometric tools often fail. The foliation is defined through a distribution spanned by the columns of the DIM. We first prove that this distribution is non-smooth in the sense of distributions, rendering the existence of an associated foliation much more complex. To circumvent this issue, we introduce a smoothed version of this distribution that differs from the original only on a set of measure zero. Finally, we prove that this smoothed distribution induces a singular foliation on the data space, which is based on the data the network has been trained with. Our theoretical contributions provide a geometric framework to better understand how neural networks organize their input space in non-smooth settings, bridging differential geometry and deep learning theory.

1 Introduction

Modern machine learning performs analysis on data laying in a high dimensional data space and yet empirical observations suggest that the meaningful data occupy only a small portion of the data space, a concept going under the general loose terminology of manifold hypothesis [1, 2]. Understanding the geometry of these low-dimensional structures containing valid data in the data space has then become a key question [3]. Existing approaches face this problem studying directly the geometry of data [1, 4, 5], however more recently a different perspective has emerged in [6, 7]: the geometrical structure of a foliation is induced in the data space by a distribution obtained from the parameters of a (partially) trained neural network. Indeed, the gradients of the probability distribution defined by a trained classifier, can be used to define a distribution, strictly related with the dataset the classifier was trained with. This is not surprising, indeed such gradients hold information on how the data is distributed in the data space. This was observed from the very beginning of the theory in [8] and it is for example the idea on which integrated gradients explainability results are based, starting from the seminal [9] to more recent works as [10].

The purpose of this paper is to explain how the notion of singular foliation is fundamental to understand the space on which a dataset is embedded in and how we can exploit it towards the manifold hypothesis in machine learning, by providing the space of data with a natural foliation structure, generalizing the learning manifold perspective. This structure arises from the data-information-matrix (DIM), an analogue in data space of the Fisher information matrix (FIM). The importance of such matrices is well established: previous works like [11] tie the geometry of parameter space with the learning dynamic, by showing that the FIM induces a highly anisotropic geometry in parameter space, which is nearly flat in most directions and strongly distorted along a few directions, and that its largest eigenvalue controls the steepest direction relevant to gradient-descent dynamics. These ideas were furtherly developed in many papers, see [12, 13] and refs. therein. As far as its data space counterpart (the DIM) is concerned, recent works show that the structure emerging by taking the distribution generated by its columns is tied to the amount of noise associated with a point in the data space [6]. However, the full geometric properties of this foliation remain unexplored: key questions concerning the non-smoothness of the distribution and the mechanisms underlying its observed loss of rank are still not fully understood. Recent developments have further demonstrated the applicability of this geometric perspective. In particular, it has been shown in [14] that, by applying the framework of Cartan geometry to the emerging DIM foliation structure, it is possible to identify optimal perturbations for crafting adversarial attacks [15] beyond linearity [16]. Singular Riemannian geometry has also been used to study 1-D equivalent classes in [17–19].

The present work proposes that a framework going beyond the manifold hypothesis, exploiting the theory of singular distributions and singular foliations to provide the data space with a natural geometric structure. This is especially relevant for ReLU networks, whose piecewise-linear structure naturally leads to distributions with varying rank and limited regularity. The ReLU activation function is indeed very popular in deep learning and the complexity of such networks have been explored for instance by Hanin and Rolnick [20, 21].

This paper is organized as follows.

In Sec. 2, we recall known facts regarding information geometry and the Fisher and Data Information Matrices (FIM, DIM). More details are found in [13, 22–25].

In Sec. 3, we briefly summarize the theory of singular distributions and we show in Thm. 3.2, App. A that the DIM naturally defines a non smooth distribution for a ReLU network convolutional classifier. For more details on prerequisites see [26–29].

In Sec. 4, we briefly summarize the theory of singular foliations, we recap the main key results: Frobenius theorem and Stefan-Sussmann theorem [6, 30]. We then see a key application of such results to ReLU network convolutional classifiers and we see the integrability of the smooth distribution D^\hat{D} Prop. 4.4 obtained from ReLU network convolutional classifiers and the DIM distribution.

References (31)