Researcher profile

Qiang Lin

Qiang Lin contributes to research discovery and scholarly infrastructure.

ResearcherAffiliation not importedOpen to collaborate

Trust snapshot

Quick read

Trust 21 - EmergingVerification L1Unclaimed author
8works
0followers
10topics
4close collaborators

Actions

Decide how to stay connected

Follow researcher0

Identity and collaboration

How to connect with this researcher

Claiming links this public author record to a researcher profile and unlocks direct collaboration workflows.

Log in to claim

Direct collaboration

Open a focused conversation when the fit is right

Claim this author entity first to unlock direct invitations.

Research graph

See the researcher in context

Open full explorer

Inspect adjacent work, topics, institutions and collaborators without jumping out to a separate graph page.

Building this graph slice

BZPEER is loading the nearby papers, people, topics and institutions for this page.

Published work

8 published item(s)

preprint2026arXiv

AP2O-Coder: Adaptively Progressive Preference Optimization for Reducing Compilation and Runtime Errors in LLM-Generated Code

LLMs' code generation capabilities have yielded substantial improvements in the effectiveness of programming tasks. However, LLM-generated code still suffers from compilation and runtime errors. Existing offline preference optimization methods primarily focus on enhancing LLMs' coding abilities using pass/fail signals in the preference data, overlooking the deep-level error types in the failed codes. To address this, we propose Adaptively Progressive Preference Optimization (AP2O) for coding (i.e., AP2O-Coder), a method that guides LLMs adaptively and methodically to reduce code errors for code generation. Specifically, we construct an error notebook from failed codes and progressively optimize the LLM to correct errors type by type. Furthermore, we adaptively replay error types to tailor to the LLM's changing weaknesses throughout the training process. Through extensive experiments on both code and general LLMs (Llama, Qwen, and DeepSeek series) with parameters ranging from 0.5B to 34B, our AP2O-Coder improves code generation performance by up to 3% in pass@k while using less preference data. Code: https://github.com/TsingZ0/AP2O

preprint2026arXiv

GAPO: Robust Advantage Estimation for Real-World Code LLMs

Reinforcement learning (RL) is widely used for post-training large language models (LLMs) in code editing, where group-relative methods, such as GRPO, are popular due to their critic-free and normalized advantage estimation. However, in real-world code-editing scenarios, reward distributions are often skewed with unpredictable noise, leading to distorted advantage computation and increased rollout outliers. To address this issue, we propose Group Adaptive Policy Optimization (GAPO), which adaptively finds an interval with the highest SNR (Signal to Noise Ratio) per prompt and uses the median of that interval as an adaptive Q to replace the group mean in advantage calculation to reduce noise further. This adaptive Q robustly handles rollout noise while remaining plug-and-play and efficient. We evaluate GAPO on nine instruction-tuned LLMs (3B-14B) using a collected large dataset of 51,844 real-world, history-aware code-editing tasks spanning 10 programming languages. GAPO yields up to 4.35 in-domain (ID) and 5.30 out-of-domain (OOD) exact-match improvements over GRPO and its variant DAPO, while achieving lower clipping ratios and higher GPU throughput. Code: https://github.com/TsingZ0/verl-GAPO.

preprint2022arXiv

Chip-scale Spontaneous Quasi-Phase-Matched Micro-Racetrack Resonator

Due to their capacity for non-classical light generation, high-efficiency second-order nonlinear parametric processes play an important role in quantum photonic technology, and chip-scale realization of these processes is recognized as the key to building efficient light sources for integrated quantum photonic circuits. To achieve ultra-high nonlinear conversion efficiency, traditional method uses quasi-phase matching (QPM) technology. However, QPM requires electric field poling, which is incompatible with the CMOS fabrication process, and this hinders the wafer-scale production of integrated photonic circuits. In this paper, we demonstrate efficient spontaneous quasi-phase matched (SQPM) frequency conversion in a micro-racetrack resonator. Our approach does not involve poling, but exploits the anisotropy of the ferroelectric crystals to allow the phase-matching condition to be fulfilled spontaneously as the TE-polarized light circulates in a specifically designed racetrack resonator. SQPM second harmonic generation is observed with a normalized intracavity conversion efficiency of 0.85%/W, corresponding to the 111st-order QPM. This could theoretically reach 186,000%/W by first-order QPM. In this case such high intracavity conversion efficiency can be implemented in practice with an optimized outward coupling. Our configurable SQPM approach will benefit the application of nonlinear frequency conversion in chip-scale integrated photonics with CMOS-compatible fabrication processes, and is applicable to other on-chip nonlinear processes such as quantum frequency conversion or frequency-comb generation.

preprint2022arXiv

Self-injection-locked second-harmonic integrated source

