SearcharxivSearch

arXiv subjects

Xin Sheng

Publications and source records attributed to Xin Sheng.

6 recordsLinked to original sources

Beyond Variance: Prompt-Efficient RLVR via Rare-Event Amplification and Bidirectional Pairing

Reinforcement learning with verifiable rewards (RLVR) is effective for training large language models on deterministic outcome reasoning tasks. Prior work shows RLVR works with few prompts, but prompt selection is often based only on training-accuracy variance, leading to unstable optimization directions and weaker transfer. We revisit prompt selection from a mechanism-level view and argue that an effective minibatch should provide both (i) a reliable positive anchor and (ii) explicit negative learning signals from rare failures. Based on this principle, we propose \emph{positive--negative pairing}: at each update, we sample a hard-but-solvable $q^{+}$ and an easy-but-brittle prompt $q^{-}$(high success rate but not perfect), characterized by low and high empirical success rates under multiple rollouts. We further introduce Weighted GRPO, which reweights binary outcomes at the pair level and uses group-normalized advantages to amplify rare successes on $q^{+}$ into sharp positive guidance while turning rare failures on $q^{-}$ into strong negative penalties. This bidirectional signal provides informative learning feedback for both successes and failures, improving sample efficiency without suppressing exploration. On Qwen2.5-Math-7B, a single paired minibatch per update consistently outperforms a GRPO baseline that selects two prompts via commonly used variance-based selection heuristics: AIME~2025 Pass@8 improves from 16.8 to 22.2, and AMC23 Pass@64 from 94.0 to 97.0, while remaining competitive with large-scale RLVR trained from a pool of 1209 training prompts. Similar gains are observed on Qwen2.5-Math-7B-Instruct.

cs.LG

Vortex Dynamics in the Neutron Star Inner Crust

We study the superfluid vortex motion in the neutron star inner crust through direct three-dimensional simulations of the coupled dynamics of the vortex and the nuclear lattice. We demonstrate the pinning of an initially moving vortex to the lattice through excitation of lattice vibrations, and show that the efficiency of this process is higher for attractive than for repulsive nucleus-vortex interactions. We explore the unpinning of a vortex under the action of the applied Magnus force, and find that it is influenced by multiple parameters, including the sign of the pinning force, the lattice orientation, composition, temperature, and the energy of pinning to individual nucleus. In lattices with multiple grains, the unpinning transition is triggered inside the grains with weaker pinning, propagates along the vortex (mediated by the excited Kelvin waves) and crosses into grains with stronger pinning. This is likely to effectively decrease the critical force at which vortices unpin and to produce extended regions of unpinned vorticity. Shearing of the crust lattice (e.g., by a starquake) initiates the unpinning of the vortices that are crossing the slip plane. A close encounter of an unpinned vortex with a pinned vortex would cause the latter to unpin, perhaps initiating an unpinning avalanche of many vortices.

astro-ph.HE

A Segmentation-driven Editing Method for Bolt Defect Augmentation and Detection

Bolt defect detection is critical to ensure the safety of transmission lines. However, the scarcity of defect images and imbalanced data distributions significantly limit detection performance. To address this problem, we propose a segmentationdriven bolt defect editing method (SBDE) to augment the dataset. First, a bolt attribute segmentation model (Bolt-SAM) is proposed, which enhances the segmentation of complex bolt attributes through the CLAHE-FFT Adapter (CFA) and Multipart- Aware Mask Decoder (MAMD), generating high-quality masks for subsequent editing tasks. Second, a mask optimization module (MOD) is designed and integrated with the image inpainting model (LaMa) to construct the bolt defect attribute editing model (MOD-LaMa), which converts normal bolts into defective ones through attribute editing. Finally, an editing recovery augmentation (ERA) strategy is proposed to recover and put the edited defect bolts back into the original inspection scenes and expand the defect detection dataset. We constructed multiple bolt datasets and conducted extensive experiments. Experimental results demonstrate that the bolt defect images generated by SBDE significantly outperform state-of-the-art image editing models, and effectively improve the performance of bolt defect detection, which fully verifies the effectiveness and application potential of the proposed method. The code of the project is available at https://github.com/Jay-xyj/SBDE.

