ECCV 2026

🪄 TMI: Text-to-Image Meets Image-to-Image
for Complementary Data Synthesis
to Boost Long-Tailed Instance Segmentation

A hybrid data-synthesis framework that couples T2I scene diversity with context-aware I2I editing (VRAIN) to boost long-tailed instance segmentation on LVIS.

Hyeonseop Song* Seokhun Choi* Hoseok Do
AI Lab, CTO Division, LG Electronics, Republic of Korea
*Equal contribution · Corresponding author
Scroll
Mutually complementary T2I-I2I data synthesis.

We present TMI, a hybrid data synthesis framework that couples text-to-image (T2I) generation for scene diversity with context-aware image-to-image (I2I) editing for realistic, accurate rare-class supervision — achieving state-of-the-art long-tailed instance segmentation on LVIS.

+0.0
Overall AP gain
up to, on LVIS
+0.0
Rare-class AP gain
up to, on LVIS
SOTA
on LVIS benchmark
ResNet-50 & Swin-L
Overview

Abstract

Large-vocabulary instance segmentation is constrained by long-tailed category distributions and fine-grained inter-class ambiguity. While data synthesis offers a promising alternative, current paradigms have complementary limitations: text-to-image (T2I) methods inherit noisy pseudo-labels and struggle on rare classes, whereas copy-paste methods compromise contextual realism. To address these issues, we propose a hybrid pipeline coupling T2I generation with context-aware image-to-image (I2I) editing. The T2I branch provides broad category and scene diversity, while a teacher-student scheme ensures label reliability by selectively retaining only prompt-specified categories. To strengthen supervision for rare classes, we introduce VRAIN (Verified Rare-class Augmentation via INstructed editing), a novel I2I editor. VRAIN inserts high-confidence instances at semantically appropriate locations within in-the-wild scenes, yielding semantically coherent and visually natural edits that reduce domain gaps and enable targeted augmentation. On the LVIS benchmark, our method surpasses existing baselines, improving overall AP by up to +4.0 points and rare-class AP by up to +9.5 points, while scaling effectively with backbone capacity.

01 — Framework

Method Overview

Overview of the hybrid data generation and training framework.

Overview of our hybrid data generation and training framework. We combine two complementary paradigms: (i) T2I generation for diverse scenes over all categories $C_\text{all}$, and (ii) I2I editing (VRAIN) for rare categories $C_\text{I2I}$ with accurate instance-level supervision. (iii) A student $M_\text{student}$ jointly learns from both $\mathcal{D}_{\text{T2I}}$ and $\mathcal{D}_{\text{I2I}}$. For T2I images $I_m$, an EMA teacher $M_\text{teacher}$ generates refined pseudo-labels $\tilde{A}_m^\text{teacher}$, merged with offline labels $A_{m}^\mathcal{P}$ to form the final supervision $A_m$. As training proceeds, the teacher adapts to the T2I domain, progressively improving initially noisy pseudo-labels.

02 — VRAIN

“Place-and-Verify” Pipeline

A two-stage framework that inserts rare-class instances naturally, then rigorously verifies every edit before it becomes supervision.

VRAIN place-and-verify pipeline.

Our two-stage framework ensures high-fidelity I2I editing. (i) Place: A VLM proposes a semantically coherent instruction ($inst^*$) for inserting a rare class ($c^*$) that fits naturally within $I_\text{real}$. An instruction-based editor $\Phi_\text{I2I}$ then synthesizes $I_\text{edit}$. (ii) Verify: $I_\text{edit}$ is then validated. The new instance is localized via SSIM difference and open-vocabulary detection, semantically confirmed by a VLM filter, and masked using SAM. Finally, an annotation updater resolves occlusions with $A_\text{real}$, integrating the new instance to produce the trustworthy final annotation $A_\text{edit}$.

Qualitative examples of the VRAIN verification stage.

Qualitative examples of the VRAIN verification stage. (a) A helmet is added instead of the requested headset ($c^*$), creating a semantic mismatch, and is thus filtered out; (b) the target headset is correctly added, passing the verification.

