Investigating the Effectiveness of a Socratic Chain-of-Thoughts Reasoning Method for Task Planning in Robotics, A Case Study
Veronica Bot, Zheyuan Xu
TL;DR
This work investigates whether Socratic Chain-of-Thoughts (SocraCoT) can enhance zero-shot task planning for robotics by combining multi-agent, Socratic reasoning with chain-of-thought prompts to generate subtasks and robotic control code. Using a Webots-simulated Tiago robot and GPT-4(Omni), the study compares Non-CoT, CoT, and SocraCoT strategies on an object-search task across twenty runs, measuring task success and execution time. Results suggest SocraCoT improves the logical quality of subtasks and reduces coding errors relative to baseline CoT, albeit with higher compute and latency costs; limitations include perception challenges and potential prompt-driven variability. The authors propose EVINCE-LoC as an enhanced framework to boost performance in complex or dynamic scenarios, outlining avenues for prompt engineering and integration with localization-perception modules. Overall, the paper contributes a first demonstration of combining Socratic reasoning with CoT for robotic task planning and outlines practical steps to scale this approach in real-world-like settings.
Abstract
Large language models (LLMs) have demonstrated unprecedented capability in reasoning with natural language. Coupled with this development is the emergence of embodied AI in robotics. Despite showing promise for verbal and written reasoning tasks, it remains unknown whether LLMs are capable of navigating complex spatial tasks with physical actions in the real world. To this end, it is of interest to investigate applying LLMs to robotics in zero-shot learning scenarios, and in the absence of fine-tuning - a feat which could significantly improve human-robot interaction, alleviate compute cost, and eliminate low-level programming tasks associated with robot tasks. To explore this question, we apply GPT-4(Omni) with a simulated Tiago robot in Webots engine for an object search task. We evaluate the effectiveness of three reasoning strategies based on Chain-of-Thought (CoT) sub-task list generation with the Socratic method (SocraCoT) (in order of increasing rigor): (1) Non-CoT/Non-SocraCoT, (2) CoT only, and (3) SocraCoT. Performance was measured in terms of the proportion of tasks successfully completed and execution time (N = 20). Our preliminary results show that when combined with chain-of-thought reasoning, the Socratic method can be used for code generation for robotic tasks that require spatial awareness. In extension of this finding, we propose EVINCE-LoC; a modified EVINCE method that could further enhance performance in highly complex and or dynamic testing scenarios.
