2606.06087v1 Jun 04, 2026 cs.CL

LatentSkill: From In-Context Textual Skills to In-Weight Latent Skills for LLM Agents

Weiwen Liu
Weiwen Liu
Citations: 124
h-index: 6
Rong Shan
Rong Shan
Citations: 330
h-index: 8
Jianghao Lin
Jianghao Lin
Shanghai Jiao Tong University
Citations: 1,555
h-index: 20
Zhihui Fu
Zhihui Fu
Citations: 174
h-index: 6
Weinan Zhang
Weinan Zhang
Citations: 78
h-index: 3
Tianyi Xu
Tianyi Xu
Citations: 9
h-index: 1
Chenyue Zhou
Chenyue Zhou
Citations: 32
h-index: 2
Yong Yu
Yong Yu
Citations: 906
h-index: 17
Ao Yu
Ao Yu
Citations: 59
h-index: 4
Jun Wang
Jun Wang
Citations: 107
h-index: 3
Zihan Guo
Zihan Guo
Citations: 162
h-index: 6

Agent systems increasingly use textual skills to encode reusable task procedures, but injecting these skills into the prompt at every step incurs substantial context overhead and exposes skill content as plaintext. We present LatentSkill, a framework that converts textual skills into plug-and-play LoRA adapters through a pretrained hypernetwork. LatentSkill stores skill knowledge in weight space rather than context space, removing per-step skill tokens while preserving modular loading, scaling, and composition. On ALFWorld and Search-QA, LatentSkill outperforms the corresponding in-context skill baseline while using substantially fewer prefill tokens: it improves ALFWorld success by 21.4 and 13.4 points on the seen and unseen splits with 64.1% fewer prefill tokens, and improves Search-QA exact match by 3.0 points with 72.2% lower skill-token overhead. Further analysis shows that generated skill LoRAs form a structured semantic geometry, can be precisely controlled via the LoRA scaling coefficient, and can be composed through parameter-space arithmetic when skill components are aligned. These findings suggest that weight-space skills provide an efficient, modular, and less exposed substrate for extending LLM agents.

0 Citations
0 Influential
10 Altmetric
50.0 Score
Original PDF

No Analysis Report Yet

This paper hasn't been analyzed by Gemini yet.

Log in to request an AI analysis.

댓글

댓글을 작성하려면 로그인하세요.

아직 댓글이 없습니다. 첫 번째 댓글을 남겨보세요!