Source author record

Ping He

Ping He appears in the imported research catalog. Authorship, coauthor and topic links are available while profile ownership is still unclaimed.

ResearcherUnclaimed source record

Catalog footprint

What is connected

19works
19topics
4close collaborators

Actions

Connect this record

Log in to claim

Research graph

See the researcher in context

Open full explorer

Inspect adjacent papers, topics, institutions and collaborators without losing the researcher page.

Building this map preview

BZPEER is loading the nearby papers, people, topics and institutions for this page.

Published work

19 published item(s)

preprint2026arXiv

HogVul: Black-box Adversarial Code Generation Framework Against LM-based Vulnerability Detectors

Recent advances in software vulnerability detection have been driven by Language Model (LM)-based approaches. However, these models remain vulnerable to adversarial attacks that exploit lexical and syntax perturbations, allowing critical flaws to evade detection. Existing black-box attacks on LM-based vulnerability detectors primarily rely on isolated perturbation strategies, limiting their ability to efficiently explore the adversarial code space for optimal perturbations. To bridge this gap, we propose HogVul, a black-box adversarial code generation framework that integrates both lexical and syntax perturbations under a unified dual-channel optimization strategy driven by Particle Swarm Optimization (PSO). By systematically coordinating two-level perturbations, HogVul effectively expands the search space for adversarial examples, enhancing the attack efficacy. Extensive experiments on four benchmark datasets demonstrate that HogVul achieves an average attack success rate improvement of 26.05\% over state-of-the-art baseline methods. These findings highlight the potential of hybrid optimization strategies in exposing model vulnerabilities.

preprint2026arXiv

Min Generalized Sliced Gromov Wasserstein: A Scalable Path to Gromov Wasserstein

We propose min Generalized Sliced Gromov--Wasserstein (min-GSGW), a sliced formulation for the Gromov--Wasserstein (GW) problem using expressive generalized slicers. The key idea is to learn coupled nonlinear slicers that assign compatible push-forward values to both input measures, so that monotone coupling in the projected domain lifts to a transport plan evaluated against the GW objective in the original spaces. The resulting plan induces a GW objective value, and min-GSGW minimizes this cost directly in the original spaces. We further show that min-GSGW is rigid-motion invariant, a crucial property for geometric matching and shape analysis tasks. Our contributions are threefold: 1) we introduce generalized slicers into the sliced GW framework, 2) we construct a slicing-based efficient GW transport plan; and 3) we develop an amortized variant that replaces per-instance optimization with a learned slicer for unseen input pairs. We perform experiments on animal mesh matching, horse mesh interpolation, and ShapeNet part transfer. Results show that min-GSGW produces meaningful geometric correspondences and GW objective values at substantially lower computational cost than existing GW solvers.

preprint2022arXiv

Continuous wavelet analysis of matter clustering using the Gaussian-derived wavelet

Continuous wavelet analysis has been increasingly employed in various fields of science and engineering due to its remarkable ability to maintain optimal resolution in both space and scale. Here, we introduce wavelet-based statistics, including the wavelet power spectrum, wavelet cross-correlation and wavelet bicoherence, to analyze the large-scale clustering of matter. For this purpose, we perform wavelet transforms on the density distribution obtained from the one-dimensional Zel'dovich approximation and then measure the wavelet power spectra and wavelet bicoherences of this density distribution. Our results suggest that the wavelet power spectrum and wavelet bicoherence can identify the effects of local environments on the clustering at different scales. Moreover, we apply the statistics based on the three-dimensional isotropic wavelet to the IllustrisTNG simulation at z = 0, and investigate the environmental dependence of the matter clustering. We find that the clustering strength of the total matter increases with increasing local density except on the largest scales. Besides, we notice that the gas traces the dark matter better than stars on large scales in all environments. On small scales, the cross-correlation between the dark matter and gas first decreases and then increases with increasing density. This is related to the impacts of the AGN feedback on the matter distribution, which also varies with the density environment in a similar trend to the cross-correlation between the dark matter and gas. Our findings are qualitatively consistent with previous studies about the matter clustering.

