Efficient Skill Grounding via Code Refactoring with Small Language Models
Not on the map. Why?
Abstract (arXiv)
Effective skill grounding is essential for deploying reusable skills in embodied agents, as even minor embodiment or environmental differences can render an entire skill incompatible. This challenge is particularly pronounced in embodied settings, where agents must operate in dynamic, partially observable environments without access to large language models (LLMs). In this setting, reliance on LLMs is impractical, while small language models (sLMs) remain insufficient for the effective skill grounding required for reliable long-horizon control. We present RECENT, a refactoring-centric agent framework that enables efficient skill grounding with sLMs by decoupling skill semantics from embodiment- and environment-specific execution binding. By representing skills as executable code, RECENT preserves the semantic intent encoded in a skill's control structure while grounding it by modifying only execution bindings through localized refactoring, rather than regenerating code from scratch. We evaluate RECENT across diverse skill grounding scenarios spanning multiple robot embodiments in dynamic environments, demonstrating robust long-horizon performance when deployed with an sLM. Across all scenarios, RECENT achieves the best performance among sLM-based Code-as-Policies (CaP) methods and matches the task performance of LLM-based CaP.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 42 of its 53 references that are in the map. First posted on arXiv 6 Jun 2026.
Builds on
42 of 53 references.
References · 42
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2022Do As I Can, Not As I Say: Grounding Language in Robotic Affordancescited by 2,348
- 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,218
- 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,191
- 2023Code Llama: Open Foundation Models for Codecited by 2,139
- 2022Code as Policies: Language Model Programs for Embodied Controlcited by 1,210
- 2024Qwen2.5-Coder Technical Reportcited by 1,203
- 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,181
- 2022Inner Monologue: Embodied Reasoning through Planning with Language Modelscited by 1,081
- 2025SAM 3: Segment Anything with Conceptscited by 906
- 2023VoxPoser: Composable 3D Value Maps for Robotic Manipulation with Language Modelscited by 750
- 2019RLBench: The Robot Learning Benchmark & Learning Environmentcited by 689
30 more
- 2021Learning To Retrieve Prompts for In-Context Learningcited by 648
- 2022LLM-Planner: Few-Shot Grounded Planning for Embodied Agents with Large Language Modelscited by 462
- 2022VIMA: General Robot Manipulation with Multimodal Promptscited by 407
- 2024DeepSeek-Coder-V2: Breaking the Barrier of Closed-Source Models in Code Intelligencecited by 331
- 2022Efficient Training of Language Models to Fill in the Middlecited by 255
- 2024RepairAgent: An Autonomous, LLM-Based Agent for Program Repaircited by 232
- 2023RoboGen: Towards Unleashing Infinite Data for Automated Robot Learning via Generative Simulationcited by 218
- 2024CodeGemma: Open Code Models Based on Gemmacited by 150
- 2019A Review of Robot Learning for Manipulation: Challenges, Representations, and Algorithmscited by 142
- 2023Structured Chain-of-Thought Prompting for Code Generationcited by 138
- 2023Instruct2Act: Mapping Multi-modality Instructions to Robotic Actions with Large Language Modelcited by 116
- 2024Scaling Cross-Embodied Learning: One Policy for Manipulation, Navigation, Locomotion and Aviationcited by 114
- 2024The Surprising Effectiveness of Test-Time Training for Few-Shot Learningcited by 96
- 2023XSkill: Cross Embodiment Skill Discoverycited by 75
- 2024RoboCodeX: Multimodal Code Generation for Robotic Behavior Synthesiscited by 58
- 2023Demo2Code: From Summarizing Demonstrations to Synthesizing Code via Extended Chain-of-Thoughtcited by 39
- 2023Open-Ended Instructable Embodied Agents with Memory-Augmented Large Language Modelscited by 37
- 2025QiMeng-CodeV-R1: Reasoning-Enhanced Verilog Generationcited by 35
- 2024Lifelong Robot Library Learning: Bootstrapping Composable and Generalizable Skills for Embodied Control with Language Modelscited by 27
- 2025A Survey of LLM-based Automated Program Repair: Taxonomies, Design Paradigms, and Applicationscited by 25
- 2025SkillFlow: Scalable and Efficient Agent Skill Retrieval Systemcited by 22
- 2024Incremental Learning of Retrievable Skills For Efficient Continual Task Adaptationcited by 19
- 2024Cross-Embodiment Robot Manipulation Skill Transfer using Latent Space Alignmentcited by 18
- 2025Towards Reliable Code-as-Policies: A Neuro-Symbolic Framework for Embodied Task Planningcited by 11
- 2024GenCHiP: Generating Robot Policy Code for High-Precision and Contact-Rich Manipulation Taskscited by 9
- 2024Embodied CoT Distillation From LLM To Off-the-shelf Agentscited by 9
- 2020Learning and Sequencing of Object-Centric Manipulation Skills for Industrial Taskscited by 8
- 2025Growing with Your Embodied Agent: A Human-in-the-Loop Lifelong Code Generation Framework for Long-Horizon Manipulation Skillscited by 7
- 2024MCCoder: Streamlining Motion Control with LLM-Assisted Code Generation and Rigorous Verificationcited by 5
- 2025RoboInspector: Unveiling the Unreliability of Policy Code for LLM-enabled Robotic Manipulationcited by 2
Built on by
Not cited yet.