SearcharxivSearch

arXiv subjects

Xin Qin

Publications and source records attributed to Xin Qin.

At least 19 recordsLinked to original sources

FM-LLM: A frequency-enhanced mixture-of-experts framework for adapting LLMs to time series forecasting

Recent advances in Large Language Models (LLMs) have spurred cross-modal solutions for time-series forecasting. However, existing methods rely heavily on textual prompts for modality alignment-introducing nontrivial computational overhead and failing to leverage the rich spectral dynamics inherent in time-series data. To enable prompt-free, frequency-aware adaptation of frozen LLMs, we propose FM-LLM (Frequency-Enhanced Mixture-of-Experts for adapting LLMs to Time Series Forecasting), an autoregressive framework grounded in constrained asymmetric coupling. A Fourier Analysis Network (FAN)-based spectral token aligner injects structured harmonic representations directly into the frozen LLM with numerical compatibility. An asymmetric Mixture-of-Experts (MoE) decoder enforces role separation: shared experts with lightweight FAN layers reconstruct the global periodic backbone, while routed experts-restricted to standard FFNs-specialize in modeling non-periodic residual dynamics. A time-frequency hybrid loss function jointly optimizes temporal accuracy and spectral consistency, mitigating error accumulation during long-horizon autoregressive rollouts. Evaluated across eleven public benchmarks, FM-LLM achieves state-of-the-art performance on 59 out of 78 evaluation metrics. Compared to the strongest autoregressive LLM-based baseline, it delivers average improvements of 5.3% in MSE and 5.6% in MAE, with maximum gains reaching 8.0% for MSE and 8.4% for MAE. FM-LLM also demonstrates robust transferability, maintaining superior performance in 10% few-shot and zero-shot forecasting scenarios.

cs.LG

Quasinormal modes of scalar and Maxwell field perturbations coupled to the Einstein tensor in generalized Nariai spacetimes

We investigate the quasinormal modes of scalar and Maxwell field perturbations coupled to the Einstein tensor in generalized Nariai spacetimes. Our results show that, for both types of perturbations, the coupling introduces different critical values, which separate the frequency spectrum into distinct branches. Near these critical values, the square-root term that determines $\omega_R^2$ may change sign, giving rise to a parameter interval in which the modes are purely imaginary. Away from this regime, the coupling affects the oscillatory parts of the two fields in opposite ways: $\omega_R^2$ generally increases with the coupling constant $\eta$ for the scalar field, whereas it decreases with $\eta$ for the Maxwell field. The magnetic charge tends to enhance the oscillatory response, while increasing the spacetime dimension narrows the purely imaginary regime. This comparison shows analytically that the same curvature coupling can affect scalar and Maxwell perturbations in qualitatively different ways.

gr-qc

Polarized image of an equatorial emitting ring around a Konoplya-Zhidenko rotating non-Kerr black hole

We investigate the polarized images of an equatorial emitting ring around a Konoplya-Zhidenko rotating non-Kerr black hole, which introduces an additional deformation parameter. The deformation parameter $\eta$ allows the spin parameter to extend beyond the bounds imposed by the standard Kerr black hole. The results indicate that the polarized images depend not only on the magnetic field configuration, fluid velocity, and observer inclination angle, but also on the deformation parameter and the spin parameter. As the deformation parameter increases, the polarization intensity decreases monotonically. However, the magnitude of the Electric Vector Position Angle (EVPA) increases with $\eta$. Furthermore, we note that the parameter $\eta$ may induce subtle yet discernible azimuthal separation features, which could potentially distinguish it from the spin parameter and the magnetic field orientation angle. Nevertheless, these features are difficult to resolve under current observational conditions and await verification by future high-resolution facilities such as the next-generation Event Horizon Telescope (ngEHT).

gr-qc

The images of Brans-Dicke-Kerr type naked singularities

We have studied the images of the Brans-Dicke-Kerr spacetime with a dimensionless Brans-Dicke parameter $\omega$, which belongs to axisymmetric rotating solutions in the Brans-Dicke theory. Our results show that the Brans-Dicke-Kerr spacetime with the parameter $\omega>-3/2$ represents naked singularities with distinct structures. For the case with $a \leq M$, the shadow in the Brans-Dicke-Kerr spacetime persists, gradually becomes flatter and smaller as $\omega$ decreases. Especially when $\omega<1/2$, the shadow in the image exhibit a very special ``jellyfish" shape and possesses a self-similar fractal structure. For the case with $a > M$, a distinct gray region consisting of two separate patches appears in the image observed by equatorial observers. This indicating that the Brans-Dicke-Kerr spacetime can be distinguished from the Kerr and Kerr-de Sitter cases based on its image. These effects of the Brans-Dicke parameter could help us to reveal the intrinsic structure of the Brans-Dicke-Kerr spacetimes and provide a foundation for testing Brans-Dicke theory through future high-precision observations.

