arXiv:2609.02255cs.CVSep 2026

Manuscript Offprint

arXiv:2609.02255

T2LSC-Bench: Benchmarking Localized Semantic Control in Text-to-Image Generation

Yan Wang, Xinyi Hou, Weiguo Lin, Junjun Si, Siwei Ma

Yan Wang, Xinyi Hou, Weiguo Lin, Junjun Si, and Siwei Ma Fellow, IEEE

Abstract—Recent text-to-image models have become increasingly capable of rendering explicit text, but reliable localized text control requires more than generating the correct string. In visual content creation tasks such as product labeling, signage, and interface design, designers typically require the target text be rendered within a designated text-bearing region without altering the predefined subject identity or surrounding scene semantics. We refer to violations of this requirement as target-text-associated semantic leakage, in which target-text semantics are expressed through non-textual visual content beyond the designated anchor. Existing visual-text benchmarks primarily evaluate readability, spelling accuracy, and layout, leaving this form of semantic leakage largely unexamined. We introduce T2LSC-BENCH (Text-to-Image Localized Semantic Control Benchmark), a controlled diagnostic benchmark that tests whether T2I models adhere to the localized-text contract. T2LSC-BENCH comprises 50 seed subjects and 1,200 controlled prompt cases per model, yielding 7,160 evaluated images from 7,200 planned generations across six models. Its factorized design independently varies semantic relation, scene openness, prompt mode, and language. A dual-branch evaluation protocol combines OCR-VLM text verification with structured VLM semantic judgments to separately measure Text-at-Anchor Accuracy (TAA), Semantic Subject Preservation (SSP), Semantic Leakage Rate (SLR), and Conditional Semantic Leakage Rate (cSLR). Under the stress-test conditions, aggregate SLR increases from 1.2% to 18.1% and cSLR from 1.3% to 18.2%, whereas TAA decreases only slightly from 91.4% to 90.9%. This indicates that accurate text rendering does not, by itself, guarantee local containment of target-text semantics. Explicit anti-leakage prompting is associated with a reduction in SLR from 16.6% to 8.4% without degrading rendering accuracy, suggesting partial but model-dependent mitigation. A stratified human validation study on 420 images further demonstrates strong agreement between the automatic protocol and adjudicated human annotations. The project resources are available at https://github.com/LLMSecResearch/T2LSC-Bench.

Index Terms—Text-to-image generation, semantic leakage, visual text generation, benchmark, multimodal evaluation.

I. INTRODUCTION

Recent text-to-image models have made substantial progress in image fidelity and instruction following [1], [2], as well as in explicit text rendering [3], [4]. In practical visual content creation tasks such as storefront signs, device nameplates, and product packaging, target text is typically confined to a designated text-bearing region of a particular subject. These tasks

Figure

Fig. 1. Examples of localized text rendering and target-text-associated semantic leakage

require models not only to render the target text accurately within the designated region, but also to keep its semantic influence strictly local without altering the subject identity or surrounding scene conditions independently specified in the prompt. Such fine-grained local controllability is important for producing multiple variants of advertising and design assets, generating controlled synthetic data [5], and creating personalized visual content [6]. We refer to this requirement as an explicit localized-text contract and define its violation as target-text-associated semantic leakage, in which target-text semantics are expressed through non-textual visual content beyond the designated anchor.

However, adhering to this contract is non-trivial. Target text contains both a visual form that must be rendered within the designated region and semantic information that may influence image generation. When the semantics of the target text are inconsistent with the established visual context, including the subject identity, function, and surrounding scene, the model may not treat the text solely as a local rendering constraint, and may alter the subject or scene to make the target text appear more plausible within the overall image. Fig. 1 illustrates this problem in three localized text-rendering scenarios. This raises an important question that remains underexplored: under an explicit localized-text contract, when target text is rendered correctly, can its semantic influence remain confined to the designated region?

Prior studies have identified related forms of semantic interference in generative models. Visual text generation methods

Yan Wang, Weiguo Lin, and Junjun Si are with the Communication University of China, Beijing, China (e-mail: wangyan@mails.cuc.edu.cn; linwei@cuc.edu.cn; sijunjun@cuc.edu.cn).

