Coverage

What the software covers

Chapter-by-chapter status of the thesis in smo-solverand optimized-svm. Of 28 items,20 are implemented, 4 partly and 1 planned; the remaining 3 are theory that the code builds on.

ImplementedPartlyPlannedTheory

Training problems (Chapters 2–5)

Sec.TopicStatusIn the software
2–3General training problem, Fenchel duality, representer theoremTheoryUnderlies the generic separable-quadratic dual that smo-solver solves; losses are described as loss terms in optimized-svm.
4.1.1Support vector classification (hinge loss)ImplementedExact hinge (δ = 0) and quadratically smoothed hinge; sample and class weights. smo-solver: solve_classification; optimized-svm: SmoothSVC.
4.1.2Maximal margin classifierImplementedMaximalMarginLoss and loss="hard_margin" in SmoothSVC/OptimizedSVC (optimized-svm 0.6.0): direct constrained QP with feasibility and KKT checks, no finite soft-margin approximation. Active-set hypergradient for kernel scalings; positive λ leaves predictions unchanged. Dense solver for moderate n; interactive hard/soft comparison on Explore.
4.1.3Logistic-regression SVMImplementedLogisticLoss and loss="logistic" in optimized-svm, with predict_proba. Trained by Newton's method only: no SMO, dense solution, so best for moderate n. The home-page demo trains it in the browser (WebAssembly, Newton).
4.2.1Least-squares SVMImplementedsmo-solver: solve_least_squares; optimized-svm: SquaredLoss (closed-form reference in the tests).
4.2.2ε-support vector regressionImplementedTwo loss terms per sample sharing one kernel row; exact and smoothed.
4.2.3Hard ε-SVRImplementedHardEpsilonInsensitiveLoss and loss="hard_epsilon_insensitive" in SmoothSVR/OptimizedSVR (optimized-svm 0.6.0): minimum RKHS norm subject to |f(xᵢ) − yᵢ| ≤ εᵢ. Per-sample tolerances in the low-level API, scalar ε in estimators; infeasible constraints raise an error. Active-set kernel/ε gradients are local to a stable support set. Examples on Explore.
4.4Smooth approximations of the maximum functionImplementedDegrees 2, 3 and 6 in optimized-svm (Newton and hypergradient); degree 2 is solved by SMO.
5.1Multi-class classificationPartlySoft-max formulation (Prop. 5.1) as multi_class="softmax" in SmoothSVC/OptimizedSVC: one joint multinomial model with common hyperparameters, Newton training and exact hypergradient (dense systems, for r·n up to a few thousand; released in optimized-svm 0.5.0; covariance-root SPD Newton/adjoint solves since 0.6.0, without kernel jitter). One-vs-rest with separate hyperparameters per class remains the default. The simplified formulation (Prop. 5.2) is not implemented.
5.2ν-support vector machinesImplemented1-norm constraint on the dual variables (max_asum), solved by SMO and Newton; also in the hypergradient.
5.3Subspace SVMPartlyExperimental: Newton training in the span of m basis points and exact hypergradient (n_basis in the estimators, basis re-selected during the optimization). Speed-up shown for fits with fixed hyperparameters on large regression problems with wide kernels; in complete hyperparameter optimizations no gain without loss of accuracy so far.

Solution methods (Chapters 6–8)

Sec.TopicStatusIn the software
6Finite-dimensional reformulationsTheoryThe Newton method works on the formulation of Sec. 6.3 / 8.4.
7.1–7.5, 7.8Decomposition framework and convergenceTheoryBasis of the SMO implementation.
7.7Working set selectionImplementedMaximal violating pair, second-order rules with and without step bounds, one- and two-sided search. Optional jointly solved blocks of 2–64 variables (default 2, smo-solver 0.2.0); matching regression copies can reduce zig-zagging at an active norm bound. Benchmarks compare actual accuracy and runtime, including ordinary problems where larger blocks are slower.
7.9Implementation of SMOImplementedRust, LRU kernel-row cache, permuted active set, AVX2 loops with run-time detection. Speed comparable to LIBSVM.
7.10ShrinkingImplementedImplemented with the threshold rule of the thesis; parameter and stopping studies tune the defaults (exponent 1 and a minimum removed fraction of 0.1). See Benchmarks.
7.6Bound-aware violation measureImplementedSelectable in Rust and Python as stopping="bound_aware" (smo-solver 0.1.2); studies found no advantage over a larger ordinary tolerance.
8.2–8.3Gradient descent and preconditioned gradient descentImplementedImplemented for the study only (benchmarks/primal_first_order.py in optimized-svm), not in the library: far slower than SMO and Newton's method (preconditioned GD needs about 3·10⁵ steps for distance 10⁻³ where SMO needs about 10⁴; plain GD hardly moves). Newton's method is used for the primal problem.
8.4Newton's method for the primal problemImplementedSemismooth Newton with line search after rough SMO: tolerance 0.3 or a budget of five outer updates per loss term, followed by Newton refinement. Norm-constraint activity is rechecked after Newton, so a projected warm start cannot determine the final branch incorrectly (corrected in optimized-svm 0.6.0).

