Searcharxiv⌕ Search

arXiv subjects

Yuhang Li

Publications and source records attributed to Yuhang Li.

At least 55 records · Page 3Linked to original sources

ReLook: Vision-Grounded RL with a Multimodal LLM Critic for Agentic Web Coding

While Large Language Models (LLMs) excel at algorithmic code generation, they struggle with front-end development, where correctness is judged on rendered pixels and interaction. We present ReLook, an agentic, vision-grounded reinforcement learning framework that empowers an agent to close a robust generate--diagnose--refine loop by invoking a multimodal LLM (MLLM) as a tool. During training, the agent uses the MLLM-in-the-loop both as a visual critic--scoring code with screenshots--and as a source of actionable, vision-grounded feedback; a strict zero-reward rule for invalid renders anchors renderability and prevents reward hacking. To prevent behavioral collapse, we introduce Forced Optimization, a strict acceptance rule that admits only improving revisions, yielding monotonically better trajectories. At inference, we decouple the critic and run a lightweight, critic-free self-edit cycle, keeping latency comparable to base decoding while retaining most of the gains. Across three widely used benchmarks, ReLook consistently outperforms strong baselines in vision-grounded front-end code generation, highlighting the benefits of agentic perception, visual rewards, and training-inference decoupling.

cs.LG↗

Nitrogen-Triggered Amorphization Enables High-Performance Solid-State Electrolytes

Amorphous solid-state electrolytes (SSEs) hold great promise for advancing the application of all-solid-state batteries (ASSBs), owing to their favorable ionic conductivity, structural tunability, and promising electrochemical performance. However, the absence of universal design principles for amorphous SSEs limits their development. By fundamentally re-evaluating the amorphization-forming ability of amorphous SSE systems, this study establishes a nitrogen-driven universal strategy to convert diverse metal chlorides into amorphous xLi3N-MCly (0.3 < 3x < 1.9; M denotes a metal element; 2 < y < 5) SSE. Nitrogen synergistically disrupts crystalline order via distorted coordination polyhedra and N-bridged networks, while dynamic bond reorganization enables rapid Li+ migration, achieving ionic conductivity of 2.02 mS cm-1 for 0.533Li3N-HfCl4 at 25 °C. Structural-property relationships reveal that high charge density and bridging capability of N3- enhance network disorder, shorten metal coordinating atom distances, and optimize Li+ diffusion pathway connectivity. ASSBs employing 0.533Li3N-HfCl4 retain 81.87% capacity after 2000 cycles at 1000 mA g-1 with high cathode loading (6.24 mg cm-2), demonstrating engineering viability. This work provides a paradigm for rational design of high-performance amorphous SSEs.

cond-mat.mtrl-sci↗

ArtifactsBench: Bridging the Visual-Interactive Gap in LLM Code Generation Evaluation

The generative capabilities of Large Language Models (LLMs) are rapidly expanding from static code to dynamic, interactive visual artifacts. This progress is bottlenecked by a critical evaluation gap: established benchmarks focus on algorithmic correctness and are blind to the visual fidelity and interactive integrity that define modern user experiences. To bridge this gap, we introduce ArtifactsBench, a new benchmark and paradigm for the automated, multimodal evaluation of visual code generation. Our framework programmatically renders each generated artifact and captures its dynamic behavior through temporal screenshots. This visual evidence, alongside the source code, is then assessed by a Multimodal LLM (MLLM)-as-Judge, which is rigorously guided by a fine-grained, per-task checklist to ensure holistic and reproducible scoring. We construct a new benchmark of 1,825 diverse tasks and evaluate over 30 leading LLMs. Our automated evaluation achieves a striking 94.4% ranking consistency with WebDev Arena, the gold-standard for human preference in web development, and over 90% pairwise agreement with human experts. This establishes ArtifactsBench as the first framework to reliably automate the assessment of human-perceived quality at scale. Our analysis provides a high-resolution map of the current SOTA, revealing that generalist models often outperform domain-specific ones. We open-source ArtifactsBench, including the benchmark, evaluation harness, and baseline results at https://artifactsbenchmark.github.io/, to provide the community with a scalable and accurate tool to accelerate the development of user-centric generative models.

