Researcher profile

Hui Sun

Hui Sun contributes to research discovery and scholarly infrastructure.

ResearcherAffiliation not importedOpen to collaborate

Trust snapshot

Quick read

Trust 21 - EmergingVerification L1Unclaimed author
12works
0followers
17topics
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

12 published item(s)

preprint2026arXiv

Exploring Pass-Rate Reward in Reinforcement Learning for Code Generation

Reinforcement learning (RL) from unit-test feedback has become a standard post-training recipe for improving large language models (LLMs) on code generation. However, the pass-all-tests binary reward can be sparse, yielding no learning signal on challenging problems where none of the sampled solutions passes all tests. A common remedy is to use the test-case pass rate as a surrogate reward. In this work, we study pass-rate rewards in critic-free RL for code generation (e.g., GRPO and RLOO) and report a consistent pattern across base models and algorithms: despite alleviating reward sparsity, pass-rate rewards do not reliably improve final performance over binary rewards in rigorous controlled experiments. To understand this discrepancy, we analyze reward density and the resulting gradient directions. We find that pass-rate rewards are denser, but the induced gradient updates do not consistently move probability mass toward full-pass solutions. This arises because test-case pass rate is a miscalibrated surrogate for progress toward full correctness, and partial-pass solutions within the same group can induce conflicting gradient directions that cancel out. Overall, our results suggest that, in critic-free RL, pass-rate rewards are insufficient to improve code generation and motivate reward designs that better align optimization with the goal of full correctness.

preprint2022arXiv

Long-duration Gamma-ray Burst and Associated Kilonova Emission from Fast-spinning Black Hole--Neutron Star Mergers

Here we collect three unique bursts, GRBs\,060614, 211211A and 211227A, all characterized by a long-duration main emission (ME) phase and a rebrightening extended emission (EE) phase, to study their observed properties and the potential origin as neutron star-black hole (NSBH) mergers. NS-first-born (BH-first-born) NSBH mergers tend to contain fast-spinning (non-spinning) BHs that more easily (hardly) allow tidal disruption to happen with (without) forming electromagnetic signals. We find that NS-first-born NSBH mergers can well interpret the origins of these three GRBs, supported by that: (1) Their X-ray MEs and EEs show unambiguous fall-back accretion signatures, decreasing as $\propto{t}^{-5/3}$, which might account for their long duration. The EEs can result from the fall-back accretion of $r$-process heating materials, predicted to occur after NSBH mergers. (2) The beaming-corrected local event rate density for this type of merger-origin long-duration GRBs is $\mathcal{R}_0\sim2.4^{+2.3}_{-1.3}\,{\rm{Gpc}}^{-3}\,{\rm{yr}}^{-1}$, consistent with that of NS-first-born NSBH mergers. (3) Our detailed analysis on the EE, afterglow and kilonova of the recently high-impact event GRB\,211211A reveals it could be a merger between a $\sim1.23^{+0.06}_{-0.07}\,M_\odot$ NS and a $\sim8.21^{+0.77}_{-0.75}\,M_\odot$ BH with an aligned-spin of $χ_{\rm{BH}}\sim0.62^{+0.06}_{-0.07}$, supporting an NS-first-born NSBH formation channel. Long-duration burst with rebrightening fall-back accretion signature after ME, and bright kilonova might be commonly observed features for on-axis NSBHs. We estimate the multimessenger detection rate between gravitational waves, GRBs and kilonovae from NSBH mergers in O4 (O5) is $\sim0.1\,{\rm{yr}}^{-1}$ ($\sim1\,{\rm{yr}}^{-1}$).

preprint2022arXiv

Luminosity function and event rate density of XMM-Newton-selected supernova shock-breakout candidates

A dozen X-ray supernova shock breakout (SN SBO) candidates were reported recently based on XMM-Newton archival data, which increased the X-ray selected SN SBO sample by an order of magnitude. Assuming they are genuine SN SBOs, we study the luminosity function (LF) by improving upon the method used in our previous work. The light curves and the spectra of the candidates were used to derive the maximum volume within which these objects could be detected with XMM-Newton by simulation. The results show that the SN SBO LF can be described by either a broken power law (BPL) with indices (at the 68$\%$ confidence level) of $0.48 \pm 0.28$ and $2.11 \pm 1.27$ before and after the break luminosity at $\log (L_b/\rm erg\,s^{-1})=$ $45.32 \pm 0.55$ or a single power law (SPL) with index of $0.80 \pm 0.16$. The local event rate densities of SN SBOs above $5\times 10^{42}$ $\rm erg\,s^{-1}$ are consistent for two models, i.e., $4.6 ^{+1.7}_{-1.3} \times 10^4$ and $4.9 ^{+1.9}_{-1.4} \times 10^4$ $\rm Gpc^{-3}\,yr^{-1}$ for BPL and SPL models, respectively. The number of fast X-ray transients of SN SBO origin can be significantly increased by the wide-field X-ray telescopes such as the Einstein Probe.

