KV-Skill: Forging Expertise in the Model's Native Language

Zhaowei Han, Xiang Zhang, Bing Han, Kai Liu, Danqi Hu +1 more
8/5/2026
5 citations
cs.LG
lora-peft-merging

Official code: shawnzhg/KV-Skill (6 stars, Python, MIT, last commit 2026-08-09).

Abstract

Task knowledge is commonly stored either as text in the prompt or as an update to model weights. Text is modular but must be interpreted on every use, while weight adaptation makes the resulting capability difficult to load, remove, or share independently.

Show full abstract

We introduce KV-Skill, a design space of external factorized operators that a frozen language model reads through a lightweight interface. KV-Skill supports two complementary paths. Registration converts an authored text skill into a text-derived operator and trains a shared per-backbone interface. Reward learning develops a compact latent operator directly from task outcomes, with or without an authored skill. Neither path adds positions to the prompt. Across ten benchmarks and four backbones from three model families, converting text to a KV-Skill consistently makes the same procedural knowledge more effective on mathematical reasoning and retrieval tasks. On Qwen3.5-4B LiveMath, registration reaches 77.2 accuracy, compared with 52.0 for the same skill as text (SkillOpt) and 64.5 for SoftSkill. Under matched reward training and parameter budgets, KV-Skill gives the best result in seven of eight matched settings against soft prefixes, prefix tuning, and LoRA. A post-hoc rank analysis further shows that text-derived operators retain nearly all of their benefit with one task-aligned direction per injection layer, while matched random directions fail. Finally, a single shared interface serves eleven diverse skills at once with no loss in average accuracy. These results show that task knowledge can be acquired from text or experience, compressed into an external operator, and deployed separately from the backbone. Code is available at: https://github.com/shawnzhg/KV-Skill

View on arXivView PDF

Code Implementations(1)

shawnzhg/KV-SkillOfficial100%
MIT
60Python, ShellAug 4, 20263 months agoMIT

Similar Papers

Cite this paper

@article{han2026kvskill,
  title  = {KV-Skill: Forging Expertise in the Model's Native Language},
  author = {Zhaowei Han and Xiang Zhang and Bing Han and Kai Liu and Danqi Hu and Jie Liu},
  year   = {2026},
  eprint = {2608.05475},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2608.05475v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2608.05475.svg)](https://codeofpaper.com/paper/2608.05475)

Discussion