# Poster 29285

- Kind: Poster
- Talk page and recording: https://iclr.cc/virtual/2025/poster/29285

> Transcript of the talk's recording (session_asr), made by speech recognition or taken from the host's captions. It may contain errors. The words are the speakers'; listen to the recording on the talk's page before quoting it.

Hi, today I'm going to present the paper titled Geometry of Lightness of Attention, Identifiability and Dimension by Nathan Henry, me Giovanni Marchetti and Kathleen Conn. The starting point is the following. A machinery model typically parametrizes a space of functions as its parameters vary.
The space is usually referred to as the neural manifold of the corresponding model. Now the geometry of the neural manifold is central in several machine learning aspects.
The following table is taken from our recent work, where we connect several aspects of deep learning to their corresponding geometric features of the neural manifold. For example, sample complexity and expressivity of the model are related to the dimension of the neural manifold. The implicit bias, especially towards sub-networks of a neural network, is related to the singularities.
of the neural manifold. And the identifiability of parameters of a machine learning model is related to the symmetries of the parametrization. All of this motivates the study of the neural manifold of deep neural networks from a geometric perspective.
In this work, the model that we consider are lightning self-attention mechanisms. Lightning means that there is no softmax normalization differently from more traditional attention mechanisms. More formally, given three matrices, the Q, R, T and value matrix respectively,
A lightning self-attention layer is a map that takes in input d -dimensional sequences of length t and outputs d prime-dimensional sequences of length t, as shown in the slide. And a deep self-attention network is obtained by stacking or composing such layers.
Crucially, a digital attention network is polynomial, meaning that the function defined by the model for all the parameters depends polynomially on its input variables and the parameters. This allows us to exploit tools from algebra and algebraic geometry to study the neural manifold.
Our main result addresses completely the problem of the identifiability of parameters of a deep self-attention network. Specifically, we prove the following. For almost all the parameters, the only symmetries of the parameterization are obtained as follows. First, by simultaneously transforming the key and query matrices of a given layer.
Second, by simultaneously transforming the value matrix of a layer and then transforming all the three matrices back at the next layer, and finally rescaling everything. From this, a formula for the dimension of the neural manifold follows immediately. And, as mentioned before, the dimension is closely related to the sample complexity and expressivity of the network.
We also provide additional results. Specifically, we describe the geometry of the neuromanifold for a single layer completely, in particular characterizing its singular and boundary points.
Then we conjecture a similar extension of our result to more traditional self-attention networks with softmax normalization. The slide shows a rendering of the neuromanifold of a single layer of lightning self-attention. On this I conclude my presentation. Thank you.