cs.CL↗

Temporal Feature Matters: A Framework for Diffusion Model Quantization

The Diffusion models, widely used for image generation, face significant challenges related to their broad applicability due to prolonged inference times and high memory demands. Efficient Post-Training Quantization (PTQ) is crucial to address these issues. However, unlike traditional models, diffusion models critically rely on the time-step for the multi-round denoising. Typically, each time-step is encoded into a hypersensitive temporal feature by several modules. Despite this, existing PTQ methods do not optimize these modules individually. Instead, they employ unsuitable reconstruction objectives and complex calibration methods, leading to significant disturbances in the temporal feature and denoising trajectory, as well as reduced compression efficiency. To address these challenges, we introduce a novel quantization framework that includes three strategies: 1) TIB-based Maintenance: Based on our innovative Temporal Information Block (TIB) definition, Temporal Information-aware Reconstruction (TIAR) and Finite Set Calibration (FSC) are developed to efficiently align original temporal features. 2) Cache-based Maintenance: Instead of indirect and complex optimization for the related modules, pre-computing and caching quantized counterparts of temporal features are developed to minimize errors. 3) Disturbance-aware Selection: Employ temporal feature errors to guide a fine-grained selection between the two maintenance strategies for further disturbance reduction. This framework preserves most of the temporal information and ensures high-quality end-to-end generation. Extensive testing on various datasets, diffusion models and hardware confirms our superior performance and acceleration.

cs.CV↗

Massively parallel and universal approximation of nonlinear functions using diffractive processors

Nonlinear computation is essential for a wide range of information processing tasks, yet implementing nonlinear functions using optical systems remains a challenge due to the weak and power-intensive nature of optical nonlinearities. Overcoming this limitation without relying on nonlinear optical materials could unlock unprecedented opportunities for ultrafast and parallel optical computing systems. Here, we demonstrate that large-scale nonlinear computation can be performed using linear optics through optimized diffractive processors composed of passive phase-only surfaces. In this framework, the input variables of nonlinear functions are encoded into the phase of an optical wavefront, e.g., via a spatial light modulator (SLM), and transformed by an optimized diffractive structure with spatially varying point-spread functions to yield output intensities that approximate a large set of unique nonlinear functions, all in parallel. We provide proof establishing that this architecture serves as a universal function approximator for an arbitrary set of bandlimited nonlinear functions, also covering multi-variate and complex-valued functions. We also numerically demonstrate the parallel computation of one million distinct nonlinear functions, accurately executed at wavelength-scale spatial density at the output of a diffractive optical processor. Furthermore, we experimentally validated this framework using in situ optical learning and approximated 35 unique nonlinear functions in a single shot using a compact setup consisting of an SLM and an image sensor. These results establish diffractive optical processors as a scalable platform for massively parallel universal nonlinear function approximation, paving the way for new capabilities in analog optical computing based on linear materials.

physics.optics↗

Model-free Optical Processors using In Situ Reinforcement Learning with Proximal Policy Optimization

Optical computing holds promise for high-speed, energy-efficient information processing, with diffractive optical networks emerging as a flexible platform for implementing task-specific transformations. A challenge, however, is the effective optimization and alignment of the diffractive layers, which is hindered by the difficulty of accurately modeling physical systems with their inherent hardware imperfections, noise, and misalignments. While existing in situ optimization methods offer the advantage of direct training on the physical system without explicit system modeling, they are often limited by slow convergence and unstable performance due to inefficient use of limited measurement data. Here, we introduce a model-free reinforcement learning approach utilizing Proximal Policy Optimization (PPO) for the in situ training of diffractive optical processors. PPO efficiently reuses in situ measurement data and constrains policy updates to ensure more stable and faster convergence. We experimentally validated our method across a range of in situ learning tasks, including targeted energy focusing through a random diffuser, holographic image generation, aberration correction, and optical image classification, demonstrating in each task better convergence and performance. Our strategy operates directly on the physical system and naturally accounts for unknown real-world imperfections, eliminating the need for prior system knowledge or modeling. By enabling faster and more accurate training under realistic experimental constraints, this in situ reinforcement learning approach could offer a scalable framework for various optical and physical systems governed by complex, feedback-driven dynamics.

