Manuscript Offprint
arXiv:2610.09617Second-order optimization of variable projection SVM models and road abnormality detection
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Author Accepted Manuscript
This document is the accepted version of the manuscript and is not the final published version.
The final published article is available at:
https://doi.org/10.1109/ICASSP55912.2026.11463454.
Please cite the final published version when referring to this work:
A. Angino, M. Voigt, R. Krause, and T. Dózsa. Second-order optimization of variable projection SVM models and road abnormality detection. In ICASSP 2026 – 2026 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 1641–1645, Barcelona, Spain, 2026.
© 2026 IEEE.
Matthias Voigt
Rolf Krause
Tamás Dózsa
- Faculty of Mathematics and Computer Science, UniDistance Suisse, Brig, Switzerland
† CEMSE Division, KAUST, Thuwal, Saudi Arabia
Eötvös Loránd University, Faculty of Informatics, Department of Numerical Analysis
ABSTRACT
We introduce a novel second-order optimization framework for minimizing so-called variable projection functionals. We demonstrate that the proposed framework is especially useful for the training of variable projection based kernel methods. In particular, the problem of efficiently training variable projection support vector machines (VP-SVMs) is considered. We show the effectiveness of the proposed training methodology in a real-world application, namely we demonstrate how second-order trust region algorithms can be used to train VP-SVM models to recognize road surface abnormalities based on 1D signals obtained from a tire sensor.
Index Terms— Variable projection, support vector machines, trust-region, intelligent tires
1. INTRODUCTION
Artificial intelligence (AI) methods have become a crucial component of many state-of-the-art signal processing algorithms in recent years. The main advantage of ML methods is their ability to approximate nonlinear operators in a purely data-driven manner. Unfortunately, ML methods, especially those that rely on deep learning, often suffer from a lack of explainability. This is mainly due to the size of current models: Deep neural networks often contain tens of millions of parameters [1]. The lack of interpretable parameters makes the deployment of ML models difficult in safety-critical applications such as fault detection in critical infrastructure.
Although many papers [1–5] focus on introducing new transparent AI architectures to mitigate these problems, training methods that exploit the structural properties associated with them are less frequent. In this work, we demonstrate that second-order trust-region (TR) methods can be an effective tool to optimize the parameters of so-called variable projection support vector machines (VP-SVMs), see [4]. VP-SVMs were recently introduced in [4] to improve the interpretability and performance of classical SVM classifiers. VP-SVMs contain interpretable parameters and therefore fit well with the transparent AI paradigm. The key component of a VP-SVM model is an adaptive feature transformation step, which transforms the data samples to be classified to a low-dimensional space. The (physically meaningful) parameters of this transformation are optimized together with the weights of the SVM classifier.
SVMs (and kernel methods in general) are difficult to train on large datasets. Indeed, the associated kernel matrix scales with the number of training signals [4,6]. In the case of VP-SVM, this problem is even more significant since the kernel also depends on learnable parameters. In order to make the training problem numerically tractable for VP-SVM, in [4], a reduced objective is proposed together with the use of stochastic subgradient methods. This, however, may lead to suboptimal classification and a lack of interpretability.
In this paper, we propose second-order training methods to address these challenges. In particular, we show that the training time of a VP-SVM model that can recognize road surface abnormalities (such as potholes or bumps), see [7, 8], can be greatly reduced with a properly chosen second-order training scheme. In fact, as our experiments show, the generalization abilities of the classifier will improve significantly, despite the reduction to the cost of training.
In particular, we derive analytic formulas for the second-order derivatives of Moore-Penrose pseudo-inverses and variable projection operators as well as Hessians of primal quadratic VP-SVM objectives. Then, we show how second-order optimization schemes can be used to efficiently train VP-SVM classifiers to recognize road surface abnormalities. For reproducibility, we refer to our implementation [9] that also contains comparisons between different training schemes. Although our results are stated for VP-SVM, they can be extended to any kernel-based models, where the kernels depend on learnable parameters.
2. VARIABLE PROJECTION OPERATORS
First, we consider separable nonlinear least squares (SNLLS) problems, VP operators, and their connection to feature extraction in ML. Let be a Hilbert space of functions with . Suppose is a linearly independent system in for all parameter vectors . Hence-forth, we shall consider the vectors where for with . We shall assume that the sampling points are chosen such that the vectors remain linearly independent in .
Since are linearly independent, they span an -dimensional subspace . It is well known (see, e.g., [10]) that for a fixed there exists , such that is minimal. In fact, with the standard Euclidean inner product , ( ) holds, that is, is the orthogonal projection of onto . The projection operator which satisfies can be expressed by
where and denotes its Moore-Penrose pseudoinverse. Because this projection depends on , is often referred to as a variable projection (VP) operator. In addition to , we will make use of the feature transformation defined by
which provides the coordinates of with respect to the basis . This transformation can be interpreted as a dimension reduction and feature extraction step. If some a priori information is known about the behavior of (e.g., quasi compactness, quasi periodicity, etc.) then the functions can be chosen so that their parameter contains physically meaningful information (see, e.g., [3–5]). Given such a family, it is reasonable to ask, if any parameter minimizes
Minimizing the functional in Eq. (2) is also known as a SNLLS problem. In [11], Golub and Pereyra provide analytic formulas for the Jacobian of and . Thanks to their contribution, minimizing Eq. (2) can be done with gradient-based optimization schemes. This gives rise to a large number of applications (see, e.g., [3] and [12]).
3. VP-SVM MODELS
Consider the dataset and its labeled version .
Our objective is to identify a nonlinear SVM , , where and is a reproducing kernel of a reproducing kernel Hilbert space (RKHS) [13]. The purpose of is to lift the data samples , to a higher dimensional space, where a separating hyperplane between the classes, defined by , might be found. In this work, following the reasoning in [4], we restrict our investigation to the radial basis function (RBF) kernel defined by for some . It is well-known [14] that an appropriately chosen feature extraction transformation can significantly improve classification performance. In this work we will consider the transformation , as defined in (1), which is learned jointly with the weights of the underlying classifier, i.e.,
The goal of training a VP-SVM classifier is to find appropriate parameters and for the model defined in Eq. (3). This can be done, for example (see [4]), by solving
(4)
where
and where are weighting constants for the different terms, and denotes the j-th column of the matrix K. The quadratic loss term B defines a classical SVM and is twice differentiable, except for the case where a sample is exactly on the separating hyperplane.
4. SECOND-ORDER DIFFERENTIATION OF VP-OPERATORS
In our training approach, we will incorporate curvature information, we use first and second-order derivatives of the objective functional in Eq. (4). While in practice automatic differentiation tools can produce these, we now proceed with providing the required formulas, focusing first on the regularization term in Eq. (4). The gradient of this term can be found in [3, p. 5, Eq. (9)], while its Hessian is given by
(5)
Notice that first- and second-order derivatives of the variable projection operator are needed to evaluate Eq. (5). The first-order derivatives can be found in [4], while an elementary calculation shows that for ,
where denotes the orthogonal complement operator of and its derivative is given by accordingly. Finally, to fully express the Hessian of , we need to provide the second-order derivatives of the pseudoinverse . Like before, the first-order formulas can be found in the literature (see, e.g., [6]), while the corresponding second partial derivatives for are given by
where , are assumed to exist and be known for a given function system which defines .
The partial derivatives of and from Eq. (4) also need to be determined. For first-order and second-order derivatives with respect to , we refer to [6]. Assuming that the kernel is twice differentiable, for we obtain . The second-order partial derivatives of for are then given by
Furthermore, for we obtain
Finally, the mixed derivatives are expressed by
(6)
In Eq. (6), we assume that the first entries of the label vector are exactly the ones for which . Furthermore, we define the diagonal matrix by , where
5. EXPERIMENTS
We now show how second-order information can be used to train a VP-SVM classifier to recognize road surface abnormalities. We rely on the dataset introduced in [7]. The dataset contains a total of 1D signals recorded on the public road network of Budapest. The signals correspond to voltage changes in a tire-implanted force sensor and thus to tire deformation. The signals have been segmented into single tire revolutions and zero-padded, producing compactly supported waveforms of equal length. For information about measurements and signal characteristics, we refer to [7].
The first few adaptive Hermite functions [15] can be used to effectively approximate the tire signals [7]. For this reason, we choose as the discrete, equidistant sampling of the -th adaptive Hermite function [5] defined by
where denotes the k-th classical Hermite polynomial [16]. Importantly, for adaptive Hermite functions, the existence of a global solution for minimizing Eq. (2) is proven in [5]. Finally, we note that the dilation parameter s can be used to model the support of the signals and thus vehicle speed, making the representation interpretable. In [7], a total of 11 adaptive Hermite functions are proposed to obtain the features. VP-based neural networks then achieve an average of accuracy on the dataset. In contrast, we use the much simpler VP-SVM model and represent the signals using only 5 Hermite-Fourier coefficients. Regardless, as seen in Table 1, our proposed training scheme is able to achieve performance close to the state-of-the-art.
In particular, we compare the performance of gradient descent (GD) and the TR method proposed in Algorithm 6.1.1 of [17] for training VP-SVM (see Eq. (4)). The GD method uses first-order information only. Note that performing a line search along the negative gradient direction would be prohibitive due to the multiple kernel evaluations required at each iteration. Therefore, we fix a small learning rate of , as commonly done in stochastic gradient methods. In contrast, the TR approach leverages the second-order derivative discussed earlier to define the model and determine the search direction as an approximate solution to the trust region subproblem (using the Steihaug-Toint method, as outlined in [18]). To the best of our knowledge, this is the first time second-order methods have been used to train a kernel-based classifier, where the kernel also depends on learnable parameters. A key advantage of TR methods is that when a step is rejected, re-evaluating the Hessian along with 1st and 2nd kernel derivative evaluations is not required. Another advantage over approaches that rely on multiple objective function evaluations is that, in the case of a rejected step, TR only requires a single kernel evaluation per iteration.
All experiments are performed with initial weights and parameters for dilation and translation, fixed regularization parameters , , and . From Figure 1, we observe that the TR method achieves a faster reduction in the loss and higher accuracy compared to GD on both training and test sets. The bottom plot confirms that the TR method effectively reduces the gradient norm, whereas GD exhibits slower decay.
Table 1: Summary of VP-SVM classification performance.
| Alg. | #It | Avg Acc. | Min Acc. | Max Acc. | Time (s) | |
|---|---|---|---|---|---|---|
| TR | 15 | 95.5% | 92.2% | 98.1% | 9.16e-04 | 1.73 |
| 25 | 96.3% | 93.2% | 98.1% | 2.24e-04 | 5.39 | |
| GD | 25 | 72.3% | 68.0% | 77.9% | 1.57e-02 | 0.33 |
| 125 | 83.9% | 79.6% | 88.5% | 7.52e-03 | 1.68 | |
| 250 | 88.2% | 85.4% | 93.3% | 4.82e-03 | 3.39 | |
| 500 | 91.3% | 89.3% | 95.2% | 2.10e-03 | 6.78 | |
| 1000 | 92.1% | 90.3% | 96.2% | 8.24e-04 | 13.63 |
All experiments were conducted on a workstation with an Intel(R) Xeon(R) W-2123 CPU @ 3.60GHz, 64 GB RAM, and Python 3.10.12 with Pytorch 2.4.0 using automatic differentiation. All models were trained using the CPU.

