Open Interpretability Models Contributors Research Posts About

Text-to-LoRA: Instant Transformer Adaption

Source

Citation. Rujikorn Charakorn, Edoardo Cetin, Yujin Tang and Robert T. Lange, all of Sakana AI. "Text-to-LoRA: Instant Transformer Adaption". arXiv:2506.06105, version 2 of 9 June 2025. Version 1 is of 6 June 2025. Venue: Proceedings of the 42nd International Conference on Machine Learning (ICML 2025), PMLR 267. The code is at github.com/SakanaAI/text-to-lora. The training data are the 500 Super Natural Instructions (SNI) tasks at huggingface.co/Lots-of-LoRAs. The paper gives no funding statement. It says that GPT-4o mini wrote all task descriptions, and that David Ha suggested the title.

Status. Planned. #4782 would use it in its strand on weight-space programming and fast weights, and #3381 (weight-space programming) would cite it. No code, skill or protocol in this repo depends on it. The maintainer designs any campaign to fix a model, so this page reports evidence and records questions only.

Read. On 2026-11-19 we downloaded the v2 PDF (30 pages) with curl and converted it with pdftotext. The reader was this page's author, a model (Claude Opus 5.5). We read in the source's own text the abstract, Sections 1 to 7, the acknowledgement and the impact statement. We also read Appendices A to M and Listing 1. We read Tables 1 to 11 as extracted text. We did not see the figures as images. For Figures 6 and 11, the PDF text holds the Pearson coefficients that the plots print, and we report those. We have only the captions and the text for Figures 1 to 5. We did not read the references in full, version 1, the ICML proceedings page or the code.

Summary

Claim. A hypernetwork, Text-to-LoRA (T2L), can make a LoRA adapter for a large language model from a plain-language description of a task, in one forward pass. Trained on hundreds of tasks, it compresses their adapters. It also makes useful adapters for benchmark tasks that it did not see, from their descriptions alone.

Method.

Findings, as the source reports them.

Setting Result
Reconstruction of the 9 benchmark LoRAs, mean of 9 tasks (Table 1) Base model 55.8. T2L 73.0 to 73.5 over the three sizes and two embedding types. The task-specific LoRAs 73.3
Reconstruction of more SNI LoRAs (Figure 3 text) Full oracle performance below 10⁻⁴ reconstruction loss. About 65% of oracle performance at more than 8 × 10⁻⁴ per-element L1 error
Zero-shot, SFT on 479 tasks, Mistral, mean of 10 tasks (Table 2) Base 55.8, description prepended 60.6, 3-shot ICL 61.0, average LoRA 60.9, multi-task LoRA 66.3, Hyperdecoders 67.3, T2L S 65.9, M 67.5, L 67.7
Same, mean of 8 tasks (Table 2) Oracle LoRAs 75.8, T2L L 73.9, Hyperdecoders 73.6, Arrow Routing 70.7, multi-task LoRA 71.9
Description embedding, 128 tasks (Table 4) Mean 65.9 with gte, 65.6 with Mistral's last-token activation
Descriptions, reconstruction-trained T2L on 9 tasks (Table 5) Training descriptions 73.3, unseen descriptions 72.2, another task's descriptions 51.4, random strings 63.5
Reconstruction against SFT, about 10 hours each, zero-shot (Table 6) Mean 61.8 against 66.3
Llama-3.1-8B-Instruct, mean of 10 tasks (Table 7) Base 73.2, multi-task LoRA 76.5, T2L L 76.9
Gemma-2-2B-Instruct with ICL, mean of 10 tasks (Table 8) Multi-task LoRA 65.2, T2L L 66.4
SNI's own task definitions instead of GPT-4o mini's (Table 9) 66.5 against 67.7
Cosine of concatenated A and B against description similarity, 479 SNI LoRAs against one benchmark LoRA (Figure 6) Pearson −0.00 (ARC-Challenge), 0.01 (BoolQ), −0.01 (OpenBookQA)
Same, relative benchmark performance against description similarity (Figure 6) Pearson 0.14, 0.27, 0.18
Same, cosine of the full ΔW = BᵀA (Figure 11) Pearson 0.38, 0.17, 0.31
FLOPs per question (Appendix I) 0.856 TFLOPs with T2L M, against 4.177 for 3-shot ICL

The authors explain the Figure 6 result by the many pairs of A and B that give one ΔW. A reconstruction loss on ΔW did not improve zero-shot results, they say, but they give no number for it.

Where the claims go beyond the evidence

The authors state other limits too. Users may write worse descriptions than GPT-4o mini. The output space is LoRA only, and T2L does not reach task-specific LoRAs zero-shot.

Use in this repo