SearcharxivSearch

arXiv subjects

Ruiming Zhang

Publications and source records attributed to Ruiming Zhang.

At least 19 recordsLinked to original sources

UniSteer: Text-Guided Flow Matching in Activation Space for Versatile LLM Steering

Activation-based control steers large language models (LLMs) by intervening on their internal representations during inference, and has emerged as an effective paradigm for controlling behaviors such as persona and style. However, existing methods often rely on fixed steering directions or task-specific intervention modules, making them difficult to adapt to fine-grained concepts and compositional constraints. We propose UniSteer, a text-guided activation flow matching model that learns a conditional distribution over residual-stream activations from natural-language conditions. Instead of fitting a separate intervention for each target behavior, UniSteer learns a universal conditional velocity field in activation space. At inference time, UniSteer performs flow inversion by partially transporting a source activation toward a latent state and regenerating it under a target textual condition before injecting it back into the frozen LLM. The same conditional model supports activation-space classification by selecting the textual label with the lowest reconstruction energy. Experiments on three target LLMs show that UniSteer provides a unified interface across behavioral control, truthfulness steering, fine-grained concept steering, multi-constraint instruction following, and activation-space classification.

cs.CL

Improving SSVEP BCI Spellers With Data Augmentation and Language Models

Steady-State Visual Evoked Potential (SSVEP) spellers are a promising communication tool for individuals with disabilities. This Brain-Computer Interface utilizes scalp potential data from (electroencephalography) EEG electrodes on a subject's head to decode specific letters or arbitrary targets the subject is looking at on a screen. However, deep neural networks for SSVEP spellers often suffer from low accuracy and poor generalizability to unseen subjects, largely due to the high variability in EEG data. In this study, we propose a hybrid approach combining data augmentation and language modeling to enhance the performance of SSVEP spellers. Using the Benchmark dataset from Tsinghua University, we explore various data augmentation techniques, including frequency masking, time masking, and noise injection, to improve the robustness of deep learning models. Additionally, we integrate a language model (CharRNN) with EEGNet to incorporate linguistic context, significantly enhancing word-level decoding accuracy. Our results demonstrate accuracy improvements of up to 2.9 percent over the baseline, with time masking and language modeling showing the most promise. This work paves the way for more accurate and generalizable SSVEP speller systems, offering improved communication solutions for individuals with disabilities.

cs.HC

On the Zeros of Certain Entire Functions

In this work we prove that certain entire $q$-functions have infinitely many nonzero roots $\left\{ \rho_{n}\right\} _{n=1}^{\infty}$, as $n\to+\infty$ the moduli $\left|\rho_{n}\right|$ grow at least exponentially. Applications to entire $q$-functions defined by series expansions are provided. These functions include the $q$-analogue of the plane wave function $\mathcal{E}_{q}(z,t)$.

math.CV

On Zeros of Certain Entire Functions

Abstract. In this work we derive a sufficient condition to ensure certain genus 0 entire function that can have only negative zeros. We also apply this result to the Riemann hypothesis and generalized Riemann hypothesis for some primitive Dirichlet character.

math.GM

An Application of Hausdorff Moment Problem

In this work we apply Hausdorff moment problem to prove a necessary and sufficient condition for a complex sequence to be positive. Then we apply it to a subclass of genus $0$ entire functions $f(z)$ to obtain an infinite family of necessary and sufficient conditions for $f(z)$ to have only negative roots, which in turn to give infinite many necessary and sufficient conditions for the Riemann hypothesis and the generalized Riemann hypothesis with a primitive Dirichlet character.

math.CV

Discrete frequency-bin entanglement generation via cascaded second-order nonlinear processes in Sagnac interferometer

Discrete frequency-bin entanglement is an essential resource for applications in quantum information processing. In this Letter, we propose and demonstrate a scheme to generate discrete frequency-bin entanglement with a single piece of periodically poled lithium niobate waveguide in a modified Sagnac interferometer. Correlated two-photon states in both directions of the Sagnac interferometer are generated through cascaded second-order optical nonlinear processes. A relative phase difference between the two states is introduced by changing the polarization state of pump light, thus manipulating the two-photon state at the output of the Sagnac interferometer. The generated two-photon state is sent into a fiber polarization splitter, then a pure discrete frequency-bin entangled two-photon state is obtained by setting the pump light. The frequency entanglement property is measured by a spatial quantum beating with a visibility of $96.0 \pm 6.1\%$. The density matrix is further obtained with a fidelity of $98.0 \pm 3.0\%$ to the ideal state. Our demonstration provides a promising method for the generation of pure discrete frequency-bin entanglement at telecom band, which is desired in quantum photonics.

