SMO: Compiling Natural Language Skills into Graphs of Reusable State-Move-Outcome Bricks
Chao Chen, Jiashuo Zhang, Yunhang Shen, Liangyu Lian, Rongrong Ji
Abstract
Large language model agents increasingly rely on reusable natural-language skills, yet growing skill collections remain accumulations of isolated text artifacts that are difficult to compare, deduplicate, and compose. We argue that the reusable content of a skill lies not in its surface wording but in its procedural transitions: which operation to execute under a given state and which observable outcome to produce. Based on this observation, we propose State-Move-Outcome (SMO), a compilation-like framework that decomposes raw skills into reusable procedural bricks and organizes admitted bricks as an externalized symbolic structure. When compiling a skill, SMO first retrieves and composes existing bricks, dynamically connects them through Outcome-to-State conditions, and creates a candidate brick only for an uncovered procedure; the candidate becomes reusable only after validation and admission. Experiments on SkillsBench v1.1 demonstrate that SMO represents 232 rawSkills from 87 underlying tasks with 95 shared bricks, reducing the corresponding skill representations from 366,472 to 149,154 tokens--a reduction and compression. Across 232 skill-conditioned evaluation instances, SMO raises the average task score from to and increases 5/5 Pass instances from to , while matching or outperforming rawSkill on of instances. It also reduces average runtime token consumption by . These results show that compiling natural-language skills into shared procedural units can jointly improve skill reuse, representation efficiency, and downstream execution.
Create a lesson
Related papers
LimeTree: Linear-Memory Graph Neural Networks over Tree-Graphs for Resource-Efficient Language Modeling and Context Extrapolation
Shared title terminologycs.CLElisabeth Fink
Ontology-Compiled 2D Clinical State Fields with Bidirectional Diffusion Encoders for Zero-Training Cross-Ontology Medical Coding
Shared title terminologycs.CLZeqiang Wang
The Answer Is Not the State: Trajectory-Level Corrigibility in Diffusion Language Models
Shared title terminologycs.CLJunchi Liao, Wentao Li
LM2 Compiling a Language Model into Another Model Weights
Shared title terminologycs.CLNaman Chawla, Chhavi Dhiman
Shortcuts or Memorisation? Revisiting Data Corruption in Natural Language Understanding with Large Language Models
Shared title terminologycs.CLAarne Talman, Stergios Chatzikyriakidis
SMIC: Shared Multiscale Input-Reference Conditioning across Transformer Layers for Natural Language Inference
Shared title terminologycs.CLXin Zhang, Victor S. Sheng