Fine-tuning LLMs for Autonomous Spacecraft Control: A Case Study Using Kerbal Space Program

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Carrasco, Alejandro, Rodriguez-Fernandez, Victor, Linares, Richard
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913543998144512
author Carrasco, Alejandro
Rodriguez-Fernandez, Victor
Linares, Richard
author_facet Carrasco, Alejandro
Rodriguez-Fernandez, Victor
Linares, Richard
contents Recent trends are emerging in the use of Large Language Models (LLMs) as autonomous agents that take actions based on the content of the user text prompt. This study explores the use of fine-tuned Large Language Models (LLMs) for autonomous spacecraft control, using the Kerbal Space Program Differential Games suite (KSPDG) as a testing environment. Traditional Reinforcement Learning (RL) approaches face limitations in this domain due to insufficient simulation capabilities and data. By leveraging LLMs, specifically fine-tuning models like GPT-3.5 and LLaMA, we demonstrate how these models can effectively control spacecraft using language-based inputs and outputs. Our approach integrates real-time mission telemetry into textual prompts processed by the LLM, which then generate control actions via an agent. The results open a discussion about the potential of LLMs for space operations beyond their nominal use for text-related tasks. Future work aims to expand this methodology to other space control tasks and evaluate the performance of different LLM families. The code is available at this URL: \texttt{https://github.com/ARCLab-MIT/kspdg}.
format Preprint
id arxiv_https___arxiv_org_abs_2408_08676
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Fine-tuning LLMs for Autonomous Spacecraft Control: A Case Study Using Kerbal Space Program
Carrasco, Alejandro
Rodriguez-Fernandez, Victor
Linares, Richard
Artificial Intelligence
Instrumentation and Methods for Astrophysics
Recent trends are emerging in the use of Large Language Models (LLMs) as autonomous agents that take actions based on the content of the user text prompt. This study explores the use of fine-tuned Large Language Models (LLMs) for autonomous spacecraft control, using the Kerbal Space Program Differential Games suite (KSPDG) as a testing environment. Traditional Reinforcement Learning (RL) approaches face limitations in this domain due to insufficient simulation capabilities and data. By leveraging LLMs, specifically fine-tuning models like GPT-3.5 and LLaMA, we demonstrate how these models can effectively control spacecraft using language-based inputs and outputs. Our approach integrates real-time mission telemetry into textual prompts processed by the LLM, which then generate control actions via an agent. The results open a discussion about the potential of LLMs for space operations beyond their nominal use for text-related tasks. Future work aims to expand this methodology to other space control tasks and evaluate the performance of different LLM families. The code is available at this URL: \texttt{https://github.com/ARCLab-MIT/kspdg}.
title Fine-tuning LLMs for Autonomous Spacecraft Control: A Case Study Using Kerbal Space Program
topic Artificial Intelligence
Instrumentation and Methods for Astrophysics
url https://arxiv.org/abs/2408.08676