High coherence visible and near-visible laser sources are centrally important to the operation of advanced position/navigation/timing systems as well as classical/quantum sensing systems. However, the complexity and size of these bench-top lasers is an impediment to their transitioning beyond the laboratory. Here, a system-on-a-chip that emits high-coherence visible and near-visible lightwaves is demonstrated. The devices rely upon a new approach wherein wavelength conversion and coherence increase by self-injection-locking are combined within in a single nonlinear resonator. This simplified approach is demonstrated in a hybridly-integrated device and provides a short-term linewidth around 10-30 kHz. On-chip, converted optical power over 2 mW is also obtained. Moreover, measurements show that heterogeneous integration can result in conversion efficiency higher than 25% with output power over 11 mW. Because the approach uses mature III-V pump lasers in combination with thin-film lithium niobate, it can be scaled for low-cost manufacturing of high-coherence visible emitters. Also, the coherence generation process can be transferred to other frequency conversion processes including optical parametric oscillation, sum/difference frequency generation, and third-harmonic generation.

preprint2021arXiv

Cavity optomechanical sensing in the nonlinear saturation limit

Photonic sensors based upon high-quality optical microcavities have found a wide variety of applications ranging from inertial sensing, electro- and magnetometry to chemical and biological sensing. These sensors have a dynamic range limited by the linewidth of the cavity mode transducing the input. This dynamic range not only determines the range of the signal strength that can be detected, but also affects the resilience of the sensor to large deteriorating external perturbations and shocks in a practical environment. Unfortunately, there is a general trade-off between the detection sensitivity and the dynamic range, which undermines the performance of all microcavity-based sensors. Here we propose an approach to extend the dynamic range significantly beyond the cavity linewidth limit, in the nonlinear modulation regime, without degrading the detection sensitivity for weak signals. With a cavity optomechanical system, we experimentally demonstrate a dynamic range six times larger than the cavity linewidth, far beyond the conventional linear region of operation for such a sensor. The approach demonstrated here will help design microcavity-based sensors to achieve high detection sensitivity and a large dynamic range at the same time, a crucial property for their use in a practical environment.

preprint2020arXiv

Lithium niobate photonic-crystal electro-optic modulator

Modern advanced photonic integrated circuits require dense integration of high-speed electro-optic functional elements on a compact chip that consumes only moderate power. Energy efficiency, operation speed, and device dimension are thus crucial metrics underlying almost all current developments of photonic signal processing units. Recently, thin-film lithium niobate (LN) emerges as a promising platform for photonic integrated circuits. Here we make an important step towards miniaturizing functional components on this platform, reporting probably the smallest high-speed LN electro-optic modulators, based upon photonic crystal nanobeam resonators. The devices exhibit a significant tuning efficiency up to 1.98 GHz/V, a broad modulation bandwidth of 17.5 GHz, while with a tiny electro-optic modal volume of only 0.58 $μ{\rm m}^3$. The modulators enable efficient electro-optic driving of high-Q photonic cavity modes in both adiabatic and non-adiabatic regimes, and allow us to achieve electro-optic switching at 11 Gb/s with a bit-switching energy as low as 22 fJ. The demonstration of energy efficient and high-speed electro-optic modulation at the wavelength scale paves a crucial foundation for realizing large-scale LN photonic integrated circuits that are of immense importance for broad applications in data communication, microwave photonics, and quantum photonics.

preprint2020arXiv

Unified model selection approach based on minimum description length principle in Granger causality analysis

Granger causality analysis (GCA) provides a powerful tool for uncovering the patterns of brain connectivity mechanism using neuroimaging techniques. Conventional GCA applies two different mathematical theories in a two-stage scheme: (1) the Bayesian information criterion (BIC) or Akaike information criterion (AIC) for the regression model orders associated with endogenous and exogenous information; (2) F-statistics for determining the causal effects of exogenous variables. While specifying endogenous and exogenous effects are essentially the same model selection problem, this could produce different benchmarks in the two stages and therefore degrade the performance of GCA. In this course, we present a unified model selection approach based on the minimum description length (MDL) principle for GCA in the context of the general regression model paradigm. Compared with conventional methods, our approach emphasize that a single mathematical theory should be held throughout the GCA process. Under this framework, all candidate models within the model space might be compared freely in the context of the code length, without the need for an intermediate model. We illustrate its advantages over conventional two-stage GCA approach in a 3-node network and a 5-node network synthetic experiments. The unified model selection approach is capable of identifying the actual connectivity while avoiding the false influences of noise. More importantly, the proposed approach obtained more consistent results in a challenge fMRI dataset for causality investigation, mental calculation network under visual and auditory stimulus, respectively. The proposed approach has potential to accommodate other Granger causality representations in other function space. The comparison between different GC representations in different function spaces can also be naturally deal with in the framework.

preprint2019arXiv

Elliptically polarized laser-pumped $M_x$ magnetometer towards applications at room temperature

An atomic magnetometer operated with elliptically polarized light is investigated theoretically and experimentally. To explore the potential of this magnetometric configuration, the analytical form of the outgoing signal is derived. Parameters that significantly influence the performance are optimized, which lead to a sensitivity of 300 $\rm fT/\sqrt{Hz}$ at 45 $^{\circ}$C with a 2$\times$2$\times2$ cm uncoated Rb vapor cell. It is remarkable that a sensitivity of 690 $\rm fT/\sqrt{Hz}$ is achieved at room temperature of 24 $^{\circ}$C, which is improved by an order of magnitude compared with the conventional $M_x$ magnetometer under its own optimized condition. The elliptically polarized approach offers attractive features for developing compact, low-power magnetometers, which are available without heating the uncoated vapor cell.