Lune

AAAI2021Top-tier venue

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 Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Related papers

  1. Node2binary: Compact Graph Node Embeddings using Binary VectorsNiloy Talukder, Croix Gyurek, Mohammad Al HasanWWW 2025
  2. Compressing Deep Convolutional Neural Networks by Stacking Low-dimensional Binary Convolution FiltersWeichao Lan, Liang LanAAAI 2021 · 10 citations
  3. TinyFoA: Memory Efficient Forward-Only Algorithm for On-Device LearningBaichuan Huang, Amir AminifarAAAI 2025 · 3 citations
  4. Random matrices in service of ML footprint: ternary random features with no performance lossHafiz Tiomoko Ali, Zhenyu Liao, Romain CouilletICLR 2022 · 8 citations
  5. LLMs Meet Isolation Kernel: Lightweight, Learning-free Binary Embeddings for Fast RetrievalZhibo Zhang, Yang Xu, Kai Ming Ting, Cam-Tu NguyenACL Findings 2026
Dusk over the sea between two cliffs drawn in fine vertical lines