preprint2022arXiv

Lorentz Symmetry Violation of Cosmic Photons

As a basic symmetry of space-time, Lorentz symmetry has played important roles in various fields of physics, and it is a glamorous question whether Lorentz symmetry breaks. Since Einstein proposed special relativity, Lorentz symmetry has withstood very strict tests, but there are still motivations for Lorentz symmetry violation (LV) research from both theoretical consideration and experimental feasibility, that attract physicists to work on LV theories, phenomena and experimental tests with enthusiasm. There are many theoretical models including LV effects, and different theoretical models predict different LV phenomena, from which we can verify or constrain LV effects. Here, we introduce three types of LV theories: quantum gravity theory, space-time structure theory and effective field theory with extra-terms. Limited by the energy of particles, the experimental tests of LV are very difficult; however, due to the high energy and long propagation distance, high-energy particles from astronomical sources can be used for LV phenomenological researches. Especially with cosmic photons, various astronomical observations provide rich data from which one can obtain various constraints for LV researches. Here, we review four common astronomical phenomena which are ideal for LV studies, together with current constraints on LV effects of photons.

preprint2022arXiv

Simultaneous Dependence of Matter Clustering on Scale and Environment

In this work, we propose new statistical tools that are capable of characterizing the simultaneous dependence of dark matter and gas clustering on the scale and the density environment, and these are the environment-dependent wavelet power spectrum (env-WPS), the environment-dependent bias function (env-bias), and the environment-dependent wavelet cross-correlation function (env-WCC). These statistics are applied to the dark matter and baryonic gas density fields of the \texttt{TNG100-1} simulation at redshifts of $z=3.0$-$0.0$, and to \texttt{Illustris-1} and \texttt{SIMBA} at $z=0$. The measurements of the env-WPSs suggest that the clustering strengths of both the dark matter and the gas increase with increasing density, while that of a Gaussian field shows no density dependence. By measuring the env-bias and env-WCC, we find that they vary significantly with the environment, scale, and redshift. A noteworthy feature is that at $z=0.0$, the gas is less biased in denser environments of $Δ\gtrsim 10$ around $3 \ h\mathrm{Mpc}^{-1}$, due to the gas reaccretion caused by the decreased AGN feedback strength at lower redshifts. We also find that the gas correlates more tightly with the dark matter in both the most dense and underdense environments than in other environments at all epochs. Even at $z=0$, the env-WCC is greater than $0.9$ in $Δ\gtrsim 200$ and $Δ\lesssim 0.1$ at scales of $k \lesssim 10 \ h\mathrm{Mpc}^{-1}$. In summary, our results support the local density environment having a non-negligible impact on the deviations between dark matter and gas distributions up to large scales.

preprint2020arXiv

On the Dissipation Rate of Temperature Fluctuations in Stably Stratified Flows

In this study, we explore several integral and outer length scales of turbulence which can be formulated by using the dissipation of temperature fluctuations ($χ$) and other relevant variables. Our analyses directly lead to simple yet non-trivial parameterizations for both $χ$ and the structure parameter of temperature ($C_T^2$). For our purposes, we make use of high-fidelity data from direct numerical simulations of stratified channel flows.

preprint2020arXiv

Parameterizing the Energy Dissipation Rate in Stably Stratified Flows

We use a database of direct numerical simulations to evaluate parametrizations for energy dissipation rate in stably stratified flows. We show that shear-based formulations are more appropriate for stable boundary layers than commonly used buoyancy-based formulations. As part of the derivations, we explore several length scales of turbulence and investigate their dependence on local stability.

preprint2015arXiv

Constraining cosmology with pairwise velocity estimator

