arXiv ScienceSearch

arXiv subjects

Fei Xie

Publications and source records attributed to Fei Xie.

At least 19 recordsLinked to original sources

From Reading Code to Reading Spec: A Verified Layer for LLM-Driven Codebase Maintenance

The rapid growth of LLM-generated code increases software complexity and the maintenance burden on engineers. While LLMs offer a potential automated alternative, this structural complexity hinders their ability to manage codebases directly. We introduce the Provable Representation Of Original Functionality (PROOF), which manages codebases indirectly via structured specifications. To enable full-lifecycle codebase management strictly through these specifications, PROOF abstracts codebase topology into a hierarchical natural-language representation. To establish absolute trust, the system proves semantic equivalence by reconstructing source code exclusively from this specification. This verified foundation drives maintenance requests, executing code modifications while synchronously updating itself to prevent semantic drift. Experiments on real-world repositories confirm the effectiveness of these specifications.

cs.SE

X-ray Polarization of Inverse Compton Scattering by Thermal and Nonthermal Electrons

X-ray emission from accretion-powered astrophysical systems is widely interpreted as inverse Compton (IC) scattering between energetic electrons and soft photons. Besides the emitted intensity, the polarization of this radiation provides important information about the physical properties of the electrons involved. We investigate how different electron populations shape both the spectrum and polarization of IC emission in the X-ray band. We consider three electron populations: purely thermal, purely nonthermal power-law, and a hybrid population combining both components. We take both numerical simulations and semi-analytic calculations. We first attempt the cases for thermal and nonthermal electrons, respectively. We then focus on the hybrid population, which is expected to be realistic in high-energy object environments. For the case of hybrid electrons, the scattered emission separates into three energy regimes. At low energies ($\lesssim 0.1$ keV), it is dominated by thermal electrons; at high energies ($\gtrsim 4$ keV), it is governed by the nonthermal component. Between these limits, a transition band ($\sim 0.1$-$4$ keV) appears in which both components contribute. The degree of polarization varies smoothly across these regimes, and the behavior in the transition band directly traces the relative importance of thermal and nonthermal electrons. We further show that for partially polarized seed photons, the scattered polarization scales linearly with the incident polarization while its frequency dependence remains unchanged. These results show that X-ray polarimetry provides a powerful diagnostic of the electron energy distribution in accretion-powered systems.

astro-ph.HE

The First X-Ray Polarimetry of the Typical Accretion Disk Corona Source 4U 1822-37

We report the first Imaging X-ray Polarimetry Explorer (IXPE) observations of the typical accretion disk corona (ADC) source 4U 1822-37, covering 44 orbital cycles, together with simultaneous Swift-XRT data. The polarization degree (PD) of this source is found to be higher than typical low-mass X-ray binary (LMXB) values and exhibits a significant energy dependence. Within the 2--5~keV and 5--8~keV bands, PD remains constant, with average values of \(5.6\pm0.8\%\) and \(11.6\pm1.7\%\), respectively, and the difference is significant (\(>3\sigma\)). Orbital phase-resolved analysis reveals that during the companion eclipse, the PD in the 2--5~keV band drops from a significantly non-zero value to a level consistent with zero, while the polarization angle (PA) remains unchanged. In contrast, the PD in the 5--8~keV band shows a marginal rising trend, reaching \(21.3\pm6.1\%\), and the PA exhibits a periodic rotation of \(30^\circ\) before the eclipse. In addition, the PA rotates by \(40^\circ\) with increasing neutral absorption on a three-day timescale. These results suggest that the soft and hard emission in the 2--8~keV band may originate from regions with different spatial distributions, with the high PD implying a scattering contribution. The PA rotation is likely linked to scattering geometry asymmetries caused by a bulge or clumps.

astro-ph.HE

Peering through the dip: IXPE unveils the extended scattering environment of GX 13+1

