cd /news/generative-ai/lcg-long-context-consistent-image-ge… · home topics generative-ai article
[ARTICLE · art-40250] src=arxiv.org ↗ pub= topic=generative-ai verified=true sentiment=↑ positive

LCG: Long-Context Consistent Image Generation with Sparse Relational Attention

Researchers propose LCG, a framework for long-context multi-image generation that uses Sparse Relational Attention to maintain consistency across sequential outputs. The method introduces a Routing Consistency Constraint and a new dataset, LCCD, to improve character consistency in comics and storyboards. Experiments show LCG outperforms baselines in prompt alignment and character consistency.

read1 min views1 publishedJun 26, 2026

arXiv:2606.26171v1 Announce Type: new Abstract: Recent image generation models achieve impressive quality in single-image synthesis, but often fail to maintain consistency across sequential outputs, as required in comics, storyboards, and visual narratives. We propose Long-Context Generation (LCG), a framework for long-context multi-image text-to-image generation, to improve consistency and scalability in long-context multi-image generation. LCG employs the Sparse Relational Attention (SRA) mechanism to selectively attend to core features across extended visual contexts, ensuring that the propagation of semantic and layout information remains computationally tractable. To enforce semantic alignment, we introduce the Routing Consistency Constraint (RCC), which leverages identity-aware masks to align structural patterns across generation branches, effectively mitigating drift in appearance even in complex multi-character scenes. To support training and evaluation in this setting, we construct the Long-Context Consistency Dataset (LCCD), a large-scale synthetic dataset comprising character-centric multi-image sequences spanning varied situational contexts. LCCD contains 600K training sequences and a separate 1K test set, with each sequence containing 6 to 20 images. The experiments demonstrate that LCG outperforms the compared baselines in prompt alignment and character consistency for long-context image generation, including multi-character scenes.

── more in #generative-ai 4 stories · sorted by recency
── more on @lcg 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/lcg-long-context-con…] indexed:0 read:1min 2026-06-26 ·