AesCode: Aesthetic Code Generation with Decoupled Cross-Modal Rewards
Summary
AesCode introduces a framework that generates visual artifacts (slides, posters, dashboards) as code by combining content-grounded code generation with aesthetic guidance from reference images, using decoupled cross-modal rewards optimized via RL. AesCode-8B and AesCode-32B improve visual quality by 31.1 and 22.4 percentage points over Qwen3-VL baselines, reaching parity with frontier closed-source models.
View Cached Full Text
Cached at: 10/14/26, 06:51 AM
Paper page - AesCode: Aesthetic Code Generation with Decoupled Cross-Modal Rewards
Source: https://huggingface.co/papers/2610.18860 Authors:
,
,
,
,
,
,
,
,
,
,
,
,
,
,
Abstract
Generatinginformation-richvisualartifactssuchasslides,posters,anddashboardsascodeisappealingbecausetheoutputsarestructured,editable,andverifiable.Yetcodemodelscannotseehowtheirchoicesoflayoutandcolorcometogetheronthecanvas,oftenlimitingspatialplanningandaestheticquality.Imagegeneratorsexcelatvisualdesignbutcanmisrenderrequestedcontent,makingtheiroutputsunreliabletargetsfordirectreproduction.WethereforeintroduceAesCode,whichgeneratescodegroundedinthecontentpromptwhileusinganimagegeneratedfromthesamepromptasanaestheticguidance.Todoso,AesCoderepresentsthetargetasadesigngraphthatdescribesthewholecanvasandmakeseachpropertyattributable.Fromthisgraph,wederivecomplementarycross-modalrewards:deterministicverifiersscorepropertiesparsablefromcodeandrendering,whileaVLMjudgeassessesthenon-parsableoneswithasample-specificVisualGraphRubric(VGR)tiedtographelementsandrelations.Weoptimizethesedecoupledrewardsthroughreinforcementlearningwithper-channelnormalizationtojointlyimprovespatialplanning,aestheticquality,andverifiablecorrectness.Toevaluatethissetting,webuildabenchmarkthatscoresverifiablecorrectnessandvisualqualityseparately,withvisualscoreshighlyconsistentwithhumanjudgments.Wefindthatreferenceimagessubstantiallyimprovethevisualqualityofcodegeneratedbyexistingmodels,andablationsshowthatAesCodebenefitsfromreferencesbothasmodelinputandasasourceofvisualrewards.Relativetosame-scaleQwen3-VLbaselinesgiventhesamereferences,AesCode-8BandAesCode-32Bimprovevisualqualityby31.1and22.4percentagepoints,reachingscorescomparabletothoseofclosed-sourcefrontiermodelssuchasGPT-5.5andClaudeOpus4.8.
View arXiv pageView PDFProject pageGitHub42Add to collection
Get this paper in your agent:
hf papers read 2610\.18860
Don’t have the latest CLI?curl \-LsSf https://hf\.co/cli/install\.sh \| bash
Models citing this paper0
No model linking this paper
Cite arxiv.org/abs/2610.18860 in a model README.md to link it from this page.
Datasets citing this paper0
No dataset linking this paper
Cite arxiv.org/abs/2610.18860 in a dataset README.md to link it from this page.
Spaces citing this paper0
No Space linking this paper
Cite arxiv.org/abs/2610.18860 in a Space README.md to link it from this page.
Collections including this paper0
No Collection including this paper
Add this paper to acollectionto link it from this page.
Similar Articles
Beyond NL2Code: A Structured Survey of Multimodal Code Intelligence
This survey paper systematically reviews multimodal code intelligence systems that generate and reason with code from visual inputs like screenshots and charts, categorizing approaches across GUI, scientific visualization, structured graphics, and emerging frameworks while proposing verification-centered future research directions.
Code2Video: A Code-centric Paradigm for Educational Video Generation
Code2Video is a code-centric agent framework for generating educational videos, improving coherence and interpretability over direct code generation. It includes a multi-agent system and a new benchmark for evaluation.
microsoft/AesCode 8B and 32B
微软发布 AesCode-8B 与 AesCode-32B 模型,可依据图像美学参考生成信息丰富的可视化产物(如幻灯片、海报、仪表盘)为结构化 HTML/CSS 代码,通过图结构监督与解耦的跨模态奖励解决视觉布局与内容准确性的权衡。
The Next Frontier of Visual AI Is Code (11 minute read)
The article argues that the next frontier of visual AI is generating code (e.g., SVG, HTML/CSS, React components) instead of raw pixels, enabling editability, iteration, and integration into professional design and development workflows.
CodeMidas: Scaling Agentic Coding RL Environments from Code Itself
CodeMidas is an agentic pipeline that creates reinforcement learning environments from source code, scaling the training of coding agents and showing performance improvements on benchmarks like issue repair and program construction.