Neutron star low-mass X-ray binaries feature complex accretion geometries, often including an accretion disk corona or disk winds. Here, a study of the highly inclined dipping source GX 13+1, using coordinated observations from the IXPE, NuSTAR, and Swift-XRT, is presented; this is the first time that such a campaign was conducted to monitor its periodic dip. Our analysis reveals significant variations in polarimetric properties tracking the dip. At the center of the dip, the polarization degree reaches a maximum of ${\sim}$9% (at more than $8\sigma$ confidence level). This is accompanied by a highly significant polarization angle rotation of roughly 60$^\circ$ when passing from the dip to the subsequent off-dip state. Furthermore, the dip state exhibits energy-dependent polarization. By modeling the polarization during the periodic dip, we constrain the geometry of the scattering medium. In the scenario of an oblate extended accretion disk corona (ADC), an equatorial radius at least 1.5 times its polar radius is needed with $\tau{\sim}0.3$. Alternatively, the results can be modeled as scattering in a disk wind with a most probable electron density of $1.3\times10^{14}$ cm$^{-3}$ and an opening angle near 40$^\circ$, corresponding to an optical depth of ${\sim}0.2$. The obtained results highlight the crucial role of X-ray polarimetric data to unveil the geometry of the extended scattering environment surrounding the accretion disks, advancing our understanding of neutron star low-mass X-ray binaries.

astro-ph.HE

Unchanged X-Ray Polarization During Accretion Dips in the Low Hard State of Cygnus X-1

Cygnus X-1 serves as a foundational benchmark for studying accretion mechanisms in stellar-mass black hole X-ray binaries. While traditional X-ray timing and spectroscopy have mapped its bimodal state transitions, constraining the exact geometric configuration of its accreting plasma requires additional tools. In this letter, we present a joint spectro-polarimetric analysis of Cygnus X-1 during flux-decrease events, or ``dips'', observed in its low hard state using simultaneous data from IXPE, NICER, and NuSTAR. The broadband spectral model reveals that the energy-dependent flux reduction during these dips is best described by a partial-covering absorption model, heavily impacting the softer energy bands. This absorption is consistent with obscuration by dense, cold clumps originating from the companion's stellar wind or the outer accretion disk during superior conjunction. Notably, our polarimetric analysis demonstrates that despite significant flux drops, the polarization degree and polarization angle in the 2-8 keV band remain largely consistent between dip and off-dip intervals. The stability of the polarization signature during these highly absorbed periods indicates that the obscured thermal disk emission does not significantly contribute to the total polarization. Ultimately, these results strongly support a scenario where the X-ray polarization originates from an extended, likely oblate, accretion-disk corona whose large scale renders its overall geometry unaffected by localized clumping.

astro-ph.HE

Algebraic Invariant Quadratization Schemes for Cahn--Hilliard Equations

In this paper, we propose the Algebraic Invariant Quadratization (AIQ) framework for rational-like energy functions by introducing auxiliary variables, which are interpreted as Casimir functions of the extended system. Combining AIQ with symplectic Runge--Kutta (SRK) methods in time and Fourier pseudo-spectral discretization in space, we obtain fully discrete schemes. The resulting schemes are applied to Cahn--Hilliard equations in both the isotropic and anisotropic cases. We analyze the discrete dispersion relation, spinodal instability, coarsening behavior, and missing-orientation phenomena. Numerical comparisons demonstrate the improved performance superiority of the proposed method over the stabilized invariant energy quadratization (S-IEQ) and scalar auxiliary variable (SAV) methods in preserving the original energy evolution and capturing the underlying physical phenomena.

math.NA

Kes 75 with IXPE: Detection of Nebular X-ray Polarization and Change in Pulsar Lightcurve