gr-qc

Frequency Control and Optimal Power Sharing in Combined Power and Heating Networks with Heat Pumps

Heat pumps have the capability for fast adjustments in power consumption with potential connections to large heating-inertia district heating networks, and are thus a very important resource for providing frequency support in low-inertia power systems. Nevertheless, the coupling of power networks with district heating systems renders the underlying dynamics much more involved. It is therefore important to ensure that system stability and appropriate power sharing are maintained. In this paper, we consider the problem of leveraging district heating systems as ancillary services for primary frequency control in power networks via heat pumps. We propose a novel power sharing scheme for heating systems based on the average temperature. This enables an optimal power allocation among diverse energy sources without requiring load disturbances information. We then discuss two approaches for heating systems to contribute to frequency regulation in power networks. We show that both approaches ensure stability in the combined heat and power network and facilitate optimal power allocation among the different energy sources. We also discuss how various generation dynamics can be incorporated into our framework with guaranteed stability and optimality. Finally, we conduct simulations that demonstrate various tradeoffs in the transient response and the practical potential of the proposed approaches.

eess.SY

Pronunciation Deviation Analysis Through Voice Cloning and Acoustic Comparison

This paper presents a novel approach for detecting mispronunciations by analyzing deviations between a user's original speech and their voice-cloned counterpart with corrected pronunciation. We hypothesize that regions with maximal acoustic deviation between the original and cloned utterances indicate potential mispronunciations. Our method leverages recent advances in voice cloning to generate a synthetic version of the user's voice with proper pronunciation, then performs frame-by-frame comparisons to identify problematic segments. Experimental results demonstrate the effectiveness of this approach in pinpointing specific pronunciation errors without requiring predefined phonetic rules or extensive training data for each target language.

cs.SD

The influence of cosmological constant on light deflection in rotating spacetimes via the generalized Gibbons-Werner method