preprint2022arXiv

Parameterized Colorings And Labellings Of Graphs In Topological Coding

The coming quantum computation is forcing us to reexamine the cryptosystems people use. We are applying graph colorings of topological coding to modern information security and future cryptography against supercomputer and quantum computer attacks in the near future. Many of techniques introduced here are associated with many mathematical conjecture and NP-problems. We will introduce a group of W-constraint (k,d)-total colorings and algorithms for realizing these colorings in some kinds of graphs, which are used to make quickly public-keys and private-keys with anti-quantum computing, these (k,d)-total colorings are: graceful (k,d)-total colorings, harmonious (k,d)-total colorings, (k,d)-edge-magic total colorings, (k,d)-graceful-difference total colorings and (k,d)-felicitous-difference total colorings. One of useful tools we used is called Topcode-matrix with elements can be all sorts of things, for example, sets, graphs, number-based strings. Most of parameterized graphic colorings/labelings are defined by Topcode-matrix algebra here. From the application point of view, many of our coloring techniques are given by algorithms and easily converted into programs.

preprint2022arXiv

Probing the progenitor of high-$z$ short-duration GRB 201221D and its possible bulk acceleration in prompt emission

The growing observed evidence shows that the long- and short-duration gamma-ray bursts (GRBs) originate from massive star core-collapse and the merger of compact stars, respectively. GRB 201221D is a short-duration GRB lasting $\sim 0.1$ s without extended emission (EE) at high redshift $z=1.046$. By analyzing data observed with the Swift/BAT and Fermi/GBM, we find that a cutoff power-law model can adequately fit the spectrum with a soft $E_{\rm p}=113^{+9}_{-7}$ keV, and isotropic energy $E_{γ,iso} =1.36^{+0.17}_{-0.14}\times 10^{51}~\rm erg$. In order to reveal the possible physical origin of GRB 201221D, we adopted multi-wavelength criteria (e.g., Amati relation, $\varepsilon$-parameter, amplitude parameter, local event rate density, luminosity function, and properties of the host galaxy), and find that most of the observations of GRB 201221D favor a compact star merger origin. Moreover, we find that $\hatα$ is larger than $2+\hatβ$ in the prompt emission phase which suggests that the emission region is possibly undergoing acceleration during the prompt emission phase with a Poynting-flux-dominated jet.

preprint2022arXiv

Rigorous criteria for anomalous waves induced by abrupt depth change using truncated KdV statistical mechanics

The truncated Korteweg-De Vries (TKdV) system, a shallow-water wave model with Hamiltonian structure that exhibits weakly turbulent dynamics, has been found to accurately predict the anomalous wave statistics observed in recent laboratory experiments. Majda et al. (2019) developed a TKdV statistical mechanics framework based on a mixed Gibbs measure that is supported on a surface of fixed energy (microcanonical) and takes the usual macroconical form in the Hamiltonian. This paper reports two rigorous results regarding the surface-displacement distributions implied by this ensemble, both in the limit of the cutoff wavenumber $Λ$ growing large. First, we prove that if the inverse temperature vanishes, microstate statistics converge to Gaussian as $Λ\to \infty$. Second, we prove that if nonlinearity is absent and the inverse-temperature satisfies a certain physically-motivated scaling law, then microstate statistics converge to Gaussian as $Λ\to \infty$. When the scaling law is not satisfied, simple numerical examples demonstrate symmetric, yet highly non-Gaussian, displacement statistics to emerge in the linear system, illustrating that nonlinearity is not a strict requirement for non-normality in the fixed-energy ensemble. The new results, taken together, imply necessary conditions for the anomalous wave statistics observed in previous numerical studies. In particular, non-vanishing inverse temperature and either the presence of nonlinearity or the violation of the scaling law are required for displacement statistics to deviate from Gaussian. The proof of this second theorem involves the construction of an approximating measure, which we find also elucidates the peculiar spectral decay observed in numerical studies and may open the door for improved sampling algorithms.

preprint2022arXiv

Thermalization dynamics of a gauge theory on a quantum simulator

