NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Modern Non-Linear Function-on-Function Regression

Aniruddha Rajendra Rao, Matthew Reimherr · DOI

Introduction

In the field of Functional Data Analysis (FDA), data is treated as continuous functions—such as temperature curves or stock price trajectories—rather than discrete, independent points. While linear models for functional data are well-established, they often fail to capture the complex, non-linear interactions inherent in real-world processes. The "function-on-function" regression problem, where both predictors and responses are continuous curves, is particularly challenging. Traditional approaches often rely on additive structures that ignore cross-temporal dependencies, such as how a morning weather event might disproportionately impact evening energy consumption. This paper introduces a novel deep learning framework designed to handle these complexities while preserving the continuous nature of functional data.

Methodology

The researchers propose a unified framework for non-linear function-on-function regression through two primary architectures: Function-on-Function Direct Neural Networks (FFDNN) and Function-on-Function Basis Neural Networks (FFBNN).

Continuous Hidden Layers

The core innovation of this framework is the use of "continuous hidden layers." Unlike previous functional neural network designs that often reduced functional inputs to scalar values after the first layer, this architecture maintains the functional form throughout the network.

Architecture of the proposed Functional Neural Network with continuous hidden layers.

As shown in the figure above, the model maps input functions through successive layers of "continuous neurons." This is achieved by using bivariate weight functions $w(s, t)$ that define the mapping between layers. To optimize these models, the authors derived functional gradients using Fréchet derivatives, allowing for backpropagation directly on the weight functions.

Direct vs. Basis Approaches

  1. FFDNN: Operates directly on a dense grid of data points, using weight surfaces to map input curves to subsequent layers.
  2. FFBNN: Represents weight functions using basis expansions (e.g., B-splines). This approach is more parsimonious and robust to irregularly sampled or sparse data.

To ensure the learned models remain interpretable and stable, the framework incorporates Roughness Penalization. This technique encourages the learned weight surfaces to be smooth, preventing the model from overfitting to noise and resulting in more physically plausible representations.

Experimental Evaluation

The models were rigorously tested against synthetic datasets and two real-world applications:

  • Adelaide Electricity Demand: Predicting half-hourly electricity demand curves based on daily temperature profiles.
  • Washington D.C. Bike Rentals: Modeling hourly casual bike rental counts using daily temperature curves.

Key Results

The proposed models consistently outperformed traditional Functional Linear Models (FFLM) and existing functional neural network architectures.

  • Simulation Performance: In complex quadratic scenarios, FFDNN achieved an RMSE of 2.293, significantly lower than the FFLM (6.777) and prior functional neural network designs (3.575).
  • Real-World Accuracy: On the Adelaide electricity dataset, FFDNN reached an RMSE of 126.2, outperforming the next best method, the Continuously Additive Model (CAM), which had an RMSE of 140.9.
  • Computational Efficiency: The FFBNN variant proved particularly efficient, reducing the parameter space through basis expansion without sacrificing predictive accuracy.

Discussion and Conclusion

The primary contribution of this work is the "functional all the way down" approach. By maintaining the functional structure across all layers, the model preserves critical temporal and spatial context. The use of bivariate weights allows the model to naturally capture lagged effects, where an event at one time point in the predictor influences the response at a different time point.

While the empirical results are promising, several areas for future research remain. The current framework is optimized for dense data; adapting it for highly sparse or fragmented observations is a key challenge. Additionally, further development of the formal statistical theory—such as consistency and asymptotic normality for continuous layers—will be necessary to fully integrate these deep learning methods into the statistical toolkit. Despite these hurdles, the inclusion of roughness penalties provides a path toward balancing the high predictive power of neural networks with the interpretability required in functional data analysis.

Summary updated

BibTeX
@article{rao2021modern,
  author = {Aniruddha Rajendra Rao and Matthew Reimherr},
  title = {{Modern Non-Linear Function-on-Function Regression}},
  journal = {Stat. Comput.},
  year = {2021},
  doi = {10.1007/s11222-023-10299-z},
}
Figure