We present the first X-ray polarization measurements of the PSR/PWN complex within SNR Kes 75. Two $\rm {\sim}\,500\,ks$ IXPE observations were conducted in October/November 2024 and April 2025. The second observation yields a significant phase-average 2-8 keV polarization degree $\rm PD = 9.9\% \pm 2.5\%$ at $\rm PA=36.8^\circ \pm 7.3^\circ$, implying a toroidal field aligned with the PWN symmetry axis. The first epoch, however, has only a polarization upper limit. During this epoch, an additional pulsed component is visible at $\Delta \phi \approx 0.5$, detected at ${\sim}\,3.7\sigma$. An unbinned phase-resolved analysis reveals a high-PD rotating vector model PA sweep at the ${\sim}\,99.5\%$ confidence level, with angles fixed at those inferred from the PWN morphology; this can explain the loss of phase-average polarization. Additional observations are needed to pin down the nature of the anomalous pulse.

astro-ph.HE

MeV Gamma-Ray Lines from Radioactive Nuclei in Magnetar Giant Flares

The rapid neutron-capture process (r-process) is widely regarded as the dominant mechanism responsible for the synthesis of heavy elements in the universe, yet its astrophysical sites remain an open question. Recent studies suggest that the high-entropy, rapidly expanding baryonic material ejected by magnetar giant flares may provide favorable conditions for r-process nucleosynthesis, while the late-time gamma-ray emission observed from the magnetar SGR 1806-20 offers direct observational support for this scenario. In this work, we perform nuclear reaction network simulations to investigate the nucleosynthesis yields of magnetar giant flares and to characterize the associated nuclear gamma-ray line emission arising from the radioactive decay of heavy nuclei. The nuclei synthesized in magnetar giant flares are found to be mainly distributed near the first and second r-process abundance peaks. Owing to this nuclide composition, the gamma-ray opacity is found to be strongly energy-dependent with the opacity in the keV band exceeding that in the MeV band by approximately three orders of magnitude. The nuclear gamma-ray emission is dominated by MeV photons at early times and gradually extends toward the sub-MeV and keV bands as time progresses, thereby offering a diagnostic of heavy element enrichment in the ejecta. The gamma-ray spectrum exhibits a peak near 1 MeV with major contributions from $^{88}$Kr and $^{92}$Sr, whose radioactive decays produce several bright gamma-ray lines with fluxes exceeding $\sim10^{-8}$ erg cm$^{-2}$ s$^{-1}$, making them the most promising lines for detection by MeV gamma-ray detectors. Because magnetar giant flares occur in the Galaxy at a rate roughly three orders of magnitude higher than neutron star mergers and their gamma-ray lines are accessible to current MeV instruments, they offer new and valuable science opportunities for MeV gamma-ray astronomy.

astro-ph.HE

Energy stable auxiliary variable method for Cahn--Hilliard equations

In this paper, we propose a quadratic reformulation theory for rational-like functions. Based on this theory, we develop the Quadratic Conservation Elevation (QCE) method, which combines the Scalar Auxiliary Variable (SAV) method with the implicit midpoint rule. We apply this approach to the Cahn-Hilliard (CH) equation with rational-like free-energy terms, obtaining numerical discretizations that preserve the original energy dissipation law. We further derive the discrete dispersion relation and coarsening dynamics, confirming the efficiency and consistency of the method with the continuous counterpart. In addition, we use the proposed method to capture missing orientations for different anisotropic functions. Numerical simulations with various initial conditions illustrate phase separation and anisotropic evolution.

math.NA

Design and preliminary performance study of the broad-band spectrometer detector for POLAR-2

