Rust in Everything
← Papers

TeleChat to Xing4: Advancing Frontier Agentic Models on Domestic Chips and Frameworks

Xingchen AGI Lab, Baotian Hu, Bingkai Yang, Boyang Wang, Changzai Pan, Chao Lyu et al.

2026-11-18▲ 151arXiv 2611.22115v1Hugging Face

AI-generated from the full paper (deepseek-flash). It may contain mistakes; check the original.

TL;DR

Xing 4 extends the TeleChat line with Ascend and MindSpore oriented architecture, pretraining systems, and TeleGym agentic RL infrastructure, releasing a 29B MoE model and studying a 285B model on 8,192 Ascend 910C cards.

Problem

Most open-source models are trained on GPUs, while scaling on domestic chips and frameworks poses significant systems challenges. Long-context reasoning and agentic workloads make attention cost, decoding latency, sequential overhead, and variable task durations interdependent. The paper targets efficient training and inference on Ascend, including long-context serving, large-scale pretraining, and asynchronous agentic post-training.

Method

Architectural studies compare MLA, DSA, IndexShare, depth-width topologies, and DSpark speculative decoding using simulation and measurements on Ascend 910C. Pretraining uses MindSpore HyperParallel with topology-aware HSDP that shards within SuperPoD and replicates across, per-parameter zero-copy collectives, and three-way communication overlap. Owner-based Muon assigns each matrix to one owner, selective recomputation chooses operators via a knapsack over measured time and memory, and DSA training adds layer-wise indexer backward, Q-block pairing, and document-aware KV compaction. TeleGym executes heterogeneous agent harnesses, an intermediate server records tokens, log probabilities, policy versions, and outcomes into training groups, and Slime schedules rollout and policy optimization with disaggregated asynchronous execution, bounded oversampling, and partial rollout. CPU affinity and core isolation reduce host scheduling interference.

Results

  • In simulation on the 285B model, adding DSA and IndexShare to MLA cuts relative TPOT to 0.21 and raises prefill throughput to 4.68 times the MLA baseline, with decode throughput at 1.27. §2.2
  • The 45-layer wider-shallower topology improves normalized inference metrics over the 60-layer baseline and improves large-scale training throughput by about 10%. §2.3
  • DSpark speculative decoding achieves 2.67×–3.77× the base decoding throughput across six benchmarks, outperforming MTP3 by 1.48×–2.10×, with HumanEval reaching 134.7 tokens/s. §2.4
  • HyperParallel-FSDP removes pipeline parallelism and reduces step time from 36.4 s for PP-1F1B and 34.2 s for interleaved PP to 31.8 s, a 12.6% reduction and 1.14× speedup over PP-1F1B. §3.1
  • The paper reports step-time reductions of 9.1% for owner-based Muon, 6.9% for fine-grained selective recomputation, and 15.2% for layer-wise indexer backward, each measured independently against the HSDP plus Muon configuration. §3
  • Enabling CPU pinning and core isolation together increased training throughput by 1–2% on the 512-accelerator cluster and by 5–10% on the 8,192-accelerator cluster. §5.2

Limitations

  • Attention-variant comparison is simulation-based using Huawei Zhanlu; the paper states simulation does not fully capture production-serving overheads and reported results may be optimistic (§2.2).
  • Owner-based Muon concentrates full-matrix NS work on owners, its benefit depends on assignment and matrix-shape distribution, memory budgets are heuristics rather than global bounds, and batched or reordered kernels can change floating-point results (§3.2).
  • Layer-wise indexer backward is explicitly not zero-memory-cost; Top-K outputs, early-backward inputs, and group-shared projections may still occupy device memory (§3.4.1).
  • Dynamic Q-block pairing and inter-DP data balancing are conservative heuristics rather than global optimum searches, and fixed folding cannot guarantee equal load for multi-document TND sequences (§3.4.2).

Key points

  • Xing4.0-29B-A4B is open-sourced with 29B total parameters, 4B activated per token, native 256K-token contexts, and training entirely on Ascend NPUs using MindSpore. §Abstract
  • The 285B representative model uses 45 layers, 256 routed experts with 8 selected per token, one shared expert, about 17B activated parameters, up to one-million-token contexts, and fewer than 300B total and 20B activated parameters. §2.5
  • HyperParallel-FSDP shards parameters within each SuperPoD and replicates across SuperPoDs, uses per-parameter zero-copy AllGather and ReduceScatter, and overlaps three communication operations with backward computation. §3.1
  • Owner-based Muon assigns each matrix a single owner rank within its shard group, sends shards over P2P, batches compatible matrices, and avoids duplicated full-matrix Newton–Schulz work while keeping parameters and momentum in their original sharded layout. §3.2
  • Fine-grained selective recomputation uses object-based exclusion and a 0–1 knapsack over measured operator time and output memory, with boundary placeholders to release activations crossing from recompute to save regions. §3.3.1
  • DSA long-sequence training optimizations cover layer-wise indexer backward, Q-block pairing and layout planning at model entry, and document-aware KV compaction that shares coordinates across Indexer, SFA, and KL. §3.4
  • TeleGym provides unified agent execution, the intermediate server records sampled tokens, behavior-policy log probabilities, and policy versions into training groups, and multi-turn executions are treated as single independent attempts for group-relative reward processing. §4.1
  • CPU pinning sets thread affinity, fine-grained pinning divides device CPU pools by role, and core isolation moves selected services and movable IRQ handlers outside the training CPU pool. §5.1

Mind map

Xing 4
Architecture
Long-context attention
MLA baseline
DSA top-K selection
IndexShare cross-layer reuse
Depth-width trade-offs
60-layer baseline
45-layer wider FFN
Speculative decoding
DSpark draft model
Markov head
Acceptance confidence head
Representative configs
29B with mHC MLA MTP
285B with 1M context
Pretraining infrastructure
HyperParallel-FSDP
Shard in SuperPoD
Replicate across SuperPoDs
Zero-copy collectives
Three-way overlap
Owner-based Muon
Selective recomputation
DSA long-sequence optimizations
Layer-wise indexer backward
Q-block pairing
Document-aware KV compact
CPU affinity and core isolation
Post-training
TeleGym
Agent execution
Sandbox and sessions
Intermediate server
Trajectory records
Reward grouping
Slime
Rollout scheduling
Policy optimization
Async partial rollout
Bounded oversampling
Disaggregated execution
Task synthesis
Models
Xing4.0-29B-A4B
29B total 4B active
256K context
Trained on Ascend
285B member
17B active
1M context
8192 Ascend 910C
Evaluation
Attention simulation
Depth-width study
Decoding throughput
Step-time reductions
Cluster throughput