Xinyi Hou is with Huazhong University of Science and Technology, Wuhan, China (e-mail: xinyihou@hust.edu.cn).

Siwei Ma is with Peking University, Beijing, China (e-mail: swma@pku.edu.cn).

Corresponding author: Junjun Si.

Figure

Fig. 2. Overview of T2LSC-BENCH for benchmarking localized semantic control in text-to-image generation.

may produce the visual concept denoted by a word instead of correctly rendering its glyphs [7], while multi-entity generation may transfer semantic attributes from one visual entity to another [8]. Neither line of work examines the setting studied here, in which the target text is rendered correctly at the designated anchor, yet its semantics propagate beyond that anchor to alter the text-bearing subject or surrounding non-textual content.

Despite the practical importance of semantic containment, existing evaluations are not designed to measure it directly. Benchmarks and methods for text-rich image generation primarily assess whether text is readable, correctly spelled, properly placed, and robustly rendered under complex prompts [9]. Related evaluations of subject preservation and conditional control focus on identity retention or local controllability [10]. These evaluation settings are important, but they do not explicitly separate text rendering accuracy from semantic containment. Consequently, a model may achieve high text-rendering accuracy even when the rendered text alters the subject or surrounding non-textual scene.

To fill this gap, we present T2LSC-BENCH (Text-to-Image Localized Semantic Control Benchmark), a controlled diagnostic benchmark designed to stress-test whether text-to-image models can confine target-text semantics to a designated text anchor. T2LSC-BENCH selects subjects with stable visual identities and default functions, assigns a natural text anchor to each subject, and pairs every seed with one aligned and two conflicting target texts. It further varies scene openness, prompt mode, and language to enable controlled analysis of semantic leakage. The overall construction, generation, and evaluation pipeline of T2LSC-BENCH is illustrated in Fig. 2. The benchmark comprises 50 seed subjects and 1,200 prompt cases per model, yielding 7,200 planned generations across six models, of which 7,160 are available for evaluation. T2LSC-

BENCH measures a model's ability to follow a specific instruction in which the user has localized the text and required the subject and non-textual context to be preserved. This contrasts with open-ended creative generation, where globally adapting the scene to accommodate new text is considered a reasonable behavior.

We further introduce a dual-branch evaluation protocol that separates anchor-text correctness from semantic containment. The text-rendering branch combines character-level OCR evidence with anchor-aware VLM verification. The semantic-evaluation branch uses a blinded VLM judge to assess subject identity preservation and target-text-associated non-textual evidence outside the designated anchor. The protocol reports Text-at-Anchor Accuracy (TAA), Semantic Subject Preservation (SSP), Semantic Leakage Rate (SLR), and Conditional Semantic Leakage Rate (cSLR). A stratified human validation study on 420 images shows high agreement between the automatic protocol and adjudicated human annotations.

Experiments on six text-to-image models reveal a clear boundary of localized semantic control. When the target text matches the predefined subject context, models generally preserve both the localized rendering and the surrounding visual semantics. Under the stress-test conditions, however, SLR increases from 1.2% to 18.1% and cSLR from 1.3% to 18.2%, whereas TAA remains nearly unchanged at 91.4% and 90.9%. These results show that a model may follow the local text-rendering instruction while failing to isolate the semantic influence of the rendered text.

Contributions. In summary, we make the following contributions:

  • We introduce T2LSC-BENCH, a controlled benchmark for evaluating localized semantic control under an explicit localized-text contract. Cross-domain target texts serve as diagnostic stress probes for revealing and quantifying

target-text-associated semantic leakage. It comprises 50 seed subjects, 1,200 prompt cases per model, and 7,200 planned generations across six text-to-image models, with a factorized design that enables controlled comparison.

  • We establish a dual-branch evaluation protocol that combines OCR-VLM text verification, blinded VLM-based semantic assessment, and human validation to separately measure anchor-text correctness and semantic containment.

  • We benchmark six mainstream text-to-image models and demonstrate that stress-test cases expose substantial semantic leakage while having only a limited effect on text-rendering accuracy. We further analyze the effects of prompt mode, scene openness, and language.

References (42)