Memory and Computation-Efficient Kernel SVM via Binary Embedding and Ternary Model Coefficients
Zijian Lei, Liang Lan
Abstract
Kernel approximation is widely used to scale up kernel SVM training and prediction. However, the memory and computation costs of kernel approximation models are still too high if we want to deploy them on memory-limited devices such as mobile phones, smartwatches, and IoT devices. To address this challenge, we propose a novel memory and computation-efficient kernel SVM model by using both binary embedding and binary model coefficients. First, we propose an efficient way to generate compact binary embedding of the data, preserving the kernel similarity. Second, we propose a simple but effective algorithm to learn a linear classification model with ternary coefficients that can support different types of loss function and regularizer. Our algorithm can achieve better generalization accuracy than existing works on learning binary coefficients since we allow coefficient to be -1, 0, or 1 during the training stage, and coefficient 0 can be removed during model inference for binary classification. Moreover, we provide a detailed analysis of the convergence of our algorithm and the inference complexity of our model. The analysis shows that the convergence to a local optimum is guaranteed, and the inference complexity of our model is much lower than other competing methods. Our experimental results on five large real-world datasets have demonstrated that our proposed method can build accurate nonlinear SVM models with memory costs less than 30KB.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Related papers
- Node2binary: Compact Graph Node Embeddings using Binary VectorsNiloy Talukder, Croix Gyurek, Mohammad Al HasanWWW 2025
- Compressing Deep Convolutional Neural Networks by Stacking Low-dimensional Binary Convolution FiltersWeichao Lan, Liang LanAAAI 2021 · 10 citations
- TinyFoA: Memory Efficient Forward-Only Algorithm for On-Device LearningBaichuan Huang, Amir AminifarAAAI 2025 · 3 citations
- SNEQ: Semi-Supervised Attributed Network Embedding with Attention-Based QuantisationTao He, Lianli Gao, Jingkuan Song, Xin Wang et al.AAAI 2020 · 12 citations
- Neuro-C: Neural Inference Shaped by Hardware LimitsDiletta Romano, Luca Mottola, Thiemo VoigtEuroSys 2026 · 2 citations
