Datasets:
stm-depth-bench v1.0.0: main set (108 scenarios) and context-length experiment
Browse filesFiles changed (7)
- .gitattributes+1
- README.mdAdded+131
- length/filler_bank.jsonlAdded
- length/scenarios.jsonlAdded
- main/inputs.jsonlAdded+3
- main/questions.jsonlAdded
- main/scenarios.jsonlAdded
57 unmodified lines58596057 unmodified lines# Video files - compressed*.mp4 filter=lfs diff=lfs merge=lfs -text*.webm filter=lfs diff=lfs merge=lfs -text57 unmodified lines5859606157 unmodified lines# Video files - compressed*.mp4 filter=lfs diff=lfs merge=lfs -text*.webm filter=lfs diff=lfs merge=lfs -textmain/inputs.jsonl filter=lfs diff=lfs merge=lfs -text
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131---license: cc-by-4.0language:- rupretty_name: stm-depth-benchsize_categories:- 1K<n<10Ktask_categories:- question-answeringtags:- llm-agents- memory- short-term-memory- state-tracking- knowledge-conflicts- long-context- benchmark- syntheticconfigs:- config_name: questions default: true data_files: - split: test path: main/questions.jsonl- config_name: inputs data_files: - split: test path: main/inputs.jsonl---
# stm-depth-bench v1.0.0
**What was the transfer amount before the last change?**A synthetic Russian-language benchmark of the short-term memory of LLM agents. It tests whether a model can retrievethe right *version* of a value that was changed several times within one dialogue: the current one, and any earlier one.
- Code, generator and full results: https://github.com/Hisoka742/stm-depth-bench (release [v1.0.0](https://github.com/Hisoka742/stm-depth-bench/releases/tag/v1.0.0))- Language of the data: Russian. Domain: dialogues between a bank client and a banking assistant.- All dialogues are synthetic. Names, addresses, phone and card numbers, amounts and dates are generated from templates.
## Task
In each dialogue the client changes a value several times. The value is one of: a card delivery address, a paymentdate, a transfer amount, a notification phone number, a call time, or an autopay card. This gives a version chain`v1 → … → vn`. A **depth-k** question asks for `v(n−k)`. The depth is specified in one of five ways (`sigma`):
| sigma | example (translated) ||---|---|| `direct` (k = 0) | "What is the transfer amount to my brother now?" || `ordinal` | "Which amount was given third?" / "…two changes ago?" || `relative` | "What was the original amount?" / "…the previous one?" || `event_value` | "What was the amount before the option «100 000 rubles»?" || `event_desc` | "What was the amount before I said relatives had already helped him?" |
The dialogues contain the following kinds of changes and noise:- explicit replacements, corrections of a mistyped value, and implicit updates (a new value with no words about replacing);- rejected proposals;- *m* distractor slots of the same type;- surface-search distractors, such as mentions of values outside records and two-turn records.
Values are consistent with the stated reasons. For example, "the salary comes later" moves the date later.
Besides the depth questions there are two other question types (`qtype`):- `false_premise`: the client asks to act with an outdated value "as agreed". The gold answer is the current value.- `forgotten`: the client asked to delete a value and never name it, and later asks about it. The gold answer is a refusal (`gold = null`).
## Data
| config / file | rows | description ||---|---|---|| `questions` (`main/questions.jsonl`) | 1 987 | one row per question: scenario parameters, `qtype`, `k`, `sigma`, question text, `gold`, `gold_version` || `inputs` (`main/inputs.jsonl`) | 3 974 | ready-to-send chat inputs (`messages` with the system prompt), two formats per question: `log` (full dialogue) and `facts` (extracted fact list) || `main/scenarios.jsonl` | 108 | full scenarios: chains, distractors, events, dialogue blocks, questions || `length/scenarios.jsonl`, `length/filler_bank.jsonl` | 12 / 1 151 | context-length experiment (2k / 16k / 64k tokens × chain at start / middle / end); inputs are built with `scripts/build_length_set.py` |
The main set uses a balanced grid of chain length n ∈ {3, 5, 10}, distractor slots m ∈ {0, 2, 4} and 6 domains,with 2 replicates, for 108 scenarios in total. It contains 1 750 depth questions, 108 false-premise questions and 129forgotten-value questions.
## Evaluation
- Recommended decoding: temperature 0. Answers are short: the system prompt asks the model to name only the value.- Scoring: extract the value from the answer with code (`stmbench/values.py`), normalise it, and compare it with `gold`. An LLM judge is needed only when code cannot find exactly one value, and the judge only extracts the value.- Main metric: accuracy on depth questions, averaged over (n, k) pairs so that every depth has the same weight.- Read the refusal rate on `forgotten` questions together with the refusal rate on permitted depth questions in the same scenarios. A model that refuses everything would otherwise look good.
Accuracy (log format, depth questions) of 7 models, no reasoning:
| model | log | n = 3 | n = 5 | n = 10 | facts ||---|---|---|---|---|---|| gpt-6.1-terra | 0.85 | 0.98 | 0.91 | 0.78 | 0.92 || deepseek-v4.1-flash | 0.72 | 0.88 | 0.76 | 0.65 | 0.81 || qwen3.8-flash | 0.70 | 0.87 | 0.78 | 0.61 | 0.86 || gemini-3.1-flash-lite | 0.68 | 0.90 | 0.78 | 0.56 | 0.90 || claude-haiku-5.5 | 0.64 | 0.82 | 0.71 | 0.55 | 0.68 || gpt-6-luna | 0.52 | 0.73 | 0.60 | 0.41 | 0.78 || mistral-small-2603 | 0.43 | 0.65 | 0.52 | 0.32 | 0.60 || best surface heuristic (lower bound) | 0.39 | 0.44 | 0.39 | 0.43 | |
Results on `false_premise` and `forgotten` questions depend noticeably on the wording of the system prompt. Comparemodels on them only with the prompt included in `inputs`. Details and confidence intervals are in the GitHub repository.
## License and citation
The data is licensed under CC BY 4.0, and the code under MIT (GitHub).
```bibtex@misc{stm_depth_bench_2026, title = {stm-depth-bench: a benchmark of short-term memory of LLM agents for conflict resolution and state tracking}, author = {Hisoka742}, year = {2026}, note = {Dataset version v1.0.0}, url = {https://github.com/Hisoka742/stm-depth-bench/releases/tag/v1.0.0}}```
---
## Кратко по-русски
Синтетический русскоязычный бенчмарк краткосрочной памяти LLM-агентов: диалоги клиента с ассистентом банка, вкоторых сведение несколько раз меняется. Модель спрашивают о версии на глубине k.
Основной набор v1.0.0: 108 сценариев и 1 987 вопросов — о глубине, с ложной предпосылкой и о значении, котороепросили не называть. Для каждого вопроса есть два формата входа: лог диалога и список фактов.
Код, генератор, результаты 7 моделей и эксперимент с длиной контекста: https://github.com/Hisoka742/stm-depth-bench.
Набор подготовлен в рамках выпускной квалификационной работы (СПбГУ, 2026).123version https://git-lfs.github.com/spec/v1oid sha256:5810a89496c5284dc346c0407208b090f1760c3ba44faf1bf147d92057083517size 28054590.gitattributes+1
README.mdAdded+131
length/filler_bank.jsonlAdded
length/scenarios.jsonlAdded
main/inputs.jsonlAdded+3
main/questions.jsonlAdded
main/scenarios.jsonlAdded