Multimodal Image Generation and Text Rendering on China-Made Compute

    This article explains how to judge multimodal image generation when readable, accurate text is a delivery requirement. It covers error types in Chinese text rendering, how mixed autoregressive–diffusion pipelines fail, what to verify when training on China-made chips, and how to score first-pass accuracy, layout, editing, and true delivery cost.

    Treat correct text as a delivery condition, not a visual bonus

    An atmospheric image with no text can be judged mainly by composition, style, and detail. A campaign poster that prints “14:30” as “14:00” cannot be published, no matter how polished the artwork is. When evaluating multimodal image generation, visual quality and factual accuracy should be accepted separately. The first asks whether the image looks good; the second asks whether it is usable. One cannot offset the other.

    Chinese text makes this especially clear. Typical failures are not limited to garbled characters. They include missing radicals, substitution of visually similar characters, repeated glyphs, wrong character order, and mixed full-width and half-width symbols. More subtle cases keep the wording correct but attach a price to the wrong product, place a date in the wrong section, or make a title unreadable in a thumbnail. Those problems map to character generation, spatial understanding, and layout design. They should not be collapsed into a single vague label such as “text rendering ability.”

    When preparing a request, split the input into three groups: content that must be preserved character by character, layout and editing constraints that must be met, and visual description the model may interpret freely. “The main title must be ‘Spring Market’” is a hard constraint. “The title sits at the top and does not cover the people” is a layout constraint. “Use a light, lively spring palette” is a style preference. Check hard constraints first, then compare visual quality. A polished image should not hide a critical copy error.

    Separate understanding the copy from drawing the characters

    One image-generation approach combines autoregressive modeling with diffusion decoding. The autoregressive stage builds intermediate representations step by step from the input conditions. It is well suited to carrying global information such as objects, text content, and spatial relationships. Diffusion decoding then forms the image under those conditions, filling in local texture, color, and edges. The exact intermediate representation, training objective, and module boundaries vary by implementation. This split should not be treated as a fixed interface for every hybrid architecture.

    For Chinese text rendering, the split is a practical debugging lens. If the prompt asks for the date below the title and the result merges the date and location onto one line, the layout constraint may not have been expressed strongly enough. If the block is in the right place but a character is missing strokes, first check whether the target text is large enough at the output size, whether contrast against the background is sufficient, and whether generation can stably render fine glyph detail. The final image alone cannot prove which module failed. Attributing the error by type is more useful than simply lengthening the prompt.

    Text in an image is both semantic content and high-frequency visual detail. A person may treat “sign up now” and “register immediately” as similar in meaning, but character-level delivery does not allow paraphrase. Likewise, a missing patch of background texture often does not block use, while a missing stroke in a Chinese character can change the meaning. Training data therefore needs to cover not only text content, but also font styles, sizes, orientations, and background conditions. At inference time, complex texture, perspective distortion, and text regions that are too small also reduce readability. Raising the output resolution can sometimes ease display problems for long captions or dense tables, but it cannot correct content that was already written wrong.

    On China-made compute, the real test is recoverable long training

    Training a multimodal generation model on China-made chips and their accompanying frameworks requires at least two separate questions. Can the model reach the target quality, and can training finish stably at an acceptable resource cost? Task evaluation answers the first. Training logs and resource records answer the second. A single inference demo, or a short successful run, does not replace validation of the full pipeline.

    Start validation with small-scale numerical alignment. On a fixed data batch and comparable settings, watch the output distribution of key operators, the loss trajectory, and gradient state. Look especially for overflow, outliers, or clear bias introduced by low-precision compute. Define tolerances and trend criteria. Bit-for-bit identity across different hardware should not be the default goal. Once training is distributed, track time spent on data loading, device compute, and inter-device communication separately. Low device utilization may mean data preparation cannot keep up, or it may mean synchronization waits or inefficient operators. Split the time first, then decide whether to optimize the data pipeline, the parallel strategy, or the operator implementation.

    Long runs also need a recovery check. A checkpoint that stores only model weights often cannot resume the original training state. Depending on the implementation, also verify optimizer state, learning-rate progress, random state, and the data-read position. A more reliable practice is to interrupt and resume on purpose. After restart, check for duplicated or skipped data, abnormal jumps in the loss curve, and whether recovery time fits the budget. Project reports should list the training stages that have been verified, the parts that still need adaptation, and the scope of the evidence. Support for a given precision does not by itself imply overall training efficiency.

    Build a reusable test set for generation, layout, and editing

    The test set should come from real delivery needs, not from a few attractive samples. Three task types are useful.

    • Short-text image generation. Design a vertical event poster. The top must read “Spring Market,” the bottom must read “Saturday 14:30,” and no extra text is allowed. Check the original wording, punctuation, placement, and thumbnail readability. Then add visually similar characters, rare characters, and mixed Chinese, English, and digits, and note which inputs concentrate the errors.
    • Multi-block layout. Specify a title, event date, location, and two product blocks, each with a relative position. Besides checking that every text span is correct, verify that each price matches its product, that title and body have a clear hierarchy, and that wrapped long copy is not cropped. Record solid backgrounds, textured backgrounds, and different aspect ratios separately so you can see whether complex scenes raise the failure rate.
    • Local editing. Given the same source image, change only “Saturday” to “Sunday.” All other text, people, and background must stay unchanged. First confirm that the edited region is correct, then compare unedited regions for broken edges, color drift, or redrawn detail. Set the allowed change range for the application. When reference material must stay strictly faithful, change outside the target region should be its own failure condition.

    For reproducible results, record the input copy, reference image, output size, number of samples, and acceptance rules for every test. Compare approaches on the same tasks and delivery specs where possible. If a method cannot use the same size or edit mode, note that separately, and distinguish the raw output from any post-processed delivery. Freeze the test cases before a batch run. Do not report only the samples that look best. If the business allows several generations and then a pick, also record the number of attempts. Otherwise you cannot tell whether a good result came from stable capability or from repeated selection.

    Score both first-pass accuracy and final rework

    Two complementary metrics help measure text accuracy. Exact-match rate answers how many copy items are written correctly on the first try. Character error rate divides the minimum number of substitutions, insertions, and deletions by the number of characters in the reference text, which shows the scale of the errors. Prices, dates, numbers, and similar critical fields should have their own accuracy. One wrong digit can leave the overall character metric looking fine while the business risk remains high.

    Automatic text recognition is useful for bulk screening, but it is not the final judge. Artistic fonts may be misread, and a character missing a stroke may be auto-corrected into text that only looks right. Before testing, define how spaces, line breaks, case, and punctuation are handled. Manually review critical fields, low-confidence results, and a sample of items that passed automatically. Layout and editing need separate scores, such as occlusion, block assignment, edge artifacts, and change outside the edit region. A character score should not replace those checks.

    Cost should be calculated per accepted deliverable, not only per generation. On the same task batch, add generation and retries, quality checks, manual retouching, and any required post-processing, then divide by the number of outputs that pass acceptance. Delivery speed should be the full time from request to accepted result, not only when the first image returns. A cheaper generator that needs frequent retries, or that still requires manual re-layout, can cost more in practice than a higher per-run price with a more stable first pass.

    In production, let the model paint and keep critical text controllable

    A real project does not have to choose between “the model draws everything” and “do not use generation at all.” For lower-risk content such as artistic titles and decorative phrases, try direct generation, then publish after recognition and sampled human review. For prices, dates, long copy, or content that changes often, a steadier flow is to generate the background and reserved composition first, then finish layout on an editable text layer. That keeps control of typeface, size, line spacing, and alignment, and lets the information change without redrawing the background. When several output sizes are required, check the crop-safe area for each one so a valid source image does not lose body text in a cover thumbnail.

    The selection criterion is not whether one sample looks striking. It is whether the system can repeatedly deliver, at a predictable cost, under fixed size, copy, and editing constraints. For the training team, the checks that matter on China-made compute are numerical reliability, resource efficiency, and recovery. For the application team, they are whether critical fields are accurate, whether local edits stay controlled, and whether a failed result has a low-cost fallback. Verifying those questions separately shows where generation actually saves labor, and where deterministic layout and review should remain.