POLAR-2, the successor of the POLAR experiment aboard China's Tiangong-2 space lab, is set to be deployed on the China Space Station. The POLAR-2 mission aims to conducting high-precision polarization measurements of high-energy transients with a primary focus on Gamma-Ray Bursts (GRBs), following POLAR's pioneering accurate polarization measurements of GRB prompt emission. One of the key advancements in POLAR-2 is the inclusion of a dedicated Broad-band Spectrometer Detector (BSD) instrument, designed to provide precise measurements of GRB location and spectral parameters, which are critical inputs for accurate polarization analysis of POLAR-2's dedicated High-energy Polarimetry Detector (HPD), which is made of plastic scintillator bars array. BSD employs a coded-aperture mask imaging technique and pixelated GAGG scintillation crystals, offering a wide half-coded field of view of ~132{\deg} x 125{\deg} and an operational energy range of 10-1000 keV. Simulation results indicate that the instrument can achieve a localization accuracy of approximately 1.5{\deg} for faint GRBs similar to GRB 170817A, satisfying the core requirements of GRB polarimetry with HPD. BSD also has moderate capability for GRB polarimetry, particularly at several hundred keV energy. This paper outlines the preliminary design of BSD and presents an overall evaluation of its expected scientific performance, based on extensive Monte Carlo simulations and preliminary ground-based calibration tests.

astro-ph.IM

A Regime Shift in Atlantic Surface Currents Reveals a Step-like Decline of the Meridional Overturning Circulation

The Atlantic surface currents associated with the Atlantic Meridional Overturning Circulation (AMOC) play a central role in regulating Earth's climate, yet their large scale dynamical response to climate variability remains poorly understood. Here we identify a previously unrecognized basin scale phase of Atlantic surface circulation, termed the Atlantic Convergence Divergence Mode (ACDM), characterized by a convergence divergence pattern in the North Atlantic and coherent meridional flows in the South Atlantic. We show that the ACDM experienced a pronounced regime shift in 2009, marked by weakened vertical water exchange and reduced meridional transport. This transition closely coincides with direct RAPID MOCHA AMOC observations and is driven by AMOC modulated multicale forcing: a low frequency oceanic thermal reorganization that preconditions the system, and episodic atmospheric shocks that trigger the shift. By identifying the ACDM variability as a sensitive and physically grounded proxy for interannual AMOC fluctuations, we reveal that the observed 2009 shift signifies a nonlinear, step like weakening of AMOC that triggered a fundamental basin scale reorganization of Atlantic surface currents. Our results offer a dynamical explanation for the AMOC's recent decline and demonstrate its inherently nonlinear nature, highlighting the need to account for step like transitions in assessing its stability and future evolution.

physics.ao-ph

DirectFisheye-GS: Enabling Native Fisheye Input in Gaussian Splatting with Cross-View Joint Optimization

3D Gaussian Splatting (3DGS) has enabled efficient 3D scene reconstruction from everyday images with real-time, high-fidelity rendering, greatly advancing VR/AR applications. Fisheye cameras, with their wider field of view (FOV), promise high-quality reconstructions from fewer inputs and have recently attracted much attention. However, since 3DGS relies on rasterization, most subsequent works involving fisheye camera inputs first undistort images before training, which introduces two problems: 1) Black borders at image edges cause information loss and negate the fisheye's large FOV advantage; 2) Undistortion's stretch-and-interpolate resampling spreads each pixel's value over a larger area, diluting detail density -- causes 3DGS overfitting these low-frequency zones, producing blur and floating artifacts. In this work, we integrate fisheye camera model into the original 3DGS framework, enabling native fisheye image input for training without preprocessing. Despite correct modeling, we observed that the reconstructed scenes still exhibit floaters at image edges: Distortion increases toward the periphery, and 3DGS's original per-iteration random-selecting-view optimization ignores the cross-view correlations of a Gaussian, leading to extreme shapes (e.g., oversized or elongated) that degrade reconstruction quality. To address this, we introduce a feature-overlap-driven cross-view joint optimization strategy that establishes consistent geometric and photometric constraints across views-a technique equally applicable to existing pinhole-camera-based pipelines. Our DirectFisheye-GS matches or surpasses state-of-the-art performance on public datasets. Project Page: https://yzxqh.github.io/DirectFisheye-GS/ .

cs.CV

IXPE view of the Crab pulsar following the 17 July and 6 August 2025 glitches

