Exploring GPT-4 for Robotic Agent Strategy with Real-Time State Feedback and a Reactive Behaviour Framework
Deploying large language models (LLMs) for embodied humanoid robots faces four key challenges: safety assurance, seamless cross-task transition, multi-timescale task adaptation, and closed-loop state feedback. Method: We propose a GPT-4–empowered hierarchical control framework integrating prompt engineering, real-time sensor feedback, hierarchical behavior state machines, and dynamic re-planning to enable reliable, goal-directed subtask decomposition and execution in both simulation and real-world settings. Contribution/Results: This work is the first to systematically address safety-constrained LLM deployment for embodied agents, ensure task-transition consistency, and close the perception–decision–action loop. Experiments demonstrate 100% executable subtask generation across all timescales, jitter-free task switching, and significantly higher user-goal success rates versus baseline methods—substantially enhancing the practical deployability of LLM-driven robots in real-world scenarios.