intervention-audit / README.md
MattFlathers's picture
card: loading example, field values, output limits, medical-advice note, citation; fix the config table and the derived-table note
dadcc6d verified
|
Raw History Blame Contribute Delete
17.7 kB
metadata
license: cc-by-4.0
task_categories:
  - text-generation
language:
  - en
pretty_name: MindBench Intervention Audit
version: 1.0.0
tags:
  - mental-health
  - psychiatry
  - llm-evaluation
  - audit
  - llm-as-a-judge
  - clinical
size_categories:
  - 1M<n<10M
configs:
  - config_name: responses
    default: true
    data_files:
      - split: train
        path: data/responses/train.jsonl
  - config_name: judgments
    data_files:
      - split: train
        path: data/judgments/train.jsonl
  - config_name: rating_calls
    data_files:
      - split: train
        path: data/rating_calls/train.jsonl
  - config_name: entities
    data_files:
      - split: train
        path: data/entities/train.jsonl
  - config_name: ratings
    data_files:
      - split: train
        path: data/ratings/train.jsonl
  - config_name: rating_attempts
    data_files:
      - split: train
        path: data/rating_attempts/train.jsonl
dataset_info:
  - config_name: responses
    features:
      - name: rid
        dtype: string
      - name: model
        dtype: string
      - name: model_id
        dtype: string
      - name: served_model
        dtype: string
      - name: family
        dtype: string
      - name: language
        dtype: string
      - name: pack_version
        dtype: string
      - name: condition
        dtype: string
      - name: footing
        dtype: string
      - name: ask
        dtype: string
      - name: sample
        dtype: string
      - name: prompt
        dtype: string
      - name: response
        dtype: string
      - name: finish_reason
        dtype: string
      - name: finish_reason_norm
        dtype: string
      - name: tokens_in
        dtype: int64
      - name: tokens_out
        dtype: int64
      - name: tokens_reasoning
        dtype: int64
      - name: latency_ms
        dtype: int64
      - name: ts
        dtype: float64
  - config_name: judgments
    features:
      - name: rid
        dtype: string
      - name: model
        dtype: string
      - name: family
        dtype: string
      - name: language
        dtype: string
      - name: pack_version
        dtype: string
      - name: condition
        dtype: string
      - name: footing
        dtype: string
      - name: ask
        dtype: string
      - name: sample
        dtype: string
      - name: judge_model
        dtype: string
      - name: judge_prompt_sha256
        dtype: string
      - name: entities
        list:
          - name: surface
            dtype: string
          - name: stance
            dtype: string
      - name: consult_professional
        dtype: bool
      - name: not_a_doctor
        dtype: bool
      - name: ts
        dtype: float64
  - config_name: rating_calls
    features:
      - name: model
        dtype: string
      - name: model_id
        dtype: string
      - name: served_model
        dtype: string
      - name: family
        dtype: string
      - name: language
        dtype: string
      - name: pack_version
        dtype: string
      - name: source
        dtype: string
      - name: condition
        dtype: string
      - name: footing
        dtype: string
      - name: list
        dtype: string
      - name: sample
        dtype: int64
      - name: temporal
        dtype: string
      - name: ratings
        list:
          - name: option
            dtype: string
          - name: score
            dtype: int64
      - name: response
        dtype: string
      - name: n_options
        dtype: int64
      - name: n_rated
        dtype: int64
      - name: coverage
        dtype: float64
      - name: finish_reason
        dtype: string
      - name: finish_reason_norm
        dtype: string
      - name: tokens_in
        dtype: int64
      - name: tokens_out
        dtype: int64
      - name: tokens_reasoning
        dtype: int64
      - name: latency_ms
        dtype: int64
      - name: ts
        dtype: float64
  - config_name: entities
    features:
      - name: rid
        dtype: string
      - name: model
        dtype: string
      - name: family
        dtype: string
      - name: language
        dtype: string
      - name: pack_version
        dtype: string
      - name: condition
        dtype: string
      - name: footing
        dtype: string
      - name: ask
        dtype: string
      - name: sample
        dtype: string
      - name: surface
        dtype: string
      - name: list
        dtype: string
      - name: option
        dtype: string
      - name: stance
        dtype: string
      - name: binary
        dtype: string
      - name: also_maps_to
        list: string
  - config_name: ratings
    features:
      - name: model
        dtype: string
      - name: family
        dtype: string
      - name: language
        dtype: string
      - name: pack_version
        dtype: string
      - name: condition
        dtype: string
      - name: footing
        dtype: string
      - name: list
        dtype: string
      - name: sample
        dtype: int64
      - name: option
        dtype: string
      - name: score
        dtype: int64
      - name: is_null
        dtype: bool
      - name: source
        dtype: string
  - config_name: rating_attempts
    features:
      - name: model
        dtype: string
      - name: model_id
        dtype: string
      - name: served_model
        dtype: string
      - name: family
        dtype: string
      - name: language
        dtype: string
      - name: pack_version
        dtype: string
      - name: source
        dtype: string
      - name: condition
        dtype: string
      - name: footing
        dtype: string
      - name: list
        dtype: string
      - name: sample
        dtype: int64
      - name: temporal
        dtype: string
      - name: ratings
        list:
          - name: option
            dtype: string
          - name: score
            dtype: int64
      - name: response
        dtype: string
      - name: n_options
        dtype: int64
      - name: n_rated
        dtype: int64
      - name: coverage
        dtype: float64
      - name: finish_reason
        dtype: string
      - name: finish_reason_norm
        dtype: string
      - name: error_type
        dtype: string
      - name: error
        dtype: string
      - name: tokens_in
        dtype: int64
      - name: tokens_out
        dtype: int64
      - name: tokens_reasoning
        dtype: int64
      - name: latency_ms
        dtype: int64
      - name: ts
        dtype: float64
      - name: used
        dtype: bool

