CrashGym: Measuring the Decision Value of Experimentation for LLM Agents in Counterfactual Market Crashes
Organizations: Columbia University · Cornell University · Hithink RoyalFlush Information Network Co., Ltd. · New York University
Abstract
Language-model agents are increasingly asked to run experiments, yet benchmarks rarely measure whether those experiments improve the decisions they are meant to inform. We introduce CrashGym, a deterministic, replayable limit-order-book simulator in which an agent must choose between a deleveraging intervention and a liquidity backstop for a market about to suffer a shock-triggered crash. Before committing, the agent may query intervention experiments in a laboratory realization of the market. Its choice is then scored on an independently seeded target realization in which the simulator executes every feasible intervention, so regret relative to the best intervention is computed by directly simulating every alternative on the same target repeats, with no human or model-based judging. The simulator implements each amplification channel---persistent price impact, liquidity withdrawal, margin-driven liquidation, and an evolving strategy mix---as an explicit mechanism that can be switched on in stages. In a prospectively specified study on 24 newly sampled worlds, laboratory access reduces the mean regret of the one deployment with a complete record (Luna) from 8.878 to 3.785, a paired reduction of 5.092 utility units (nominal 95% world-bootstrap interval: 1.028--9.507), or 57.4% of the OBSERVE-ONLY mean. Prospective comparisons for two further deployments are incomplete; in a separate exploratory study, mean regret is lower with laboratory access for all four deployments evaluated. A laboratory whose strategy mix evolves endogenously yields no established advantage over one with a fixed mix. CrashGym thus measures the value of experimentation as avoided decision loss and lets simulator detail be judged by the decisions it supports.
Figures & tables
| Participant | Rule per step | Active from |
| Market maker | 40-level ladder per side at ticks; lots/level at step 0, 400 during steps 1–7, from the shock on, thinned under stress (Eq. 1 ) | all configurations |
| Noise traders | 8 marketable orders of 4 lots, side drawn with probability | all configurations |
| Leveraged trader | buys 160–240 lots at step 1; forced sales when below maintenance margin (Eq. 2 ) | margin rule: leverage stage |
| Fundamental trader | 4 lots per tick of , marketable | leverage stage |
| Trend follower | lots, , marketable | leverage stage |
| Adaptive participant | after the shock, draws the Fundamental or Trend candidate from shares ; shares fixed or evolving (Eq. 3 ) | leverage stage |
| Condition | Mean regret | Optimal actions | Scored / planned | Difference from Observe-only |
|---|---|---|---|---|
| Observe-only | 8.878 | 30/48 | 48/48 | — |
| Placebo-tools | 6.509 | 33/48 | 48/48 | |
| Adaptive-lab (primary) | 3.785 | 37/48 | 48/48 | |
| Fixed-mix-lab | 2.660 | 44/48 | 48/48 |
| Deployment | Observe-only | Adaptive-lab | Fixed-mix-lab | Adapt Obs [95% int.] | Adapt Fixed [95% int.] |
|---|---|---|---|---|---|
| Sol | 6.121 (37) | 0.764 (42) | 1.091 (46) | ||
| Terra | 19.902 (18) | 3.550 (40) | 4.441 (41) | ||
| Luna | 7.676 (36) | 4.551 (39) | 3.287 (43) | ||
| GPT-5.5 (supp.) | 10.017 (31) | 1.575 (45) | 3.160 (44) |
| Laboratory utility selector | Optimal target actions | Mean target regret |
|---|---|---|
| Fixed-mix laboratory adaptive target | 47/48 | 0.3802 |
| Adaptive laboratory adaptive target | 46/48 | 0.5895 |
Appendix figures & tables2 assets
Supplementary material from the paper’s appendix.
Appendix
| Parameter | Value |
|---|---|
| Fixed across worlds | |
| Horizon; shock step; intervention step; exposure step | ; ; step 4; step 1 |
| Tick size; fee; cost scale | 1 tick; 1 per lot per counterparty; 100 |
| Fundamental value | 10,000 ticks, constant |
| Risk limits | position lots; notional initial cash |
| Marketable-order band | 100 ticks through the best opposite quote |
| Deployment | Condition | Scored | Empty | Blocked | Mean calls (range) |
|---|---|---|---|---|---|
| Luna | Observe-only | 48 | 0 | 0 | — |
| Adaptive-lab | 48 | 0 | 0 | 4.71 (4–7) | |
| Fixed-mix-lab | 48 | 0 | 0 | 4.52 (2–6) | |
| Placebo-tools | 48 | 0 | 0 | 4.25 (3–7) | |
| Sol | Observe-only | 25 | 1 | 22 | — |
| Adaptive-lab | 22 | 4 | 22 | 4.45 (3–6) |
Value of Information
Value of information studies whether acquiring information can improve decisions enough to justify its cost.
See all 37 papers