SKILL.PNG: Learning Agent Skills in Pixel Space
Maximilian Seeth, Chengzhi Martin Hu, Marie Kempkes, Paul Röttger, Leo Schwinn
Abstract
AI agents are commonly specialized for new tasks and domains using skills, i.e. natural language instructions placed in their context. However, the discrete nature of textual skills prevents continuous optimization. Gradient-based approaches such as finetuning, on the other hand, are typically model-specific, preventing skill transfer across different agents. Since many agents today are built on vision-language models (VLMs), we can address these limitations by introducing Skill.png: a method for obtaining skill-like image inputs whose pixels are optimized with gradient descent through the vision encoder of a frozen VLM. Image skills are compatible with any VLM, and a single image can be optimized jointly for an ensemble of models. We show that Skill.png significantly outperforms state-of-the-art textual skills optimized using frontier LLMs in 9 of 16 settings (across 4 VLMs and 4 benchmarks) while requiring only 64 to 256 image tokens instead of roughly 900 to 2000 text tokens at inference time. Hybrid skills, i.e. text and image skills jointly optimized, further improve agent performance. Moreover, an image optimized with an ensemble of VLMs can successfully transfer across the models in the ensemble. Skill.png thus presents the first agent skill that can be optimized with gradient descent while retaining transfer benefits of text skills. Our code is available at: https://github.com/omseeth/skill.png
Create a lesson
Related papers
Potential emergence in LLM agents: a statistical physics perspective
Shared title terminology · Zhuo-Yang Song, Hua Xing Zhu
WEIR: Watershed Exploration and Drift-Aware Prefix Shrinkage for Multi-Turn Agent Reinforcement Learning
Shared title terminology · Pixel Nomand, Elena Voss, Marcus Hale et al.
Learning When to Ask: Advisor-Aware Post-Training for SLM Agents
Shared title terminology · Aasheesh Singh, Vishal Vaddina
Multi-Tier Edge Triage: Optimizing Latency for Safe Clinical Agents
Shared title terminology · Joshua Broyde, Sarita A. Joshi
NariQ: Sub-3-Bit Quantization for Long-Horizon Agentic Tasks
Shared title terminology · Doyeob Kim
WeightCode: Installing New Capabilities into Neural Networks via Weight-Space Programming
Shared title terminology · Bo Li, Taoyong Cui, Bob Zhang et al.