Papers
TeleChat to Xing4: Advancing Frontier Agentic Models on Domestic Chips and Frameworks
Most open-source frontier models are trained on GPUs, but scaling large models on domestic (Chinese) chips and frameworks introduces substantial systems challenges in memory, communication, and…

- arXiv
- 2611.22115 · Preprint · not peer-reviewed
- Published
- 2026-11-17
- Authors
- Xingchen AGI Lab, :, Baotian Hu, Bingkai Yang, Boyang Wang, Changzai Pan, Chao Lyu, Chao Wang, Chen Li, Chenshuo Pan, Chenyu Lin, Chenyuan Zhang, Chongming Liu, Dawei Fan, Di Wu, Dong Guo, Dong Li, Dongfang Li, Enlin Liu, Fanye Xiao, Fengkai Li, Fubei Yao, Gang Lin, Han Gao, Hanming Wu, Haowei He, Huapeng Liu, Hua Wang, Huinan Xu, Jiahong Xiong, Jiaxin Peng, Jianxiang Ma, Jianxing Zhuge, Jie Zhang, Ji Xiong, Jinglin Chen, Jingqi Li, Jingxuan Li, Jiwang Ye, Junchen Li, Junbiao Li, Junyang Wu, Kaidong Yu, Kaipeng Jia, Kehai Chen, Kuai Li, Laobin Liu, Lei Li, Libo Qin, Lingling Shi, Luwen Pu, Menghao Xu, Mengjiao Bao, Mengqi Chen, Min Zhang, Mingrui Wang, Naying Wang, Peicong Han, Peiming Guo, Pengfei Li, Qiang Feng, Qi Wang, Qingjun Zhu, Qingli Li, Qitai Ding, Qiyi Xie, Quanchao Zhao, Rongbao Han, Rui Xue, Ruiyu Fang, Ruiting Song, Shijie Li, Shiquan Wang, Shuangyong Song, Sishi Xiong, Teng Su, Wankang Bao, Weijie Zhang, Wei Mao, Weiwei Fu, Weiyang Huang, Wenmin Deng, Wenqing Hu, Wujie Zhong, Xi Yu, Xiaohui Hu, Xiaomin Fang, Xiaomeng Huang, Xiaoqiong Shi, Xiaotong Shang, Xiaoyu Li, Xinglei Xu, Xin Jiang, Xin Wang, Xin Zhang, Xinzhang Liu, Xue Liu, Xuefeng Bai, Xuewei He, Yahan Li, Yanhan Zhang, Yanlei Xue, Yanzhang Wu, Yang Yu, Yi Liu, Yin Zhang, Yingyan Li, Yitong Yao, Yixuan Li, Yongqiang Xia, Yongxiang Li, Yinzhou Zhu, Yu Zhao, Yuhao Jiang, Yunpeng Zhang, Yuting Lin, Yuxuan Wu, Yuyao Huang, Yuyi Wang, Zebo Peng, Zhenwu Pei, Zhenxiong Li, Zhao Wang, Zhaoxi Zhang, Zhihao Yang, Zhiqiang Dong, Zhiwei Yan, Zhilong Lu, Zhonghao Guo, Zhongheng Wu, Zhongjiang He, Zhongqiu Li, Zhu Yuan, Zhuoru Jiang, Zhuoyi Wei, Zijia Guo, Zilu Huang, Zhipeng Guo, Zirui Li, Zihan Wang
In plain words
Most open-source frontier models are trained on GPUs, but scaling large models on domestic (Chinese) chips and frameworks introduces substantial systems challenges in memory, communication, and scheduling.
AI summary
TeleChat to Xing4: Advancing Frontier Agentic Models on Domestic Chips and FrameworksOverview
Research area: Large language model architecture, distributed training systems, and reinforcement-learning post-training for reasoning and agentic models — specifically targeting Huawei Ascend NPUs and the MindSpore software stack rather than NVIDIA GPUs.
Technical level: Advanced. The report assumes familiarity with mixture-of-experts (MoE) architectures, sharded data parallelism, attention variants (MLA, DSA), speculative decoding, and reinforcement learning for LLMs.
Scope: A system-level engineering report describing the Xing 4 model series — its architecture selection studies, pretraining infrastructure on Ascend, and the TeleGym agent post-training platform — illustrated with a 29B open-sourced model and a 285B flagship model trained on 8,192 Ascend 910C cards.
What This Paper Is About
Most open-source frontier models are trained on GPUs, but scaling large models on domestic (Chinese) chips and frameworks introduces substantial systems challenges in memory, communication, and scheduling. This paper documents how the Xingchen AGI Lab at China Telecom extended the TeleChat model lineage into the Xing 4 series by co-designing model architecture and training infrastructure for Ascend hardware and MindSpore. The goal is to show which architectural choices (attention design, depth-width balance, speculative decoding) and which systems techniques (hybrid sharding, owner-based optimizer execution, recomputation control, asynchronous RL execution) make frontier-scale reasoning and agentic training practical on this stack.
Key Contributions
-
Ascend-oriented architectural design for efficient training and inference. The authors analyze how sparse activation, attention mechanisms, depth-width balance, and speculative decoding trade model capacity and long-context requirements against matrix utilization, memory access, and sequential execution cost on Ascend 910C — making the design rationale behind Xing 4 configurations explicit.
-
Coordinated systems and cluster optimization for large-scale pretraining. Built on MindSpore HyperParallel, the infrastructure combines topology-aware hybrid sharded data parallelism (HyperParallel-FSDP) with owner-based distributed Muon execution, long-sequence workload balancing, document-aware KV compaction, selective recomputation, and host-side CPU affinity and core isolation.
-
TeleGym and a unified reinforcement-learning pipeline for reasoning and agents. TeleGym is a unified agent execution platform whose intermediate server connects execution, evaluation, and trajectory construction to policy optimization, with disaggregated asynchronous execution, bounded oversampling, and partial rollout to handle heterogeneous task durations.
-
Concrete released artifacts and scale demonstration. An open-sourced 29B MoE member (Xing4.0-29B-A4B) trained entirely on Ascend NPUs using MindSpore — 4B activated parameters per token, native 256K-token contexts — alongside pretraining of a 285B-parameter model on 8,192 Ascend 910C cards.
Main Findings
-
Attention stack (MLA + DSA + IndexShare) improves long-context inference substantially. In simulation-based modeling of the 285B model on 32 Ascend 910C cards with prefill/decode disaggregation at 256K context, adding DSA to MLA reduced relative TTFT to 0.37×, relative TPOT to 0.84×, KV HBM access to 0.85×, and raised prefill throughput to 2.67× and decode throughput to 1.18×. Adding cross-layer IndexShare on top gave 0.21× TTFT, 0.79× TPOT, 0.80× KV HBM access, 4.68× prefill throughput, and 1.27× decode throughput. The authors note these simulation results may be more optimistic than full end-to-end deployment measurements.
-
A wider, shallower MoE topology beats a deeper, narrower one at comparable budgets. Comparing a 60-layer baseline (expert intermediate size 1536, 6 experts per token) against a 45-layer variant (expert intermediate size 2048, 8 experts per token) with all other components fixed, the wider-shallower model achieved 0.83× relative TTFT, 0.90× relative TPOT, 1.20× prefill throughput, and 1.11× decode throughput. Large-scale training measurements showed roughly a 10% training-throughput improvement, so the 45-layer topology was selected.
-
DSpark speculative decoding delivers 2.67×–3.77× decoding speedup. Across six benchmarks, base-configuration throughput rose from 35.4 to 115.8 tokens/s on GSM8K, 36.8 to 128.1 on MATH-500, 35.7 to 134.7 on HumanEval, 37.1 to 132.0 on MBPP, 37.0 to 109.2 on AIME25, and 35.6 to 95.2 on LiveCodeBench. MTP3 achieved 1.80×–1.93× over base, while DSpark reached 1.48×–2.10× over MTP3, with the largest gain on HumanEval.
-
Pipeline parallelism can be eliminated by hybrid sharding on a two-tier network. On the 1,024-NPU profiling cluster with the 285B model, sequence length 262,144, and global batch size 16, the PP-1F1B baseline took 36.4 s; interleaved PP (vpp=2) took 34.2 s (6.0% reduction, 1.06×); and HSDP with pp=1, dp_replicate=4, dp_shard=2 took 31.8 s (12.6% reduction, 1.14× end-to-end). The abstract separately reports up to a 16.1% throughput improvement from eliminating pipeline parallelism.
-
Owner-based Muon execution removes duplicated full-matrix work. Holding the HSDP layout fixed, step time fell from 31.8 s to 28.9 s — a 9.1% reduction and 1.10× end-to-end speedup — attributable to removing redundant Newton–Schulz computation rather than changing distributed state.
-
Fine-grained selective recomputation and layer-wise indexer backward each reduce step time. Measured independently against the same HSDP + Muon configuration, fine-grained selective recomputation contributed a 6.9% step-time reduction and layer-wise indexer backward contributed 15.2%.
-
Two concrete model configurations were defined. Xing 4 (29B): 40 layers, hidden size 3584, 64 routed experts, expert intermediate size 1024, 4 experts per token, 1 shared expert. Xing 4 (285B): 45 layers, hidden size 4096, 128 heads, 256 routed experts, expert intermediate size 2048, 8 experts per token, 1 shared expert, Dense FFNs in the first 3 layers and MoE FFNs in the rest, satisfying budgets of fewer than 300B total and fewer than 20B activated parameters.
Methodology in Plain English
The authors treat architecture and infrastructure as one coupled design problem rather than two separate ones.
For architecture, they start from what Ascend 910C is good and bad at: it has strong matrix-multiplication ("Cube") throughput, but relatively constrained Vector compute and HBM bandwidth. That motivates three parallel investigations. First, they keep MLA for KV compression but layer on sparse attention (DSA) so each query only touches a selected subset of historical KV states, then add IndexShare so sparse indices are reused across layers instead of recomputed. Second, they ask whether it is better to stack many thin layers or fewer wide ones, since deep networks spend proportionally more time on non-matrix work like normalization, routing, and indexing — they compare candidate topologies under otherwise identical settings. Third, they adopt DSpark, which uses a small draft model over multiple verifier layers plus a Markov head and a confidence head to propose and verify blocks of tokens at once.
For systems, they exploit the Ascend SuperPoD's two-tier network: parameters are sharded inside a SuperPoD and replicated across SuperPoDs, so frequent weight gathering stays on fast links while only coarse gradient reduction crosses slower boundaries. They communicate per-parameter directly instead of flattening parameters into one buffer, avoiding copy-in/copy-out on the critical path, and they overlap three communication streams with backward computation. For the Muon optimizer, which needs a full weight matrix, they nominate a single owner rank per matrix to do the orthogonalization and scatter results back, rather than every rank redundantly doing the same full-matrix work.
For post-training, TeleGym separates generation and optimization onto different device pools and runs them asynchronously, letting long-running agent tasks keep collecting while policy updates happen, with partial rollout allowing unfinished trajectories to resume afterward.
The performance studies use a 1,024-NPU Ascend profiling cluster with the 285B configuration; production pretraining then scaled to 8,192 Ascend 910C cards.
Why This Matters
Impact on research. The paper provides a rare public account of what it actually costs to train a frontier-scale MoE on non-NVIDIA hardware. Many architectural "best practices" are implicitly tuned to GPU ratios of matrix throughput to bandwidth; this work shows those ratios differ enough on Ascend to change the optimal answer — favoring shallower, wider experts and shunting work into matrix-dominant forms. It also documents that pipeline parallelism, usually treated as necessary at this scale, can be removed entirely given the right sharding topology and network hierarchy.
Real-world applications:
- Long-document analysis and agentic assistants — native 256K contexts in the open 29B model and up to 1M tokens in the 285B model suit legal, financial, and technical document workflows where histories accumulate across many turns.
- Code generation and software engineering agents — HumanEval and LiveCodeBench are among the evaluated decoding benchmarks, and code generation is an explicit target of the post-training pipeline.
- Tool-using multi-turn agents — TeleGym's persistent sessions and partial rollout target tasks whose durations vary widely, which matches real tool-calling workflows.
- Domestic-infrastructure deployments — organizations constrained to Ascend and MindSpore now have a documented, open 29B model with published training recipes rather than only GPU-centric references.
Industry relevance. The work is a template for hardware-software co-design in an era of supply-constrained accelerators. Every optimization reported — zero-copy communication, three-way overlap, owner-based optimizer execution, selective recomputation — maps to a cost that increases with cluster size, so the reported 9.1%, 6.9%, 15.2%, and 12.6% step-time reductions compound across a training run. The open-sourcing of the 29B member gives external teams a reproducible baseline on the same stack.
Future Directions
- Scaling to trillion-parameter training on Ascend. The report states that trillion-parameter training is ongoing; whether the same HSDP-plus-owner-execution recipe holds at that scale, and where new bottlenecks appear, is left open.
- Evaluation of reasoning and agentic post-training outcomes. The paper describes TeleGym's mechanisms — disaggregated asynchronous execution, bounded oversampling, partial rollout, sampling-time policy records, execution-level reward grouping — but the main text provided covers only the platform design, so downstream benchmark gains from this pipeline are not reported in the available content.
- Moving from simulation to production-serving measurement. The attention and depth-width comparisons rely on Huawei's Zhanlu simulation framework, which the authors explicitly caution may yield more optimistic numbers than full end-to-end deployment; confirming these ratios under real serving load is a natural next step.
- Reconciling pipeline-elimination gains. The abstract reports up to 16.1% throughput improvement from eliminating pipeline parallelism, while the profiling-cluster table reports a 12.6% step-time reduction — closing that gap through further overlap or scheduling work is a concrete open engineering question.
Target Audience
Infrastructure and pretraining engineers working on non-NVIDIA accelerator stacks; researchers studying MoE architecture selection under specific hardware constraints; teams building reinforcement-learning pipelines for multi-turn agents; and practitioners who want a documented, open Ascend-trained 29B MoE baseline. Readers seeking benchmark leaderboard comparisons against other frontier models will not find them here — the evaluations focus on systems throughput, latency, and architectural trade-offs rather than head-to-head capability rankings.
Authors’ abstract
We present Xing 4, a series of large language models that extends the TeleChat lineage through coordinated advances in model architecture and training infrastructure on Ascend. This report describes the design principles and systems engineering behind the series, spanning architecture selection, large-scale pretraining, and reasoning and agentic post-training. We study how sparse activation, attention design, model depth and width, and speculative decoding balance model…
The full abstract on arXivRelated papers
- AscendGYM: A Cost-Aware Kernel Optimization Benchmark for Real-World Workloads on Ascend NPUs 2026-11-13 · cs.AI · Also by Baotian Hu
- FLY-EVAL++: An Evidence-Driven Evaluation Protocol for Safety-Constrained Flight Prediction with Large Language Models 2026-09-03 · cs.AI · Also by Boyang Wang
- ExpertCrowd-SWE: Measuring Frontier Coding Agents on Expert-Authored Engineering Tasks in Unfamiliar Codebases 2026-11-09 · cs.AI · Key terms of the title in common
- Automating ML for Science: Can Frontier Agents Climb Scientific Hills in the Wild? 2026-10-20 · cs.AI · Key terms of the title in common
- Not Every Call Needs a Frontier Model: Per-Call-Site Evaluation of Small Language Models in a Deployed Agentic Home-Automation System 2026-10-06 · cs.AI · Key terms of the title in common