In this paper, we develop a full statistical method for the pairwise velocity estimator previously proposed, and apply Cosmicflows-2 catalogue to this method to constrain cosmology. We first calculate the covariance matrix for line-of-sight velocities for a given catalogue, and then simulate the mock full-sky surveys from it, and then calculate the variance for the pairwise velocity field. By applying the $8315$ independent galaxy samples and compressed $5224$ group samples from Cosmicflows-2 catalogue to this statistical method, we find that the joint constraint on $Ω^{0.6}_{\rm m}h$ and $σ_{8}$ is completely consistent with the WMAP 9-year and Planck 2015 best-fitting cosmology. Currently, there is no evidence for the modified gravity models or any dynamic dark energy models from this practice, and the error-bars need to be reduced in order to provide any concrete evidence against/to support $Λ$CDM cosmology.

preprint2014arXiv

Statistical computation of Boltzmann entropy and estimation of the optimal probability density function from statistical sample

In this work, we investigate the statistical computation of the Boltzmann entropy of statistical samples. For this purpose, we use both histogram and kernel function to estimate the probability density function of statistical samples. We find that, due to coarse-graining, the entropy is a monotonic increasing function of the bin width for histogram or bandwidth for kernel estimation, which seems to be difficult to select an optimal bin width/bandwidth for computing the entropy. Fortunately, we notice that there exists a minimum of the first derivative of entropy for both histogram and kernel estimation, and this minimum point of the first derivative asymptotically points to the optimal bin width or bandwidth. We have verified these findings by large amounts of numerical experiments. Hence, we suggest that the minimum of the first derivative of entropy be used as a selector for the optimal bin width or bandwidth of density estimation. Moreover, the optimal bandwidth selected by the minimum of the first derivative of entropy is purely data-based, independent of the unknown underlying probability density distribution, which is obviously superior to the existing estimators. Our results are not restricted to one-dimensional, but can also be extended to multivariate cases. It should be emphasized, however, that we do not provide a robust mathematical proof of these findings, and we leave these issues with those who are interested in them.

preprint2012arXiv

Second-order solutions of the equilibrium statistical mechanics for self-gravitating systems

In a previous study, we formulated a framework of the entropy-based equilibrium statistical mechanics for self-gravitating systems. This theory is based on the Boltzmann-Gibbs entropy and includes the generalized virial equations as additional constraints. With the truncated distribution function to the lowest order, we derived a set of second-order equations for the equilibrium states of the system. In this work, the numerical solutions of these equations are investigated. It is found that there are three types of solutions for these equations. Both the isothermal and divergent solutions are thermally unstable and have unconfined density profiles with infinite mass, energy and spatial extent. The convergent solutions, however, seem to be reasonable. Although the results cannot match the simulation data well, because of the truncations of the distribution function and its moment equations, these lowest-order convergent solutions show that the density profiles of the system are confined, the velocity dispersions are variable functions of the radius, and the velocity distributions are also anisotropic in different directions. The convergent solutions also indicate that the statistical equilibrium of self-gravitating systems is by no means the thermodynamic equilibrium. These solutions are just the lowest-order approximation, but they have already manifested the qualitative success of our theory. We expect that higher-order solutions of our statistical-mechanical theory will give much better agreement with the simulation results concerning dark matter haloes.

preprint2011arXiv

A statistical-mechanical explanation of dark matter halo properties

Cosmological N-body simulations have revealed many empirical relationships of dark matter halos, yet the physical origin of these halo properties still remains unclear. On the other hand, the attempts to establish the statistical mechanics for self-gravitating systems have encountered many formal difficulties, and little progress has been made for about fifty years. The aim of this work is to strengthen the validity of the statistical-mechanical approach we have proposed previously to explain the dark matter halo properties. By introducing an effective pressure instead of the radial pressure to construct the specific entropy, we use the entropy principle and proceed in a similar way as previously to obtain an entropy stationary equation. An equation of state for equilibrated dark halos is derived from this entropy stationary equation, by which the dark halo density profiles with finite mass can be obtained. We also derive the anisotropy parameter and pseudo-phase-space density profile. All these predictions agree well with numerical simulations in the outer regions of dark halos. Our work provides further support to the idea that statistical mechanics for self-gravitating systems is a viable tool for investigation.

