Update README.md
Browse files
README.md
CHANGED
|
@@ -17,15 +17,15 @@ size_categories:
|
|
| 17 |
|
| 18 |
# Multi-Strategy Algorithmic Tasks
|
| 19 |
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
strategy used to generate that trace.
|
| 24 |
|
| 25 |
The benchmark accompanies
|
| 26 |
-
[Uncovering Latent Reasoning Strategies in Language Models](https://arxiv.org/abs/2607.17674)
|
| 27 |
-
|
| 28 |
-
recovery, representation, routing,
|
|
|
|
| 29 |
|
| 30 |
## Load the dataset
|
| 31 |
|
|
@@ -56,8 +56,6 @@ sorting = dataset.filter(
|
|
| 56 |
|
| 57 |
## Fields
|
| 58 |
|
| 59 |
-
All four fields are strings.
|
| 60 |
-
|
| 61 |
| Field | Description |
|
| 62 |
| --- | --- |
|
| 63 |
| `task_name` | Algorithmic task family |
|
|
@@ -65,9 +63,6 @@ All four fields are strings.
|
|
| 65 |
| `input_text` | Rendered problem instance |
|
| 66 |
| `reasoning_trace` | Complete strategy-specific solution trace, including the final answer |
|
| 67 |
|
| 68 |
-
The dataset intentionally contains text rather than token IDs. Users can apply
|
| 69 |
-
the tokenizer and sequence framing appropriate for their own model.
|
| 70 |
-
|
| 71 |
Example:
|
| 72 |
|
| 73 |
```python
|
|
@@ -97,70 +92,13 @@ samples a strategy uniformly within that task family.
|
|
| 97 |
| `multidigit_addition` | Add two three-digit nonnegative integers | `right-to-left-carry`, `left-to-right-partials`, `rounding-decomposition` |
|
| 98 |
|
| 99 |
The public `strategy_id` includes the task namespace, for example
|
| 100 |
-
`grid_pathfinding:alternating`. There are 20
|
| 101 |
-
|
| 102 |
-
## Generation and reproducibility
|
| 103 |
-
|
| 104 |
-
The published rows are a text rendering of the frozen aggregate dataset used
|
| 105 |
-
for the accompanying paper. The release preserves the original examples,
|
| 106 |
-
split membership, and row order. It does not resample or filter the data.
|
| 107 |
-
|
| 108 |
-
The task family, input, and strategy are sampled as:
|
| 109 |
-
|
| 110 |
-
\[
|
| 111 |
-
T \sim \operatorname{Unif}(\text{task families}), \qquad
|
| 112 |
-
X \sim \mathcal{D}_T, \qquad
|
| 113 |
-
S \sim \operatorname{Unif}(\mathcal{S}_T), \qquad
|
| 114 |
-
Y = \operatorname{Trace}_T(X,S).
|
| 115 |
-
\]
|
| 116 |
-
|
| 117 |
-
The repository includes `generation_config.yaml` with the resolved task
|
| 118 |
-
parameters and random seeds. `release_manifest.json` records source and
|
| 119 |
-
release checksums. `validation_report.json` records task and strategy counts,
|
| 120 |
-
trace ambiguity, duplicates, and cross-split overlap.
|
| 121 |
-
|
| 122 |
-
## Important characteristics
|
| 123 |
-
|
| 124 |
-
### Sampled strategy labels
|
| 125 |
|
| 126 |
`strategy_id` is the strategy selected by the generator. On some inputs,
|
| 127 |
-
multiple strategies produce the same observable trace.
|
| 128 |
-
but its sampled strategy may not be uniquely recoverable from the trace alone.
|
| 129 |
This is most common when a problem requires only a few steps or different
|
| 130 |
algorithms happen to traverse identical intermediate states.
|
| 131 |
|
| 132 |
-
### Sampling with replacement
|
| 133 |
-
|
| 134 |
-
Examples are sampled with replacement from finite task distributions.
|
| 135 |
-
Repeated examples within a split and overlap between splits are therefore
|
| 136 |
-
expected. The splits represent independent samples from the same controlled
|
| 137 |
-
distribution; they are not disjoint-input generalization splits.
|
| 138 |
-
|
| 139 |
-
## Intended use
|
| 140 |
-
|
| 141 |
-
The dataset is intended for controlled research on:
|
| 142 |
-
|
| 143 |
-
- learning and evaluating multiple reasoning strategies;
|
| 144 |
-
- strategy recovery from generated traces or model representations;
|
| 145 |
-
- latent-variable routing and controllable generation;
|
| 146 |
-
- algorithmic sequence modeling with parseable outputs.
|
| 147 |
-
|
| 148 |
-
The reference strategy labels are intended for evaluation and analysis. In the
|
| 149 |
-
paper's main setup, they are not provided as supervision to the language model.
|
| 150 |
-
|
| 151 |
-
## Limitations
|
| 152 |
-
|
| 153 |
-
- The tasks are synthetic, symbolic, and deliberately small.
|
| 154 |
-
- Difficulty ranges are fixed by the published generation configuration.
|
| 155 |
-
- The traces implement a finite reference set of procedures, not every valid
|
| 156 |
-
solution method.
|
| 157 |
-
- Strategy labels describe the generator procedure and should not be treated
|
| 158 |
-
as natural human reasoning annotations.
|
| 159 |
-
- Results on this benchmark do not by themselves establish strategy recovery
|
| 160 |
-
on open-ended natural-language reasoning.
|
| 161 |
-
|
| 162 |
-
The dataset contains no human-authored examples or personal information.
|
| 163 |
-
|
| 164 |
## License
|
| 165 |
|
| 166 |
The dataset is released under the
|
|
|
|
| 17 |
|
| 18 |
# Multi-Strategy Algorithmic Tasks
|
| 19 |
|
| 20 |
+
A synthetic benchmark of parseable algorithmic problems with multiple valid
|
| 21 |
+
solution strategies for each task. Each example contains a problem,a strategy-specific
|
| 22 |
+
solution trace, and the strategy used to generate that trace.
|
|
|
|
| 23 |
|
| 24 |
The benchmark accompanies
|
| 25 |
+
*[Uncovering Latent Reasoning Strategies in Language Models](https://arxiv.org/abs/2607.17674)*,
|
| 26 |
+
which studies the problem of recovering mixtures of strategies implicitly represented in language models.
|
| 27 |
+
The benchmark provides a controlled setting for studying strategy recovery, representation, routing,
|
| 28 |
+
and controllable generation.
|
| 29 |
|
| 30 |
## Load the dataset
|
| 31 |
|
|
|
|
| 56 |
|
| 57 |
## Fields
|
| 58 |
|
|
|
|
|
|
|
| 59 |
| Field | Description |
|
| 60 |
| --- | --- |
|
| 61 |
| `task_name` | Algorithmic task family |
|
|
|
|
| 63 |
| `input_text` | Rendered problem instance |
|
| 64 |
| `reasoning_trace` | Complete strategy-specific solution trace, including the final answer |
|
| 65 |
|
|
|
|
|
|
|
|
|
|
| 66 |
Example:
|
| 67 |
|
| 68 |
```python
|
|
|
|
| 92 |
| `multidigit_addition` | Add two three-digit nonnegative integers | `right-to-left-carry`, `left-to-right-partials`, `rounding-decomposition` |
|
| 93 |
|
| 94 |
The public `strategy_id` includes the task namespace, for example
|
| 95 |
+
`grid_pathfinding:alternating`. There are 20 strategies in total across the six tasks.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 96 |
|
| 97 |
`strategy_id` is the strategy selected by the generator. On some inputs,
|
| 98 |
+
multiple strategies produce the same observable trace.
|
|
|
|
| 99 |
This is most common when a problem requires only a few steps or different
|
| 100 |
algorithms happen to traverse identical intermediate states.
|
| 101 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 102 |
## License
|
| 103 |
|
| 104 |
The dataset is released under the
|