Hyperparameter optimization (Chapter 9)

Sec.TopicStatusIn the software
9.1–9.2Bilevel formulation and implicit-function hypergradientImplementedOne adjoint linear system per fold, independent of the number of kernel scalings; checked against finite differences for all losses.
9.2Regularization and one scaling per feature (ARD)ImplementedTwo-stage optimization with L-BFGS-B, time limits and full history.
11HPO of further parameters (ε, smoothing δ)PartlyExact hypergradients w.r.t. ε and δ (loss_params, low-level API). Not used by the estimators: ε is not identifiable below δ, the CV error is multimodal in δ and tuning gains little (study in optimized-svm).
11Cheaper validation than cross-validation (sampling)PlannedIdea from the outlook; fold parallelization is planned as well.

Computational study (Chapter 10)

Sec.TopicStatusIn the software
10.1Checkerboard datasetImplementedUsed in the demo and the CV-error landscape on this site.
10.2SMO study (working sets, convergence, shrinking, stopping)ImplementedRepeated with the new solver on the checkerboard problem; see Benchmarks. Working set rules (MVP, baMVP, MuDP, MDP, tMDP; steps to a tolerance in four settings), the measures against the violation and their factors c(λ) with new fits, the smoothed hinge, support vectors and free variables over λ, the dependence on the problem size (steps, time, free variables up to n = 50 000), shrinking (speed-up over size and tolerance, the parameters η and c, a minimal removed fraction) and the stopping measure (violation vs. bound-aware vs. duality gap against the actual error).
10.3Primal methods, Newton vs. SMOImplementedRepeated with the new solvers; see Benchmarks. First-order methods (gradient descent, preconditioned gradient descent with and without the bias scaling, against SMO), the empirical error bound, Newton's method against SMO and the two-stage training for n up to 40 000 (benchmarks/primal_first_order.py, benchmarks/newton_vs_smo.py in optimized-svm), and the switching point: a measurement study over problem size, λ, kernel width, loss and solver options (benchmarks/smo_newton_switch.py) gave the default rule of tolerance 0.3 plus a step budget.
10.4.1HPO on the artificial datasetImplementedLandscape and optimization path on the home page.
10.4.2HPO on real regression data (Table 10.4.1)PartlyReproduced with benchmarks/thesis_regression.py: five of seven data sets agree; mpg and housing are 13–15 % worse in MSE (cause unknown, not the optimizer).

From the original code

The thesis was accompanied by two code bases. Both were reviewed and replaced; the defects found are listed in LEGACY_BUGS.md of the workspace.

CodePurposeToday
nimsmo (Nim, 2022)SMO solver with Python bindingsReplaced by smo-solver (Rust). All ten defects found in the review are fixed or obsolete; tag legacy-nim keeps the old state.
optimized_svm (Python, 2022)HPO packageRebuilt as optimized-svm with tests and CI. Thirteen defects fixed, among them a regression HPO that did not terminate; tag legacy-2022.
hpo4svm (2018/19)Early OpenML experimentsEvaluated for the data and the protocol of Table 10.4.1; not ported.
optimized-lssvr (Python, 2016–2023)LS-SVR with optimized hyperparameters (Fischer et al. 2015)Covered by OptimizedSVR(loss="squared"): same objective and gradient (checked against the old package to 1e-13), plus group-aware CV splitters. Deprecated with 0.0.3 and archived; migration guide in the optimized-svm docs.
gkm (Python, 2023–2024)Generalized kernel method: kernel GLMs with deviance lossesFolded into optimized-svm as KernelGLMRegressor / OptimizedKernelGLMRegressor: binomial, negative binomial, Gamma and Tweedie families with log links, offsets/exposure and a hypergradient-tuned NB dispersion. Deprecated with 0.1.2.

Beyond the thesis, the packages add further kernels (linear, polynomial, precomputed), Poisson regression, scikit-learn estimators, a WebAssembly build and a reproduction script for Table 10.4.1.