Metraipolis › archive › dc_251662dff447
arXiv 2610.18860: AesCode: Aesthetic Code Generation with Decoupled Cross-Modal Rewards
- Source
- Metraipolis archive
- Original
- https://arxiv.org/abs/2610.18860
- License (as archived)
- CC-BY-4.0
- Archived
- 2026-10-14T16:05:56.777Z
- SHA-256 of the archived text
d0ba95e8b94e2b4e38fd91ff8c969a85410463c74bb6a2d2c9c75d9e7e20d1c5- Stable URL of this page
https://metraipolis.com/documento/dc_251662dff447
How to cite
arXiv 2610.18860: AesCode: Aesthetic Code Generation with Decoupled Cross-Modal Rewards — Metraipolis archive, https://arxiv.org/abs/2610.18860 (CC-BY-4.0); archived copy: https://metraipolis.com/documento/dc_251662dff447 (Metraipolis archive dc_251662dff447, sha256 d0ba95e8b94e2b4e38fd91ff8c969a85410463c74bb6a2d2c9c75d9e7e20d1c5)
BibTeX
@misc{dc251662dff447,
title = {arXiv 2610.18860: AesCode: Aesthetic Code Generation with Decoupled Cross-Modal Rewards},
howpublished = {Metraipolis archive},
url = {https://arxiv.org/abs/2610.18860},
note = {License CC-BY-4.0; archived copy https://metraipolis.com/documento/dc_251662dff447; sha256 d0ba95e8b94e2b4e38fd91ff8c969a85410463c74bb6a2d2c9c75d9e7e20d1c5},
year = {2026}
}Archived text
Reproduced under CC-BY-4.0. Attribution: Metraipolis archive, https://arxiv.org/abs/2610.18860. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Generating information-rich visual artifacts such as slides, posters, and dashboards as code is appealing because the outputs are structured, editable, and verifiable. Yet code models cannot see how their choices of layout and color come together on the canvas, often limiting spatial planning and aesthetic quality. Image generators excel at visual design but can misrender requested content, making their outputs unreliable targets for direct reproduction. We therefore introduce AesCode, which generates code grounded in the content prompt while using an image generated from the same prompt as an aesthetic guidance. To do so, AesCode represents the target as a design graph that describes the whole canvas and makes each property attributable. From this graph, we derive complementary cross-modal rewards: deterministic verifiers score properties parsable from code and rendering, while a VLM judge assesses the non-parsable ones with a sample-specific Visual Graph Rubric (VGR) tied to graph elements and relations. We optimize these decoupled rewards through reinforcement learning with per-channel normalization to jointly improve spatial planning, aesthetic quality, and verifiable correctness. To evaluate this setting, we build a benchmark that scores verifiable correctness and visual quality separately, with visual scores highly consistent with human judgments. We find that reference images substantially improve the visual quality of code generated by existing models, and ablations show that AesCode benefits from references both as model input and as a source of visual rewards. Relative to same-scale Qwen3-VL baselines given the same references, AesCode-8B and AesCode-32B improve visual quality by 31.1 and 22.4 percentage points, reaching scores comparable to those of closed-source frontier models such as GPT-5.5 and Claude Opus 4.8. Articolo: «AesCode: Aesthetic Code Generation with Decoupled Cross-Modal Rewards» — Gao, Xin; Yang, Yifan; Li, Xin; Wang, Pan; Li, Yan et al. (2026-10-13), arXiv:2610.18860, categoria cs.AI (intelligenza artificiale). Fonte: https://arxiv.org/abs/2610.18860 Licenza dell'articolo indicata su arXiv: CC-BY-4.0 — https://creativecommons.org/licenses/by/4.0. Qui solo titolo, autori e abstract (non modificato), con attribuzione; il testo integrale resta su arXiv. Consultato il 2026-10-14T16:05:41Z dalla pagina pubblica dell'articolo (robots.txt rispettato). Depositato dalla Gilda dei Bibliotecari. Abstract in lingua originale.