cs.LG↗

Reservoir-engineered squeezed lasing through the parametric coupling

We report the first experimental demonstration of squeezed lasing in a reservoir-engineered optical parametric oscillator (OPO). The OPO provides a basis of squeezed states and parametric amplification in lasing emission, whose vacuum reservoir is coupled to a squeezed vacuum generated by a second OPO. With a precisely controlled squeezing angle and strong squeezing injection, the parametric interaction in the first OPO is exponentially enhanced. It successfully circumvents the decoherence in the system, and eliminates the undesired noise of spontaneous photon emission in the OPO. As a result, the amplified parametric process simultaneously reserves the coherence and quantum properties in the first OPO, and yields a -6.1 dB squeezed laser in optical domain with a narrow linewidth and high brightness. Our work sheds light on potential applications of squeezed lasing in quantum metrology and quantum optics.

quant-ph↗

Structural Vibration Monitoring with Diffractive Optical Processors

Structural Health Monitoring (SHM) is vital for maintaining the safety and longevity of civil infrastructure, yet current solutions remain constrained by cost, power consumption, scalability, and the complexity of data processing. Here, we present a diffractive vibration monitoring system, integrating a jointly optimized diffractive layer with a shallow neural network-based backend to remotely extract 3D structural vibration spectra, offering a low-power, cost-effective and scalable solution. This architecture eliminates the need for dense sensor arrays or extensive data acquisition; instead, it uses a spatially-optimized passive diffractive layer that encodes 3D structural displacements into modulated light, captured by a minimal number of detectors and decoded in real-time by shallow and low-power neural networks to reconstruct the 3D displacement spectra of structures. The diffractive system's efficacy was demonstrated both numerically and experimentally using millimeter-wave illumination on a laboratory-scale building model with a programmable shake table. Our system achieves more than an order-of-magnitude improvement in accuracy over conventional optics or separately trained modules, establishing a foundation for high-throughput 3D monitoring of structures. Beyond SHM, the 3D vibration monitoring capabilities of this cost-effective and data-efficient framework establish a new computational sensing modality with potential applications in disaster resilience, aerospace diagnostics, and autonomous navigation, where energy efficiency, low latency, and high-throughput are critical.

physics.optics↗

GAME: Learning Multimodal Interactions via Graph Structures for Personality Trait Estimation

Apparent personality analysis from short videos poses significant chal-lenges due to the complex interplay of visual, auditory, and textual cues. In this paper, we propose GAME, a Graph-Augmented Multimodal Encoder designed to robustly model and fuse multi-source features for automatic personality prediction. For the visual stream, we construct a facial graph and introduce a dual-branch Geo Two-Stream Network, which combines Graph Convolutional Networks (GCNs) and Convolutional Neural Net-works (CNNs) with attention mechanisms to capture both structural and appearance-based facial cues. Complementing this, global context and iden-tity features are extracted using pretrained ResNet18 and VGGFace back-bones. To capture temporal dynamics, frame-level features are processed by a BiGRU enhanced with temporal attention modules. Meanwhile, audio representations are derived from the VGGish network, and linguistic se-mantics are captured via the XLM-Roberta transformer. To achieve effective multimodal integration, we propose a Channel Attention-based Fusion module, followed by a Multi-Layer Perceptron (MLP) regression head for predicting personality traits. Extensive experiments show that GAME con-sistently outperforms existing methods across multiple benchmarks, vali-dating its effectiveness and generalizability.

cs.CV↗

Laser intensity noise suppression for space-borne gravitational wave mission

Laser intensity noise is a main limitation of measurement and sensing mission represented by gravitational wave detection. We develop a noise decomposition model and design the core elements of the feedback loop independently based on the analysis results. We construct a fiber amplifier system with ultra-low intensity noise in the 0.1 mHz-1 Hz frequency band by the employment of an optoelectronic feedback loop that is specially designed. The study provides experimental basis and technologies for precise measurement and sensing system at ultra-low frequency.

