Large Model Self-Innovation: Architecture Breakthroughs and Domestic Compute Adaptation

    This article examines how large model teams pursue self-innovation under real-world constraints. It covers the shift in pre-training architecture from scaling parameters to maximizing efficiency, including autoregressive infilling, unified modeling, sparse MoE structures, and attention optimization. It then explains post-training and reinforcement learning methods for long-horizon tasks, followed by a four-layer approach to adapting models to domestic compute, from operator optimization to large-scale inference. The article closes with engineering governance practices for reproducible, measurable, and sustainable innovation.

    Introduction: When Uncertainty Becomes the Norm

    A long-standing challenge in large model development is that technical roadmaps have not converged. No single lead automatically translates into the next one, and there is no ready-made path to a higher intelligence ceiling. For R&D teams, the real difficulty is not only achieving the initial 0-to-1 breakthrough, but continuing to find new openings after that first “1.”

    External constraints, such as limited compute supply and difficulty obtaining advanced chips, amplify this uncertainty. Yet engineering practice repeatedly shows that constraints do not equal stagnation. When one supply path is cut off, improving architectural efficiency, re-architecting training and inference pipelines, and adapting to a more diverse compute mix can open up new space. From a general technical perspective, this article outlines engineering methodologies for large model teams across three areas: architecture innovation, post-training, and domestic compute adaptation.

    1. Pre-Training Architecture Innovation: From More Parameters to Higher Efficiency

    The early industry consensus was that increasing parameter count would yield capability gains. Under compute constraints, however, the priority shifts to maximizing output per unit of compute. This is where original pre-training architectures deliver value.

    1.1 Autoregressive Infilling and Unified Modeling

    The conventional decoder-only architecture has inherent limitations on understanding-oriented tasks. A widely adopted improvement is to introduce an autoregressive infilling objective: text is split by spaces or masks, and the model fills in masked content while generating subsequent spans. This design unifies understanding and generation under the same objective, removing the need to switch between two separate models.

    Illustrative pseudocode:

    1. # Autoregressive infilling training objective (illustrative)
    2. def glm_loss(logits, tokens, mask_positions, span_positions):
    3. # 1) Bidirectional context modeling for masked spans
    4. # 2) Autoregressive generation for subsequent spans
    5. loss_fill = cross_entropy(logits[mask_positions], tokens[mask_positions])
    6. loss_ar = cross_entropy(logits[span_positions], tokens[span_positions])
    7. return 0.5 * loss_fill + 0.5 * loss_ar

    1.2 Sparsification and Attention Optimization

    With limited GPU memory, dense full attention is the primary bottleneck. Common engineering techniques include: mixture-of-experts structures that activate only part of the parameters per forward pass; block-wise local attention combined with global attention tokens, reducing complexity from quadratic to near-linear; and rotary position embeddings that support long-context extrapolation. The shared goal is to expand effective capacity without increasing inference cost.

    2. Post-Training and Reinforcement Learning: Breaking the Ceiling on Long-Horizon Tasks

    Pre-training defines the boundary of knowledge; post-training defines the ceiling of capability. When a model must complete multi-step, cross-tool, long-horizon tasks, supervised fine-tuning alone cannot cover the complexity of the state space.

    2.1 Supervised Fine-Tuning as a Base, Preference Optimization for Alignment

    Start with high-quality instruction data to establish basic behavior patterns, then apply preference optimization based on human or model feedback to balance usefulness, harmlessness, and format compliance. In practice, pay close attention to data mixing ratios and deduplication to avoid catastrophic forgetting.

    2.2 Reinforcement Learning for Long-Horizon Tasks

    The core difficulty of long-horizon tasks is sparse rewards: a signal appears only when the final step succeeds. Viable approaches include:

    • Process reward modeling, which provides verifiable judgments for intermediate steps;
    • Using executable environments (code sandboxes, test cases, simulators) as objective reward sources to reduce the risk of reward hacking;
    • Curriculum learning, gradually extending the number of steps from shorter task chains;
    • Memory and state compression to prevent context from growing linearly with each step.
    1. Task chain: requirement understanding -> plan decomposition -> tool invocation -> result verification -> backtracking and correction
    2. Reward design: terminal reward (0/1) + process verification reward + format and safety constraint terms

    2.3 Early Investment in Coding and Agents

    Code is naturally strong supervision data and a verifiable environment, so coding capability often serves as an incubator for agent capability. Making code generation and unit test pass rates solid first, then transferring to more open tool-use scenarios, is a robust path that has been validated repeatedly.

    3. Domestic Compute Adaptation: From “It Runs” to Large-Scale Inference

    Compute diversification is a long-term concern. Adaptation work is typically divided into four layers, converging risk layer by layer.

    1. Operator layer: rewrite or fuse hot operators such as attention, normalization, and quantization to reduce memory access and kernel launch overhead.
    2. Precision and quantization layer: apply quantization-aware training and KV Cache compression to reduce bandwidth pressure while keeping accuracy loss within a controllable range.
    3. Parallelism and scheduling layer: use tensor parallelism to split matrices within a layer and pipeline parallelism to split across layers, combined with memory recomputation and optimizer state sharding; on the scheduling side, use continuous batching and paged memory management to improve throughput.
    4. Service layer: expose capabilities through standard interfaces, abstracting away underlying hardware differences so the same business code can migrate across heterogeneous compute.

    Four acceptance metrics are recommended: single-card throughput, time to first token, peak GPU memory under long context, and task accuracy delta before and after quantization. Only when all four are met simultaneously is the system ready for large-scale deployment.

    4. Engineering Governance: Making Innovation Sustainable

    • Reproducibility: fix data snapshots, random seeds, and environment images so experiment results are comparable.
    • Evaluation system: separate benchmarks into four categories: knowledge Q&A, reasoning, code, and long-horizon tasks, avoiding decisions driven by a single metric.
    • Cost model: factor training and inference costs into architecture selection, treating compute cost per unit of intelligence as a first-class metric.
    • Ecosystem openness: serve developers through mainstream cloud platforms and unified interfaces, lowering migration friction and feeding feedback into the next iteration.

    Conclusion

    The practice of Chinese large model teams shows that the key to self-innovation is not a single breakthrough, but building a mechanism that continuously produces breakthroughs under constraints: pursuing efficiency in architecture, tackling long-horizon tasks in training, committing to diverse compute adaptation, and ensuring reproducibility and measurability in governance. There is always a way forward. In engineering terms, this means breaking every “impossible” into small, verifiable, and iterable problems.