Shohei Ohsawa

NeurIPS 2025, Main Conference Track

Support Vector Generation Kernelizing large language models for efficient zero-shot NLP

Shohei Ohsawa

In one paragraph

SVG turns a frozen language model into a classifier without fine-tuning and without a GPU. The model's embedding defines a kernel; a support vector machine is fitted in that kernel space; and the support vectors are ordinary sentences. Every prediction is a weighted vote of at most 32 of them, so the reasons for a decision can be read directly.

The field above is the same idea in two dimensions: a few ringed points carry the whole boundary. In SVG, each of those points is a sentence.

How it works

  1. Propose sentences. A Metropolis–Hastings chain explores natural-language sentences as candidate support vectors.
  2. Fit a kernel machine. A support vector machine is optimised in the reproducing kernel Hilbert space induced by the frozen model's embedding.
  3. Decide with a short list. Classification uses a weighted combination of at most 32 sentences, which double as a faithful rationale.

What the paper shows

  • SVG minimises the empirical hinge loss over the span of its supports, with a generalisation bound that does not depend on the size of the language model.
  • On GLUE, it matches or exceeds prompting-based zero-shot baselines across multiple tasks.
  • Training runs on a CPU in under three minutes per task.

Cite

@inproceedings{ohsawa2025svg,
  title     = {Support Vector Generation: Kernelizing Large Language
               Models for Efficient Zero-Shot {NLP}},
  author    = {Ohsawa, Shohei},
  booktitle = {Advances in Neural Information Processing Systems},
  volume    = {38},
  year      = {2025},
  doi       = {10.52202/085713-3274}
}

The SVG series