Measure-to-measure interpolation using Transformers

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Geshkovski, Borjan, Rigollet, Philippe, Ruiz-Balet, Domènec
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866915795118850048
author Geshkovski, Borjan
Rigollet, Philippe
Ruiz-Balet, Domènec
author_facet Geshkovski, Borjan
Rigollet, Philippe
Ruiz-Balet, Domènec
contents Transformers are deep neural network architectures that underpin the recent successes of large language models. Unlike more classical architectures that can be viewed as point-to-point maps, a Transformer acts as a measure-to-measure map implemented as specific interacting particle system on the unit sphere: the input is the empirical measure of tokens in a prompt and its evolution is governed by the continuity equation. In fact, Transformers are not limited to empirical measures and can in principle process any input measure. As the nature of data processed by Transformers is expanding rapidly, it is important to investigate their expressive power as maps from an arbitrary measure to another arbitrary measure. To that end, we provide an explicit choice of parameters that allows a single Transformer to match $N$ arbitrary input measures to $N$ arbitrary target measures, under the minimal assumption that every pair of input-target measures can be matched by some transport map.
format Preprint
id arxiv_https___arxiv_org_abs_2411_04551
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Measure-to-measure interpolation using Transformers
Geshkovski, Borjan
Rigollet, Philippe
Ruiz-Balet, Domènec
Optimization and Control
Machine Learning
Transformers are deep neural network architectures that underpin the recent successes of large language models. Unlike more classical architectures that can be viewed as point-to-point maps, a Transformer acts as a measure-to-measure map implemented as specific interacting particle system on the unit sphere: the input is the empirical measure of tokens in a prompt and its evolution is governed by the continuity equation. In fact, Transformers are not limited to empirical measures and can in principle process any input measure. As the nature of data processed by Transformers is expanding rapidly, it is important to investigate their expressive power as maps from an arbitrary measure to another arbitrary measure. To that end, we provide an explicit choice of parameters that allows a single Transformer to match $N$ arbitrary input measures to $N$ arbitrary target measures, under the minimal assumption that every pair of input-target measures can be matched by some transport map.
title Measure-to-measure interpolation using Transformers
topic Optimization and Control
Machine Learning
url https://arxiv.org/abs/2411.04551