A 1.7 MB Skill Matches a 43 MB LoRA on Accuracy: 92.6% vs 92.5%
To teach a small model like Qwen3.5-0.8B a new task, developers usually train a LoRA adapter made of weight matrices that weighs 43 MB. The author of the cortiq engine instead stores one number per weight row, and this "skill" file (the DTG-MA method) weighs 1.7 MB. On text emotion classification, the skill guessed correctly in 92.6% of cases, while LoRA scored 92.5%. The measurements are the author's own and cover a single model, so you should re-check them on your own data.
AI-processed from Habr AI; edited by Hamidun News
To teach a small model a new task, such as detecting the emotion in a message, developers usually fine-tune it with LoRA: a pair of small matrices is added to each layer. For Qwen3.5-0.
8B (a model with 0.8 billion parameters that runs even on a home graphics card), this "adapter" weighs 43 MB and adds computation to every request. The developer of the open-source cortiq engine proposed the DTG-MA method: add nothing, and instead store one number for each weight row, a coefficient that amplifies or suppresses that row.
The author calls this file a "skill," and it weighs 1.7 MB. On emotion classification (6 classes), the skill identifies 92.
6% of texts correctly, while LoRA identifies 92.5%. In practice, these are the same.
How It Works
The base model stays frozen and quantized (that is, compressed into a compact numerical format). For the task, a "gate" is trained: a coefficient that multiplies each row of the outputs of the projections (in the attention blocks, the FFN, and other parts). In total there are 399,936 numbers, and they make up the skill file. If you limit the skill to the FFN blocks only, the file shrinks to 0.38 MB.
The skill apply command multiplies the rows of the base model by these coefficients and writes the result in the same quantization format. As a result, the final model has the size and speed of the base model. LoRA, by contrast, adds two matrices to each layer, which means extra multiplications at runtime. If you merge the adapter into the weights, you have to store a full copy of the model for each task.
The idea came from an attempt to "compile" a network for a single task by switching off unneeded neurons. The author expected the model to get smaller and slightly worse, but accuracy went up, because the gates also reweighted the neurons that mattered. A US patent application, No. 19/452,464, dated January 19, 2026, covers this effect. Only part of the method is open-sourced in cortiq, and the patent application is broader than the public code.
What the Measurements Showed
The comparison ran on a single 12 GB RTX 3060, with the same data, the same record order, and the same number of steps. On the text emotion task (6 classes, 2,000 test texts), the skill and LoRA deliver nearly identical accuracy: 92.6% and 92.5% with a one-word answer, and 92.5% and 93.3% with a JSON answer. The author notes that the difference falls within the test's noise, roughly ±1.2 points.
The gap is more noticeable in balanced accuracy, which reflects quality on rare classes: 91.5% for the skill versus 85.4% for LoRA. On the rarest class, "surprise" (66 texts), the skill identifies all of them correctly, while LoRA gets 58%. The base model reached 53.3% accuracy, and it produced valid JSON with a label in 91% of cases, compared with 100% for both fine-tuned variants.
In a second test, on 100 linear differential equation problems, where the answer is either exactly right or wrong, the base model with a short answer solved 0 of 100. The 0.38 MB skill solved 100 problems with the coefficients from training and 96 with new ones, while LoRA solved 100 and 100. Training the skill took 12 and 16 minutes, versus 18 and 21.5 minutes for LoRA, and the skill's time already includes checks on a held-out set.
Five Ways to Use It, and Limitations
The skill can be baked into the model (a specialist with the size and speed of the base), placed as an overlay next to the base and toggled with a flag, served through an OpenAI-compatible server with per-request routing, blended with another skill, or switched during generation. There is also a hard mask, which physically removes neurons. A specialist for Russian technical text came out to 705 MB versus 733 MB for the base, runs at 89.7 tokens per second instead of 86.0, and its perplexity (a measure of how "surprised" the model is by text; lower is better) on held-out text dropped by 14.7%.
There is an important caveat for anyone counting memory. The skill file is small for storage and transfer, but in overlay mode it expands: a skill covering all projections takes about 490 MB next to an 796 MB base, and an FFN-only skill takes about 80 MB. Also, the skill is tied to the tensor hash of a specific base, and it will not apply to a different or re-quantized model without the --force flag.
The limitations are candid. All results come from the author, on one 0.8-billion-parameter model and two tasks, with no independent verification. Part of the method is patented, so commercial use of the full version may run into licensing terms. Baking requires an NVIDIA graphics card; an RTX 3060 is enough.
The practical takeaway: if you need many narrow specializations (classification, JSON extraction, routing) on one local model, this approach promises to distribute "specialists" as files of 1–2 MB instead of gigabyte-sized copies. The author is considering a catalog of ready-made skills and is asking the community which models and tasks matter most, and which payment model to choose. The engine is available on GitHub (version 0.9.19). The comparison is worth repeating on your own data and on a larger model.
- Nov 24, 2026Claude helped prove the Riemann hypothesis, but nobody can understand the 17 million lines of Lean
- Nov 24, 2026A ChatGPT Agent Sorted Through 300 Websites, and Intentful's CEO Had a Proposal Ready in Hours
- Nov 24, 2026Amateurs with Codex and Astra Find 49 Planet Candidates in Data from 19 Million Stars
- Nov 24, 2026Anthropic: MCP protocol SDKs are downloaded 700 million times a month, and agents get background tasks
Key Questions Answered
How It Works?
The base model stays frozen and quantized (that is, compressed into a compact numerical format). For the task, a "gate" is trained: a coefficient that multiplies each row of the outputs of the projections (in the attention blocks, the FFN, and other parts). In total there are 399,936 numbers, and they make up the skill file. If you limit the skill to the FFN blocks only, the file shrinks to 0.38 MB.
What the Measurements Showed?
The comparison ran on a single 12 GB RTX 3060, with the same data, the same record order, and the same number of steps. On the text emotion task (6 classes, 2,000 test texts), the skill and LoRA deliver nearly identical accuracy: 92.6% and 92.5% with a one-word answer, and 92.5% and 93.3% with a JSON answer. The author notes that the difference falls within the test's noise, roughly ±1.2 points.
What are the key details on Five Ways to Use It, and Limitations?
The skill can be baked into the model (a specialist with the size and speed of the base), placed as an overlay next to the base and toggled with a flag, served through an OpenAI-compatible server with per-request routing, blended with another skill, or switched during generation. There is also a hard mask, which physically removes neurons.
Build & Ship Production AI Agents Without Boilerplate Code
Start your free 72-hour trial at Hamidun Academy (academy.hamidun.com) — interactive lessons on Claude Code & Cursor, live Tech Radar, and production agent templates.
The AI world, distilled — once a week
Seven stories that actually mattered, hand-picked. No noise, no reposts, no press releases.
Done! Check your inbox for a confirmation.