preprint2011arXiv

Equilibrium statistical mechanics for self-gravitating systems: local ergodicity and extended Boltzmann-Gibbs/White-Narayan statistics

The long-standing puzzle surrounding the statistical mechanics of self-gravitating systems has not yet been solved successfully. We formulate a systematic theoretical framework of entropy-based statistical mechanics for spherically symmetric collisionless self-gravitating systems. We use an approach that is very different from that of the conventional statistical mechanics of short-range interaction systems. We demonstrate that the equilibrium states of self-gravitating systems consist of both mechanical and statistical equilibria, with the former characterized by a series of velocity-moment equations and the latter by statistical equilibrium equations, which should be derived from the entropy principle. The velocity-moment equations of all orders are derived from the steady-state collisionless Boltzmann equation. We point out that the ergodicity is invalid for the whole self-gravitating systems, but it can be re-established locally. Based on the local ergodicity, using Fermi-Dirac-like statistics, with the nondegenerate condition and the spatial independence of the local microstates, we rederive the Boltzmann-Gibbs entropy. This is consistent with the validity of the collisionless Boltzmann equation, and should be the correct entropy form for collisionless self-gravitating systems. Apart from the usual constraints of mass and energy conservation, we demonstrate that the series of moment or virialization equations must be included as additional constraints on the entropy functional when performing the variational calculus; this is an extension to the original prescription by White & Narayan. Any possible velocity distribution can be produced by the statistical-mechanical approach that we have developed with the extended Boltzmann-Gibbs/White-Narayan statistics. Finally, we discuss the questions of negative specific heat and ensemble inequivalence for self-gravitating systems.

preprint2011arXiv

Fluid-like entropy and equilibrium statistical mechanics of self-gravitating systems

The statistical mechanics of self-gravitating systems has not been well understood, and still remains an open question so far. In a previous study by Kang & He, we showed that the fluid approximation may give a clue to further investigate this problem. In fact, there are indeed many dynamical similarities between self-gravitating and fluid systems. Based on a fluid-like entropy, that work explained successfully the outer density profiles of dark matter halos, but there left some drawbacks with the calculation concerning extremizing process of the entropy. In the current paper, with the improved extremizing calculation -- including an additional differential constraint of dynamical equilibrium and without any other assumptions, we confirm that statistical-mechanical methods can give a density profile with finite mass and finite energy. Moreover, this density profile is also consistent with the observational surface brightness of the elliptical galaxy NGC 3379. In our methods, the density profile is derived from the equation of state, which is obtained from entropy principle but does not correspond to the maximum entropy of the system. Finally, we suggest an alternative entropy form, a hybrid of Boltzmann-Gibbs and Tsallis entropy, whose global maximum may give rise to this equation of state.

preprint2011arXiv

Saddle-point entropy states of equilibrated self-gravitating systems

In this Letter, we investigate the stability of the statistical equilibrium of spherically symmetric collisionless self-gravitating systems. By calculating the second variation of the entropy, we find that perturbations of the relevant physical quantities should be classified as long- and short-range perturbations, which correspond to the long- and short-range relaxation mechanisms, respectively. We show that the statistical equilibrium states of self-gravitating systems are neither maximum nor minimum, but complex saddle-point entropy states, and hence differ greatly from the case of ideal gas. Violent relaxation should be divided into two phases. The first phase is the entropy-production phase, while the second phase is the entropy-decreasing phase. We speculate that the second-phase violent relaxation may just be the long-wave Landau damping, which would work together with short-range relaxations to keep the system equilibrated around the saddle-point entropy states.