Recently, we proposed a generalized Gibbons-Werner (GW) method for analyzing particle trajectories in rotating spacetimes, regardless of their asymptotic behavior [Huang \textit{et al.}, \href{https://iopscience.iop.org/article/10.1088/1475-7516/2024/01/013}{J. Cosmol. Astropart. Phys. 01(2024), 013}]. Using this method, we examine the impact of the cosmological constant ($\Lambda$) on the light deflection in rotating spacetimes within the framework of Kerr-de Sitter (KdS) geometry. Although Sultana previously calculated the deflection angle of light in KdS spacetime, our study advances this research in three aspects: (i) Orbit solution -- the light trajectory is derived by directly solving the original equation of motion (EOM) without intermediate processes. (ii) Positions of the source and observer -- the finite distances of the source and observer from the lens are explicitly considered, avoiding approximations. (iii) Staticity of the source and observer -- the Randers optical space is employed to resolve the staticity constraint. Through these refined considerations, we obtain a novel expression for the deflection angle of light in KdS spacetime, accurate to second-order in $\Lambda$, as well as in the mass (M) and spin parameter (a) of the central body. Furthermore, we discuss the discrepancies between our results and previous expressions. Finally, we evaluate the observational implications of our corrections relative to Sultana's work in the lensing systems of the Sun and Sgr A*, and show that they may become observable with forthcoming high-precision astronomical measurements.

gr-qc

Frequency Control and Power Sharing in Combined Heat and Power Networks

We consider the problem of using district heating systems as ancillary services for primary frequency control in power networks. We propose a novel power sharing scheme for heating systems based on the average temperature, which enables an optimal power allocation among the diverse heat sources without having a prior knowledge of the disturbances. We then discuss two approaches for heating systems to contribute to frequency regulation in power networks. We show that both approaches ensure stability in the combined heat and power network and facilitate optimal power allocation among the different energy sources.

eess.SY

Exploring Flexible Scenario Generation in Godot Simulator

Cyber-physical systems (CPS) combine cyber and physical components engineered to make decisions and interact within dynamic environments. Ensuring the safety of CPS is of great importance, requiring extensive testing across diverse and complex scenarios. To generate as many testing scenarios as possible, previous efforts have focused on describing scenarios using formal languages to generate scenes. In this paper, we introduce an alternative approach: reconstructing scenes inside the open-source game engine, Godot. We have developed a pipeline that enables the reconstruction of testing scenes directly from provided images of scenarios. These reconstructed scenes can then be deployed within simulated environments to assess a CPS. This approach offers a scalable and flexible solution for testing CPS in realistic environments.

cs.AI

The Task Shield: Enforcing Task Alignment to Defend Against Indirect Prompt Injection in LLM Agents

Large Language Model (LLM) agents are increasingly being deployed as conversational assistants capable of performing complex real-world tasks through tool integration. This enhanced ability to interact with external systems and process various data sources, while powerful, introduces significant security vulnerabilities. In particular, indirect prompt injection attacks pose a critical threat, where malicious instructions embedded within external data sources can manipulate agents to deviate from user intentions. While existing defenses based on rule constraints, source spotlighting, and authentication protocols show promise, they struggle to maintain robust security while preserving task functionality. We propose a novel and orthogonal perspective that reframes agent security from preventing harmful actions to ensuring task alignment, requiring every agent action to serve user objectives. Based on this insight, we develop Task Shield, a test-time defense mechanism that systematically verifies whether each instruction and tool call contributes to user-specified goals. Through experiments on the AgentDojo benchmark, we demonstrate that Task Shield reduces attack success rates (2.07\%) while maintaining high task utility (69.79\%) on GPT-4o.

cs.CR

Multi-agent Path Finding for Timed Tasks using Evolutionary Games

Autonomous multi-agent systems such as hospital robots and package delivery drones often operate in highly uncertain environments and are expected to achieve complex temporal task objectives while ensuring safety. While learning-based methods such as reinforcement learning are popular methods to train single and multi-agent autonomous systems under user-specified and state-based reward functions, applying these methods to satisfy trajectory-level task objectives is a challenging problem. Our first contribution is the use of weighted automata to specify trajectory-level objectives, such that, maximal paths induced in the weighted automaton correspond to desired trajectory-level behaviors. We show how weighted automata-based specifications go beyond timeliness properties focused on deadlines to performance properties such as expeditiousness. Our second contribution is the use of evolutionary game theory (EGT) principles to train homogeneous multi-agent teams targeting homogeneous task objectives. We show how shared experiences of agents and EGT-based policy updates allow us to outperform state-of-the-art reinforcement learning (RL) methods in minimizing path length by nearly 30\% in large spaces. We also show that our algorithm is computationally faster than deep RL methods by at least an order of magnitude. Additionally our results indicate that it scales better with an increase in the number of agents as compared to other methods.

cs.MA

Economic Capacity Withholding Bounds of Competitive Energy Storage Bidders

Economic withholding in electricity markets refers to generators bidding higher than their true marginal fuel cost, and is a typical approach to exercising market power. However, existing market designs require storage to design bids strategically based on their own future price predictions, motivating storage to conduct economic withholding without assuming market power. As energy storage takes up more significant roles in wholesale electricity markets, understanding its motivations for economic withholding and the consequent effects on social welfare becomes increasingly vital. This paper derives a theoretical framework to study the economic capacity withholding behavior of storage participating in competitive electricity markets and validate our results in simulations based on the ISO New England system. We demonstrate that storage bids can reach unbounded high levels under conditions where future price predictions show bounded expectations but unbounded deviations. Conversely, in scenarios with peak price limitations, we show the upper bounds of storage bids are grounded in bounded price expectations. Most importantly, we show that storage capacity withholding can potentially lower the overall system cost when price models account for system uncertainties. Our paper reveals energy storage is not a market manipulator but an honest player contributing to the social welfare. It helps electricity market researchers and operators better understand the economic withholding behavior of storage and reform market policies to maximize storage contributing to a cost-efficient decolonization.

eess.SY

Electronic Phase Propagation Speed in BaFe$_2$As$_2$ Revealed by Dilatometry

Thermal expansion offers deep insights into phase transitions in condensed matter physics. Utilizing an advanced AC-temperature dilatometer with picometer resolution, this study clearly resolves the antiferromagnetic and structural transition in BaFe$_2$As$_2$. The implementation of temperature oscillation reveals a hysteresis near the transition temperature $T_\mathrm{N}$ with unprecedented resolution. Unexpectedly, we find that the hysteretic width exhibits a universal dependence on the parameters of temperature oscillation and the sample's longidutinal dimension, which in turn reveals a finite transition speed. Our quantitative analysis shows that this phase boundary propagates at a mere 188 $\mu$m/s - a speed seven orders of magnitude slower than acoustic waves. It suggests a hidden thermodynamic constraint imposed by the electronic degrees of freedom. Our research not only sheds light on the dynamics of phase transitions between different correlated phases, but also establishes high precision dilatometry as a powerful tool for material studies. This measurement technique, when properly modified, can be extended to studies of other material properties such as piezoelectric, magneto-restriction, elastic modulus, etc.

cond-mat.supr-con

A High Resolution Dilatometer Using Optical Fiber Interferometer

We introduce a high performance differential dilatometer based on an all-fiber Michelson interferometer at cryogenic temperature with $10^{-10}$ resolution in $\delta L/L$. It resolve the linear thermal expansion coefficient by measuring the oscillating changes of sample thickness and sample temperature with the interferometer and in-situ thermometer, respectively. By measuring the linear thermal expansion coefficient $\alpha$ near the antiferromagnetic transition region of BaFe$_2$As$_2$ as a demonstration, we show our dilatometer is able to measure thin samples with sub-pm-level length change resolution and mK-level temperature resolution. Despite there is residual background thermal expansion of a few nm/K in measurement result, our new dilatometer is sitll a powerful tool for study of phase transition in condensed matter physics, especially significant advantages in fragile materials with sub-100$\mu$m thickness and being integrated with multiple synchronous measurements and tuning thanks to the extremely high resolution and contactless nature. The prototype design of this setup can be further improved in many aspects for specific applications.

physics.ins-det

Data-Driven Reachability Analysis of Stochastic Dynamical Systems with Conformal Inference

We consider data-driven reachability analysis of discrete-time stochastic dynamical systems using conformal inference. We assume that we are not provided with a symbolic representation of the stochastic system, but instead have access to a dataset of $K$-step trajectories. The reachability problem is to construct a probabilistic flowpipe such that the probability that a $K$-step trajectory can violate the bounds of the flowpipe does not exceed a user-specified failure probability threshold. The key ideas in this paper are: (1) to learn a surrogate predictor model from data, (2) to perform reachability analysis using the surrogate model, and (3) to quantify the surrogate model's incurred error using conformal inference in order to give probabilistic reachability guarantees. We focus on learning-enabled control systems with complex closed-loop dynamics that are difficult to model symbolically, but where state transition pairs can be queried, e.g., using a simulator. We demonstrate the applicability of our method on examples from the domain of learning-enabled cyber-physical systems.

eess.SY

Conformance Testing for Stochastic Cyber-Physical Systems

Conformance is defined as a measure of distance between the behaviors of two dynamical systems. The notion of conformance can accelerate system design when models of varying fidelities are available on which analysis and control design can be done more efficiently. Ultimately, conformance can capture distance between design models and their real implementations and thus aid in robust system design. In this paper, we are interested in the conformance of stochastic dynamical systems. We argue that probabilistic reasoning over the distribution of distances between model trajectories is a good measure for stochastic conformance. Additionally, we propose the non-conformance risk to reason about the risk of stochastic systems not being conformant. We show that both notions have the desirable transference property, meaning that conformant systems satisfy similar system specifications, i.e., if the first model satisfies a desirable specification, the second model will satisfy (nearly) the same specification. Lastly, we propose how stochastic conformance and the non-conformance risk can be estimated from data using statistical tools such as conformal prediction. We present empirical evaluations of our method on an F-16 aircraft, an autonomous vehicle, a spacecraft, and Dubin's vehicle.

eess.SY

MetaFed: Federated Learning among Federations with Cyclic Knowledge Distillation for Personalized Healthcare

Federated learning has attracted increasing attention to building models without accessing the raw user data, especially in healthcare. In real applications, different federations can seldom work together due to possible reasons such as data heterogeneity and distrust/inexistence of the central server. In this paper, we propose a novel framework called MetaFed to facilitate trustworthy FL between different federations. MetaFed obtains a personalized model for each federation without a central server via the proposed Cyclic Knowledge Distillation. Specifically, MetaFed treats each federation as a meta distribution and aggregates knowledge of each federation in a cyclic manner. The training is split into two parts: common knowledge accumulation and personalization. Comprehensive experiments on three benchmarks demonstrate that MetaFed without a server achieves better accuracy compared to state-of-the-art methods (e.g., 10%+ accuracy improvement compared to the baseline for PAMAP2) with fewer communication costs.

cs.LG

Generalizable Low-Resource Activity Recognition with Diverse and Discriminative Representation Learning

Human activity recognition (HAR) is a time series classification task that focuses on identifying the motion patterns from human sensor readings. Adequate data is essential but a major bottleneck for training a generalizable HAR model, which assists customization and optimization of online web applications. However, it is costly in time and economy to collect large-scale labeled data in reality, i.e., the low-resource challenge. Meanwhile, data collected from different persons have distribution shifts due to different living habits, body shapes, age groups, etc. The low-resource and distribution shift challenges are detrimental to HAR when applying the trained model to new unseen subjects. In this paper, we propose a novel approach called Diverse and Discriminative representation Learning (DDLearn) for generalizable low-resource HAR. DDLearn simultaneously considers diversity and discrimination learning. With the constructed self-supervised learning task, DDLearn enlarges the data diversity and explores the latent activity properties. Then, we propose a diversity preservation module to preserve the diversity of learned features by enlarging the distribution divergence between the original and augmented domains. Meanwhile, DDLearn also enhances semantic discrimination by learning discriminative representations with supervised contrastive learning. Extensive experiments on three public HAR datasets demonstrate that our method significantly outperforms state-of-art methods by an average accuracy improvement of 9.5% under the low-resource distribution shift scenarios, while being a generic, explainable, and flexible framework. Code is available at: https://github.com/microsoft/robustlearn.

cs.CV