Research map / Image generation / Text-to-image diffusion
Padding Tone: A Mechanistic Analysis of Padding Tokens in T2I Models
Michael Toker, Ido Galil, Hadas Orgad, Rinon Gal, Yoad Tewel, Gal Chechik, Yonatan Belinkov
Technion - Israel Institute of Technology · NVIDIA · Tel Aviv University · Bar-Ilan University
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| keep only prompt-contextual pads (prompt tokens replaced by clean pads) in the text encoder output | frozen-encoder models (SD2, SD3, FLUX) · ITE, 5,000 images per configuration | CLIP score / KID: KID 0.01 (prompt only) vs 14.52 (pads only) for FLUX | Hurt |
| keep only prompt-contextual pads in the text encoder output | LLaMA-UNet · ITE | KID: 7.37 (prompt) vs 0.48 (pads) | Improved |
| train the text encoder jointly with the diffusion model (LDM, Lavi-Bridge) | T2I models · ITE | CLIP score of pad-only images | Improved |
| use pads further from the prompt | LLaMA-UNet · ITE pad segments | CLIP score: 0.30 -> 0.23 -> 0.17 (first to third 20%) | Hurt |
| scale down the LoRA scaling factor alpha (ablation) | Lavi-Bridge LLaMA-UNet · ITE pad segments | number of pad tokens used | Hurt |
| keep only prompt-contextual pads in diffusion (IDP) rather than clean pads | FLUX · IDP | CLIP score to full-prompt image: 0.46 (clean) -> 0.72 (pads) | Improved |
| keep only prompt-contextual pads in diffusion (IDP) | FLUX · IDP | CLIP score to prompt text: 0.33 (full) -> 0.22 (pads) | Hurt |
| use only the first 20% of pads instead of all pads in diffusion (ablation) | FLUX · IDP | CLIP score to full-prompt image: 0.72 -> 0.58 | Hurt |
| remove padding tokens at generation time (ablation) | FLUX vs SDXL · qualitative prompts | image quality | Mixed |
Open problems in compositional text-to-image guidance
Does compositional guidance for text-to-image diffusion carry over beyond UNet Stable Diffusion and small objects, and at what cost?
- Guidance strengths and thresholds are tuned by hand per concept or task. · 15 papers state it
- Guidance adds sampling cost through per-step gradients or extra passes. · 14 papers state it
- The method leans on external segmenters, LLMs, captioners or CLIP. · 12 papers state it
Closest papers by meaning
- When Worse is Better: Navigating the Compression Generation Trade-off In Visual Tokenization (NeurIPS 2025 · similarity 0.88)
- Towards Understanding the Working Mechanism of Text-to-Image Diffusion Model (NeurIPS 2024 · similarity 0.88)
- A Cat Is A Cat (Not A Dog!): Unraveling Information Mix-ups in Text-to-Image Encoders through Causal Analysis and Embedding Optimization (NeurIPS 2024 · similarity 0.87)
- One-Way Ticket: Time-Independent Unified Encoder for Distilling Text-to-Image Diffusion Models (CVPR 2025 · similarity 0.87)
- R&B: Region and Boundary Aware Zero-shot Grounded Text-to-image Generation (ICLR 2024 · similarity 0.87)
- Prompt-Free Diffusion: Taking "Text" out of Text-to-Image Diffusion Models (CVPR 2024 · similarity 0.87)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.