- Rating
- 5
- Clarity
- 3
- Confidence
- 3
- Originality
- 2
- Quality
- 3
- Significance
- 3
Read review
Summary
This paper addresses the lack of theoretical foundation for Transformers in functional data classification by establishing, for the first time, a rigorous statistical learning framework. The authors propose a Transformer architecture with extended attention windows that achieves minimax-optimal excess risk bounds for infinite-dimensional functional classification problems without relying on traditional dimensionality reduction steps. The core theoretical contribution lies in revealing the "dense-sparse phase transition" phenomenon: when the sampling frequency exceeds a critical threshold relative to the sample size, the classifier attains optimal dense observation rates; conversely, the paper precisely characterizes the degradation of convergence rates under sparse sampling. Both simulation and real-world experiments validate the theoretical predictions, demonstrating that Transformers offer a novel approach to functional classification that is both competitive and theoretically sound.
Strengths and weaknesses
Strengths:
- Quality: The paper constructs a fairly complete theoretical framework, from defining the nonparametric class of functional data classification problems to introducing the Functional Transformer architecture and further establishing minimax optimality under dense observations and phase transition characterization under sparse observations. The three theorems form a closed-loop theoretical argument.
- Clarity: The overall organizational structure is well-designed, and the symbol definitions are comprehensive.
- Significance: The Transformer is widely used in functional data analysis, but it lacks the support of statistical learning theory. This paper is the first to provide the minimax optimality theory for functional classification of the Transformer, which provides a theoretical basis for the application of the Transformer in the FDA field.
- Originality: For the first time, the approximate theory of the Transformer was applied to the functional classification problem. This combination is original. Weaknesses:
- Quality: The core highlight of the theory is the dense-to-sparse phase transition, but the experimental part does not seem to have verified this phase transition phenomenon. In addition, the experiment compared FDNN, ViT, CNN, QD, and NB, but did not include classic functional classification methods such as FPCA + LDA and functional support vector machines.
- Clarity: Section 2.1's description of the FT architecture contains numerous mathematical symbols and parameters. It is recommended to add a brief conceptual explanation to clarify the function of each component.
- Significance: The FT architecture of this paper essentially applies the Transformer to the projection scores of the function basis (such as the Fourier basis). This "projection first, then Transformer" approach is not a completely new architectural paradigm; many existing functional deep learning methods also adopt a similar approach. The main innovation of this paper lies in the theoretical proof rather than the architecture design itself.
- Originality: There have been numerous studies on the paradigm of using function basis projection + neural network in FDA (FPCA + NN, FDNN, etc.). FT essentially applies Transformer to the coefficient sequence after basis projection, which is similar to the operation approach of ViT on image patches. The functional specificity of the architecture is mainly reflected in the design of the embedding layer, but the degree of innovation is limited.
Questions
- The most distinctive theoretical contribution of the paper is the dense-sparse phase transition phenomenon revealed in Theorem 3.3, which provides the critical sampling frequency threshold. However, the experimental part (sections 4-5) never changed the sampling frequency m to verify this prediction. Readers cannot know whether the phase transition threshold truly exists and whether FT is indeed superior to other methods in sparse sampling. It is recommended to change the sampling frequency (m = 5, 10, 20, 50, 100, 200), and draw the curves of the misclassification rate of FT, FDNN, and a classic method (such as FPCA + LDA) varying with m.
- The comparison with other methods in the sparse sampling scenario is lacking. The comparison methods used in the experiment all operate under dense sampling. If one of the core advantages of FT is sparse scenarios, then when m is very small, will FT still be superior to FDNN and the classic FDA methods?
Limitations
Yes
Paper formatting concerns
No
Final justification
I recommend accepting this paper. The reason is that it is the first to establish a rigorous minimax optimality theory for the Transformer in functional data analysis and reveals an unknown "dense-sparse phase transition" phenomenon, fundamentally answering the core application question of "can sampling more density leverage the advantages of the Transformer". The technical depth of the paper is impressive. It not only completely abandons the strong assumption of traditional methods relying on limited truncation, allowing the decision boundary to depend on an infinite number of potential directions, but also proves its statistical non-improvability through matched upper and lower bounds; even more commendable is that the authors precisely couple the reconstruction error of discrete observations with the classification margin loss, deriving the critical threshold between the sampling frequency and the sample size , providing quantitative guidance for actual sensor deployment. The experimental design is efficient and highly persuasive. In non-Gaussian, complex interaction simulation scenarios and zero-shot video tasks with severe motion blur, this classifier significantly outperforms existing methods, fully verifying the robustness predicted by the theory. This work fills a significant gap between Transformer theory and infinite-dimensional non-parametric classification, and its insight into the adaptive expansion of the attention window with the sample size has a profound impact on future architecture design.
We thank the reviewer for recognizing the completeness of the theoretical framework. We address the phase-transition evidence, additional baselines, presentation, and novelty below.
W1, Q1, and Q2. Phase-transition experiment and classical baselines.
We completed the requested resolution sweep for all six DGPs. The 1D settings use m∈{10,20,30,50}, the 2D settings use 102,202,302, and the 3D settings use 103,153,203, with n∈{40,100,200,400} throughout. Every method is re-tuned at each resolution.
Table 1 reports FT's resolution path for every DGP and sample size. Table 2 compares FT with FDNN, the two added FPCA baselines, and the strongest remaining comparator at the low- and high-resolution endpoints for n=400.
Table 1. FT misclassification rates (%) from the lowest to the highest resolution. Each cell reports low resolution → high resolution.
Table 2. Low- to high-resolution comparison at n=400. Entries are misclassification rates (%). “Best other” is the strongest method other than FT, FDNN, FPCA+LDA, and FPCA+SVM at each endpoint. Bold marks the lowest error at each endpoint.
FT improves with resolution in 21 of 24 comparisons. The three exceptions all occur in DGP6, where the increases are only 0.14, 0.10, and 0.01 percentage points for n=100,200, and 400. We interpret DGP6 as nearly insensitive to resolution and do not claim monotone finite-sample error in m. At n=400, FT has the lowest high-resolution error in DGP1, DGP2, DGP3, DGP4, and DGP6. In DGP5, CNN remains better by 0.15 percentage points. At the lowest resolution, ViT or CNN is stronger in several multidimensional settings. We report these cases directly and do not claim universal FT superiority or exact recovery of the asymptotic threshold.
We also added FPCA+LDA and FPCA+SVM, with both fitted to FPCA scores in every dimension. For 1D data, they are reported alongside QD, NB, and FDNN. In DGP1, FT is best for every examined n and m. In DGP2, QD or NB can be competitive at the coarsest grids for small n, but at m=50 FT improves on the strongest classical method by 19.51–28.95 percentage points. For 2D and 3D data, the FPCA-based LDA and SVM classifiers complement FDNN, CNN, and ViT. These are standard dimension-reduction-based functional baselines, not same-representation controls for FT.
On the real data, FPCA+SVM is the strongest alternative for two nearly separable speech tasks, but FT remains lower. Table 3 reports the complete real-data comparison. The full resolution tables and line plots will be incorporated in the final version.
Table 3. Real-data misclassification rates (%). Parentheses give standard errors; bold marks the lowest mean error for each task.
W2. Clarity of Section 2.1.
We agree that the formal presentation introduces too many symbols before giving the reader a conceptual map. We will place the following explanation before the definitions: the embedding converts a function into an ordered sequence of latent tokens; attention mixes information across latent directions; a shared neural network assigns a score to each refined token; and a weighted readout aggregates these scores into the final decision. Figure 1 will be relabeled, and a compact component table will define J (retained tokens), U (attention range), H (heads), D (embedding dimension), L (network depth), and P (network width).
W3 and W4. Significance and originality.
We agree that “basis projection followed by a neural network” is not a new architectural paradigm. We will revise the Introduction and contribution statement so that the claim is not attached to the projection step itself.
For a complete orthonormal basis, the mapping X↦(⟨X,ϕj⟩)j≥1 is an isometric one-to-one coordinate representation of L2(S). At the population level, it does not impose finite-dimensional reduction. The posterior class can depend on infinitely many coordinates under mixed or anisotropic smoothness. The finite J used in computation is only a sieve.
The closest prior theory, FDNN, studies dense functional classification under a finite-truncation approximation structure. Our theory instead derives architecture-free lower bounds for an infinite-sequence posterior class, proves that FT attains the corresponding rate up to logarithmic factors, and quantifies the additional unavoidable error under discrete observation. These are different structural and theoretical questions, even though both methods begin with functional coefficients.
Prior Transformer approximation theory also does not directly yield our result. We must connect approximation to classification excess risk under the margin condition, bound the estimation complexity of the attention class, prove matching lower bounds over the functional posterior class, and carry reconstruction error through the empirical coefficients. Attention provides a shared, data-adaptive aggregation mechanism that attains the derived rate. We do not claim that attention is the only possible rate-attaining architecture.
Additional evidence on representation and attention choices.
We also completed a Fourier-score versus FPCA-score Transformer comparison and an expanded joint J/U sensitivity analysis, reported in Tables 2 and 1, respectively, of our response to Reviewer a3fr. Fourier-score FT has lower mean error in all six DGPs at n=400, by 0.20–11.87 percentage points. The J/U analysis covers representative 1D, 2D, and 3D settings. Increasing J reduces the best observed error by 3.28, 6.40, and 5.14 percentage points in DGP1, DGP3, and DGP5. For every examined J, the best tested local window also has lower mean error than full attention at the same representation size. These results support a sufficiently rich Fourier sieve with validation-selected locality, without claiming that Fourier or local attention is universally optimal.