- Rating
- 5
- Clarity
- 3
- Confidence
- 4
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
The paper studies theoretical foundations of operator learning with the transformer architecture. The approach considered in the paper is to embed functions as (empirical versions of) graph measures, and to utilize the recently-developed approximation framework for measure-theoretic transformers. The authors introduce a sub-class of transformers which are guaranteed to map graph measures to graph measures, and hence can be used for function-to-function operator learning. The authors prove two universal approximation results, one which holds in a uniform sense and applies to any continuous function graph transformer, and one which applies to mappings between spaces of irregular functions and holds in a weaker sense. In the appendix, the authors complement their theoretical results with some numerical demonstrations.
Strengths and weaknesses
Strengths:
- The paper tackles a very important problem in mathematical/scientific machine learning: as transformers play a prominent role in the development of scientific foundation models, it is paramount to develop rigorous guarantees for their application to scientific tasks, such as operator learning. This paper takes important steps in this endeavor by connecting operator learning to the measure-theoretic interpretation of transformers,
- The paper is well-written, using precise mathematical notation and providing rigorous proofs of all main results (which are correct to the best of my knowledge, though I have not checked each proof line-by-line).
- The numerical results nicely complement the theory.
- The approximation results for irregular function spaces are interesting and relevant to many applications (e.g. solution operator learning for low-regularity PDEs).
Weaknesses:
- The results are only qualitative, there are no bounds on how large the number of transformer parameters or the number of samples need to be to achieve a given approximation error.
- Although the approximation results for irregular function spaces is one of the main contributions, it is unclear to me whether the graph transformer architecture is particularly important for this. The framework is based on mollifying the non-smooth inputs and then approximating the corresponding map on the mollified space, but it seems like this idea could be applied to other operator learning architectures; please correct me if I am wrong.
Questions
See my weaknesses section.
Other minor questions/comments:
- Lemma 1: I am confused about the notation in line 153, I thought the map should be a mapping between function spaces and not measure spaces.
- Definition 3, just a comment: I do find "function-graph transformer" a confusing name, because it sounds like a subset of the transformer architecture, but it actually refers to any continuous map which preserves graph measures.
- Line 169: It may be worth remarking that and play a similar role to the encoder and decoder in other operator learning architectures.
- Line 171: I think is not yet defined.
- Definition 4: I think the limit should be defined or interpreted in some probabilistic way (e.g. convergence of means or convergence in probability or distribution), otherwise it is not clear in what sense random samples can be regularly distributed.
- Theorem 1: There seems to be some abuse of notation with , it defines both the interval and the depth of the transformer.
- Theorem 2: Does the order of limits matter?
Limitations
Yes
Paper formatting concerns
No formatting concerns noticed.
Final justification
The authors clarified the role of the transformer architecture in handling rough inputs, which was my primary point of confusion; I therefore raised my confidence. The design and analysis of architectures to handle operator learning problems between such spaces is a significant contribution to the sciML community, and thus I maintain my recommendation for acceptance.
We thank the reviewer for their particularly through review and suggestions.
Weaknesess
1.) When A is Hölder-regular, the number of parameters and required samples for given accuracy can be bounded. Please see our responses to reviewers xQSb and WVeD regarding quantitative rates.
2.) Our analysis is specific to transformer architectures; it does not apply to FNOs or DeepONets. In particular, Theorem 1 (and by extension Theorem 2) rely on the approximation results from [1], which are specific to softmax-based attention.
At a high level, it may be possible to adapt our graph-measure viewpoint to analyze other architectures, but it is not clear to us that this would a natural approach. We build on the measure-theoretic in-context/pushforward viewpoint for understanding transformers (see for example [2,3]), but to our knowledge this has not been applied as widely to other architectures, including FNO and DeepONet, which are typically designed and analyzed in terms of function spaces, not measure spaces. Transformers act on (permutation-invariant) sequences of tokens encoding pairs (x,h(x)); that is, samples from the graph of h. A key point is that these samples can be from the graph measures of even very rough h; Theorem 2 shows in precisely what sense this statement is true. Please see our response to xQSb for a further discussion of this point.
We note that our analysis is consistent with Transformer architectures used in practice, such as those mentioned in lines 166--169, and is not limited to the simple positional encoding Φ(x)=x.
Questions
1.) Thank you for pointing out this issue in the statement of Lemma 1 in the main text. The Lipschitz condition on line 153 is referring to (L1) on line 666 of the proof, and the unnamed map should be γh↦JΓ(h). It's domain is G:={γh:h∈C(Ω;[−L,L]n)}⊂P(Ω×[−L,L]n) since this map is not defined for the non-graph measures in P(Ω×[−L,L]n). This is correct in the proof apprendix, but needs to be corrected in the main text.
2.) We indeed overload the term "transformer" to mean both the neural network architecture and the class of maps they compute, in particular G_{\Gamma}(\mu) = \Gamma(\mu, \dot)_# \mu (Furuya 2025). In the sense of maps, function graph transformers are a subset of transformers. To avoid confusion, we will change Definition 3 to "function-graph preserving maps" and use the word "transformer" to refer specifically to the architecture (for example, as it is used in Theorem 1).
3.) We agree with this observation, and will include it near line 169.
4.) Thank you for pointing this out, we will move the definition from line 180 to above its first use on line 171.
5.) Definition 4 was given in deterministic setting to make it possible to consider e.g. regular quadrature grids, but after definition, where we consider points X1,X2,… are i.i.d. sampled random, we intended to say that such points are almost surely (a.s.) regularly distributed. The text "a.s." was missing and we will add it in the manuscript.
6.) Thank you for pointing this out, we will change the notation referring to the depth of the transformer in this theorem and its proof.
7.) The order of limits is important, for example if we take first τ→0, then we can not define the measure MN(h) because for negative-index Sobolev functions h∈H−s, point values of generalized functions are not well-defined. For example the Dirac's delta distribution δ0 does not have a well-defined value at point 0. We will add in the paper a discussion of which of the limits can be exchanged.
References
[1] Takashi Furuya, Maarten V. de Hoop, and Gabriel Peyré. Transformers are universal in-context learners. In The Thirteenth International Conference on Learning Representations, 2025b.
[2] Takashi Furuya, Maarten de Hoop, and Matti Lassas. Transformers through the lens of support-preserving maps between measures, 2025a.
[3] Borjan Geshkovski, Cyril Letrouit, Yury Polyanskiy, and Philippe Rigollet. A mathematical perspective on transformers. Bulletin of the American Mathematical Society, 62(3):427–479, 2025.