Fig. 1: Top and middle: Objective function and accuracy for both TR and GD on training and test sets. Bottom: Gradient norm evolution over time for TR and GD on the training set.
Table 1 reports the classification performance obtained by training VP-SVM. Both the GD and TR solvers are evaluated using a 5-fold cross-validation. The table summarizes the mean gradient norms and accuracies, together with the minimum and maximum values across the different tests. The results show that TR consistently outperforms GD, achieving higher accuracy with substantially fewer iterations and time. TR reaches a given performance level much faster, whereas GD requires more than two times the training time and still fails to achieve TR's accuracy.
6. CONCLUSION
In this paper, we proposed second-order training schemes for VP-SVM classifiers. We provided the necessary analytic formulas and demonstrated the effectiveness of TR training schemes using second-order information.
DATA AND CODE AVAILABILITY
Data and code to reproduce the results are available in [9].
ACKNOWLEDGMENT
The research of TD has received funding from the Swiss Government Excellence Scholarship No. 2025.0057. The research of AA was funded in part by the Swiss National Science Foundation (SNSF) grant No. 224943. The project was supported by the University Excellence Fund of Eötvös Loránd University, Budapest, Hungary (ELTE). Project no. K146721 has been implemented with the support provided by the Ministry of Culture and Innovation of Hungary from the National Research, Development and Innovation Fund, financed under the K_23 "OTKA" funding schemes.
7. REFERENCES
[1] Z. C. Lipton, “The mythos of model interpretability: In machine learning, the concept of interpretability is both important and slippery,” Queue, vol. 16, no. 3, pp. 31–57, 2018.
[2] G. E. Karniadakis, I. G. Kevrekidis, L. Lu, P. Perdikaris, S. Wang, and Liu L. Yang, “Physics-informed machine learning,” Nature Reviews Physics, vol. 3, no. 6, pp. 422–440, 2021.
[3] P. Kovács, G. Bognár, C. Huber, and M. Huemer, “VP-NET: Variable projection networks,” International Journal of Neural Systems, vol. 32, no. 01, pp. 2150054, 2022.
[4] T. Dózsa, F. Deuschle, B. Cornelis, and P. Kovács, “Variable projection support vector machines and some applications using adaptive Hermite expansions,” International Journal of Neural Systems, vol. 34, no. 01, pp. 2450004, 2024.
[5] T. Dózsa, C. Böck, J. Meier, and P. Kovács, “Weighted Hermite variable projection networks for classifying visually evoked potentials,” IEEE Transactions on Neural Networks and Learning Systems, vol. 36, no. 7, pp. 12415–12428, 2025.
[6] O. Chapelle, “Training a support vector machine in the primal,” Neural Computation, vol. 19, no. 5, pp. 1155–1178, 2007.
[7] T. Dózsa, J. Radó, J. Volk, Á. Kisari, A. Soumelidis, and P. Kovács, “Road abnormality detection using piezoresistive force sensors and adaptive signal models,” IEEE Transactions on Instrumentation and Measurement, vol. 71, pp. 1–11, 2022.
[8] T. Dózsa, V. Jurdana, S. B. Segota, J. Volk, J. Radó, Alexandros A. Soumelidis, and P. Kovács, “Road type classification using time-frequency representations of tire sensor signals,” IEEE Access, vol. 12, pp. 53361–53372, 2024.
[9] A. Angino, M. Voigt, R. Krause, and T. Dózsa, “Second-order optimization of variable projection support vector machine models and road abnormality detection: implementation,” 2025, doi: 10.5281/zenodo.17129636.
[10] P. P. Petrushev and V. A. Popov, Rational Approximation of Real Functions, vol. 28 of Encyclopedia of Mathematics and its Applications, Cambridge University Press, Cambridge, UK, 1988.
[11] G. H. Golub and V. Pereyra, “The differentiation of pseudo-inverses and nonlinear least squares problems whose variables separate,” SIAM Journal on Numerical Analysis, vol. 10, no. 2, pp. 413–432, 1973.
[12] G. H. Golub and V. Pereyra, “Separable nonlinear least squares: the variable projection method and its applications,” Inverse Problems, vol. 19, no. 2, pp. R1, 2003.
[13] M. O. Stitson, J. A. E. Weston, A. Gammerman, V. Vovk, and V. Vapnik, “Theory of support vector machines,” Tech. Rep. CSD-TR-96-19, University of London, Department of Computer Science, Dec. 1996, Available at https://yu.ac.kr/~shkwon/lectures/ic/svm/svm_1.pdf.
[14] I. Goodfellow, Y. Bengio, and A. Courville, Deep Learning, Adaptive Computation and Machine Learning Series. MIT Press, Cambridge, MA, USA, 2016.
[15] T. Dózsa and P. Kovács, “ECG signal compression using adaptive Hermite functions,” in ICT Innovations 2015, Cham, Switzerland, 2016, pp. 245–254, Springer International Publishing.
[16] G. Szegő, Orthogonal Polynomials, vol. 23 of Colloquium Publications, AMS, Providence, RI, USA, 4th edition, 1975.
[17] A. R. Conn, N. I. M. Gould, and P. L. Toint, Trust Region Methods, MPS-SIAM Series on Optimization. SIAM, Philadelphia, PA, USA, 2000.
[18] J. B. Erway, P. E. Gill, and J. D. Griffin, “Iterative methods for finding a trust-region step,” SIAM Journal on Optimization, vol. 20, no. 2, pp. 1110–1131, 2009.