The Crab pulsar experienced two relatively small glitches separated by only 20 days in September and October 2025. IXPE observed the source twice, with delay times since the glitch epoch ranging between 35 and 75 days, depending on the observation. We carried out a multi-method analysis to investigate whether there is evidence for significant changes in the polarization properties of the pulsar, underlying possible variations in the pulsar magnetosphere itself following the glitches. Specifically, we performed: (1) phase-averaged polarimetry of the Crab pulsar before and after the glitches, following an approach similar to that adopted in 2019 by PolarLight, a non-imaging CubeSat-class photoelectric polarimeter which observed a change in the X-ray polarization within 100 days after a stronger glitch in July 2019; (2) a comparison, before and after the glitch, of phase-resolved X-ray polarimetry with IXPE, not possible with PolarLight. Furthermore, we investigated, by means of phase-resolved optical (OPTIMA) polarimetry, whether a significant change in the X-to-optical lag was present in the data before and after the glitch. We find no evidence of a change in the polarization for the pulsar emission before and after the glitch, We use the upper limits obtained to estimate the maximum change in magnetic obliquity allowed by the data, using the standard rotating vector model and assuming that the glitch is due to a neutron-star quake. We constrain this maximum change to be no greater than $\pm4^{o}$ at the 95\% confidence level.

astro-ph.HE

X-Ray Polarization Study of Pulsar Wind Nebulae with eXTP: Simulation Results and Scientific Prospects

X-ray polarization observations of pulsar wind nebulae (PWNe) provide crucial insights into magnetic field structures and particle acceleration mechanisms. While the Imaging X-ray Polarimetry Explorer (IXPE) has made significant contributions to PWN studies, its limited effective area restricts observations to only the brightest sources, leaving many fainter nebulae unexplored. We evaluate the polarization capabilities of the enhanced X-ray Timing and Polarimetry mission (eXTP) for studying PWNe and establish a methodology for simulating eXTP Polarimetry Focusing Array (PFA) observations using modified IXPEOBSSIM. We develop and validate a simulation framework with appropriate response functions and instrumental background models, conducting comprehensive simulations of twelve PWNe selected from the SNRcat catalogue across various evolutionary stages and brightness levels. Our simulations demonstrate that eXTP provides approximately a factor of 2 improvement in minimum detectable polarization at the 99\% confidence level (MDP$_{99}$) compared to IXPE. For the brightest targets (N157B, G54.1+0.3, and Mouse), 1 Ms observations achieve MDP$_{99}$ values of 4-5\%. The area with significant polarization detection for extended sources like Vela PWN is nearly twice as large as achievable with IXPE. These enhanced capabilities will significantly expand the sample of PWNe with robust X-ray polarization measurements, enabling systematic studies of magnetic field structures, particle acceleration mechanisms, and PWN-environment interactions across different evolutionary phases.

astro-ph.HE

An LLM-Enabled Frequency-Aware Flow Diffusion Model for Natural-Language-Guided Power System Scenario Generation

Diverse and controllable scenario generation (e.g., wind, solar, load, etc.) is critical for robust power system planning and operation. As AI-based scenario generation methods are becoming the mainstream, existing methods (e.g., Conditional Generative Adversarial Nets) mainly rely on a fixed-length numerical conditioning vector to control the generation results, facing challenges in user conveniency and generation flexibility. In this paper, a natural-language-guided scenario generation framework, named LLM-enabled Frequency-aware Flow Diffusion (LFFD), is proposed to enable users to generate desired scenarios using plain human language. First, a pretrained LLM module is introduced to convert generation requests described by unstructured natural languages into ordered semantic space. Second, instead of using standard diffusion models, a flow diffusion model employing a rectified flow matching objective is introduced to achieve efficient and high-quality scenario generation, taking the LLM output as the model input. During the model training process, a frequency-aware multi-objective optimization algorithm is introduced to mitigate the frequency-bias issue. Meanwhile, a dual-agent framework is designed to create text-scenario training sample pairs as well as to standardize semantic evaluation. Experiments based on large-scale photovoltaic and load datasets demonstrate the effectiveness of the proposed method.

