Can Large Language Models Help Developers with Robotic Finite State Machine Modification?
Fuente:
arXiv
Saved in:
| Main Authors: | , , , |
|---|---|
| Format: | Preprint |
| Published: |
2024
|
| Subjects: | |
| Online Access: | |
| Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
| _version_ | 1866909419290230784 |
|---|---|
| author | Gan, Xiangyu Robin Song, Yuxin Ray Walker, Nick Cakmak, Maya |
| author_facet | Gan, Xiangyu Robin Song, Yuxin Ray Walker, Nick Cakmak, Maya |
| contents | Finite state machines (FSMs) are widely used to manage robot behavior logic, particularly in real-world applications that require a high degree of reliability and structure. However, traditional manual FSM design and modification processes can be time-consuming and error-prone. We propose that large language models (LLMs) can assist developers in editing FSM code for real-world robotic use cases. LLMs, with their ability to use context and process natural language, offer a solution for FSM modification with high correctness, allowing developers to update complex control logic through natural language instructions. Our approach leverages few-shot prompting and language-guided code generation to reduce the amount of time it takes to edit an FSM. To validate this approach, we evaluate it on a real-world robotics dataset, demonstrating its effectiveness in practical scenarios. |
| format | Preprint |
| id |
arxiv_https___arxiv_org_abs_2412_05625 |
| institution | arXiv |
| publishDate | 2024 |
| record_format | arxiv |
| spellingShingle | Can Large Language Models Help Developers with Robotic Finite State Machine Modification? Gan, Xiangyu Robin Song, Yuxin Ray Walker, Nick Cakmak, Maya Robotics Finite state machines (FSMs) are widely used to manage robot behavior logic, particularly in real-world applications that require a high degree of reliability and structure. However, traditional manual FSM design and modification processes can be time-consuming and error-prone. We propose that large language models (LLMs) can assist developers in editing FSM code for real-world robotic use cases. LLMs, with their ability to use context and process natural language, offer a solution for FSM modification with high correctness, allowing developers to update complex control logic through natural language instructions. Our approach leverages few-shot prompting and language-guided code generation to reduce the amount of time it takes to edit an FSM. To validate this approach, we evaluate it on a real-world robotics dataset, demonstrating its effectiveness in practical scenarios. |
| title | Can Large Language Models Help Developers with Robotic Finite State Machine Modification? |
| topic | Robotics |
| url | https://arxiv.org/abs/2412.05625 |