MindBench Intervention Audit

The MindBench Intervention Audit tracks which mental health treatments and interventions large language models recommend, and how those recommendations change depending on how a request is framed and who is asking. It is one of the audits on the MindBench platform, and its results can be explored at mindbench.ai/audits/interventions. The instrument, runners, judge validation, and analysis code are in the GitHub repository.

This dataset holds the model outputs from each audit release. Each release is tagged with its version, and every row records the instrument version and language it was produced with, so later releases and other languages can be added without changing earlier rows.

Release 1.0.0

Release 1.0.0 is the first audit cycle, run with instrument version 1.0.0 in US English. It is described in Curbside Chatbots: Auditing the Mental Health Interventions Large Language Models Recommend to Clinicians, Caregivers, and Patients (arXiv:2611.12814).

Config Rows One row per
responses 35,055 open-ended response, with its prompt
judgments 35,055 judge output for one response
rating_calls 19,835 structured-rating call, one for each rated cell
entities 494,328 intervention named in a response, with its stance and the option it maps to
ratings 1,705,776 option rating from a rating call
rating_attempts 21,146 rating call attempt, including failed and superseded ones

The first five are the data the analysis uses. Calls that failed, were refused, or were repeated are described under Errors, refusals, and failed calls below, together with the rating_attempts log that records them.

The responses are model output collected for this audit. They include treatment and dosing advice that may be wrong, and nothing in them is medical advice.

How the data were produced

Each case vignette is written in three footings, so the same clinical information reaches a model from different askers, and each is followed by a question (ask) that is either open or about one intervention type. In the open-ended generation arm, every vignette and ask was sent to each model three times as a single user message with no system prompt. A judge model with a frozen prompt then extracted every intervention a response named and the model's stance toward it, and the judge was validated against human coders. In the structured rating arm, models rated every option on a fixed list for the same vignettes. The GitHub repository documents each step, and the paper reports the methods in full.