quant-ph

Hertz-rate metropolitan quantum teleportation

Quantum teleportation can transfer an unknown quantum state between distant quantum nodes, which holds great promise in enabling large-scale quantum networks. To advance the full potential of quantum teleportation, quantum states must be faithfully transferred at a high rate over long distance. Despite recent impressive advances, a high-rate quantum teleportation system across metropolitan fiber networks is extremely desired. Here, we demonstrate a quantum teleportation system which transfers quantum states carried by independent photons at a rate of 7.1$\pm$0.4 Hz over 64-km-long fiber channel. An average single-photon fidelity of $\geqslant$ 90.6$\pm$2.6% is achieved, which exceeds the maximum fidelity of 2/3 in classical regime. Our result marks an important milestone towards quantum networks and opens the door to exploring quantum entanglement based informatic applications for the future quantum internet.

quant-ph

On Certain Bounds for Genus 0 Entire Functions

Abstract. In this work we use an elementary method to derive an upper bound on the right half-plane for genus 0 entire functions if it has only negative zeros. The bound only uses information of the function on the positive real axis. Applications to the modified Bessel functions and the Airy function are also provided.

math.CV

On Almost Orthogonal Series

In this work we prove analogues of Bessel inequality and Riesz-Fisher theorem in Hilbert spaces with respect to sequences. We apply our generalized Bessel inequality to the Hilbert spaces associated with the Normal, Beta, Gamma and certain discrete probability distributions to show how to generate certain type of inequalities for special functions systematically.

math.CA

On Certain Genus 0 Entire Functions

