Yu Wang

2papers

2 Papers

26.7CVJun 16Code
Video2Code: Generating Interactive Webpages from UI Videos via Action-Aware Revisit

Mingde Xu, Zhen Yang, Yan Wang et al.

UI videos provide a natural input for generating interactive webpages, as they capture both webpage appearance and action-triggered state transitions. However, directly applying video-capable vision-language models to this task remains insufficient. Existing models typically rely on sparse sampling or compressed temporal representations, which may miss short action boundaries and break the state-action-state transitions needed to implement webpage behavior. We formulate UI video-to-code generation as executable state-transition recovery from interaction videos, and identify this failure mode as state-transition misalignment. We introduce Video2Code, an action-aware video-to-code approach for recovering executable UI state transitions. Rather than allocating the visual budget uniformly across the video, Video2Code first performs coarse video understanding to locate action-critical regions, then invokes a temporal clipping tool to revisit these regions at higher temporal resolution before generating HTML/CSS/JavaScript code. We instantiate Video2Code with action-aligned video-code supervision and evaluate it under both visual and functional criteria. Experiments show that Video2Code substantially strengthens the underlying open-source model for UI video-to-code generation, improving functional correctness over direct video observation, especially on dense multi-step interactions.

6.9ITJun 20
Hulls and sums of separable constacyclic codes over $\mathbb{F}_q \times (\mathbb{F}_q+v\mathbb{F}_q)$ and new quantum codes

Yu Qian, Yu Wang, Liqi Wang

We establish the generator polynomials of the Euclidean and Hermitian duals of separable constacyclic codes over $\mathcal{S} = \mathbb{F}_q \times (\mathbb{F}_q+v\mathbb{F}_q)$, with $q$ an odd prime power and $v^2=v$, and we derive the generator polynomials of their Gray images, respectively. The generator polynomials of the Euclidean hulls and Hermitian hulls of separable constacyclic codes over $\mathcal{S}$ and their Gray images are presented, respectively. Furthermore, we provide the generator polynomials of the Euclidean sums and Hermitian sums of separable constacyclic codes and their Gray images, respectively. Finally, we propose two methods to yield quantum error-correcting codes (QECCs) from the hulls and sums of separable constacyclic codes over $\mathcal{S}$, and generate new QECCs that outperform the existing ones in terms of parameters.