From Gacha-Style Generation to Controllable Output: How Image Models Interpret Complex Instructions

    This article examines why image generation models often fail to follow complex prompts even when they produce visually plausible images. It explains the roles of semantic planning and image synthesis, the difficulties of spatial relationships, attribute binding, and negative constraints, and the challenges of rendering text inside images. It also presents an evaluation checklist and a practical workflow for turning natural-language requirements into checkable constraints, validating generated results, and deciding when post-processing or human proofreading is needed.

    1. Why Complex Instructions Are Easy to Get Wrong

    Image generation models can synthesize images from text descriptions, but being able to generate a relevant image does not mean being able to execute instructions accurately. When a prompt contains only one subject and one style, the model can usually produce a result that looks reasonable. Once the description involves multiple objects, positional relationships, attribute assignment, or exclusion conditions, errors become noticeably more common.

    For example, consider a request for an image in which “a person in a red coat is on the left, a dog that is not holding anything is on the right, and the background includes a blue chair.” This request contains at least four types of constraints:

    1. Object recognition: The image needs to contain a person, a dog, and a chair.
    2. Attribute binding: Red should belong to the coat, and blue should belong to the chair, rather than being incorrectly assigned to other objects.
    3. Spatial relationships: The person is on the left, and the dog is on the right.
    4. Negative conditions: The dog should not be holding an object.

    These requirements are not simply a matter of drawing each keyword one by one. The model also needs to determine which words modify which objects, how the objects should be arranged, and what content must be avoided. If the model relies mainly on fitting statistical patterns in training images, it may produce results that are “topically relevant but incorrect in detail”—for example, assigning colors to the wrong objects, ignoring left-right relationships, or mistaking a negative condition for an object that should be rendered.

    The key to complex image generation is therefore not merely improving visual detail. It is improving the ability to parse the structure of instructions and to pass the parsed result reliably into the image synthesis process.

    2. How Semantic Planning and Image Synthesis Work Together

    A common technical approach treats text understanding and image generation as related but distinct stages with different responsibilities.

    2.1 Parse the Instruction First, Then Organize the Scene

    Before generating pixels, the system needs to extract scene elements from the prompt and form a clearer semantic structure. This can be abstracted as:

    1. Entities: person, dog, chair
    2. Attributes: person's coat = red; chair = blue
    3. Position: person = left side of image; dog = right side of image
    4. State: dog is not holding any object

    This structure does not mean that every generation system must explicitly output a scene list. Rather, it illustrates the types of information that complex tasks need to handle. If the model can distinguish subjects, attributes, relationships, and states well, the subsequent synthesis stage has a better chance of following the original intent.

    2.2 Map Semantic Constraints to the Image

    After the scene plan is obtained, the image generation stage is responsible for determining composition, shapes, materials, lighting, and style, and for translating semantic constraints into concrete pixels. Semantic planning can reduce the probability of “the relevant objects are present but not placed as requested.” Image synthesis then determines the final visual quality of the image.

    The value of this division of labor is that complex instructions do not have to rely entirely on the generation stage to guess. The system can first handle “what to draw and how the elements relate to one another,” and then handle “how to draw them naturally.” However, this does not mean that semantic planning guarantees a fully correct result. The plan itself may misunderstand the prompt, and the visual generation stage may fail to represent the plan accurately. The final image therefore still needs to be checked.

    3. Difficulties with Spatial Relationships and Attribute Binding

    3.1 Spatial Terms Need Reference Objects

    Words such as “left,” “behind,” “near,” and “in the center” all involve frames of reference. For example, “the person is to the left of the table” usually describes the relative position of the two, while “the person is on the left side of the image” describes a position relative to the entire canvas. The two expressions constrain different things, and the generated results may differ.

    When writing prompts, it is advisable to specify the reference object for a relationship and to avoid conflicting spatial conditions. Rather than writing “the person is on the left,” write “the person is on the left side of the image, and the table is to the right of the person.” This reduces ambiguity about what “left” is relative to.

    3.2 Attributes Must Be Bound to the Correct Subject

    In multi-object scenes, colors, clothing, materials, and actions may be incorrectly assigned to adjacent subjects. Prompts can describe objects in groups—for example, fully describing the person first, then the animal, and finally the background object—to avoid piling multiple subjects and their attributes into one long sentence.

    If a task is particularly sensitive to a certain attribute, the ownership relationship can be emphasized again, but keywords should not be repeated without limit. Excessive repetition may imbalance semantic weights, make one element overly prominent, and even squeeze out the expression of other constraints.

    4. Why Negative Constraints Are Especially Difficult

    “ Do not show a certain object” and “show a certain object” point in opposite directions in language understanding, but during generation, the object referred to by the negation is still mentioned in the text. For example, “the dog should not hold an apple” contains both the concepts “dog” and “apple.” If the model handles negation poorly, it may still generate an apple in the image, or even have the dog hold the apple.

    In practice, negative requirements can be rewritten as clearer positive state descriptions. For example, “the dog is not holding anything” can be expanded to “the dog’s mouth is empty, and there is no held object nearby.” This does not fundamentally eliminate the model’s limitations, but it can reduce ambiguity in semantic interpretation.

    For important exclusion conditions, they should be included in the acceptance checklist. It is not enough to assume the task is complete simply because the prompt is detailed. Whether prohibited elements appear in the generated result still needs to be verified in practice.

    5. Text Generation and Layout in Images

    Text in images differs from ordinary texture because it has a discrete, precise symbolic structure. If a word or short sentence has a character error, reversed order, or missing stroke, it may lose its original meaning. Traditional image generation tends to treat text as visual texture, so it may produce similar-looking characters, incorrect spelling, or unstable glyphs.

    For poster-style tasks that include titles, slogans, or labels, two levels need attention at the same time:

    • Text content: Whether the characters, words, and order are accurate.
    • Visual layout: Whether the font style, size, position, alignment, and whitespace are reasonable.

    If the text must be strictly accurate, it is advisable to limit its length, specify the content and the area where it should appear, and check it character by character after generation. If the final work is intended for formal publication, advertising, or regulatory requirements, a more reliable process is to separate background image generation from text layout: first generate an image without text or with reserved text areas, then add proofread text through a layout tool. This reduces the risk of rework caused by typographical errors and makes later revisions easier.

    6. How to Evaluate Instruction-Following Quality

    Evaluating generated results solely by whether they “look beautiful” is insufficient. A more complete evaluation can be broken down into the following items:

    1. Subject completeness: Whether all required objects are present, and whether unnecessary objects appear.
    2. Attribute accuracy: Whether attributes such as color, clothing, and material belong to the correct subjects.
    3. Relationship correctness: Whether positions, directions, containment relationships, and action relationships match the description.
    4. Constraint satisfaction: Whether negative conditions and boundary requirements are respected.
    5. Text accuracy: Whether the required content is correct and readable.
    6. Visual quality: Whether composition, detail, lighting, and overall style meet the intended use.

    During evaluation, “semantic correctness” and “visual quality” should be recorded separately. An image may have excellent texture but miss a key object; another may have correct relationships but visual details that are not yet suitable for direct delivery. Classifying problems helps determine whether to revise the prompt, regenerate, or move to post-editing.

    7. A Workflow for Practical Tasks

    Step 1: Break Requirements into Checkable Constraints

    First list subjects, attributes, relationships, style, and exclusions. For text that must be expressed accurately, list the character content separately. Do not start with only one long description that is difficult to verify.

    Step 2: Distinguish Core Requirements from Optional Details

    Core requirements determine whether the task succeeds—for example, the number of subjects, relative positions, and text content. Optional details include background decoration, lighting atmosphere, and secondary textures. The prompt should prioritize clear core requirements and avoid letting a large number of style terms obscure key relationships.

    Step 3: Validate Against a Checklist After Generation

    Check objects, attributes, spatial relationships, negative conditions, and text item by item. When a problem is found, revise the constraint that failed rather than overturning the entire prompt every time. For example, if all objects are present but the left-right positions are wrong, strengthen the reference relationships instead of adding visual adjectives unrelated to position.

    Step 4: Decide Whether Post-Processing Is Needed Based on Use

    Concept sketches and ideation often tolerate a certain degree of deviation. Finished work for clients, commercial communication, or business processes requires stricter quality control. When necessary, manual retouching, layer editing, or professional layout should be used to fill in precise details that the model does not handle well.

    8. Conclusion

    Progress in complex image generation should not be judged only by whether images look more realistic. It should also be judged by whether the system can understand objects, bind attributes, handle spatial relationships, respect negative conditions, and render text accurately. Combining semantic planning with visual synthesis provides a general direction for improving instruction following, but any generated result may still contain deviations.

    For users, the most effective approach is to turn natural-language requirements into checkable constraints, clarify relationship references, reduce ambiguity, and establish an acceptance process after generation. For precise text and high-risk content, human proofreading and post-editing should be retained. This is how image generation can move from simply pursuing “looking good” toward a more controllable, reviewable, and practical way of working.