{"slug": "fine-tuning-without-gradients-closed-form-llm-written-classifiers-on-a-frozen", "title": "Fine-Tuning Without Gradients? Closed-Form, LLM-Written Classifiers on a Frozen Encoder", "summary": "A paper on arXiv (2611.33972v1) presents closed-form weight-space programming (WSP), in which a large language model writes programs that fit closed-form heads on a frozen RoBERTa-large encoder without computing gradients or changing encoder weights. On 11 development datasets with 512 to 8,192 training labels, WSP beat full fine-tuning and LoRA at every label budget by 0.3 to 0.6 points on average and came within 0.5 points of prompt-based fine-tuning, with its lead growing to 1.2 to 3.5 points at 64 and 128 labels and 3.8 to 5.3 points at 16 labels per class. On six held-out datasets, WSP stayed ahead of LoRA and within half a point of full fine-tuning on average, though no registered test passed and prompt-based fine-tuning led by 1.30 points at 8,192 labels; WSP is deterministic but requires one encoder pass per template, 17 in this setup.", "body_md": "arXiv:2611.33972v1 Announce Type: new \nAbstract: 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.", "url": "https://wpnews.pro/news/fine-tuning-without-gradients-closed-form-llm-written-classifiers-on-a-frozen", "canonical_source": "https://www.machinebrief.com/news/fine-tuning-without-gradients-closed-form-llm-written-classi-6tj8", "published_at": "2026-11-26 05:00:00+00:00", "updated_at": "2026-11-26 05:44:35.712038+00:00", "lang": "en", "topics": ["machine-learning", "large-language-models", "ai-research", "natural-language-processing"], "entities": ["arXiv", "RoBERTa-large", "LoRA", "weight-space programming (WSP)"], "also_reported_by": [], "takeaway": "Fitting closed-form heads (shrinkage discriminant analysis, kernel ridge regression, the encoder's label-word prior) on a frozen RoBERTa-large encoder via LLM-written cloze programs beat full fine-tuning and LoRA by 0.3 to 0.6 points at 512-8,192 labels and by 3.8 to 5.3 points at 16 labels per clas", "recommendation": {"advice": "When labels are scarce, try closed-form heads on a frozen encoder before gradient fine-tuning: the paper's WSP beat LoRA by 3.8 to 5.3 points at 16 labels per class, though it needs one encoder pass per template.", "playbook": "training-data", "playbook_url": "https://wpnews.pro/playbooks/training-data"}, "alternates": {"html": "https://wpnews.pro/news/fine-tuning-without-gradients-closed-form-llm-written-classifiers-on-a-frozen", "markdown": "https://wpnews.pro/news/fine-tuning-without-gradients-closed-form-llm-written-classifiers-on-a-frozen.md", "text": "https://wpnews.pro/news/fine-tuning-without-gradients-closed-form-llm-written-classifiers-on-a-frozen.txt", "jsonld": "https://wpnews.pro/news/fine-tuning-without-gradients-closed-form-llm-written-classifiers-on-a-frozen.jsonld"}}