ReAct Meets Industrial IoT: Language Agents for Data Access

James T Rayfield, Shuxin Lin, Nianjun Zhou, Dhaval Patel2025

Introduction

In the era of Industry 4.0, physical assets such as chillers and air handling units (AHUs) generate vast amounts of data monitored by SCADA (Supervisory Control and Data Acquisition) systems. While these systems store years of critical operational data, accessing it typically requires deep technical expertise. A plant operator might ask, "How much power did B002 AHU 2-1-1 use on 6/14/16 at the POKMAIN site?" Answering such a query requires an AI to ground entities (identifying specific sites and sensors), perform temporal reasoning (translating dates to ISO timestamps), and execute multi-hop reasoning across various tool calls.

Standard Large Language Models (LLMs) often struggle with these tasks, frequently hallucinating sensor names or becoming trapped in repetitive tool-calling loops. To address these challenges, researchers from IBM have developed ReActXen, a multi-agent framework designed to navigate the complexities of industrial IoT (IIoT) data through natural language.

The ReActXen Framework

ReActXen is built upon the Reasoning and Acting (ReAct) paradigm, enhanced with a specialized "agent family" to ensure robust execution and error recovery.

The ReActXen multi-agent architecture, featuring specialized roles for distillation, execution, review, and reflection.

The framework employs several distinct roles:

  • Distillation Agent: Pre-processes complex queries into structured semantic units, identifying variables, constraints, and goals.
  • ReAct Agent with Self-Ask: The primary executor that utilizes self-questioning to maintain coherence during multi-step tasks.
  • Review Agent: A verifier that checks if the generated answer accurately addresses the original user query.
  • Reflect Agent: In the event of failure, this agent diagnoses errors and proposes a revised high-level plan for subsequent attempts.

A key innovation is the Tiny Trajectory Store (TTS). Rather than relying on expensive fine-tuning, ReActXen uses a library of "tiny trajectories"—short, successful examples of problem-solving—provided within the LLM's long-context window. This allows the model to adapt to specific industrial domains in-context.

Benchmarking with IoTBench

To evaluate the system, the researchers introduced IoTBench, a benchmark comprising over 400 tasks across five industrial sites. The dataset development involved three phases: creating a hand-crafted seed set of 20 high-quality queries, generating over 300 variations using the Evol-Instruct framework, and augmenting the data with metadata from diverse sites to test generalization across different asset hierarchies.

Key Insights

The study yielded several critical insights into agentic workflows for IIoT:

  1. Early Reflection: Injecting feedback early in the reasoning process is significantly more effective than late-stage feedback, as it stabilizes the model's thought trajectory and prevents error propagation.
  2. Contextual Learning: The success of the TTS suggests that for specialized domains, high-quality in-context examples are often more practical than weight-based fine-tuning, especially as context windows expand.
  3. Empowering Small Models: Agentic workflows allow smaller, more cost-effective models (e.g., 8B parameters) to perform at levels previously reserved for much larger models.

Results and Performance

The implementation of the reflection loop and multi-agent structure led to substantial performance gains. For instance, the Mistral-large model's success rate on the synthetic benchmark (DSyn-I) increased from 101 to 161 tasks simply by adding the reflection loop.

Comparison of tasks accomplished across various LLMs within the ReActXen framework, showcasing the high success rate of top-tier models on the seed task set.

Notably, the Granite-3-8b-instruct model saw its success rate jump from 88 to 149 tasks when integrated into the ReActXen framework. Most models achieved near-optimal performance within approximately five reflection steps. The removal of the TTS resulted in a sharp decline in performance, confirming its role as a vital component for domain adaptation.

Conclusion and Future Directions

While ReActXen represents a significant step forward, challenges remain in programmatically verifying sensor data without a ground-truth oracle and scaling the system to hundreds of sites with varying naming conventions. Future work will focus on leveraging the trajectories generated by ReActXen to fine-tune even more efficient, specialized industrial agents.

Summary updated

BibTeX
@misc{rayfield2025react,
  author = {James T Rayfield and Shuxin Lin and Nianjun Zhou and Dhaval Patel},
  title = {{ReAct Meets Industrial IoT: Language Agents for Data Access}},
  year = {2025},
  doi = {10.18653/v1/2025.emnlp-industry.24},
}
Figure