In this work we prove that an entire function $f(z)$ has only negative zeros if and only if its order is strictly less $1$, its root sequence is real-part dominating and there exists an nonnegative integer $m$ the real function $\left(-\frac{1}{x}\right)^{m}\frac{d^{k}}{dx^{k}}\left(x^{k+m}\frac{d^{m}}{dx^{m}}\left(\frac{f'(x)}{f(x)}\right)\right)$ are completely monotonic on $(0,\infty)$ for all nonnegative integer $k$. As an application we state a necessary and sufficient condition for the Riemann hypothesis and generalized Riemann hypothesis for a primitive Dirichlet character.

math.CA

Orthogonal Polynomials of Askey-Wilson Type

We study two families of orthogonal polynomials. The first is a finite family related to the Askey-Wilson polynomials but the orthogonality is on the real line. A limiting case of this family is an infinite system of orthogonal polynomials whose moment problem is indeterminate. We provide several orthogonality measures for the infinite family and derive their Plancherel-Rotach asymptotics.

math.CA

Spectrally multiplexed heralded single photon source at telecom-band

Heralded single photon source (HSPS) is an important way in generating genuine single photon, having advantages of experimental simplicity and versatility. However, HSPS intrinsically suffers from the trade-off between the heralded single photon rate and the single photon purity. To overcome this, one can apply multiplexing technology in different degrees of freedom to enhance the performance of HSPS. Here, by employing spectral multiplexing and active feed-forward spectral manipulating, we demonstrate a HSPS at 1.5 μm telecom-band. Our experimental results show that the spectral multiplexing effectively erases the frequency correlation of pair source and significantly improves the heralded single photon rate while keeping the g{^(^2^)}(0) as low as 0.0006{\pm}0.0001. The Hong-Ou-Mandel interference between the heralded single photons and photons from an independent weak coherent source indicates a high indistinguishability. Our results pave a way for scalable HSPS by spectral multiplexing towards deterministic single photon emission.

quant-ph

High-performance quantum entanglement generation via cascaded second-order nonlinear processes

In this paper, we demonstrate the generation of high-performance entangled photon-pairs in different degrees of freedom from a single piece of fiber pigtailed periodically poled LiNbO$_3$ (PPLN) waveguide. We utilize cascaded second-order nonlinear optical processes, i.e. second-harmonic generation (SHG) and spontaneous parametric down conversion (SPDC), to generate photon-pairs. Previously, the performance of the photon pairs is contaminated by Raman noise photons from the fiber pigtails. Here by integrating the PPLN waveguide with noise rejecting filters, we obtain a coincidence-to-accidental ratio (CAR) higher than 52,600 with photon-pair generation and detection rate of 52.3 kHz and 3.5 kHz, respectively. Energy-time, frequency-bin and time-bin entanglement is prepared by coherently superposing correlated two-photon states in these degrees of freedom, respectively. The energy-time entangled two-photon states achieve the maximum value of CHSH-Bell inequality of S=2.708$\pm$0.024 with a two-photon interference visibility of 95.74$\pm$0.86%. The frequency-bin entangled two-photon states achieve fidelity of 97.56$\pm$1.79% with a spatial quantum beating visibility of 96.85$\pm$2.46%. The time-bin entangled two-photon states achieve the maximum value of CHSH-Bell inequality of S=2.595$\pm$0.037 and quantum tomographic fidelity of 89.07$\pm$4.35%. Our results provide a potential candidate for quantum light source in quantum photonics.

quant-ph

q-Fractional Askey-Wilson Integrals and Related Semigroups of Operators

We introduce three one-parameter semigroups of operators and determine their spectra. Two of them are fractional integrals associated with the Askey-Wilson operator. We also study these families as families of positive linear approximation operators. Applications include connection relations and bilinear formulas for the Askey-Wilson polynomials. We also introduce a q-Gauss-Weierstrass transform and prove a representation and inversion theorem for it.

math.CA

Dispersion independent long-haul photon counting OTDR

Photon counting optical time-domain reflectometry (PC-OTDR) based on the single photon detection is an effective scheme to attain the high spatial resolution for optical fiber fault monitoring. Currently, due to the spatial resolution of PC-OTDR is proportional to the pulse width of a laser beam, short laser pulses are essential for the high spatial resolution. However, short laser pulses have a large bandwidth, which would be widened by the dispersion of fiber, thereby causing inevitable deterioration in spatial resolution, especially for long-haul fiber links. In this letter, we propose a scheme of dispersion independent PC-OTDR based on an infinite backscatter technique. Our experimental results -with more than 50 km long fiber - show that the spatial resolution of the PC-OTDR system is independent with the total dispersion of the fiber under test. Our method provides an avenue for developing the long-haul PC-OTDR with high performance.

quant-ph

High Dynamic Range Externally Time-gated Photon Counting Optical Time-domain Reflectometry

Single photon detector (SPD) has a maximum count rate due to its dead time, which results in that the dynamic range of photon counting optical time-domain reflectometry (PC-OTDR) de-creases with the length of monitored fiber. To further improve the dynamic range of PC-OTDR, we propose and demonstrate an externally time-gated scheme. The externally time-gated scheme is realized by using a high-speed optical switch, i.e. a Mach-Zehnder interferometer, to modulate the back-propagation optical signal, and to allow that only a certain segment of the fiber is monitored by the SPD. The feasibility of proposed scheme is first examined with theoretical analysis and simulation; then we experimentally demonstrate it with our experimental PC-OTDR testbed operating at 800 nm wavelength band. In our studies, a dynamic range of 30.0 dB is achieved in a 70 meters long PC-OTDR system with 50 ns external gates, corresponding to an improvement of 11.0 dB in dynamic range comparing with no gating operation. Furthermore, with the improved dynamic range, a successful identification of a 0.37 dB loss event is detected with 30-seconds accumulation, which could not be identified without gating operation. Our scheme paves an avenue for developing PC-OTDR systems with high dynamic range.

physics.ins-det

Towards Brain-inspired System: Deep Recurrent Reinforcement Learning for Simulated Self-driving Agent

An effective way to achieve intelligence is to simulate various intelligent behaviors in the human brain. In recent years, bio-inspired learning methods have emerged, and they are different from the classical mathematical programming principle. In the perspective of brain inspiration, reinforcement learning has gained additional interest in solving decision-making tasks as increasing neuroscientific research demonstrates that significant links exist between reinforcement learning and specific neural substrates. Because of the tremendous research that focuses on human brains and reinforcement learning, scientists have investigated how robots can autonomously tackle complex tasks in the form of a self-driving agent control in a human-like way. In this study, we propose an end-to-end architecture using novel deep-Q-network architecture in conjunction with a recurrence to resolve the problem in the field of simulated self-driving. The main contribution of this study is that we trained the driving agent using a brain-inspired trial-and-error technique, which was in line with the real world situation. Besides, there are three innovations in the proposed learning network: raw screen outputs are the only information which the driving agent can rely on, a weighted layer that enhances the differences of the lengthy episode, and a modified replay mechanism that overcomes the problem of sparsity and accelerates learning. The proposed network was trained and tested under a third-partied OpenAI Gym environment. After training for several episodes, the resulting driving agent performed advanced behaviors in the given scene. We hope that in the future, the proposed brain-inspired learning system would inspire practicable self-driving control solutions.

cs.AI

On Positivities of Certain q-Special Functions

In this work we shall apply the Bochner's theorem to prove certain combinations of Euler's q-exponentials are positive definite functions. Then we apply this positivity to prove curious inequalities for the Jacobi theta function $\vartheta_{4}$ and q-Gamma function $Γ_{q}$.

math.CA