{"id":"3be46689-4c2b-4cca-a415-4980cc5fc446","arxiv_id":"2610.32057","paper_version":1,"verdict":"ACCEPT","confidence":"HIGH","novelty_score":7.0,"correctness_risk":"low","formal_verification":"none","parameter_count":0,"one_line_summary":"HyScale introduces HyTopK (on-the-fly top-k selection without a score table) and selection replay (reusing forward indices in recomputation) to accelerate learned sparse attention training, achieving 2.07x speedup over Megatron-LM on 1M-token sequences.","lead":"HyScale speeds up training of learned sparse attention for long contexts by eliminating the materialized score table and reusing selection results during recomputation. A smart generalist reading this would learn that a key bottleneck in training million-token models has been identified and mitigated with two new techniques that together deliver a 2x speedup.","discovery_kind":"new_method","skeptic_critique":{"model":"deepseek/deepseek-v4-flash","headline":"HyTopK failure-rate validation limited to one training step; evolution of failure count over full training not shown.","rationale":"The reader's weakest assumption correctly identified the HyTopK thresholding reliability. I refine it by noting that the empirical demonstration only covers a single training step plus random initialization, not the full training trajectory. This is the most load-bearing concern because if failures become widespread during optimization, the core speedup of HyTopK degrades. However, the paper's evidence (very low failure rate at two weight states, cheap recovery, strided sampling being input-independent) strongly suggests robustness; the missing multi-step validation is a gap but not a fatal flaw. The test would settle whether the concern lands. Therefore the verdict remains ACCEPT.","tokens_in":21063,"tokens_out":3117,"duration_ms":33248,"concrete_test":"Instrument HyTopK to log per-layer failure counts during 500 training steps of GLM-5.1 at 1M context (same setup as §4.2). Plot max failure count per step; if any step exceeds 64 failures (triggering full fallback) or if the mean recovery overhead exceeds 10% of HyTopK's selection time, the assumption is violated.","verdict_should_be":"UNCHANGED","load_bearing_attack":"The paper validates HyTopK's failure rate using 81.8M queries from 'one GLM-5.1 training step at 1M' (Figure 12 caption) and random initialization. This is a single snapshot. During training, the indexer's score distribution evolves; if at some checkpoint the strided threshold triggers more frequent failures (e.g., due to changed score variance or tail behavior), recovery overhead could grow and HyTopK's speedup could be eroded. The paper does not provide evidence across multiple training steps or checkpoints. Since the claim that failures are 'rare' (b109–b118) is load-bearing for the claimed speedup (if failures become common, the host-free recovery cost, currently ≤4.3% for up to 64 failures, could become significant, and the fallback to full rescoring for >64 failures would negate savings), this temporal limitation is the weakest point.","agreement_with_reader":"partial"},"referee_report":{"model":"deepseek/deepseek-v4-flash","summary":"The paper presents HyScale, a system for long-context training of learned sparse attention. It introduces two core techniques: HyTopK, which performs on-the-fly exact top-k selection without materializing a full score table, and selection replay, which reuses forward-pass selection indices during activation recomputation to avoid repeated scoring. Combined with system-level optimizations (decoupled CP overlap and locality-aware sparse kernels), HyScale achieves a 2.07× end-to-end speedup over Megatron-LM when training GLM-5.1 on 1M-token sequences with 512 H20 GPUs, and also accelerates block-level sparse attention architectures (CSA and QSA) by 1.57–2.01× on 32 H800 GPUs.","tokens_in":21352,"tokens_out":2105,"duration_ms":24750,"significance":"If the reported speedups are robust, HyScale represents a meaningful advance for training long-context models that use learned sparse attention—an architecture already deployed in production. The paper identifies a fundamental inefficiency (treating discrete indices as continuous activations) and exploits it with two well-motivated techniques. The empirical evaluation covers three distinct architectures (DSA, CSA, QSA), strong and weak scaling up to 512 GPUs, and a detailed ablation. The mathematical derivation of the backward pass (Appendix A) confirms that only the k selected scores are needed, supporting the design. The system is deployed in production, adding to credibility.","major_comments":[{"comment":"The failure-rate validation of HyTopK is carried out on a single training step (81.8M queries from 'one GLM-5.1 training step at 1M', Fig. 12 caption). The paper claims that 'no selection in our experiments has more than 4 failed queries' (b304), but this is based on that single snapshot. During training, the indexer's score distribution evolves; a checkpoint with different variance or tail behavior could cause more frequent failures, increasing recovery overhead and eroding the claimed speedup. Since the optimistic threshold is a load-bearing assumption for HyTopK's efficiency, the authors should provide evidence of failure-rate stability across multiple training steps or checkpoints, or explicitly discuss why the rate is expected to remain low throughout training.","section":"§4.6, Fig. 12","authors_acknowledge":null,"authors_acknowledge_p":null}],"minor_comments":[{"comment":"Step times are averaged over steps 4 to 10. Please clarify why only these steps are used and whether steps beyond 10 show similar behavior.","section":"§4.2, Fig. 6 caption","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The 'decoupled CP overlap' is described qualitatively but its isolated contribution is not shown. In Fig. 9 it is bundled into 'Impl. optimizations'; a separate breakdown would help assess its individual impact.","section":"§3.4.1","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The term 'host-free recovery' is slightly misleading because the recovery kernels are still launched from the host. Consider clarifying that they avoid host synchronization (e.g., no CPU round-trip) rather than any host involvement.","section":"§3.2, 'Lightweight host-free recovery'","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The pipeline wait is reduced from 106.6 s to 51.7 s. The paper attributes this to faster attention layers, but the mechanism (earlier pipeline bubble reduction) could be explained more explicitly.","section":"§4.2, Fig. 7","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The generality experiments test only one context length (1M) and one GPU count (32). Adding a second context (e.g., 512K) would strengthen the claim of generality.","section":"§4.5","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The phrase 'decouple whether to retain or discard each score immediately upon computation' is a bit wordy; consider 'decide on the fly whether to keep or discard each score'.","section":"§1, b26","authors_acknowledge":null,"authors_acknowledge_p":null}],"recommendation":"major_revision"},"author_rebuttal":null,"desk_editor":{"model":"deepseek/deepseek-v4-flash","letter":"Colleague,\n\nHyScale is a solid piece of systems engineering. The core insight—that the output of top-k selection is a set of indices, not activations—is clean and leads to two well-implemented techniques. HyTopK eliminates the materialized score table by using an optimistic strided threshold, and selection replay cuts recomputation cost by rescoring only the k indices from the forward pass. Together they deliver a genuine 2x speedup on GLM-5.1 training at 1M tokens, and the effect generalizes to block-level architectures like CSA and QSA.\n\nWhat I like most is the empirical discipline. The ablation (Figure 9) attributes speedup to each component. The CP scaling (Figure 8) goes out to 512 GPUs and shows where gains saturate. The sampling efficiency study (Figure 12) compares against LiteTopK and DoSA across four settings and makes a clear case that an optimistic threshold from a query's own context beats guaranteed lower bounds from nearby queries under CP. The gradient derivation in Appendix A is correct and makes explicit why the backward pass never needs the full score table.\n\nThere is one soft spot worth flagging. The stress-test note is right: the failure-rate validation of HyTopK (Figure 12) uses data from a single training step and random initialization. The paper does not track how often failures occur over the course of multi-step training. The authors mention that no selection in their experiments had more than 4 failures, but that statistic comes from the same single-step snapshot. If the indexer's score distribution changes significantly during training—say, becomes more peaked—the optimistic threshold could start missing more true top-k entries. That said, I think this is a minor limitation. The threshold is computed from a strided sample of each query's own context, so it depends only on the current scores. As the indexer improves during training, scores become more discriminative and failures likely become rarer, not more frequent. The fallback is also cheap: a few empty kernel launches when failures are zero, and rescoring only failed queries otherwise. The paper reports ≤4.3% overhead even at 64 failures, and the catastrophic fallback (rescore all queries) has never been triggered. So while the one-step snapshot is a gap, it is unlikely to undermine the central speedup claim.\n\nOverall, this paper is ready for peer review. The writing is clear, the math holds, and the experiments are extensive. It advances the state of practice for training learned sparse attention at scale.\n\nBest,\n[Your name]","headline":"A careful, well-executed systems paper with two novel techniques for accelerating learned sparse attention training; the evaluation is thorough and the claims are supported.","tokens_in":21832,"tokens_out":1396,"duration_ms":24391},"pith_extraction":{"msc":[],"pacs":[],"model":"deepseek/deepseek-v4-flash","headline":"HyScale speeds up long-context training by 2.07× for learned sparse attention at 1M tokens.","keywords":["learned sparse attention","top-k selection","long-context training","activation recomputation","system optimization","HyTopK","selection replay","context parallelism"],"falsifier":"Run a training step with a random indexer (no shared selection locality) at 1M context; if more than 4 out of 8192 queries fail the HyTopK buffer per layer on average, the recovery overhead will erode the speedup, potentially matching or exceeding the cost of a full score-table materialization.","tokens_in":22611,"feed_emoji":"⚡","tokens_out":3810,"duration_ms":43154,"temperature":0.7,"pith_summary":"The paper introduces HyScale, a training system that accelerates learned sparse attention for million-token contexts. It identifies two key inefficiencies: materializing a full score table during top-k selection and repeating selection during activation recomputation. HyScale's core insight is that selection outputs discrete indices, not continuous activations, enabling two techniques: HyTopK performs top-k selection on the fly without a score table, and selection replay reuses forward-pass selection results in recomputation, scoring only the k selected entries. On 512 H20 GPUs, HyScale speeds up GLM-5.1 training on 1M-token sequences by 2.07× over Megatron-LM and generalizes to other sparse attention architectures like CSA and QSA.","feed_headline":"2.07x speedup for million-token sparse attention training","feed_subtitle":"HyScale eliminates the score table and reuses selection indices, accelerating training by over 2x and scaling to 8M tokens.","key_machinery":"The two central mechanisms are HyTopK and selection replay. HyTopK fuses scoring and top-k selection using an optimistic threshold estimated from a strided sample of each query's own context, allowing deterministic, exact top-k without writing a score table. When failures occur (candidate overflow or undercount), a lightweight GPU-only recovery rescales only the affected queries. Selection replay stores the selected indices from the forward pass and, during recomputation, gathers and rescales only the k entries those indices point to, cutting recomputation from O(L) to O(k) per query. Supporting system optimizations include decoupled CP overlap, which separately transfers indexer keys and KV states behind disjoint computation, and locality-aware sparse kernels that process two adjacent queries per thread block to share memory loads and atomic updates.","core_discovery":"The central claim is that the output of top-k selection in learned sparse attention is a set of indices, not a continuous activation, and therefore does not require a materialized score table or repeated selection during recomputation. Exploiting this, HyScale constructs HyTopK, an on-the-fly exact top-k operator using optimistic strided sampling and lightweight host-free recovery, and selection replay, a fine-grained recomputation policy that records forward selection indices and recomputes only the k scores. Combined with decoupled context-parallel overlap and locality-aware sparse kernels, the system achieves up to 2.07× end-to-end training speedup at 1M tokens and scales to block-level architectures.","pith_inferences":["The optimistic threshold technique (HyTopK) may be adapted to other domains where exact top-k is needed over streaming items, such as training Mixture-of-Experts routing or nearest-neighbor search, wherever failures can be caught cheaply.","Selection replay breaks the assumption that recomputation must rerun entire operators; the same index-as-actor insight could optimize other discrete components in neural networks, e.g., hard attention or Gumbel softmax.","HyScale's decoupled CP overlap, by separating indexer keys from KV states, opens the door to overlapping more fine-grained data transfers in attention, a pattern that might generalize to multi-modal architectures with different data dependencies.","The system is already in production at Tencent; if widely adopted, it could shift the training paradigm toward sparse attention as the default for long-context models, reducing the quadratic barrier in practice."],"forward_implications":["Long-context training with learned sparse attention can be significantly cheaper and faster, enabling models to process million-token sequences with lower GPU-hours.","The design generalizes to token-level (DSA), block-level (CSA, QSA), and likely other sparse attention variants, making the system broadly applicable in large-model training.","Operator-level recomputation policies become obsolete for learned sparse attention layers, replaced by cell-level replay that saves orders of magnitude in recomputation time.","Decoupled CP overlap and locality-aware kernels reduce communication and memory bottlenecks, making sparse attention training scalable to thousands of GPUs.","HyScale's speedups grow with context length, reaching 22.3× for a single layer at 8M tokens, suggesting that sparse attention can surpass dense attention in total throughput at extreme contexts."],"supporting_citations":[{"why":"Introduces DeepSeek Sparse Attention (DSA), the token-level learned sparse attention that HyScale targets and accelerates.","marker":"[DeepSeek-AI et al., 2025]"},{"why":"LiteTopK provides the baseline sampling-based top-k operator for inference, which HyTopK improves for the training setting.","marker":"[Yin et al., 2026]"},{"why":"Selective activation recomputation policy that HyScale replaces with fine-grained selection replay.","marker":"[Korthikanti et al., 2023]"},{"why":"Megatron-LM is the baseline training system that HyScale builds upon and compares against.","marker":"[Shoeybi et al., 2019]"},{"why":"Introduces Compressed Sparse Attention (CSA), one of the block-level architectures HyScale demonstrates generality on.","marker":"[DeepSeek-AI et al., 2026]"}],"fun_headline_variants":["HyScale: 2.07x faster sparse attention at 1M tokens","No score table needed for exact top-K selection","Selection replay: indices cached, recompute only scores","From 1M to 8M tokens with HyTopK","Exact on-the-fly top-K without materialized scores"],"cache_read_input_tokens":0,"weakest_assumption_plain":"HyTopK's optimistic threshold, estimated from a strided sample with a threefold margin, rarely exceeds the true k-th score, and the few failures that occur can be recovered cheaply on GPU without host synchronization.","fun_headline_variants_meta":{"raw":{"variants":["HyScale: 2.07x faster sparse attention at 1M tokens","No score table needed for exact top-K selection","Selection replay: indices cached, recompute only scores","From 1M to 8M tokens with HyTopK","Exact on-the-fly top-K without materialized scores"]},"model":"deepseek/deepseek-v4-flash","effort":"low","cost_usd":9.6e-05,"raw_usage":{"cost":9.6171516e-05,"is_byok":false,"cost_details":{"upstream_inference_cost":9.6171516e-05,"upstream_inference_prompt_cost":3.6095556e-05,"upstream_inference_completions_cost":6.007596e-05},"total_tokens":1528,"prompt_tokens":927,"completion_tokens":601,"prompt_tokens_details":{"audio_tokens":0,"video_tokens":0,"cached_tokens":256,"cache_write_tokens":0},"completion_tokens_details":{"audio_tokens":0,"image_tokens":0,"reasoning_tokens":514}},"tokens_in":927,"tokens_out":601,"cost_source":"openrouter_usage","duration_ms":7547,"image_pages":[],"temperature":1.0,"billed_attempts":1,"reasoning_tokens":514,"transport_provider":"openrouter","cache_read_input_tokens":0,"cache_creation_input_tokens":0},"cache_creation_input_tokens":0},"created_at":"2026-10-26T13:32:01.683395+00:00","model_set":{"reader":"deepseek/deepseek-v4-flash"},"pipeline_version":"pith-pipeline@v1.4.1-daily-deepseek-or-medium","input_kind":null,"input_chars":null,"input_total_chars":null,"passes_missing":null,"published_standing":null,"published_confidence":null,"objection_audit":null,"run_record":null,"basis":{"kind":"not_recorded","source":null,"chars_given":null,"chars_total":null},"receipt":null,"falsifier":"Run a training step with a random indexer (no shared selection locality) at 1M context; if more than 4 out of 8192 queries fail the HyTopK buffer per layer on average, the recovery overhead will erode the speedup, potentially matching or exceeding the cost of a full score-table materialization.","supporting_citations":[{"cited_title":"A., Casper, J., Lym, S., McAfee, L., Andersch, M., Shoeybi, M., and Catanzaro, B","cited_arxiv_id":null,"evidence_quote":"Selective activation recomputation policy that HyScale replaces with fine-grained selection replay."},{"cited_title":null,"cited_arxiv_id":null,"evidence_quote":"Megatron-LM is the baseline training system that HyScale builds upon and compares against."}],"lane_accuracy":{"status":"not yet measured","lane":{"model":"deepseek/deepseek-v4-flash","input_kind":null},"url":"https://pith.science/accuracy"},"review_version":1}