AI Paper Atlas

Research map / Image generation / Text-to-image diffusion

CoCo: Code as CoT for Text-to-Image Preview and Rare Concept Generation

Li Haodong, Chunmei Qing, Huanyu Zhang, Dongzhi Jiang, Yihang Zou, Hongbo Peng, Dingming Li, Yuhong Dai, ZePeng Lin, Juanxi Tian, Yi Zhou, Siqi Dai

ECCV 2026 · Image generation › Text-to-image diffusion · approach: T2I evaluation and controllable adapters · 7 citations (OpenAlex)

Read the paperCheck your idea against 137,217 papers

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 changedWhereMeasuredEffect
generate executable code, render draft, then refine (Code-as-CoT) instead of direct generationBagel · StructT2IBenchoverall accuracy (%): 4.69 -> 73.52Improved
use code as CoT instead of text CoTBagel · StructT2IBenchoverall accuracy (%): Bagel-Think 9.03 -> CoCo 73.52Improved
Code-as-CoT on text renderingBagel · OneIG-Benchoverall score: 0.305 -> 0.853Improved
Code-as-CoT on long text renderingBagel · LongText-Benchoverall score: 0.342 -> 0.754Improved
add natural-language thinking to BagelBagel · LongText-Benchoverall score: 0.342 -> 0.087Hurt
add Text-Code supervision (fine-tune to generate executable code) (ablation)CoCo · LongText-Benchcode compile success rate: 9.06% -> 100%Improved
reduce proportion of Text-Code supervision in the training mixture (best r_c=0.05) (ablation)CoCo · LongText-Benchscore EN/CN: 0.755 EN, 0.753 CN at r_c=0.05Improved
Code-as-CoT vs closed models on Puzzle and ScienceCoCo · StructT2IBench Puzzleaccuracy (%): CoCo 49.10 vs Nano banana 63.87Hurt

Closest papers by meaning

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.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy