共 44 条
Evaluating LLMs for Code Generation in HRI: A Comparative Study of ChatGPT, Gemini, and Claude
被引:0
|作者:
Sobo, Andrei
[1
]
Mubarak, Awes
[1
]
Baimagambetov, Almas
[1
]
Polatidis, Nikolaos
[1
]
机构:
[1] Univ Brighton, Sch Architecture Technol & Engn, Cockcroft 521,Moulsecoomb Campus, Brighton BN2 4GJ, England
关键词:
Personnel training - Robot applications - Robot programming;
D O I:
10.1080/08839514.2024.2439610
中图分类号:
TP18 [人工智能理论];
学科分类号:
081104 ;
0812 ;
0835 ;
1405 ;
摘要:
This study investigates the effectiveness of Large Language Models (LLMs) in generating code for Human-Robot Interaction (HRI) applications. We present the first direct comparison of ChatGPT 3.5, Gemini 1.5 Pro, and Claude 3.5 Sonnet in the specific context of generating code for Human-Robot Interaction applications. Through a series of 20 carefully designed prompts, ranging from simple movement commands to complex object manipulation scenarios, we evaluate the models' ability to generate accurate and context-aware code. Our findings reveal significant variations in performance, with Claude 3.5 Sonnet achieving a 95% success rate, Gemini 1.5 Pro at 60%, and ChatGPT 3.5 at 20%. The study highlights the rapid advancement in LLM capabilities for specialized programming tasks while also identifying persistent challenges in spatial reasoning and adherence to specific constraints. These results suggest promising applications for LLMs in robotics development and education while emphasizing the continued need for human oversight and specialized training in AI-assisted programming for HRI.
引用
收藏
页数:22
相关论文