arXiv:2611.05557cs.LGNov 2026

Manuscript Offprint

arXiv:2611.05557

Support Vector Machines Directly Minimise KL Divergence

Ivan Silajev

ABSTRACT

Support vector machines (SVMs) are fundamentally grounded in geometric margin maximisation and currently lack a mainstream probabilistic interpretation. This keeps them theoretically isolated from probabilistic machine learning models that are naturally comparable and combinable. In this paper, we bridge this gap by proving that the dual objectives of both support vector classification and support vector regression are exact, constrained Kullback-Leibler (KL) divergence minimisation tasks between two Gaussian measures. We further show that this same divergence formulation recovers the exact objective function for kernel ridge regression when domain constraints are removed and L2L^2 regularisation is applied. By demonstrating that SVM duals directly minimise relative entropy, our results provide a unified information-theoretic model for standard kernel machines and lay the foundation for unifying broader kernel-based algorithms under probability theory.

1 INTRODUCTION

Support vector machines (SVMs) are machine learning algorithms based on maximising the geometric distance of points from different classes from the separating plane in classification and minimising the distance of points from the ε\varepsilon-insensitive tube in regression (Hofmann et al., 2008, Section 3). In essence, SVMs minimise the following objective function:

L(w,b):=12∥w∥2+C∑i=1nl(yi,⟨w,ϕ(xi)⟩+b)(1)L(w,b):=\frac{1}{2}\|w\|^2+C\sum_{i=1}^n l(y_i,\langle w,\phi(x_i)\rangle+b) \tag{1}

where w∈Hw \in H and b∈Rb \in \mathbb{R} represent the parameters to be optimised, xi∈Xx_i \in \mathcal{X} and yi∈Ry_i \in \mathbb{R} represent the training data for the indices i∈[1,n]Zi \in [1,n]_{\mathbb{Z}} for some n∈Nn \in \mathbb{N}. ϕ:X→H\phi: \mathcal{X} \to H is a feature mapping, and the inner product ⟨⋅,⋅⟩:H×H→R\langle \cdot, \cdot \rangle: H \times H \to \mathbb{R} defines the norm ∥⋅∥:H→[0,∞)\|\cdot\|: H \to [0,\infty) by the identity ∥h∥:=⟨h,h⟩\|h\| := \sqrt{\langle h,h \rangle} for all h∈Hh \in H. The definition of the loss function l:R×R→Rl: \mathbb{R} \times \mathbb{R} \to \mathbb{R} depends on whether the objective is classification or regression. C∈[0,∞)C \in [0,\infty) is a hyper-parameter and HH is an inner product space. In the classification case, we have the following loss function:

l(y,x)=lbin(y,x):=max⁡(0,sign(y)(y−x))(2)l(y,x)=l_{\mathrm{bin}}(y,x):=\max(0,\mathrm{sign}(y)(y-x)) \tag{2}

When the target data yiy_i take values in {−1,1}\{-1,1\}, we have sign(y)=y\mathrm{sign}(y)=y and y2=1y^2=1 and the classification loss function is reduced to its familiar form lbin(y,x)=max⁡(0,1−yx)l_{\mathrm{bin}}(y,x)=\max(0,1-yx). Meanwhile, in the regression case we have the following loss function for some ε>0\varepsilon>0:

l(y,x)=lreg(y,x):=max⁡(0,∣y−x∣−ε)(3)l(y,x)=l_{\mathrm{reg}}(y,x):=\max(0,|y-x|-\varepsilon) \tag{3}

SVMs do not yet have a mainstream probabilistic and statistical interpretation. There have been attempts at formulating specific likelihood functions, the maximisation of which reproduce SVMs in Franc et al. (2011) and ways of connecting SVMs to Gaussian processes in Sollich (1999). Additional contributions include maximum entropy discrimination Jaakkola et al. (1999), which generalises the margin maximisation problem in classification as a constrained Kullback-Leibler divergence minimisation problem; however, it derives classical SVMs probabilistically only through the

12∥w∥2\frac{1}{2}\|w\|^2 component of the primal objective, while the hinge loss component is left as a result of a Lagrange multiplier. These attempts require theory-heavy techniques to reproduce SVMs, thus leaving the geometric interpretation to remain as the primary way of introducing the algorithm.

The lack of a general probabilistic and statistical interpretation of SVMs keeps them theoretically separate from other probabilistic machine learning algorithms. This is a problem because it deprives the field of a unified mathematical model for systems that learn from data rooted in probability theory. Machine learning algorithms that are unified under probability theory have the advantage of being comparable, combinable, and interpretable. Examples of successful work that combine machine learning algorithms under a single probabilistic theory include Alshammari et al. (2025).

In light of these challenges, we introduce a probabilistic interpretation of SVMs by expressing their dual objectives exactly as Kullback-Leibler divergence minimisation tasks with constrained parameter spaces. This is in contrast to maximum entropy discrimination Jaakkola et al. (1999), as in our approach, the dual objective functions for both support vector classification and regression are expressed as the divergence between two Gaussian measures. We further demonstrate that this divergence serves as the exact objective function for kernel ridge regression.

We begin the paper with section 2 which covers the theoretical preliminaries necessary for understanding the notation we use in our derivation, including the definition of the Kullback-Leibler divergence and its physical interpretation, as well as a subsection on defining the Hilbert space of measurable functions and a Gaussian measure on the Borel space of the said Hilbert space. Next, in section 3 we demonstrate the primary result and its derivation, starting with the generalised description of the primal problem for SVMs, then an end to end derivation of the generalised dual problem for SVMs, finally finishing off with the direct comparison of the generalised dual with the divergence between two specific Gaussian measures to show their equivalence. Furthermore, we extend our result to demonstrate that this divergence also serves as the objective function for kernel ridge regression. Before ending the section, we show how the classical dual objective for SVMs is derived exactly as a result of restricting the Hilbert space on which the Gaussian measures are defined to be finite dimensional. Finally, in section 4 we conclude the paper with table 1, which summarises the primary differences between the machine learning algorithms analysed in this paper through the lens of our unifying theory, as well as a light overview of the type of research for which this paper will be useful. Section 5 is reserved for showcasing the proofs of the theorems stated in this paper.