How Domestic AI Chips Trained a Multimodal Image Model: Architecture and Text Rendering Explained
A new open-source image generation model demonstrates that a fully domestic AI computing stack can support end-to-end training, including pretraining, fine-tuning, and alignment. Its dual-engine architecture combines an autoregressive model for semantic understanding and layout planning with a diffusion decoder for pixel-level rendering, significantly improving text generation. This article examines the infrastructure challenges, architecture, text-rendering capabilities, evaluation methodology, and commercial use cases of this approach.
1. Background: Domestic Full-Stack Computing for Frontier Model Training
An open-source team recently released a new image generation model. Its significance lies not only in the model itself, but also in the training infrastructure behind it: the entire process—including pretraining, fine-tuning, and alignment—was completed on a cluster of domestic AI chips and a domestically developed deep learning framework.
This demonstrates that a domestically developed hardware-and-software stack is gaining the engineering capability required to train advanced multimodal models. For a long time, frontier model training depended heavily on specific imported accelerators and their surrounding software ecosystems. To validate domestic chips in real-world, large-scale training tasks, developers must overcome challenges at three levels:
- Computing infrastructure: Interconnect bandwidth, memory capacity, and cluster stability directly determine whether distributed training can support models with billions of parameters.
- Framework support: The deep learning framework must provide comprehensive support for mixed precision, automated parallelism, operator libraries, and deep hardware adaptation.
- Algorithm adaptation: Training scripts, optimizers, and hyperparameter configurations must be retuned for the new environment to maintain convergence efficiency and final model quality.
The model’s leading performance among open-source models on authoritative evaluations suggests that all three layers have been successfully integrated. For developers, this provides a practical engineering reference for building and deploying large models on a domestic computing stack.
2. The Core Challenge: Garbled Text in AI-Generated Images
Text rendering is widely recognized as one of the most difficult problems in image generation. In both English and Chinese scenarios, earlier models often produced distorted glyphs, merged strokes, and corrupted characters, severely limiting commercial adoption.
Why Is Text So Difficult to Generate?
There are three main technical reasons:
- Extremely high precision requirements: A small stroke deviation can turn a Chinese character into an incorrect one. Image generation models also have inherent ambiguity in pixel space.
- Dual semantic and visual construction: The model must not only make text look visually plausible, but also generate the correct content and ensure that it matches the prompt precisely.
- Complex layout constraints: Real-world posters involve typography, font weight, spacing, alignment, and other implicit rules. Pure pixel generation has difficulty modeling these constraints explicitly.
The industry has gradually developed two main approaches:
- Post-processing pipelines: Generate the background image first, then overlay text using a typography or layout engine. This approach offers stronger control but may appear less natural.
- End-to-end generation: Jointly model text and layout within the image generation system. This produces more integrated results but is substantially more difficult to implement.
The model discussed here adopts the second approach. Through architectural improvements, it significantly increases text accuracy and ranks among the leading open-source models on several authoritative text-generation benchmarks. Its Chinese character generation accuracy is reported to surpass that of several well-known international closed-source models.
3. Architecture: Coordinating an Autoregressive “Brain” with a Diffusion “Brush”
The model’s main innovation is a dual-engine architecture that separates semantic understanding from pixel rendering through two specialized modules.
3.1 Autoregressive Model: Understanding and Planning
The autoregressive model, with approximately 9 billion parameters, functions like a “brain.” After receiving a text prompt, it performs several tasks:
- Instruction parsing: Decomposes complex requirements into elements such as the subject, style, text content, and color scheme.
- Overall layout planning: Determines the spatial relationships and visual hierarchy of elements in the image.
- Semantic encoding: Compresses the interpreted result into a continuous representation for the next module.
Autoregressive architectures are well suited to long-context modeling and precise token-level control. These capabilities are particularly valuable for generating correct text because the textual content is encoded accurately at the semantic level rather than being inferred only through pixel-level probability matching.
3.2 Diffusion Decoder: Rendering Visual Details
The diffusion decoder, with approximately 7 billion parameters, acts like a “brush.” It receives the planning representation and progressively denoises it to produce the final image. Its primary responsibilities include:
- Texture and color rendering;
- Consistent lighting and visual realism;
- Clear and sharp rendering of text strokes.
3.3 Coordination Between the Two Engines
The collaboration between the two modules can be summarized as follows:
Text prompt│▼[Autoregressive model] → Semantic interpretation + layout planning│▼ (intermediate representation)[Diffusion decoder] → Pixel-level rendering, including text optimization│▼Final image: accurate semantics + refined details + correct text
The model also introduces a specialized text-processing module that strengthens the representation of glyph structures and imposes targeted constraints on stroke order.
This layered “understanding–planning–rendering” design decomposes a complex task into subproblems that each module is best suited to solve. It is an engineering approach worth watching in the development of multimodal generation systems.
4. How to Evaluate This Type of Model Scientifically
Developers selecting a model for commercial applications should establish an evaluation framework covering the following dimensions.
4.1 General Capability Evaluation
- Generation quality and realism: Examine visual details and check for artifacts, distortions, or structural errors.
- Prompt adherence: Use prompts containing multiple requirements and verify each element in the generated result.
- Instruction-following accuracy: For image-editing tasks, determine whether the modifications accurately reflect the user’s intent.
4.2 Dedicated Text-Rendering Tests
A tiered test set is recommended:
- Short text: Words, brand names, and combinations of letters or numbers.
- Long text: Complete sentences and multi-line paragraphs.
- Chinese text: Common characters, visually similar characters such as “未/末” and “己/已,” and characters with complex stroke structures.
- Text-image composition: Complex scenes involving occlusion by background elements, perspective distortion, and other layout challenges.
4.3 Cost and Engineering Considerations
Visual quality is only one part of the evaluation. Developers should also consider:
- Invocation cost: The price of a single generation and the total cost in batch-generation scenarios.
- Latency and concurrency: Whether the model can meet the response requirements of interactive applications.
- Deployment flexibility: Open model weights can support private deployment in data-sensitive environments. Cloud APIs may also enable faster integration while reducing operational overhead. Enterprises that require private deployment can combine container platforms with accelerator-resource scheduling to build their own inference services.
5. Commercial Value and Model Selection Recommendations
Mature text-rendering capabilities can enable several use cases that were previously difficult to implement reliably:
- Marketing posters: Generate finished images containing accurate slogans, promotional details, and dates in a single workflow.
- Presentation covers: Produce title text and visual design together.
- Social media graphics: Generate batches of cover images with embedded copy, shortening the content-production process.
Model selection should be driven by the target application. If the primary requirement is Chinese text-heavy generation, character accuracy should be the top evaluation criterion. If the focus is artistic creation, visual quality and stylistic diversity may matter more. For budget-sensitive projects, developers should compare the cost-effectiveness of different models using the same prompt set.
6. Conclusion
The emergence of a state-of-the-art multimodal model trained end to end on domestic AI chips has two important implications.
At the infrastructure level, it demonstrates that a domestic full-stack computing ecosystem can support the training of advanced models. At the model level, the combination of autoregressive understanding and diffusion-based rendering offers a practical approach to improving precise text generation.
Rather than focusing solely on a single benchmark score, developers should build a systematic evaluation process based on their own use cases. Generation quality, instruction following, text accuracy, and overall cost should all be considered before making a decision.
As domestic computing hardware and algorithm ecosystems continue to mature, controllable end-to-end image-and-text generation is likely to become a standard capability for multimodal applications.
