Update README: experiment settings + metrics; fill TBDs; usage
Browse files20 unmodified lines212223242526272813 unmodified lines424344454647486 unmodified lines5556575859606162636465666768697071727374757677787980818283848513 unmodified lines9910010110210310410510610710810911011111211311411511611711813 unmodified lines13213313413513613713 unmodified lines15115215315420 unmodified lines<a href="https://github.com/SKT-AI/A.X-K2/blob/main/A_X_K2_Tech_Report.pdf">📄 Technical Report</a></p>> **Release status:** A.X K2 DSpark is currently in final validation and is planned for public release within the next few days.## Model Summary**A.X K2 DSpark** is a [DSpark](https://arxiv.org/abs/2607.05147) speculative-decoding draft model for [**A.X K2**](https://huggingface.co/skt/A.X-K2), SK Telecom's 688B-total / 33B-active Mixture-of-Experts foundation model.13 unmodified linesUses intermediate representations from the frozen A.X K2 target model to produce draft features closely aligned with the target distribution.* **Local Dependency Modeling**Introduces lightweight dependencies between candidate positions to improve draft consistency while preserving parallel proposal generation.* **Adaptive Verification**Supports confidence-aware speculative verification so the serving runtime can reduce unnecessary verification work for low-confidence draft positions.6 unmodified lines## Model Details| Property | Value || ------------------------------------- | ----------------------------------------------- || Architecture | DSpark || Target model | [skt/A.X-K2](https://huggingface.co/skt/A.X-K2) || Target size | 688B total / 33B active || Context length | 262,144 tokens (256K) || Checkpoint precision | TBD || Checkpoint size | TBD || Recommended speculative configuration | TBD |## Evaluation ResultsEvaluation is currently in progress.Measured on production-representative mixed traffic against A.X K2 serving without speculative decoding:| Metric | Result || ---------------------------- | ------ || Throughput | TBD || Time-per-output-token (TPOT) | TBD || Mean accepted length | TBD |Speedup is workload-dependent and is expected to vary with concurrency, output length, and draft acceptance.Per-domain measurements will be reported for representative workloads including Korean, math, science, and code.**Output quality is unaffected when exact speculative verification is used**, because every committed token is verified by A.X K2 itself.13 unmodified lines```bashvllm serve skt/A.X-K2 \--tensor-parallel-size 8 \--tool-call-parser hermes \--reasoning-parser deepseek_v3 \--speculative-config '{"method": "dspark","model": "skt/A.X-K2-DSpark","num_speculative_tokens": <N>}'```The recommended speculative configuration will be updated after final serving evaluation.A few things worth knowing before deployment:* **256K target configuration.** This draft is developed for A.X K2's native 256K context configuration.* **Workload-dependent speedup.** Gains depend on concurrency, output length, acceptance rate, and the relative cost of drafting and verification.13 unmodified lines* **Target-specific.** Trained specifically for A.X K2 and not intended as a standalone model.* **Workload-dependent speedup.** Benefits depend on draft acceptance, output length, concurrency, and serving configuration.## Contact13 unmodified linesinstitution={SK Telecom},url={https://github.com/SKT-AI/A.X-K2/blob/main/A_X_K2_Tech_Report.pdf},}```20 unmodified lines21222324252613 unmodified lines404142434445466 unmodified lines535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910013 unmodified lines11411511611711811912012112212312412512612712812913013113213313413513 unmodified lines14915015115215315415513 unmodified lines16917017117220 unmodified lines<a href="https://github.com/SKT-AI/A.X-K2/blob/main/A_X_K2_Tech_Report.pdf">📄 Technical Report</a></p>## Model Summary**A.X K2 DSpark** is a [DSpark](https://arxiv.org/abs/2607.05147) speculative-decoding draft model for [**A.X K2**](https://huggingface.co/skt/A.X-K2), SK Telecom's 688B-total / 33B-active Mixture-of-Experts foundation model.13 unmodified linesUses intermediate representations from the frozen A.X K2 target model to produce draft features closely aligned with the target distribution.* **Local Dependency Modeling**Introduces lightweight dependencies between candidate positions (a Markov head) to improve draft consistency while preserving parallel proposal generation.* **Adaptive Verification**Supports confidence-aware speculative verification so the serving runtime can reduce unnecessary verification work for low-confidence draft positions.6 unmodified lines## Model Details| Property | Value || ------------------------------------- | --------------------------------------------------------------------------------------- || Architecture | DSpark (3-layer Qwen3-style draft + Markov head + confidence head) || Target model | [skt/A.X-K2](https://huggingface.co/skt/A.X-K2) || Target size | 688B total / 33B active || Context length | 262,144 tokens (256K) || Draft vocabulary | 32,768 (reduced; mapped back to A.X K2's 163,840 vocab) || Block size (num_speculative_tokens) | 5 || Checkpoint precision | BF16 || Checkpoint size | ~6.8 GB || Recommended speculative configuration | `{"method": "dspark", "model": "skt/A.X-K2-DSpark", "num_speculative_tokens": 5}` |## Evaluation ResultsMeasured against A.X K2 served **without** speculative decoding, on an internal evaluation suite spanning Korean, English, math, science, and code (20 samples per task, greedy decoding, single-stream / batch = 1). A multimodal task and a long-context task are excluded from the aggregate (a text-only draft yields little benefit on multimodal inputs).| Metric | Result (vs. no speculative decoding) || ---------------------------- | ------------------------------------ || Throughput (single-stream) | ~1.8× || Time-per-output-token (TPOT) | ~−44% || Mean accepted length | 2.42 |At higher concurrency, confidence-scheduled verification trims low-confidence draft positions and further improves **aggregate throughput** (≈ +40% over fixed-block drafting in internal batched runs).Per-task acceptance length and single-stream speedup:| Task | Accepted length | Speedup || -------------- | --------------- | ------- || aime (math) | 2.95 | 1.78× || apex-shortlist | 2.52 | 1.91× || apex | 2.70 | 2.04× || click | 1.97 | 1.49× || gpqa | 2.44 | 1.85× || hle | 2.44 | 1.84× || ifbench | 1.93 | 1.44× || kmmlu-pro | 2.11 | 1.61× || kmo (math) | 2.83 | 2.13× || kobalt | 2.20 | 1.67× || livecodebench | 2.58 | 1.89× || scicode | 2.38 | 1.74× |Speedup is workload-dependent and varies with concurrency, output length, and draft acceptance; acceptance is strongest on structured outputs (math/code) and lower on short multiple-choice answers.**Output quality is unaffected when exact speculative verification is used**, because every committed token is verified by A.X K2 itself.13 unmodified lines```bashvllm serve skt/A.X-K2 \--trust-remote-code \--tensor-parallel-size 8 \--tool-call-parser hermes \--reasoning-parser deepseek_v3 \--no-async-scheduling \--speculative-config '{"method": "dspark","model": "skt/A.X-K2-DSpark","num_speculative_tokens": 5}'```A few things worth knowing before deployment:* **`--no-async-scheduling` is required.** Confidence-scheduled (dynamic-length) drafting proposes a variable number of tokens per request, which is incompatible with async scheduling in this vLLM version.* **Confidence threshold.** The draft truncates block positions whose predicted acceptance probability falls below a threshold (default `0.3`, carried in this repo's `config.json`). Override at serve time with the `DSPARK_CONF_THRESHOLD` environment variable; set it to `0` to disable dynamic truncation (fixed-block drafting).* **256K target configuration.** This draft is developed for A.X K2's native 256K context configuration.* **Workload-dependent speedup.** Gains depend on concurrency, output length, acceptance rate, and the relative cost of drafting and verification.13 unmodified lines* **Target-specific.** Trained specifically for A.X K2 and not intended as a standalone model.* **Workload-dependent speedup.** Benefits depend on draft acceptance, output length, concurrency, and serving configuration.* **Modality.** As a text draft, it provides little benefit on multimodal inputs.## Contact13 unmodified linesinstitution={SK Telecom},url={https://github.com/SKT-AI/A.X-K2/blob/main/A_X_K2_Tech_Report.pdf},}```
README.md+43-25