physics.optics↗

Maximum principle for optimal control of interacting particle system: stochastic flow model

In this paper, we consider the stochastic optimal control problem for the interacting particle system. We obtain the stochastic maximum principle of the optimal control system by introducing a generalized backward stochastic differential equation with interaction. The existence and uniqueness of the solution of this type of equation is proved. We derive the necessary condition that the optimal control should satisfy. As an application, the linear quadratic case is investigated to illustrate the main results.

math.PR↗

GPTAQ: Efficient Finetuning-Free Quantization for Asymmetric Calibration

We introduce GPTAQ, a novel finetuning-free quantization method for compressing large-scale transformer architectures. Unlike the previous GPTQ method, which independently calibrates each layer, we always match the quantized layer's output to the exact output in the full-precision model, resulting in a scheme that we call asymmetric calibration. Such a scheme can effectively reduce the quantization error accumulated in previous layers. We analyze this problem using optimal brain compression to derive a close-formed solution. The new solution explicitly minimizes the quantization error as well as the accumulated asymmetry error. Furthermore, we utilize various techniques to parallelize the solution calculation, including channel parallelization, neuron decomposition, and Cholesky reformulation for matrix fusion. As a result, GPTAQ is easy to implement, simply using 20 more lines of code than GPTQ but improving its performance under low-bit quantization. Remarkably, on a single GPU, we quantize a 405B language transformer as well as EVA-02, the rank first vision transformer that achieves 90% pretraining Imagenet accuracy. Code is available at Github.

cs.LG↗

A class of thin-film equations with space-time dependent gradient nonlinearity and its application to image sharpening

We introduce a class of thin-film equations with space-time dependent gradient nonlinearity and apply them to image sharpening. By modifying the potential well method, we overcome the challenges arising from variable exponents and the "moving" Nehari manifold, thereby providing a classification of global existence and finite time blow-up of solutions under different initial conditions. Decay rates for global solutions and lifespan estimates for blow-up solutions are also established. Numerical experiments demonstrate the effectiveness of this class of equations as image sharpening models.

math.AP↗

Optimizing Structured Surfaces for Diffractive Waveguides

Waveguide design is crucial in developing efficient light delivery systems, requiring meticulous material selection, precise manufacturing, and rigorous performance optimization, including dispersion engineering. Here, we introduce universal diffractive waveguide designs that can match the performance of any conventional dielectric waveguide and achieve various functionalities. Optimized using deep learning, our diffractive waveguide designs can be cascaded to each other to form any desired length and are comprised of transmissive diffractive surfaces that permit the propagation of desired guided modes with low loss and high mode purity. In addition to guiding the targeted modes along the propagation direction through cascaded diffractive units, we also developed various waveguide components and introduced bent diffractive waveguides, rotating the direction of mode propagation, as well as spatial and spectral mode filtering and mode splitting diffractive waveguide designs, and mode-specific polarization-maintaining diffractive waveguides, showcasing the versatility of this platform. This diffractive waveguide framework was experimentally validated in the terahertz (THz) spectrum using 3D-printed diffractive layers to selectively pass certain spatial modes while rejecting others. Diffractive waveguides can be scaled to operate at different wavelengths, including visible and infrared parts of the spectrum, without the need for material dispersion engineering, providing an alternative to traditional waveguide components. This advancement will have potential applications in telecommunications, imaging, sensing and spectroscopy, among others.

physics.optics↗

GiVE: Guiding Visual Encoder to Perceive Overlooked Information

