Search arXiv⌕ Search

arXiv subjects

Ruizhe Yao

Publications and source records attributed to Ruizhe Yao.

3 recordsLinked to original sources

CompKV: Compensation-Aware KV Selection for Long-Context LLM Inference

Despite their strong performance, large language models (LLMs) are bottlenecked by KV cache memory traffic during long-context inference. Sparse attention is widely used to accelerate LLM inference by computing exact attention over a selected subset of tokens. To recover the contribution of tokens excluded from exact attention, recent methods apply coarse-grained compensation to the omitted attention tail. However, existing methods typically select tokens based on attention mass and only then compensate for the unselected tokens. This decoupled design overlooks their interaction: selection should prioritize tokens that would leave the largest compensation error if omitted. To address this limitation, we introduce CompKV, the first compensation-aware sparse attention framework that divides tokens into blocks and explicitly optimizes selection for the downstream compensation mechanism. Our theoretical analysis shows that the residual left by block-level mean compensation is governed by both block attention mass and within-block logit variation. We approximate this residual using compact block-level statistics, yielding a deployable selection criterion. We further develop an efficient asynchronous implementation. Experiments on RULER and LongBench-Pro show that CompKV performs best among the evaluated sparse baselines while delivering up to a $6.85\times$ self-attention speedup over full attention.

cs.LG↗

Electrically Pumped Single Transverse-Mode Coupled Waveguide Lasers by Parity-time (PT) Symmetry

We demonstrate single transverse-mode operation of broad-area coupled waveguide lasers enabled by parity-time (PT) symmetry. The PT symmetric laser operates on coupled waveguide cavities with electrically tuned gain and loss. Such counterintuitive waveguide design enables PT symmetric breaking, causing unique mode selection and ultimately enabling single mode operation. By electrically tuning the loss in the loss region of the coupled waveguide cavity, several different PT-symmetric regimes are analyzed theoretically, and the corresponding PT symmetric phase transition is demonstrated experimentally in the coupled waveguide laser.

physics.optics↗

Electrically Tunable and Reconfigurable Topological Edge State Lasers

We report an actively tunable topological edge mode laser in a one-dimensional Su-Schrieffer-Heeger (SSH) laser chain, where the SSH chain is realized in an electrically-injected Fabry-Perot (FP) laser chain. A non-Hermitian SSH model is developed to investigate the SSH laser chain with tunable active topological defect. We theoretically demonstrate topological edge mode phase transition in the SSH laser chain. The phase transition manifested in the tight binding SSH laser chain is observed experimentally and agreed well with the theoretical predictions. Finally, by electronically tuning the gain and loss, a lossy topological mode is obtained, and lasing is experimentally observed in the lossy time-reversal configuration. This work presents a versatile platform to investigate novel concepts, such as topological mode, for main stream photonic applications.

physics.optics↗