跳到正文
arXiv cs.AI· Md Nasir Uddin, Musa Tur Farazi, Soumik Bhattacharjee, Tishna Sabrina, Chowdhury Mohammad Rakin Haider·· 56 分钟前AI 评分45

无需梯度微调?基于冻结编码器的闭式解 LLM 编程分类器研究

Fine-Tuning Without Gradients? Closed-Form, LLM-Written Classifiers on a Frozen Encoder

AI 导读

一项 arXiv 研究提出闭式权重空间编程(WSP):由 LLM 作为设计助手编写程序,在冻结的 RoBERTa-large 上通过完形填空模板拟合闭式分类头,全程无梯度、不改动编码器权重。

正文 · 原文

View PDF HTML (experimental)

Abstract:Can a classifier computed in closed form on a frozen encoder match gradient fine-tuning? We present closed-form weight-space programming (WSP): a large language model (LLM), used as a design assistant, writes programs that read a frozen masked language model through cloze-style prompt templates at several layers, fit closed-form heads (shrinkage discriminant analysis, kernel ridge regression and the encoder's label-word prior) on labelled data, and select among a pool of candidate heads by cross-fitting. No gradient is computed and no encoder weight changes. We instantiate the framework on RoBERTa-large. On 11 development datasets with 512 to 8,192 training labels, WSP is ahead of full fine-tuning (FT) and LoRA at every label budget (by 0.3 to 0.6 points on average; the registered non-inferiority tests pass) and within 0.5 points of prompt-based fine-tuning (PFT); these datasets also shaped the recipe. With fewer labels its lead over FT and LoRA grows: 1.2 to 3.5 points with 64 and 128 labels, and 3.8 to 5.3 points in the few-shot setting of 16 labels per class, where WSP is again within half a point of PFT on the development datasets. On six held-out datasets, WSP stays ahead of LoRA and within half a point of FT on average, although with six datasets no registered test passes, and PFT is ahead, by 1.30 points with 8,192 labels. WSP never collapses and is deterministic, but it needs one encoder pass per template (17 here). We report all eight recipe versions, every decision that saw test results, and 27 ideas that did not help.
Comments: 30 pages, 1 figure
Subjects: Computation and Language (cs.CL); Artificial Intelligence (cs.AI); Machine Learning (cs.LG)
ACM classes: I.2.7
Cite as: arXiv:2611.33972 [cs.CL]
  (or arXiv:2611.33972v1 [cs.CL] for this version)
  https://doi.org/10.48550/arXiv.2611.33972

arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Md Nasir Uddin [view email]
[v1] Wed, 25 Nov 2026 08:34:46 UTC (65 KB)

来源:arXiv cs.AI · arxiv.org