cs.ROOct 7, 2026

Adaptive Code Generation for Controlling Robots

Authors: Justus Flerlage, Thorsten Wittkopp, Alexander Acker, Odej Kao

Organizations: Technische Universität Berlin, Germany · logsight.ai, Berlin, Germany

Abstract

Deploying robots as Complex Adaptive Systems (CAS) in unknown and dynamic environments necessitates a transition from rigid command libraries toward intention-based autonomy, as natural language represents the only medium capable of articulating complex goals beyond the capacity of finite instruction sets. While Large Language Models (LLMs) offer a path toward natural language goal description, their integration introduces significant challenges: the formalization gap between imprecise intentions and executable actions, the taxonomy gap induced by unpredictable environments, and the challenge of maintaining temporal state and progress awareness. This work introduces an architectural framework that enables robotic control by leveraging generative AI. The system follows a dual-AI design: an LLM translates high-level intentions into executable program code restricted to a formal robotic library and constrained by verifiable syntax, while a Vision-Language Model (VLM) provides semantic grounding via a distillation process. To ensure robustness, the framework incorporates environment-driven replanning triggers based on geometric and semantic thresholds, complemented by continuous runtime monitoring and an adaptive planning loop. Benchmarked across frontier models, our framework architecture demonstrates that grounding generative AI in a reactive, constrained loop enables robust fulfillment of complex intentions in dynamic and unknown environments.

Figures & tables

Explore similar work

CardsList
  1. ModuLoop : Low-Level Code Generation using Modular Synthesizer and Closed-Loop Debugger for Robotic Control

    Jun 2, 2026Gina Yoon, Sumin Lee, Joo Yong SimCode GenerationReal-World Manipulation Tasks

  2. From Noise to Intent: Anchoring Generative VLA Policies with Residual Bridges

    Apr 23, 2026Yiming Zhong, Yaoyu He, Zemin Yang +5Generalizable Vision-Language-Action PoliciesRobot Policies

  3. Bridging Language and Physics: Automated Design of Continuum Robots with Large Language Models

    Sep 8, 2026Jingyi Chen, Mohan Zhang, Laura Yao +5Robot SystemsOffline Reinforcement Learning