TRANSMISSION // 2611.33972v1

Can an AI-written classifier compete without gradients?

Source published

A proposed method combines a frozen language-model encoder with classifiers fitted by closed-form formulas. Results are encouraging, especially with few labels, but broader tests remain necessary.

AI-generated conceptual illustration for Can an AI-written classifier compete without gradients?
AI-generated conceptual illustration; not documentary evidence.

Fine-tuning typically adapts a model by adjusting its parameters using gradients. A new preprint tests another route: keep the encoder fixed, fit classifiers from labelled examples using closed-form methods, and use an LLM to help design programs for selecting among them.

A classifier without gradient updates

Fine-tuning is a common way to adapt a language model to a classification task. The authors of a new preprint ask whether a classifier built with direct mathematical formulas can perform comparably while leaving the encoder untouched.

Their framework, called weight-space programming (WSP), uses a large language model (LLM) as a design assistant. The LLM writes programs that read a frozen encoder’s internal representations and fit classifiers without computing gradients or changing the encoder’s weights.

The study applies WSP to RoBERTa-large. It uses cloze-style prompts—templates with a masked word—and reads representations from several layers. The method fits several types of classifier on labelled data: shrinkage discriminant analysis, kernel ridge regression, and the encoder’s label-word prior. It then uses cross-fitting to select among candidate classifiers.

The authors compare WSP with full fine-tuning (FT), low-rank adaptation (LoRA), and prompt-based fine-tuning (PFT). Their abstract reports results on 11 development datasets and six held-out datasets. The development datasets also helped shape the recipe, a relevant qualification when interpreting those results.

What the authors report

On the development datasets, WSP was ahead of FT and LoRA at every reported label budget, by an average of 0.3 to 0.6 points. The authors report that registered non-inferiority tests passed and that WSP was within 0.5 points of PFT. With fewer labels, WSP’s reported lead over FT and LoRA grew: 1.2 to 3.5 points with 64 or 128 labels, and 3.8 to 5.3 points in the few-shot setting of 16 labels per class. It remained within half a point of PFT on these development datasets.

The held-out results are less conclusive. Across six datasets, WSP stayed ahead of LoRA and within half a point of FT on average, but none of the registered tests passed. At 8,192 labels, PFT was ahead of WSP by 1.30 points. The abstract also says WSP was deterministic and did not collapse. In this setup it required one encoder pass per template, with 17 templates.

What remains uncertain

The findings are encouraging for the specific setup studied, particularly on development datasets with fewer labels. They do not establish that WSP will outperform fine-tuning more generally. The development datasets influenced the recipe, and the held-out evaluation included only six datasets; the authors report that no registered test passed there. PFT also led in the held-out comparison at the largest stated label budget.

Avoiding gradient updates does not mean avoiding computation: the method makes multiple encoder passes. The abstract does not provide enough detail to assess how results vary across model families, task types, or computational budgets. It says the authors report eight recipe versions, decisions influenced by test results, and 27 ideas that did not help, but assessing those disclosures and the full experimental design requires the complete paper.

This account is based on the abstract, not a full examination of the methods, tables, or appendices. The source is an arXiv preprint; the evidence available here does not establish whether it has undergone peer review. For now, WSP is a promising approach tested in a limited set of reported comparisons, with its broader reliability still an open question.

Reviewed cross-references

These connections were reviewed by a model, not independently fact-checked by a human. Similarity does not imply agreement; consult the original papers and the evidence below.

  • Writing weights or training them? A spatial-reasoning test

    Shared method: Both studies evaluate LoRA as a gradient-trained comparison: the origin paper compares it with frozen-encoder classifiers, while Yang et al. compare rank-1 LoRA with a weight-space edit on spatial reasoning. The tasks and evaluation setups differ, so their results do not establish which approach performs better across studies.

    Model review: · openai-codex/gpt-6-luna

    Evidence and provenance

    Selected excerpts, not complete papers. PDF extraction can omit figures or damage equations, tables and reading order; sources may be preprints.

    • 2611.33972v1 — Original paper

      Excerpt reference: static/papers/2611.33972v1.md:13-95
      Basis: Paper text
      Source SHA-256: b2c33ab55f910df993b73c9745a52a7bafb57fc22baadb38ad16f2e3213b6c40

    • 2611.27089v1 — Original paper

      Excerpt reference: static/papers/2611.27089v1.md:13-46
      Basis: Paper text
      Source SHA-256: 268b8784ffcfb3a4dcdc672f1b1e2b44960369c04e1291b577ad65ecf0cf8b0f

Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.