CPT: Controllable and Editable Design Variations with Language Models
Organizations: Adobe · Atta
Abstract
Designing visually diverse and high-quality designs remains a manual, time-consuming process, limiting scalability and personalization in creative workflows. We present a system for generating editable design variations using a decoder-only language model, the Creative Pre-trained Transformer (CPT), trained to predict visual style attributes in design templates. At the core of our approach is a new representation called Creative Markup Language (CML), a compact, machine-learning-friendly format that captures canvas-level structure, page layout, and element-level details (text, images, and vector graphics), including both content and style. We fine-tune CPT on a large corpus of design templates authored by professional designers, enabling it to learn meaningful, context-aware predictions for attributes such as color schemes and font choices. The model produces semantically structured and stylistically coherent outputs, preserving internal consistency across elements. Unlike generative image models, our system yields fully editable design documents rather than pixel-only images, allowing users to iterate and personalize within a design editor. In experiments, our approach generates contextual color and font variations for existing templates and shows promise in adjusting layouts while maintaining design principles.
Figures & tables
| Model | Overall Chosen Rate | General Overlap | Text Overflow | Text Over Boundary | Text Line Overlap | Color Contrast |
| Human Templates (Gold Standard) | 80.7 | 97.8 | 93.5 | 99.7 | 98.8 | 94.6 |
| CPT Global Association | 58.3 | 93.5 | 63.7 | 99.6 | 98.1 | 41.3 |
| CPT Local Association | 50.9 | 93.3 | 61.3 | 99.6 | 98.0 | 35.4 |
| CPT No Association | 35.0 | 92.5 | 66.2 | 99.3 | 96.5 | 26.3 |
| GPT: Fail | GPT: Pass | |
| Human: Down | 561 (18.9%) | 665 (22.4%) |
| Human: Up | 201 (6.8%) | 1547 (52.0%) |
Appendix figures & tables4 assets
Supplementary material from the paper’s appendix.
Appendix
| GPT: Fail | GPT: Pass | |
| Human: Down | 686 (23.1%) | 1350 (45.4%) |
| Human: Up | 76 (2.5%) | 862 (29.0%) |
Conditional Generative Modeling
Conditional generative modeling learns to produce data distributions steered by labels, inputs, text, or physical and structural constraints.
See all 387 papers