Ablation on VLM Verification in VRAIN (Swin-L)

MethodAPboxAPmask APrboxAPrmask
Real-only47.542.341.436.8
DI2I only (w/o verification)47.442.539.536.0
DI2I only (VRAIN)48.143.342.939.5

We compare I2I data with and without VLM-based filtering. Removing the verification step degrades both overall and rare-class AP — even falling below the Real-only baseline on rare classes (APrbox 41.4 → 39.5) — whereas VRAIN's verified data improves it (→ 42.9). This confirms the VLM filter is crucial for retaining semantically correct, relevant instances.

03 — Experiments

Results

Consistent state-of-the-art gains across backbones, with especially strong improvements on rare categories.

Comparison with Baselines on LVIS Validation

BackboneMethodT2II2I APboxAPmask APrboxAPrmask
ResNet-50Real-only34.530.824.021.6
MosaicFusion34.130.424.422.5
DiverGen35.131.225.623.8
X-Paste36.733.029.627.8
Ours38.134.033.931.7
Swin-LReal-only47.542.341.436.8
MosaicFusion47.742.841.337.5
DiverGen49.644.244.539.8
X-Paste50.144.448.243.3
Ours50.745.249.144.0

Our hybrid T2I-I2I approach consistently outperforms all baselines: the Real-only model, the T2I-only method (MosaicFusion), and copy-paste I2I methods (DiverGen, X-Paste). This holds across both ResNet-50 and Swin-L backbones, delivering particularly strong gains on rare-class metrics.

Comparison with Rare-class-targeted Data Synthesis (Swin-L)

MethodAPboxAPmask APrboxAPrmask
Real-only47.542.341.436.8
MosaicFusion47.742.841.337.5
DiverGen (rare-target)47.342.234.531.2
DI2I only (VRAIN)48.143.342.939.5

Among methods generating data exclusively for rare categories, an ironic situation arises: DiverGen, despite explicitly targeting rare classes, catastrophically underperforms even the Real-only baseline on rare categories (APrbox 41.4 → 34.5). This contradictory result highlights that naive copy-pasting harms performance due to its poor contextual coherence and realism, encouraging the model to overfit to pasted instances rather than learning true representations. In contrast, our rare-class-focused I2I approach (VRAIN) successfully boosts rare-class performance (41.4 → 42.9), benefiting from high visual fidelity and precise instance-level labeling.

04 — Teacher-Student

Progressive Pseudo-label Adaptation

Examples of pseudo-label adaptation in T2I images.

Examples of pseudo-label adaptation in T2I images. As the teacher model updates, it adapts to the T2I domain and enhances pseudo-label quality — improving masks and labeling previously missed objects (e.g., quesadilla, telephoto lens) for rare categories.

Examples of final pseudo-labels for T2I images.

Final pseudo-labels for T2I images. Teacher-generated pseudo-labels (red) are merged ($\oplus$) with offline pseudo-labels (blue) to form the final supervision. As the teacher adapts to the T2I domain, it successfully labels rare classes such as dove and walrus.

Ablation on T2I Pseudo-label Supervision (Swin-L)

MethodAPboxAPmask APrboxAPrmask
Real-only47.542.341.436.8
$M_\text{teacher}$ only49.443.947.943.0
$M_\mathcal{P}$ only49.944.945.341.7
$M_\text{teacher}$ and $M_\mathcal{P}$50.345.147.543.8

We evaluate the impact of different pseudo-label sources. The offline labeler $M_\mathcal{P}$ provides stable supervision for common categories, the EMA teacher $M_\text{teacher}$ adaptively improves rare-class coverage, and combining both leverages their complementary strengths.

Cite

BibTeX

tmi.bib
@article{song2026tmi,
  title   = {TMI: Text-to-Image Meets Image-to-Image for Complementary Data Synthesis to Boost Long-Tailed Instance Segmentation},
  author  = {Song, Hyeonseop and Choi, Seokhun and Do, Hoseok},
  journal = {arXiv preprint arXiv:2607.08201},
  year    = {2026}
}