preprint2010arXiv

Entropy principle and complementary second law of thermodynamics for self-gravitating systems

(abbreviated) The statistical mechanics of self-gravitating systems is a long-held puzzle. In this work, we employ a phenomenological entropy form of ideal gas, first proposed by White & Narayan, to revisit this issue. By calculating the first-order variation of the entropy, subject to the mass- and energy-conservation constraints, we obtain an entropy stationary equation. Incorporated with the Jeans equation, and by specifying some functional form for the anisotropy parameter beta, we numerically solve the two equations, and demonstrate that the velocity anisotropy parameter plays an important role to attain a density profile that is finite in mass, energy, and spatial extent. If incorporated again with some empirical density profile from simulations, our theoretical predictions of the anisotropy parameter, and the radial pseudo-phase-space density in the outer non-gravitationally degenerate region of the dark matter halo, agree rather well with the simulation data, and the predictions are also acceptable in the middle weak-degenerate region of the dark halo. The second-order variational calculus reveals the seemingly paradoxical but actually complementary consequence that the equilibrium state of self-gravitating systems is the global minimum entropy state for the whole system under long-range violent relaxation, but simultaneously the local maximum entropy state for every and any small part of the system under short-range two-body relaxation and Landau damping. This minimum-maximum entropy duality means that the standard second law of thermodynamics needs to be re-expressed or generalized for self-gravitating systems. We believe that our findings, especially the complementary second law of thermodynamics, may provide crucial clues to the development of the statistical physics of self-gravitating systems as well as other long-range interaction systems.

preprint2008arXiv

Distribution Function in Center of Dark Matter Halo

N-body simulations of dark matter halos show that the density profiles of halos behave as $ρ(r)\propto r^{-α(r)}$, where the density logarithmic slope $α\simeq 1\sim1.5$ in the center and $α\simeq 3\sim 4$ in the outer parts of halos. However, some observations are not in agreement with simulations in the very central region of halos. The simulations also show that velocity dispersion anisotropy parameter $β\approx 0$ in the inner part of the halo and the so called "pseudo phase-space density" $ρ/σ^3$ behaves as a power-law in radius $r$. With these results in mind, we study the distribution function and the pseudo phase-space density $ρ/σ^3$ of the center of dark matter halos and find that they are closely-related.

preprint2005arXiv

The velocity field of baryonic gas in the universe

The dynamic evolution of the baryonic intergalactic medium (IGM) caused by the underlying dark matter gravity is governed by the Navier-Stokes equations in which many cooling and heating processes are involved. However, it has long been recognized that the growth mode dynamics of cosmic matter clustering can be sketched by a random force driven Burgers' equation if cooling and heating are ignored. Just how well the dynamics of the IGM can be described as a Burgers fluid has not been fully investigated probably because cooling and heating are essential for a detailed understanding of the IGM. Using IGM samples produced by a cosmological hydrodynamic simulation in which heating and cooling processes are properly accounted for, we show that the IGM velocity field in the nonlinear regime shows the features of a Burgers fluid, that is, when the Reynolds number is high, the velocity field consists of an ensemble of shocks. Consequently, (1) the IGM velocity $v$ is generally smaller than that of dark matter; (2) for the smoothed field, the IGM velocity shows tight correlation with dark matter given by $v \simeq s v_{dm}$, with $s<1$, such that the lower the redshift, the smaller $s$; (3) the velocity PDFs are asymmetric between acceleration and deceleration events; (4) the PDF of velocity difference $Δv=v(x+r)-v(x)$ satisfies the scaling relation for a Burgers fluid, i.e., $P(Δv)=(1 r^y)F(Δv/r^y)$. We find the scaling function and parameters for the IGM which are applicable to the entire scale range of the samples (0.26 - 8 h$^{-1}$ Mpc). These properties show that the similarity mapping between the IGM and dark matter is violated on scales much larger than the Jeans length of the IGM.