SearcharxivSearch

arXiv subjects

Zetian Chen

Publications and source records attributed to Zetian Chen.

3 recordsLinked to original sources

Unified Lookup-Table Inference with Signed-Digit K/V Caches for Ternary LLMs

Ternary LLMs make their weight-dominated projections compact and efficient, but attention remains a mismatch: its K/V cache is created online and is typically processed by a separate higher-precision engine. Compressing this cache alone does not resolve the mismatch. To execute attention with the same lookup-table machinery as ternary projections, values accumulated in one reduction must retain a compatible representation and scale. This requirement also differs for keys and values during causal decoding, because newly generated values may belong to an unfinished cache block. This work develops a unified lookup-table inference approach for ternary LLMs. It stores runtime K/V states as scaled multi-plane signed digits organized around the reduction structure of attention. The resulting digit planes are consumed directly by activation-derived tables, avoiding dense K/V materialization between cache storage and attention computation. The design combines online K/V formation, bounded handling of incomplete value blocks, and a shared multi-stream datapath for Linear projections and attention. A constraint-guided search selects the representation and execution policy for a target quality--efficiency trade-off. Experiments on native and post-training ternary models validate the approach across cache capacity, model quality, and hardware efficiency.

cs.AR

Continuous Wave Second Harmonic Generation from an Etchless Lithium Niobate Resonant Metasurface

Nonlinear metasurfaces provide a route to compact frequency conversion by replacing phase matching and long interaction lengths with resonantly enhanced light matter interaction in subwavelength structures. Extending this capability to continuous wave (CW) operation is particularly important for applications requiring narrow linewidth, stable frequency, and stationary optical fields, but remains extremely challenging. Here, we demonstrate CW second-harmonic generation on a transmission mode, etchless thin film lithium niobate platform enabled by a patterned silicon rich nitride metasurface. This hybrid design combines guided mode resonance coupling, low optical loss, and CMOS compatible processing while keeping most of the optical mode confined in the unpatterned lithium niobate, yielding a measured quality factor of ~2300. Clearly resolved SHG is achieved under sub-kW/cm^2 CW pumping, with a normalized conversion efficiency of 0.156 % cm^2/GW in the low power regime. Interestingly, our work reveals that CW resonant SHG in metasurfaces can exhibit pronounced transient dynamics, including power dependent resonance evolution, overshoot, and nonideal scaling. These findings establish etchless LN SRN metasurfaces as a promising platform for compact CW nonlinear photonics, and show that resonance dynamics are central to the operation and evaluation of CW driven nonlinear metasurfaces.

physics.optics

Tunable transmissive metasurface based on thin-film lithium niobate

Active metasurfaces hold great promise for spatial light modulation, and electro-optic tuning using lithium niobate is particularly attractive due to its high transparency and well-established thin-film platform. In this work, we present a free-space transmissive light modulator based on a seemingly un-patterned thin-film lithium niobate-on-insulator platform, integrated with a transparent conductive oxide meta-grating fabricated through a single lithography process. Guided mode resonance in the near-infrared region is induced with high mode confinement within lithium niobate layer, which directly in contact with the electrodes. A notable resonance shift of 0.38 nm is observed for the fundamental mode under +-10 V bias, while a maximum modulation amplitude of 4.6% is achieved for another higher-order mode. Incident angle is further exploited as another tuning parameter to split and sensitively shift the resonances. These results demonstrate the potential of this design for applications in compact, scalable, and tunable spatial light modulation devices.

physics.app-ph