SearcharxivSearch

arXiv subjects

Yina Wang

Publications and source records attributed to Yina Wang.

2 recordsLinked to original sources

Figma2Code: Automating Multimodal Design to Code in the Wild

Front-end development constitutes a substantial portion of software engineering, yet converting design mockups into production-ready User Interface (UI) code remains tedious and costly. While recent work has explored automating this process with Multimodal Large Language Models (MLLMs), existing approaches typically rely solely on design images. As a result, they must infer complex UI details from images alone, often leading to degraded results. In real-world development workflows, however, design mockups are usually delivered as Figma files, a widely used tool for front-end design, that embed rich multimodal information (e.g., metadata and assets) essential for generating high-quality UI. To bridge this gap, we introduce Figma2Code, a new task that advances design-to-code into a multimodal setting and aims to automate design-to-code in the wild. Specifically, we collect paired design images and their corresponding metadata files from the Figma community. We then apply a series of processing operations, including rule-based filtering, human- and MLLM-based annotation and screening, and metadata refinement. This process yields 3,055 samples, from which designers curate a balanced dataset of 213 high-quality cases. Using this dataset, we benchmark ten state-of-the-art open-source and proprietary MLLMs. Our results show that while proprietary models achieve superior visual fidelity, they remain limited in layout responsiveness and code maintainability. Further experiments across modalities and ablation studies corroborate this limitation, partly due to models' tendency to directly map primitive visual attributes from Figma metadata.

cs.SE

Towards White-Box Deep Wireless Sensing

The empirical success of deep learning has spurred its application to the radio-frequency (RF) domain, leading to significant advances in Deep Wireless Sensing (DWS). However, most existing DWS models remain black boxes, with ad-hoc architectures and learned representations lacking explicit physical and mathematical grounding, which limits their reliability and generalizability in real-world deployments. We present RF-CRATE, an early step towards white-box DWS grounded in the complex sparse rate reduction principle. Using the CR-Calculus framework, we derive a fully complex-valued transformer with mathematically interpretable self-attention and residual modules. To address labeled data scarcity, we introduce subspace regularization to enhance representation diversity, yielding a 19.98% average improvement. We evaluate RF-CRATE across heterogeneous RF modalities and human sensing tasks, including activity, gait, and gesture recognition, pose estimation, and respiration monitoring. Experiments on five datasets show that RF-CRATE remains competitive with strong black-box models while providing mathematically interpretable architectures and representations. Moreover, the complex-valued design achieves a 3.39% gain in classification accuracy and a 10.34% reduction in regression error. Our results demonstrate that mathematically grounded models can achieve strong performance in wireless sensing, offering a promising step towards physically aligned white-box DWS systems.

cs.LG