Table of Contents
Fetching ...

Large Language Models for Control

Adil Rasheed, Oscar Ravik, Omer San

TL;DR

The paper addresses the challenge of designing control systems that adapt to changing conditions without extensive control-engineering. It proposes a framework where large language models operate in a loop with goals, historical data, and predictive tools to generate actuator commands, evaluated on a greenhouse testbed. Key contributions include demonstrating that prompt-only LLMs can provide viable control, showing how SQL and predictor-assisted variants alter behavior and adaptability, and exposing a transparent prompt–evidence–decision chain for auditability. The findings suggest LLMs can serve as a flexible, auditable, human-in-the-loop control paradigm with practical implications for cyber-physical systems and data-centric infrastructures.

Abstract

This paper investigates using large language models (LLMs) to generate control actions directly, without requiring control-engineering expertise or hand-tuned algorithms. We implement several variants: (i) prompt-only, (ii) tool-assisted with access to historical data, and (iii) prediction-assisted using learned or simple models to score candidate actions. We compare them on tracking accuracy and actuation effort, with and without a prompt that requests lower actuator usage. Results show prompt-only LLMs already produce viable control, while tool-augmented versions adapt better to changing objectives but can be more sensitive to constraints, supporting LLM-in-the-loop control for evolving cyber-physical systems today and operator and human inputs.

Large Language Models for Control

TL;DR

The paper addresses the challenge of designing control systems that adapt to changing conditions without extensive control-engineering. It proposes a framework where large language models operate in a loop with goals, historical data, and predictive tools to generate actuator commands, evaluated on a greenhouse testbed. Key contributions include demonstrating that prompt-only LLMs can provide viable control, showing how SQL and predictor-assisted variants alter behavior and adaptability, and exposing a transparent prompt–evidence–decision chain for auditability. The findings suggest LLMs can serve as a flexible, auditable, human-in-the-loop control paradigm with practical implications for cyber-physical systems and data-centric infrastructures.

Abstract

This paper investigates using large language models (LLMs) to generate control actions directly, without requiring control-engineering expertise or hand-tuned algorithms. We implement several variants: (i) prompt-only, (ii) tool-assisted with access to historical data, and (iii) prediction-assisted using learned or simple models to score candidate actions. We compare them on tracking accuracy and actuation effort, with and without a prompt that requests lower actuator usage. Results show prompt-only LLMs already produce viable control, while tool-augmented versions adapt better to changing objectives but can be more sensitive to constraints, supporting LLM-in-the-loop control for evolving cyber-physical systems today and operator and human inputs.

Paper Structure

This paper contains 20 sections, 3 equations, 6 figures, 2 tables.

Figures (6)

  • Figure 1: Asset
  • Figure 2: The architechture of the three different LLM controller implementations.
  • Figure 3: Inter-comparison of different modeles
  • Figure 4: Results from running the LLM controllers witout trying to minimize fan usage.
  • Figure 5: Results from running the LLM controllers while trying to minimize the fan usage.
  • ...and 1 more figures