Safetensors
sallyliusk commited on
Commit
9e390ef
·
verified ·
1 Parent(s): e9b0be0

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +97 -0
README.md CHANGED
@@ -1,3 +1,100 @@
1
  ---
2
  license: apache-2.0
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: apache-2.0
3
  ---
4
+
5
+ # Parallel Synthesis for Qwen3-14B
6
+
7
+ This repository contains the released trainable components for
8
+ **Parallel Synthesis**, introduced in [Towards Direct Latent-Space Synthesis
9
+ for Parallel Branches in LLM-Agent Workflows](https://arxiv.org/abs/2606.14672).
10
+ Parallel Synthesis lets a synthesizer consume the KV caches produced by
11
+ independent worker agents directly, avoiding the usual step of concatenating
12
+ and prefilling all worker outputs again.
13
+
14
+ The checkpoint is designed for the open-source
15
+ [Parallel Synthesis codebase](https://github.com/sallylsk/Parallel-Synthesis)
16
+ and the frozen [`Qwen/Qwen3-14B`](https://huggingface.co/Qwen/Qwen3-14B)
17
+ backbone.
18
+
19
+ ## Important: this is not a standalone Transformers model
20
+
21
+ Do not pass this repository to `AutoModelForCausalLM.from_pretrained`. It is a
22
+ custom component bundle containing a cache mapper and a PEFT LoRA adapter; it
23
+ does not contain the Qwen3-14B backbone. The project runner loads the backbone
24
+ and both trained components in their correct roles.
25
+
26
+ ## Files
27
+
28
+ ```text
29
+ cache_mapper.pt
30
+ judger_lora/
31
+ adapter_config.json
32
+ adapter_model.safetensors
33
+ ```
34
+
35
+ - `cache_mapper.pt` is a lightweight length- and worker-count-aware affine
36
+ mapper for re-encoded worker KV caches.
37
+ - `judger_lora/` is the synthesizer LoRA applied to the frozen Qwen3-14B
38
+ backbone.
39
+
40
+ Component sizes and SHA256 checksums are recorded in the
41
+ [release manifest](https://github.com/sallylsk/Parallel-Synthesis/blob/main/artifacts/release_checkpoint.json).
42
+
43
+ ## Usage
44
+
45
+ ```bash
46
+ git clone https://github.com/sallylsk/Parallel-Synthesis.git
47
+ cd Parallel-Synthesis
48
+
49
+ conda create -n parallel-synthesis python=3.10 -y
50
+ conda activate parallel-synthesis
51
+ pip install -e .
52
+
53
+ parallel-synthesis-single \
54
+ --checkpoint_dir Graph-COM/Parallel-Synthesis-qwen3-14B \
55
+ --method parallel_kv \
56
+ --model_name Qwen/Qwen3-14B \
57
+ --tasks aime2024,gpqa,humanevalplus \
58
+ --split test \
59
+ --eval_samples_per_task 10 \
60
+ --temperature 0 \
61
+ --top_p 1 \
62
+ --output_dir results/single_turn
63
+ ```
64
+
65
+ The runner downloads this repository and the Qwen3-14B backbone to the local
66
+ Hugging Face cache on first use. To download the component checkpoint manually:
67
+
68
+ ```bash
69
+ hf download Graph-COM/Parallel-Synthesis-qwen3-14B \
70
+ --local-dir checkpoints/parallel-synthesis-qwen3-14b
71
+ ```
72
+
73
+ Then replace the Hub repository ID passed to `--checkpoint_dir` with that local
74
+ directory. GAIA and MARBLE DB use `--parallel_kv_load_dir` for the same value;
75
+ see the project [evaluation guide](https://github.com/sallylsk/Parallel-Synthesis/blob/main/docs/EVALUATION.md).
76
+
77
+
78
+ ## Intended use
79
+
80
+ This release is intended for research on cache-based context interfaces,
81
+ parallel and multi-agent workflows, synthesis efficiency, and reproduction or
82
+ extension of the paper's experiments.
83
+
84
+ It is not intended as a drop-in chat model, a standalone PEFT adapter, or a
85
+ general-purpose replacement for Qwen3-14B. It has not been validated for
86
+ high-stakes medical, legal, financial, safety-critical, or autonomous decision
87
+ making.
88
+
89
+
90
+ ## Citation
91
+
92
+ ```bibtex
93
+ @article{liu2026parallel_synthesis,
94
+ title={Towards Direct Latent-Space Synthesis for Parallel Branches in LLM-Agent Workflows},
95
+ author={Liu, Shikun and Li, Mufei and Fu, Dongqi and Wang, Haoyu and Xia, Yinglong and Li, Hong and Yan, Hong and Li, Pan},
96
+ journal={arXiv preprint arXiv:2606.14672},
97
+ year={2026}
98
+ }
99
+ ```
100
+