arXiv ScienceSearch

arXiv subjects

Linhao Ren

Publications and source records attributed to Linhao Ren.

3 recordsLinked to original sources

S$^3$-Attention:Attention-Aligned Endogenous Retrieval for Memory-Bounded Long-Context Inference

Large language models are increasingly applied to multi-document and long-form inputs, yet long-context inference remains memory- and noise-inefficient. Key-value (KV) caching scales linearly with context length, while external retrieval methods often return lexically similar but causally irrelevant passages. We present S3-Attention, a memory-first inference-time framework that treats long-context processing as attention-aligned endogenous retrieval. S3-Attention decodes transient key and query projections into top-k sparse feature identifiers using lightweight sparse autoencoders, and constructs a CPU-based inverted index mapping features to token positions or spans during a single streaming scan. This design allows the KV cache to be discarded entirely and bounds GPU memory usage by the scan chunk size. At generation time, feature co-activation is used to retrieve compact evidence spans, optionally fused with BM25 for exact lexical matching. Under a unified LongBench evaluation protocol with fixed prompting, decoding, and matched token budgets, S3-Hybrid closely matches full-context inference across multiple model families and improves robustness in several information-dense settings. We also report an engineering limitation of the current prototype, which incurs higher wall-clock latency than optimized full-KV baselines, motivating future kernel-level optimization.

cs.CL

Simultaneous ultraviolet, visible and near-infrared continuous-wave lasing in a rare-earth-doped microcavity

Microlaser with multiple lasing bands is critical in various applications, such as full-colour display, optical communications and computing. Here, we propose a simple and efficient method for homogeneously doping rare earth elements into a silica whispering-gallery-mode microcavity. By this method, we demonstrate simultaneous and stable lasing covering ultraviolet, visible and near-infrared bands in an ultrahigh-Q (exceeding 108) Er-Yb co-doped silica microsphere under room temperature and continuous-wave pump for the first time. The lasing thresholds of the 380, 410, 450, 560, 660, 800, 1080 and 1550 nm-bands are estimated to be 380, 150, 2.5, 12, 0.17, 1.7, 10 and 38 {\mu}W, respectively, where the lasing in the 380, 410 and 450 nm-bands by Er element have not been separately demonstrated under room temperature and continuous-wave pump until this work. This ultrahigh-Q doped microcavity is an excellent platform for high-performance multi-band microlasers, ultrahigh-precise sensors, optical memories and cavity-enhanced light-matter interaction studies.

physics.optics

Discrete optics in optomechanical waveguide arrays

Propagation properties of light in optomechanical waveguides arrays (OMWAs) are studied for the first time, to the best of our knowledge. Due to the strong mechanical Kerr effect, the optical self-focusing and self-defocusing phenomena can be realized in the arrays of subwavelength dielectric optomechanical waveguides with the milliwatt-level incident powers and micrometer-level lengths. Compared with the conventional nonlinear waveguide arrays, the required incident powers and lengths of the waveguides are decreased by five orders of magnitude and one order of magnitude, respectively. Furthermore, by adjusting the deformation of the nanowaveguides through a control light, the propagation path of the signal light in the OMWA can be engineered, which could be used as a splitting-ratio-tunable beam splitter. This work provides a new platform for discrete optics and broadens the application of integrated optomechanics.

physics.optics