|
Download README.md from flybits/LID-Bench: direct link, hf CLI and curl.
- Browser
- Download file 9.74 kB
-
https://huggingface.co/datasets/flybits/LID-Bench/resolve/main/README.md
- Command line
-
hf download hf://datasets/flybits/LID-Bench/README.md
-
curl -L -o README.md https://huggingface.co/datasets/flybits/LID-Bench/resolve/main/README.md
9.74 kB
| license: cc-by-4.0 | |
| pretty_name: LID-Bench | |
| language: | |
| - en | |
| size_categories: | |
| - 100K<n<1M | |
| tags: | |
| - world-models | |
| - dialogue | |
| - latent-dynamics | |
| - synthetic | |
| - benchmark | |
| configs: | |
| - config_name: observed | |
| data_files: | |
| - split: full | |
| path: lid1k_observed.parquet | |
| default: true | |
| - config_name: oracle_eval | |
| data_files: | |
| - split: full | |
| path: lid1k_oracle_eval.parquet | |
| - config_name: counterfactual_eval | |
| data_files: | |
| - split: full | |
| path: lid1k_counterfactual_eval.parquet | |
| # LID-Bench | |
| LID-Bench (Latent Interaction Dynamics) is a benchmark for world models of social interaction. It | |
| contains 4,750 synthetic dialogues of 25 turns each. Every user turn is rendered from a known latent | |
| state that evolves under documented dynamics, so a model's forecasts can be scored against the | |
| true state rather than against text. | |
| The benchmark accompanies the NeurIPS 2026 paper | |
| [*Imagine, Don't Narrate: The Generative Bottleneck in World Models of Interaction Dynamics*](https://neurips.cc/virtual/2026/loc/sydney/poster/150345). | |
| Code, models and evaluation scripts will be released at https://github.com/flybits/social-jepa. | |
| ## What an episode contains | |
| - **Latent state \\(Z_t\\)**, also called the oracle state: 9 coordinates. Three static traits | |
| (openness, patience, expertise) and six dynamic coordinates (trust, resistance, arousal, load, | |
| confusion, stress). The dynamic six are the forecasting targets. | |
| - **Agent action \\(A_t\\)**, one of 8 abstract actions: Boundary, Clarify, Correct, Reframe, | |
| SuggestNext, Summarize, Validate, Wait. | |
| - **Time gap \\(\Delta t_t\\)** since the previous turn, in arbitrary units (median 1.27). | |
| - **Text.** An agent utterance and a user response, rendered by GPT-4o (temperature 0.85) from the | |
| action, the domain and the latent state. The user response reflects \\(Z\\) without naming it. | |
| - **Domain**, one of 5: CareerMentoring, CustomerService, MedTriage, Persuasion, Tutoring. | |
| Actions come from a behavior policy \\(\pi_b = 0.7\,\pi_{\mathrm{struct}} + 0.3\,\pi_{\mathrm{explore}}\\). | |
| \\(\pi_{\mathrm{struct}}\\) is a softmax over action utilities computed from the oracle state, and | |
| \\(\pi_{\mathrm{explore}}\\) is an exploration component that keeps every (action, | |
| latent-regime bin, time-gap bin) cell covered. Models never see the oracle state; they observe only | |
| the text, the actions and the time gaps. | |
| ## Files | |
| | File | Rows | Size | SHA256 (first 12) | Contents | | |
| |---|---|---|---|---| | |
| | `lid1k_observed.parquet` | 118,750 | 44.9 MB | `51d791c49576` | Every split. One row per turn: text, action, time gap, template family, pairing and OOD labels, and the oracle state columns `Z_t_<c>`, `Z_tp1_<c>`, one pair per coordinate `c`. | | |
| | `lid1k_oracle_eval.parquet` | 56,250 | 5.1 MB | `5bca94cc7813` | Evaluation splits only (ID-val, ID-test, OOD): oracle \\(Z_t\\) and \\(Z_{t+1}\\). | | |
| | `lid1k_counterfactual_eval.parquet` | 33,750 | 30.6 MB | `61e6ac370735` | 15 evaluation turns per evaluation episode. For each of the 8 actions, the mean and std of the six dynamic coordinates of \\(Z_{t+1}\\) over \\(M = 1{,}000\\) Monte Carlo draws of the dynamics noise (task T2). | | |
| | `split_manifest.json` | – | 0.2 MB | – | Split definitions, seed pairing, configuration summary. | | |
| | `qa_report.json` | – | 1.6 KB | – | Quality-gate results (below). | | |
| | `checksums.txt` | – | 0.3 KB | – | Full SHA256 of the three Parquet files. | | |
| The file names and SHA256 hashes match those listed in the paper. | |
| ### Columns | |
| `lid1k_observed.parquet`: | |
| | Group | Columns | | |
| |---|---| | |
| | Observations | `agent_utterance`, `user_response`, `action_id`, `action_name`, `delta_t` | | |
| | Index and metadata | `episode_id`, `domain`, `seed`, `split_id`, `t`, `template_family`, `ood_mechanism` (OOD rows), `pair_id` (paired OOD rows) | | |
| | Oracle state | `Z_t_<c>` and `Z_tp1_<c>` for the 9 coordinates `c`, for example `Z_t_trust` and `Z_tp1_trust` | | |
| `lid1k_oracle_eval.parquet` has `episode_id`, `domain`, `split_id`, `t` and the oracle state. | |
| `lid1k_counterfactual_eval.parquet` has the same index columns, `delta_t`, `mc_samples`, `Z_t_<c>` | |
| for the 9 coordinates, and `z_next_mean_<action>_<c>` / `z_next_std_<action>_<c>` for each of the 8 | |
| actions and the six dynamic coordinates (for example `z_next_mean_Clarify_trust`). | |
| ## Splits | |
| The benchmark's splits are defined by the `split_id` column. On Hugging Face, all rows load as a | |
| single split named `full`; filter on `split_id` to select a benchmark split. | |
| | `split_id` | Episodes | Notes | | |
| |---|---|---| | |
| | `id_train` | 2,500 | 500 per domain; template families 1–10 | | |
| | `id_val` | 150 | template families 11–16 | | |
| | `id_test` | 300 | template families 11–16 | | |
| | `ood_paired_<shift>` | 300 per shift | paired: episodes with the same `pair_id` share a seed and a domain across the five shifts | | |
| | `ood_audit_<shift>` | 60 per shift | unpaired, with their own seeds | | |
| `<shift>` is one of `threshold`, `delay`, `noise`, `rare`, `family`. | |
| Training and evaluation episodes use disjoint template families. | |
| ## Distribution shifts | |
| The out-of-distribution (OOD) splits apply five shifts to the generative process, relative to the | |
| in-distribution (ID) splits: | |
| - **Threshold:** a lowered backfire threshold, \\(b_{bf}\\) = 2.0 or 2.5 instead of 3.5, so sign | |
| reversals happen more often. | |
| - **Delay:** an action's effect on the state is spread over four consecutive transitions, with | |
| geometrically decaying weights (decay rate 0.4 or 0.6), instead of being applied in a single | |
| step. | |
| - **Noise:** in user responses, about 28% of content words are dropped (rendered `[...]`), and 0–4 | |
| irrelevant filler sentences are inserted per turn. | |
| - **Rare:** initial states drawn from the high-arousal, high-resistance region. | |
| - **Family:** an alternative transition family: a hard-threshold backfire gate and quadratic | |
| coupling. | |
| Delay and Family episodes also take uniform-random actions rather than \\(\pi_b\\). | |
| ## Tasks | |
| - **T1, multi-step latent prediction.** A linear probe fit on ID-train embeddings maps a model's | |
| state to oracle \\(Z\\). Encoding \\(R^2\\) at \\(k = 0\\) measures the representation. \\(R^2\\) at | |
| horizons \\(k = 1, \dots, 5\\) measures the dynamics. The probe is never refit on OOD data. | |
| - **T2, counterfactual action effects.** For each evaluation state, the Monte Carlo next states | |
| under all 8 actions are the ground truth. Models are scored by sign accuracy (direction of each | |
| effect) and Spearman rank correlation of the action ranking. | |
| - **T3, latent MPC planning.** CEM planning using a learned dynamics model, scored by normalized | |
| improvement between a random-action floor and an oracle-state CEM ceiling. | |
| T1 and T2 can be run from these files alone. T3 cannot: the planner picks actions that are not in | |
| the recorded dialogues, so their true outcomes have to be computed with the dynamics simulator in | |
| the code repository. | |
| ## Quality gates | |
| All six quality gates pass (`qa_report.json`). | |
| | Gate | Checks | Measured | Threshold | | |
| |---|---|---|---| | |
| | G1 Dynamics validity | max recurrence error over 73,750 ID transitions | 0.000 | ≤ 1e-4 | | |
| | G2 Shortcut | TF-IDF Ridge \\(R^2\\) of the oracle state, train → OOD | 0.085 | ≤ 0.20 | | |
| | G3 Template isolation | template families shared between train and eval | 0 | must be 0 | | |
| | G4 Lexical overlap | train/eval Jaccard similarity of character 3–5-grams | 0.562 | ≤ 0.70 | | |
| | G5 Action leakage | accuracy predicting \\(A_t\\) from user text (chance 0.125) | 0.303 | ≤ 0.34 | | |
| | G6 Coverage | minimum visits per (action, latent-regime bin, time-gap bin) cell; 288/288 filled | 4 | ≥ 1 | | |
| ## Loading | |
| ```python | |
| from datasets import load_dataset | |
| obs = load_dataset("flybits/LID-Bench", "observed", split="full") | |
| train = obs.filter(lambda r: r["split_id"] == "id_train").to_pandas() | |
| DYNAMIC = ["trust", "resistance", "arousal", "load", "confusion", "stress"] | |
| X = train[["agent_utterance", "user_response", "action_name", "delta_t"]] | |
| Z_next = train[[f"Z_tp1_{c}" for c in DYNAMIC]] # the six forecasting targets | |
| ``` | |
| With pandas: | |
| ```python | |
| import pandas as pd | |
| obs = pd.read_parquet("hf://datasets/flybits/LID-Bench/lid1k_observed.parquet") | |
| ``` | |
| To verify a download (`checksums.txt` lists the file name before the hash): | |
| ```bash | |
| awk '{print $2" "$1}' checksums.txt | shasum -a 256 -c | |
| ``` | |
| ## Limitations | |
| - **The text is synthetic.** One model (GPT-4o) renders all of it, in English, from hand-designed | |
| dynamics. LID-Bench measures how well a model recovers these dynamics, not real human behavior. | |
| - **Some ID-train labels don't match the text.** In 478 of the 2,500 `id_train` episodes, the | |
| stored actions and oracle states differ on some turns from the ones the text was rendered from. | |
| The validation, test and OOD splits are unaffected, and the paper's results use the files as | |
| released. | |
| - **The text cannot be regenerated exactly.** The generator in the code release samples from GPT-4o | |
| at temperature 0.85, so rerunning it produces different dialogue text. For comparable results, | |
| use the released files. | |
| ## Personal and sensitive information | |
| LID-Bench does not contain data collected from people. Any email addresses or phone numbers in the | |
| text were generated by GPT-4o. | |
| ## License | |
| LID-Bench is licensed under the | |
| [Creative Commons Attribution 4.0 International License](https://creativecommons.org/licenses/by/4.0/) | |
| (CC BY 4.0). | |
| ## Citation | |
| If you use LID-Bench, please cite the paper: | |
| ```bibtex | |
| @inproceedings{platnick2026imagine, | |
| title = {Imagine, Don't Narrate: The Generative Bottleneck in World Models of Interaction Dynamics}, | |
| author = {Platnick, Daniel and Alirezaie, Marjan and Rahnama, Hossein}, | |
| booktitle = {Advances in Neural Information Processing Systems}, | |
| year = {2026} | |
| } | |
| ``` | |