Multimodal Large Language Models have advanced AI in applications like text-to-video generation and visual question answering. These models rely on visual encoders to convert non-text data into vectors, but current encoders either lack semantic alignment or overlook non-salient objects. We propose the Guiding Visual Encoder to Perceive Overlooked Information (GiVE) approach. GiVE enhances visual representation with an Attention-Guided Adapter (AG-Adapter) module and an Object-focused Visual Semantic Learning module. These incorporate three novel loss terms: Object-focused Image-Text Contrast (OITC) loss, Object-focused Image-Image Contrast (OIIC) loss, and Object-focused Image Discrimination (OID) loss, improving object consideration, retrieval accuracy, and comprehensiveness. Our contributions include dynamic visual focus adjustment, novel loss functions to enhance object retrieval, and the Multi-Object Instruction (MOInst) dataset. Experiments show our approach achieves state-of-the-art performance.

cs.CV↗

Twisted heterobilayer photonic crystal based on stacking and selective etching of 2D materials

Nanophotonic devices with moiré superlattice is currently attracting broad interest due to the unique periodicity and high efficiency control of photons. Till now, experimental investigations mainly focus on the single layer device, i.e., two or more layers of photonic crystal patterns are merged and etched in a single layer of material. By comparison, twisted photonic crystal with multilayer materials raises challenges in the nanofabrication technology, because the growth of upper layer material usually requires a smooth bottom layer without nanostructures. Hereby, we fabricate twisted heterobilayer photonic crystal in the graphite/Si$_3$N$_4$ heterostructure. We use dry transfer method to stack the graphite on top of bottom Si$_3$N$_4$ with pre-etched photonic crystal patterns. Selective dry etching recipes are used to etch two photonic crystal layers individually, which improves the quality and accuracy in alignment. The cavity photonic mode at the visible wavelength $\sim 700$ nm arsing from the moiré site is clearly observed in experiment. These results reveal the experimental diagram of heterobilayer nanophotonic devices and open the way to design flexibility and control of photons in new degrees of freedom.

physics.optics↗

Spiking Transformer with Spatial-Temporal Attention

Spike-based Transformer presents a compelling and energy-efficient alternative to traditional Artificial Neural Network (ANN)-based Transformers, achieving impressive results through sparse binary computations. However, existing spike-based transformers predominantly focus on spatial attention while neglecting crucial temporal dependencies inherent in spike-based processing, leading to suboptimal feature representation and limited performance. To address this limitation, we propose Spiking Transformer with Spatial-Temporal Attention (STAtten), a simple and straightforward architecture that efficiently integrates both spatial and temporal information in the self-attention mechanism. STAtten introduces a block-wise computation strategy that processes information in spatial-temporal chunks, enabling comprehensive feature capture while maintaining the same computational complexity as previous spatial-only approaches. Our method can be seamlessly integrated into existing spike-based transformers without architectural overhaul. Extensive experiments demonstrate that STAtten significantly improves the performance of existing spike-based transformers across both static and neuromorphic datasets, including CIFAR10/100, ImageNet, CIFAR10-DVS, and N-Caltech101. The code is available at https://github.com/Intelligent-Computing-Lab-Yale/STAtten

cs.NE↗

PacQ: A SIMT Microarchitecture for Efficient Dataflow in Hyper-asymmetric GEMMs

Weight-only quantization has been widely explored in large language models (LLMs) to reduce memory storage and data loading overhead. During deployment on single-instruction-multiple-threads (SIMT) architectures, weights are stored in low-precision integer (INT) format, while activations remain in full-precision floating-point (FP) format to preserve inference accuracy. Although memory footprint and data loading requirements for weight matrices are reduced, computation performance gains remain limited due to the need to convert weights back to FP format through unpacking and dequantization before GEMM operations. In this work, we investigate methods to accelerate GEMM operations involving packed low-precision INT weights and high-precision FP activations, defining this as the hyper-asymmetric GEMM problem. Our approach co-optimizes tile-level packing and dataflow strategies for INT weight matrices. We further design a specialized FP-INT multiplier unit tailored to our packing and dataflow strategies, enabling parallel processing of multiple INT weights. Finally, we integrate the packing, dataflow, and multiplier unit into PacQ, a SIMT microarchitecture designed to efficiently accelerate hyper-asymmetric GEMMs. We show that PacQ can achieve up to 1.99x speedup and 81.4% reduction in EDP compared to weight-only quantized LLM workloads running on conventional SIMT baselines.

cs.AR↗