English

Sensory-Motor Control with Large Language Models via Iterative Policy Refinement

Artificial Intelligence 2026-02-25 v4 Human-Computer Interaction Machine Learning Robotics

Abstract

We propose a method that enables large language models (LLMs) to control embodied agents through the generation of control policies that directly map continuous observation vectors to continuous action vectors. At the outset, the LLMs generate a control strategy based on a textual description of the agent, its environment, and the intended goal. This strategy is then iteratively refined through a learning process in which the LLMs are repeatedly prompted to improve the current strategy, using performance feedback and sensory-motor data collected during its evaluation. The method is validated on classic control tasks from the Gymnasium library and the inverted pendulum task from the MuJoCo library. The approach proves effective with relatively compact models such as GPT-oss:120b and Qwen2.5:72b. In most cases, it successfully identifies optimal or near-optimal solutions by integrating symbolic knowledge derived through reasoning with sub-symbolic sensory-motor data gathered as the agent interacts with its environment.

Keywords

Cite

@article{arxiv.2506.04867,
  title  = {Sensory-Motor Control with Large Language Models via Iterative Policy Refinement},
  author = {Jônata Tyska Carvalho and Stefano Nolfi},
  journal= {arXiv preprint arXiv:2506.04867},
  year   = {2026}
}

Comments

Final version of the article accepted for publication on Scientific Reports. 29 pages (13 pages are from appendix), 8 figures, 2 tables, code for experiments replication and supplementary material provided at https://github.com/jtyska/llm-robotics-article/

R2 v1 2026-07-01T03:01:08.918Z