ZICQ
中 Log in / Sign up
Newsroom Paper LLMs & Foundation Models #Hugging Face #AesCode #Cross-Modal #Reinforcement Learning #Visual Design

Hugging Face Releases AesCode: Revolutionizing Visual Design through Cross-Modal Reward-Based Code Generation

Avatar of Mr.Xu

By Mr.Xu Compiled & Reviewed by Editorial

Published: · 10 views

中文阅读 (Chinese) English Version
Co-reading Select any sentence in the article to highlight, annotate, or copy a quote card. Join discussion ↓

Summary:Hugging Face has introduced AesCode, a model designed to address the limitations of traditional code generation models in visual design. AesCode leverages an image generated from the content prompt as aesthetic guidance, employing a design graph representation and cross-modal rewards. It uses reinforcement learning to optimize spatial layout, aesthetic quality, and verifiable correctness. Experiments show that AesCode significantly improves visual quality compared to same-scale models, approachi


Technical Mechanism Analysis

The core innovation of AesCode lies in its cross-modal reward mechanism and design graph representation method:

  1. Design Graph Representation: AesCode represents the target output as a design graph that describes the entire canvas and makes each property attributable. This representation not only captures visual elements like layout and color but also supports fine-grained control and verification of the generated content.

  2. Cross-Modal Reward Mechanism: AesCode introduces two complementary reward sources:

    • Deterministic Verifiers: Parse and score the parsable properties from the code and rendering.
    • Visual Language Model (VLM) Judge: Uses a sample-specific Visual Graph Rubric (VGR) to evaluate non-parsable properties such as aesthetic quality and spatial layout.
  3. Reinforcement Learning Optimization: Through reinforcement learning with per-channel normalization, AesCode jointly optimizes spatial planning, aesthetic quality, and verifiable correctness. This approach ensures performance improvements across multiple dimensions.

Engineering Trade-offs and Performance

  • Advantages:

    • AesCode shows significant improvements in visual quality compared to same-scale models (e.g., Qwen3-VL), with increases of 31.1% (AesCode-8B) and 22.4% (AesCode-32B), approaching the performance of closed-source frontier models like GPT-5.5 and Claude Opus 4.8.
    • The introduction of reference images as model input and visual reward sources further enhances visual quality.
  • Challenges and Limitations:

    • The training and inference processes of AesCode are relatively complex and require substantial computational resources.
    • Performance bottlenecks may still exist when handling complex scenes and highly dynamic content.

Developer Implementation and Deployment Recommendations

  • Application Scenarios: AesCode is suitable for fields that require high-quality visual design, such as UI/UX design, advertising production, and data visualization.
  • Deployment Recommendations:
    • It is recommended to deploy AesCode in a computing environment equipped with powerful GPUs to fully leverage its performance advantages.
    • AesCode can be combined with existing code generation tools and design software to build an end-to-end visual design workflow.
  • Future Outlook:
    • AesCode's cross-modal approach provides new ideas for the development of multimodal AI models. Future research could explore its applications in other fields, such as 3D modeling and animation generation.

Conclusion

AesCode represents an important step in the integration of code generation and visual design. Through its innovative cross-modal reward mechanism and design graph representation method, it significantly improves the visual quality and verifiability of the generated content, providing powerful tool support for developers.


Source: Hugging Face Daily Papers (2026-10-13)

— END —

Tags: #Hugging Face #AesCode #Cross-Modal #Reinforcement Learning #Visual Design

Editorial & Fact-Checking Note: This article is compiled from primary research, official release documentation, and source papers by the ZICQ Newsroom pipeline with automated entity verification and human editorial review. If you notice any technical inaccuracy, please submit a correction via our corrections policy or email our editorial desk directly.

What's your take on this story?
Explore & Submit Works

Community Comments

Loading live comments and annotations…