Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Parason: Subtask- and Trial-Parallel Reasoning Data
|
| 2 |
+
|
| 3 |
+
Training data for **Parason**, which turns long sequential reasoning traces into *executable parallel
|
| 4 |
+
programs*. Three subsets, one per training stage.
|
| 5 |
+
|
| 6 |
+
| Subfolder | Stage | Contents |
|
| 7 |
+
| :--- | :--- | :--- |
|
| 8 |
+
| `sft-8x` | SFT (main) | Parallel trajectories with `<Subtask>` / `<Trial>` branches, Trial stages expanded 8x — extra branches sampled with Qwen3-8B, their `<Trial>` goals written by Gemini-3-Flash |
|
| 9 |
+
| `sft-1x` | SFT (baseline) | The unexpanded parallel trajectories: 964 annotated Qwen3-8B traces released by ThreadWeaver, each parallel stage labeled Subtask or Trial by Gemini-3-Flash |
|
| 10 |
+
| `rl` | PA-GRPO | RL prompt set — [Polaris-53k](https://github.com/ChenxinAn-fdu/POLARIS) (~53,000 complex reasoning problems), used unmodified |
|
| 11 |
+
|
| 12 |
+
Each subfolder holds a single `train.parquet`; there is no validation split. The two SFT sets are
|
| 13 |
+
matched in effective token budget (8 epochs over `sft-1x` ≈ 1 epoch over `sft-8x`).
|
| 14 |
+
|
| 15 |
+
## Trajectory format
|
| 16 |
+
|
| 17 |
+
The SFT trajectories mark two distinct forms of parallelism:
|
| 18 |
+
|
| 19 |
+
* **`<Subtask>`** — AND-branches. The problem splits into independent sub-goals, each producing a
|
| 20 |
+
*required* result. Shortens the critical path.
|
| 21 |
+
* **`<Trial>`** — OR-branches. Competing speculative attempts test different hypotheses; all outputs
|
| 22 |
+
are concatenated back into the reasoning history. Widens search.
|
| 23 |
+
|
| 24 |
+
```
|
| 25 |
+
<think>
|
| 26 |
+
[Initial problem analysis and setup]
|
| 27 |
+
|
| 28 |
+
<Parallel>
|
| 29 |
+
<Outlines>
|
| 30 |
+
<Trial> 1: [First hypothesis to test]
|
| 31 |
+
<Trial> 2: [Second hypothesis to test]
|
| 32 |
+
<Subtask> 3: [An independent sub-goal whose result is required]
|
| 33 |
+
</Outlines>
|
| 34 |
+
|
| 35 |
+
<Thread>
|
| 36 |
+
1: [Detailed reasoning for the first branch...]
|
| 37 |
+
</Thread>
|
| 38 |
+
<Thread>
|
| 39 |
+
2: [Detailed reasoning for the second branch...]
|
| 40 |
+
</Thread>
|
| 41 |
+
<Thread>
|
| 42 |
+
3: [Detailed reasoning for the third branch...]
|
| 43 |
+
</Thread>
|
| 44 |
+
</Parallel>
|
| 45 |
+
</think>
|
| 46 |
+
|
| 47 |
+
[Final answer in \boxed{} format]
|
| 48 |
+
```
|
| 49 |
+
|
| 50 |
+
Reserved tags, added as special tokens before training:
|
| 51 |
+
|
| 52 |
+
```
|
| 53 |
+
<Think> </Think> <Parallel> </Parallel> <Outlines> </Outlines> <Outline> </Outline>
|
| 54 |
+
<Trial> </Trial> <Subtask> </Subtask> <Thread> </Thread> <Conclusion> </Conclusion>
|
| 55 |
+
```
|
| 56 |
+
|
| 57 |
+
## Schema
|
| 58 |
+
|
| 59 |
+
**`sft-8x`, `sft-1x`**
|
| 60 |
+
|
| 61 |
+
| Field | Type | Description |
|
| 62 |
+
| :--- | :--- | :--- |
|
| 63 |
+
| `uuid` | `string` | Source-trace identifier |
|
| 64 |
+
| `question` | `string` | Problem statement |
|
| 65 |
+
| `response_reasoning` | `string` | Trajectory body — the `<think>` contents, containing the `<Parallel>` blocks |
|
| 66 |
+
| `response_content` | `string` | Post-`</think>` final answer, ending in `\boxed{...}` |
|
| 67 |
+
| `correctness` | `bool` | Whether the source trace was graded correct |
|
| 68 |
+
| `raw_messages` | `list[dict]` | `[{"role": "user", ...}, {"role": "assistant", ...}]` |
|
| 69 |
+
| `qwen_text` | `string` | **The training field.** Full trace with the Qwen3 chat template applied |
|
| 70 |
+
| `num_qwen_tokens` | `int` | Token count of `qwen_text` under the Qwen3-8B tokenizer |
|
| 71 |
+
|
| 72 |
+
**`rl`** — standard [veRL](https://github.com/volcengine/verl) prompt format: `prompt`
|
| 73 |
+
(`list[dict]`), `data_source`, `ability`, `reward_model` (`{"style": "rule", "ground_truth": ...}`),
|
| 74 |
+
`extra_info`.
|
| 75 |
+
|