SysCaps: Language Interfaces for Simulation Surrogates of Complex Systems

Patrick Emami, Zhaonan Li, Saumya Sinha, Truc Nguyen

Introduction

Simulating complex energy systems—such as wind farms or city-scale power grids—is computationally expensive. To accelerate this process, researchers often rely on fast machine learning "surrogate" models to approximate heavy numerical simulations. This paper introduces SysCaps (System Captions), a novel framework that replaces rigid tabular inputs with natural language descriptions. By allowing users to interact with these surrogates via text, the resulting models are not only more accessible but also achieve higher accuracy and zero-shot generalization to unseen system descriptions.

The Challenge of Complex System Simulation

To understand how complex energy systems will behave, scientists run intensive numerical simulations on supercomputers. For example, predicting a building's annual energy consumption requires processing its architectural attributes and local weather data. To speed up these predictions, data-driven surrogate models are trained to approximate the simulator's outputs.

Traditionally, a system's attributes (e.g., square footage, HVAC type, number of turbines) are fed into the surrogate using rigid tabular formats like one-hot encoding. This creates two primary bottlenecks:

  1. Accessibility: Tabular formats are unintuitive for non-experts, such as policymakers or urban planners, who need to use these models for system design and investment decisions.
  2. Generalization: One-hot encoding treats all categories as strictly orthogonal. The model has no inherent way to know that a "Retail Stripmall" is semantically similar to a "Shopping Center," severely limiting its ability to generalize to new, related configurations.

Introducing SysCaps: System Captions

To overcome these limitations, the authors propose replacing tabular feature vectors with SysCaps—text-based descriptions of the system.

Overview of the SysCaps framework

The framework explores two primary formats for these captions:

  • Key-Value: Simple concatenated strings of attributes (e.g., building_type: Retail | sqft: 7500).
  • Natural Language: Conversational descriptions generated by prompting a Large Language Model (LLM), such as Llama-2-7b-chat, with the system's tabular metadata.

Note: The LLM is only used offline to generate the training data captions; the actual surrogate uses a much smaller, faster text encoder during inference.

Multimodal Surrogate Architecture

To process these text descriptions alongside traditional data, the researchers designed a lightweight multimodal surrogate architecture.

Multimodal surrogate architecture combining text and timeseries

The architecture operates in three steps:

  1. A text encoder (such as a fine-tuned BERT or DistilBERT) embeds the SysCap into a dense vector representation.
  2. This text embedding is broadcasted and concatenated with the exogenous timeseries inputs (e.g., hourly weather data).
  3. The combined sequence is fed into a bidirectional sequence encoder (like an LSTM or a Structured State Space model) to predict the continuous timeseries output, such as hourly energy usage.

Experimental Setup

The authors evaluated their approach on two real-world complex energy system simulators:

  • Building Stock Simulation: Based on the EnergyPlus simulator, utilizing the Buildings-900K dataset. The task is to predict 8,760 hours of energy consumption given weather timeseries and building attributes across 330K training buildings and 6K test buildings.
  • Wind Farm Wake Modeling: Based on the FLORIS simulator, predicting steady-state power generation based on wind farm layout and atmospheric conditions across 500 unique system configurations.

Key Insights and Results

  • Superior Accuracy: SysCaps-augmented surrogates—particularly those using key-value formats paired with a BERT encoder—outperformed traditional one-hot encoded baselines (LSTM, SSM, ResNet) and heavily tuned LightGBM models on held-out test sets.
  • Semantic Robustness and Synonym Generalization: Because the model leverages pre-trained language embeddings, it understands real-world semantics out-of-the-box. When building types in the test set were replaced with LLM-generated synonyms (e.g., swapping "RetailStandalone" for "ConvenienceStore"), SysCaps models saw less than a 13% increase in error. In contrast, baseline models experienced massive error spikes ranging from 54% to 90%.
  • Language as a Regularizer: In small-data regimes, such as the wind farm dataset with only 300 training configurations, standard models severely overfit. By using "prompt augmentation"—asking the LLM to rewrite the same system description in different styles—the text embeddings act as a powerful regularizer. Aided by this augmentation, the natural language SysCaps model achieved an impressive NRMSE of 0.035, compared to a standard one-hot ResNet model's NRMSE of 0.212.
  • Intuitive Design Space Exploration: SysCaps unlock the ability to "chat" with a simulation. An engineer can easily tweak a text prompt to instantly visualize how a design choice impacts energy consumption.

Limitations and Future Directions

While promising, the SysCaps framework has a few limitations. Standard text tokenizers are notoriously bad at math, meaning the model struggles to interpolate unseen numerical values (like extreme square footages) and can get confused by formatting variations like commas in large numbers. Additionally, the LLM used to generate training captions occasionally dropped attributes or made logical errors (a 9-12% error rate), which can cap the performance of the natural language approach compared to the strict key-value format.

Future work suggests extending language interfaces to control the timeseries inputs as well (e.g., prompting the model with "What if the average temperature increases by 5 degrees?"). Ultimately, this points toward the creation of "surrogate foundation models" capable of generalizing across entirely different types of physics simulators.

Summary updated

BibTeX
@inproceedings{emami2025syscaps,
  author = {Patrick Emami and Zhaonan Li and Saumya Sinha and Truc Nguyen},
  title = {{SysCaps: Language Interfaces for Simulation Surrogates of Complex Systems}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=1R5BcYS8EC},
}
Figure