Fields

Every config has model (the audit's model key; the 41 models, their API identifiers and their run settings are in config/models.json in the GitHub repository), family (developer), language, pack_version (instrument version), condition (vignette), footing (clinical, caregiver, or patient; clinical is the paper's clinician footing), and sample (s0 to s2 in responses, judgments, and entities, 0 to 2 in the rating configs). All but entities and ratings also have ts (time of the call, in Unix seconds). latency_ms is empty for calls made through a provider's batch interface, and tokens_reasoning is empty where no reasoning token count was recorded.

responses. rid (response id, model|condition|footing|ask|sample), model_id (the identifier requested), served_model (the identifier the provider reported), ask (open, medication, psychotherapy, neuromodulation, or digital), prompt, response, finish_reason (the provider's own label), finish_reason_norm (the same label mapped onto stop, length, refusal, or error), tokens_in, tokens_out, tokens_reasoning, latency_ms.

judgments. rid, ask, judge_model, judge_prompt_sha256 (the hash of the frozen judge prompt, which is in run/judge_prompt.py in the GitHub repository), entities (a list of named interventions, each with its surface text and stance: recommended, neutral, advised_against, or mixed), consult_professional (the response advises consulting a professional), and not_a_doctor (the response says it is not a doctor or not qualified to give medical advice).

rating_calls. model_id, served_model, source (main for the full rating run, probe for the format check each model passed first, whose calls fill the few cells the main run did not repeat), list (option list: pharmacological, psychotherapy, neuromodulation, or digital, which the paper calls medications, psychotherapies, procedures, and digital tools), temporal (the framing of the rating question; initial for every main-run call in release 1.0.0), ratings (each option and its score, from -3 to +3), response, n_options, n_rated, coverage (the share of the list's options the call rated), finish_reason, finish_reason_norm, tokens_in, tokens_out, tokens_reasoning, latency_ms. Rows are in cell order.

entities and ratings are the derived tables the analysis produces, identical to the data/entities.jsonl and data/ratings.jsonl that data/fetch.py restores in the GitHub repository (they are too large to be stored there).

entities. One row per intervention the judge found in a response: rid, ask, surface, stance, binary, list, option, and also_maps_to. binary folds the four stances into the audit's measure: an intervention counts as recommended unless the response advises against it. list and option give the rating-list option the intervention maps to, and are empty when it maps to none. also_maps_to is present only for the 371 interventions that map to more than one option, and lists the others.

ratings. One row per option rating in rating_calls: list, option (in lower case), score (from -3 to +3), is_null (the list's no-treatment option, such as "no medication"), and source.

Using the data with the code

Each config loads on its own with the datasets library:

from datasets import load_dataset
responses = load_dataset("mindbench-ai/intervention-audit", "responses", split="train")

The rating prompts are not stored, but run/rating_instrument.py in the GitHub repository rebuilds each one exactly, since its option order is seeded by the cell.

data/fetch.py in the GitHub repository downloads a release and restores the two derived tables. With --runs, it also rebuilds the raw run store that the analysis chain reads, from responses, judgments, and rating_attempts, so that these two commands rebuild every released table from this dataset:

python3 data/fetch.py --runs <folder>
python3 analysis/make_all.py --runs <folder> --check

Errors, refusals, and failed calls

This section describes the calls that did not produce the data above: provider errors, refusals, answers cut off at the output limit, and attempts that were repeated. They are reported here so that the completeness of the release can be checked. Failed calls were re-run, and every cell of the design but one has data.

Generation. All 35,055 cells have a usable response, and every response in responses finished normally. Another 1,571 attempts failed or were cut off and were re-run: 1,024 hit a provider rate limit, 546 reached the 4,096-token output limit and were re-run with a limit of 10,000 tokens, and one request was rejected. These attempts are not included.

Rating. 19,835 of the 19,836 cells have a usable call. Rating calls allowed at most 8,192 output tokens through the providers' batch interfaces (4,096 for GPT-3.5 Turbo) and 32,768 through their live APIs, lowered where a model's maximum was smaller. The rating_attempts config holds all 21,146 attempts, in the order the analysis reads them (the main run, then the probe calls), with the fields of rating_calls plus used (whether this is the call in rating_calls), error_type, and error (its first 120 characters). The 1,311 attempts that were not used are:

  • 864 errors, of which 805 came from one model, Qwen3-8B, whose requests the provider rejected with an invalid-parameter error because the requested output limit of 32,768 tokens was above the model's maximum of 8,192, and its cells were rated on later attempts with a limit of 8,192 tokens. The other 59 are 24 probe calls to GPT-3.5 Turbo that the provider rejected because the output limit was set above the model's maximum, 13 rate limits, 12 dropped connections, 4 Gemini 2.5 Pro calls that reached the output limit before returning any text, 4 Claude calls that the provider's library would not send without streaming, and 2 timeouts.
  • 3 refusals by Claude Fable 5, all on a medication list in the clinician footing: one for alcohol use disorder, which a later attempt rated, and two for panic disorder.
  • 8 main-run calls cut off at the output limit before giving usable ratings.
  • 424 probe calls from an early version of the format check, which recorded the parsed ratings (360 of these calls have them) but only the length of each response, not its text. They count toward qualification but were not reused as data.
  • 12 usable calls superseded by another call at the same cell: 6 repeats in the main run and 6 probe calls whose cells the main run also covered.

The one cell without a rating is Claude Fable 5, panic disorder, clinician footing, medication list, sample 1. After the two refusals, two further attempts failed with a client-side error, because the provider's library required streaming for the request. The analysis treats the cell as missing, and data/rating_gaps.json in the GitHub repository records it.

Incomplete ratings. 1,012 of the calls in rating_calls (5.1%) rated fewer than all the options on their list, 177 of them because the answer reached the output limit. The median such call rated 99% of its options, and 0.86% of all option ratings are missing overall. The analysis averages the ratings each call gave, and coverage and n_rated show how complete each call is.

Use of generative AI

Claude Opus 5.5, running in Claude Code, was used in preparing this release. It checked the numbers in this card against the raw run files and checked the description of the process against the code that ran it. It wrote the scripts that build this dataset from the run files based on specific instructions from the author team who reviewed and validated them. It also drafted the initial text of this card, which the authors reviewed, edited for clarity and accuracy, and approved.

License and terms of use

The dataset is released under CC BY 4.0. The responses were generated through each developer's API, and their reuse is also subject to those developers' terms.

Citation

Please cite the paper that introduced the audit:

Flathers M, Noorily J, Nguyen PA, et al. Curbside Chatbots: Auditing the Mental Health
Interventions Large Language Models Recommend to Clinicians, Caregivers, and Patients.
arXiv:2611.12814 [preprint]. 2026. doi:10.48550/arXiv.2611.12814

@misc{flathers2026curbside,
  title         = {Curbside Chatbots: Auditing the Mental Health Interventions Large Language
                   Models Recommend to Clinicians, Caregivers, and Patients},
  author        = {Flathers, Matthew and Noorily, Jill and Nguyen, Phuong Anh and Kalinich, Mark and Fallah, Mina and Lisowski, Victoria and Shi, Christine and Bodner, Rebekah M. and Simms, Anna and Hete, Mihika and Chen, Meiting and Powell, Samuel K. and Williamson, Tatum and Ospina-Pinillos, Laura and Notsu, Haruka and Herpertz, Julian and Torous, John},
  year          = {2026},
  eprint        = {2611.12814},
  archivePrefix = {arXiv},
  doi           = {10.48550/arXiv.2611.12814},
  url           = {https://arxiv.org/abs/2611.12814}
}

Changelog

  • 1.0.0: first release.