Function regression using the forward forward training and inferring paradigm
Shivam Padmani, Akshay Joshi
TL;DR
This work extends Forward-Forward learning from classification to function regression, reframing regression as in-tol/out-tol classification and training each layer with a goodness-based objective. It uses a cosine-similarity goodness with a fixed per-layer vector and a layer-wise loss to maximize positive-versus-negative discrimination, with inference aggregating layer goodness across candidate labels. The method is demonstrated on 1D, 2D, and 3D functions, revealing sensible mean predictions and reduced uncertainty with more data and epochs, while noting a goodness-inversion near tol regions and occasional difficulty with highly periodic components. Preliminary explorations of Kolmogorov Arnold Networks and Deep Physical Neural Networks are reported, alongside a comparison to backpropagation on standard hardware, which is faster but may not capture the energy-efficiency advantages of FF in analog contexts.
Abstract
Function regression/approximation is a fundamental application of machine learning. Neural networks (NNs) can be easily trained for function regression using a sufficient number of neurons and epochs. The forward-forward learning algorithm is a novel approach for training neural networks without backpropagation, and is well suited for implementation in neuromorphic computing and physical analogs for neural networks. To the best of the authors' knowledge, the Forward Forward paradigm of training and inferencing NNs is currently only restricted to classification tasks. This paper introduces a new methodology for approximating functions (function regression) using the Forward-Forward algorithm. Furthermore, the paper evaluates the developed methodology on univariate and multivariate functions, and provides preliminary studies of extending the proposed Forward-Forward regression to Kolmogorov Arnold Networks, and Deep Physical Neural Networks.