Gauge theories form the foundation of modern physics, with applications ranging from elementary particle physics and early-universe cosmology to condensed matter systems. We perform quantum simulations of the unitary dynamics of a U(1) symmetric gauge field theory and demonstrate emergent irreversible behavior. The highly constrained gauge theory dynamics is encoded in a one-dimensional Bose--Hubbard simulator, which couples fermionic matter fields through dynamical gauge fields. We investigate global quantum quenches and the equilibration to a steady state well approximated by a thermal ensemble. Our work may enable the investigation of elusive phenomena, such as Schwinger pair production and string-breaking, and paves the way for simulating more complex higher-dimensional gauge theories on quantum synthetic matter devices.

preprint2022arXiv

Thermodynamic modeling with uncertainty quantification in the Nb-Ni system using the upgraded PyCalphad and ESPEI

The Nb-Ni system has been remodeled with uncertainty quantification (UQ) by using the presently upgraded software tools of PyCalphad and ESPEI that contain the new capability to model site occupancy of Wyckoff position for the phases of interest. Specifically, the five- and three-sublattice models are used to model the topologically close pack (TCP) phases of μ-Nb7Ni6 and δ-NbNi3, respectively, according to exactly their Wyckoff positions; where the inputs for CALPHAD-based modeling include the presently predicted thermochemical data as a function of temperature by density functional theory (DFT) based first-principles and phonon calculations together with both phase equilibrium and site occupancy data in the literature. Besides phase diagram and thermodynamic properties, the present CALPHAD predictions of site occupancies are also agreed well with experimental data such as the measured Nb sites in μ-Nb7Ni6. In addition, the predicted UQ values using the Markov Chain Monte Carlo (MCMC) method as implemented in ESPEI make it possible to quantify uncertainties in the Nb-Ni system, such as site occupancies in μ-Nb7Ni6 and enthalpy of mixing in liquid.

preprint2021arXiv

Generative deep learning as a tool for inverse design of high-entropy refractory alloys

Generative deep learning is powering a wave of new innovations in materials design. In this article, we discuss the basic operating principles of these methods and their advantages over rational design through the lens of a case study on refractory high-entropy alloys for ultra-high-temperature applications. We present our computational infrastructure and workflow for the inverse design of new alloys powered by these methods. Our preliminary results show that generative models can learn complex relationships in order to generate novelty on demand, making them a valuable tool for materials informatics.

preprint2020arXiv

Cooling and entangling ultracold atoms in optical lattices

Scalable, coherent many-body systems can enable the realization of previously unexplored quantum phases and have the potential to exponentially speed up information processing. Thermal fluctuations are negligible and quantum effects govern the behavior of such systems with extremely low temperature. We report the cooling of a quantum simulator with 10,000 atoms and mass production of high-fidelity entangled pairs. In a two-dimensional plane, we cool Mott insulator samples by immersing them into removable superfluid reservoirs, achieving an entropy per particle of $1.9^{+1.7}_{-0.4} \times 10^{-3} k_{\text{B}}$. The atoms are then rearranged into a two-dimensional lattice free of defects. We further demonstrate a two-qubit gate with a fidelity of 0.993 $\pm$ 0.001 for entangling 1250 atom pairs. Our results offer a setting for exploring low-energy many-body phases and may enable the creation of large-scale entanglement

preprint2020arXiv

Following up the afterglow: strategy for X-ray observation triggered by gravitational wave events

The multi-messenger observation of compact binary coalescence promises great scientific treasure. However, a synthetic observation from both gravitational wave and electromagnetic channels remains challenging. Relying on the day-to-week long macronova emission, GW170817 remains the only event with successful electromagnetic followup. In this manuscript, we explore the possibility of using the early stage X-ray afterglow to search for the electromagnetic counterpart of gravitational wave events. Two algorithms, the sequential observation and the local optimization are considered and applied to three simulated events. We consider the proposed Einstein probe as a candidate X-ray telescope. Benefiting from the large field of view and high sensitivity, we find that the sequential observation algorithm not only is easy to implement, but also promises a good chance of actual detection.

preprint2020arXiv

Ice-Flower Systems And Star-graphic Lattices

Lattice theory has been believed to resist classical computers and quantum computers. Since there are connections between traditional lattices and graphic lattices, it is meaningful to research graphic lattices. We define the so-called ice-flower systems by our uncolored or colored leaf-splitting and leaf-coinciding operations. These ice-flower systems enable us to construct several star-graphic lattices. We use our star-graphic lattices to express some well-known results of graph theory and compute the number of elements of a particular star-graphic lattice. For more researching ice-flower systems and star-graphic lattices we propose Decomposition Number String Problem, finding strongly colored uniform ice-flower systems and connecting our star-graphic lattices with traditional lattices.