Abstract
Large Language Models (LLMs) are increasingly expected to act as autonomous agents and functional simulators. However, existing benchmarks primarily focus on static question-answering or human-centric role-play. We introduce SimulBench, a comprehensive benchmark designed to evaluate LLMs on their ability to simulate non-human systems, such as Linux terminals, SQL executors, and strategic games. Our findings indicate that while top-tier models like GPT-4-turbo lead in performance, significant hurdles remain in long-horizon logic, state maintenance, and robustness against erroneous dialogue histories.
Introduction
The evaluation of LLMs has traditionally centered on "static" interactions—single-turn prompts or predefined multi-turn dialogues. While these metrics are useful, they fail to capture the dynamic nature of real-world simulations where a model must adhere to strict underlying rules and maintain a consistent "state" over time.
SimulBench addresses this gap by shifting the focus from human personas (e.g., "act like a doctor") to functional environments. To become reliable agents, LLMs must be able to simulate complex systems without breaking logic or character, even when faced with unpredictable user input.
Methodology and Datasets
The SimulBench framework utilizes a multi-stage evaluation process:
- Task Collection: 109 distinct simulation tasks were gathered, categorized into Stateless (one-off calls like password generation) and Stateful (evolving environments like a Python interpreter).
- User Agent Interaction: A GPT-3.5-turbo "user agent" interacts with target models using various strategies to probe the limits of the simulation.
- Test Script Extraction: 500 "challenging" snippets (SimulBench-All) were extracted, with a 275-script "Hard" subset focusing on complex requests or previous model failures.
- LLM-as-a-Judge: GPT-4 scores responses based on rule adherence and constraint satisfaction.
Analysis of Simulation Capabilities
Knowledge vs. Application
A recurring theme in our evaluation is that LLMs are often "book smart" but "street dumb." While a model can perfectly articulate the rules of a game like Gomoku, it frequently fails to maintain a valid board state or execute a coherent strategy during live play.
Stateful vs. Stateless Performance
Surprisingly, top-tier models often perform better on technical stateful tasks, such as acting as a Linux terminal, than on complex stateless tasks involving character-level reasoning (e.g., cryptography). This likely stems from the abundance of technical logs and code in training data. However, maintaining a consistent state remains a challenge, particularly when the dialogue history contains errors.
The "History Infection" Problem
A critical finding is the "History Infection" phenomenon. Ideally, a simulator should ignore past mistakes in a dialogue history and provide a correct response to the current query. Instead, many models—including GPT-4o—showed a performance drop when exposed to erroneous histories, suggesting they "learn" incorrect patterns from the context rather than filtering them out.
Key Results
- Proprietary Dominance: GPT-4-turbo remains the benchmark leader across all categories.
- Open-Source Gap: LLaMA-3-70B-Chat is the strongest open-source model but still trails GPT-4-turbo by 18.55% on the most difficult tasks.
- Scale and Robustness: Larger models generally handle history information better. Interestingly, GPT-4-turbo proved more robust than GPT-4o on the "Hard" subset, as the latter was more susceptible to history infection.
Conclusion
SimulBench highlights that while LLMs are becoming more capable, their ability to serve as reliable functional simulators is still limited by state-tracking errors and sensitivity to context. Future work will focus on expanding task diversity, incorporating real-world user queries, and testing stability over even longer interaction horizons.
Summary updated