On the Impact of Weight Discretization in QUBO-Based SVM Training
Sascha Mücke
TL;DR
This paper addresses how discretizing the dual SVM weights in a QUBO encoding affects predictive performance. It develops a Binary Qubo-SVM and a k-bit Qubo-SVM by binarizing or multi-bit encoding of the dual variables and compares them to LIBSVM on several datasets. The results show that even a 1-bit per weight encoding can achieve competitive accuracy with LIBSVM, and increasing the precision to k>1 mainly widens the feasible range of $C$ rather than consistently improving accuracy; a key takeaway is that selecting the right set of support vectors can be more impactful than weight precision. Hardware constraints currently limit the QUBO size to $N k$, but as quantum devices scale, QA-based SVM training could become a practical approach for larger datasets.
Abstract
Training Support Vector Machines (SVMs) can be formulated as a QUBO problem, enabling the use of quantum annealing for model optimization. In this work, we study how the number of qubits - linked to the discretization level of dual weights - affects predictive performance across datasets. We compare QUBO-based SVM training to the classical LIBSVM solver and find that even low-precision QUBO encodings (e.g., 1 bit per parameter) yield competitive, and sometimes superior, accuracy. While increased bit-depth enables larger regularization parameters, it does not always improve classification. Our findings suggest that selecting the right support vectors may matter more than their precise weighting. Although current hardware limits the size of solvable QUBOs, our results highlight the potential of quantum annealing for efficient SVM training as quantum devices scale.