eess.SP

Magnetic-field Order in the Southwestern Rim of RCW 86 Constrained Using X-Ray Polarimetry

RCW 86 is a supernova remnant whose origin has recently been linked to an off-center explosion within a cavity created by its progenitor star. In the southwestern region, the forward shock is thought to have reached the cavity wall, encountering diverse environmental conditions. We report on the spatially resolved X-ray polarimetric observation of RCW 86 with the Imaging X-ray Polarimetry Explorer (IXPE). In the 2--4.5 keV energy band we find no significant detection of polarization. Employing a dedicated background subtraction procedure and Bayesian spectropolarimetric fitting, we derive 99% upper limits on the polarization degree of the synchrotron component: 15% in higher-statistics regions and 30%--40% in lower-statistics regions. These upper limits on the polarization degree in several regions exclude the possibility of a strongly coherent magnetic field down to the subparsec scale, and that of a moderately coherent one on the scale of the synchrotron features as resolved by IXPE. The results indicate that the shocks in the southwestern rim of RCW 86 propagate more slowly than the unshocked ejecta at their locations, yet exceed the measured proper motion speeds. This behavior is consistent with reflected shocks occurring in tenuous regions of the shocked ejecta, distinct from regions that are radio-bright.

astro-ph.HE

AutoFly: Vision-Language-Action Model for UAV Autonomous Navigation in the Wild

Vision-language navigation (VLN) requires intelligent agents to navigate environments by interpreting linguistic instructions alongside visual observations, serving as a cornerstone task in Embodied AI. Current VLN research for unmanned aerial vehicles (UAVs) relies on detailed, pre-specified instructions to guide the UAV along predetermined routes. However, real-world outdoor exploration typically occurs in unknown environments where detailed navigation instructions are unavailable. Instead, only coarse-grained positional or directional guidance can be provided, requiring UAVs to autonomously navigate through continuous planning and obstacle avoidance. To bridge this gap, we propose AutoFly, an end-to-end Vision-Language-Action (VLA) model for autonomous UAV navigation. AutoFly incorporates a pseudo-depth encoder that derives depth-aware features from RGB inputs to enhance spatial reasoning, coupled with a progressive two-stage training strategy that effectively aligns visual, depth, and linguistic representations with action policies. Moreover, existing VLN datasets have fundamental limitations for real-world autonomous navigation, stemming from their heavy reliance on explicit instruction-following over autonomous decision-making and insufficient real-world data. To address these issues, we construct a novel autonomous navigation dataset that shifts the paradigm from instruction-following to autonomous behavior modeling through: (1) trajectory collection emphasizing continuous obstacle avoidance, autonomous planning, and recognition workflows; (2) comprehensive real-world data integration. Experimental results demonstrate that AutoFly achieves a 3.9% higher success rate compared to state-of-the-art VLA baselines, with consistent performance across simulated and real environments.

cs.RO

ALPBench: A Benchmark for Attribution-level Long-term Personal Behavior Understanding

Recent advances in large language models have highlighted their potential for personalized recommendation, where accurately capturing user preferences remains a key challenge. Leveraging their strong reasoning and generalization capabilities, LLMs offer new opportunities for modeling long-term user behavior. To systematically evaluate this, we introduce ALPBench, a Benchmark for Attribution-level Long-term Personal Behavior Understanding. Unlike item-focused benchmarks, ALPBench predicts user-interested attribute combinations, enabling ground-truth evaluation even for newly introduced items. It models preferences from long-term historical behaviors rather than users' explicitly expressed requests, better reflecting enduring interests. User histories are represented as natural language sequences, allowing interpretable, reasoning-based personalization. ALPBench enables fine-grained evaluation of personalization by focusing on the prediction of attribute combinations task that remains highly challenging for current LLMs due to the need to capture complex interactions among multiple attributes and reason over long-term user behavior sequences.

cs.IR