cs.CV

Dynamical Effects of Magnetic Opacity in Neutron Star Accretion Columns

We present relativistic, radiation magnetohydrodynamic simulations of supercritical neutron star accretion columns in Cartesian geometry, including temperature-dependent, polarization-averaged Rosseland mean opacities accounting for classical electron scattering in a magnetic field. Just as in our previous pure Thomson scattering simulations, vertical oscillations of the accretion shock and horizontally propagating entropy waves (photon bubbles) are present in all our simulations. However, at high magnetic fields $\gtrsim10^{12}$~G, the magnetic opacities produce significant differences in the overall structure and dynamics of the column. At fixed accretion rate, increasing the magnetic field strength results in a shorter accretion column, despite the fact that the overall opacity within the column is larger. Moreover, the vertical oscillation amplitude of the column is reduced. Increasing the accretion rate at high magnetic fields restores the height of the column. However, a new, slower instability takes place at these field strengths because they are in a regime where the opacity increases with temperature. This instability causes both the average height of the column and the oscillation amplitude to substantially increase on a time scale of $\sim10$~ms. We provide physical explanations for these results, and discuss their implications for the observed properties of these columns, including mixed fan-beam/pencil-beam emission patterns caused by the oscillations.

astro-ph.HE

Sequence-to-Action: Grammatical Error Correction with Action Guided Sequence Generation

The task of Grammatical Error Correction (GEC) has received remarkable attention with wide applications in Natural Language Processing (NLP) in recent years. While one of the key principles of GEC is to keep the correct parts unchanged and avoid over-correction, previous sequence-to-sequence (seq2seq) models generate results from scratch, which are not guaranteed to follow the original sentence structure and may suffer from the over-correction problem. In the meantime, the recently proposed sequence tagging models can overcome the over-correction problem by only generating edit operations, but are conditioned on human designed language-specific tagging labels. In this paper, we combine the pros and alleviate the cons of both models by proposing a novel Sequence-to-Action~(S2A) module. The S2A module jointly takes the source and target sentences as input, and is able to automatically generate a token-level action sequence before predicting each token, where each action is generated from three choices named SKIP, COPY and GENerate. Then the actions are fused with the basic seq2seq framework to provide final predictions. We conduct experiments on the benchmark datasets of both English and Chinese GEC tasks. Our model consistently outperforms the seq2seq baselines, while being able to significantly alleviate the over-correction problem as well as holding better generality and diversity in the generation results compared to the sequence tagging models.

cs.CL

Estimating the maximum gravitational mass of nonrotating neutron stars from the GW170817/GRB 170817A/AT2017gfo observation

Assuming that the differential rotation of the massive neutron star (NS) formed in the double NS (DNS) mergers has been effectively terminated by the magnetic braking and a uniform rotation has been subsequently established (i.e., a supramassive NS is formed), we analytically derive in this work an approximated expression for the critical total gravitational mass ($M_{\rm tot,c}$) to form supramassive NS (SMNS) in the DNS mergers, benefited from some equation of state (EoS) insensitive relationships. The maximum gravitational mass of the nonrotating NSs ($M_{\rm TOV}$) as well as the dimensionless angular momentum of the remnant ($j$) play the dominant roles in modifying $M_{\rm tot,c}$, while the radius and mass differences of the premerger NSs do not. The GW170817/GRB 170817A/AT2017gfo observations have provided so far the best opportunity to quantitatively evaluate $M_{\rm TOV}$. Supposing the central engine for GRB 170817A is a black hole quickly formed in the collapse of an SMNS, we find $M_{\rm TOV}=2.13^{+0.09}_{-0.08}M_\odot$ (68.3% credibility interval, including also the uncertainties of the EoS insensitive relationships), which is consistent with the constraints set by current NS mass measurements.

astro-ph.HE