Search arXivSearch

arXiv subjects

Yu Yu

Publications and source records attributed to Yu Yu.

At least 19 recordsLinked to original sources

ELUCID-DESI II. Revealing dark matter mass, tidal, and velocity (MTV) fields using galaxy group phase information

We introduce a novel method for reconstructing the cosmic mass, tidal, and velocity (MTV) fields over the redshift range $0 < z < 0.6$ using the phase information of galaxy groups. This approach replaces the explicit theoretical bias correction typically needed to relate galaxy groups to the underlying dark matter density field with a simulation-calibrated statistical mapping, reducing a major source of systematic uncertainty and making the method directly applicable to spectroscopic redshift surveys such as the DESI Bright Galaxy Survey (BGS). We evaluate the performance of our MTV reconstruction pipeline with mock redshift surveys that include a comprehensive set of observational selection effects. The galaxy groups used as tracers are identified with an extended halo-based group finder applied to the DESI mock galaxy catalogue with an apparent magnitude limit of $m_z < 19.65$, yielding a galaxy number comparable to that of the DESI BGS faint sample ($m_r < 20.175$). Our tests show that the reconstructed velocities are accurate and unbiased, with a residual dispersion of $\sim 120\ \mathrm{km\,s^{-1}}$ across the redshift bins. The recovered velocity field allows us to shift galaxy groups to their real-space positions, thereby correcting for the Kaiser effect. By iteratively applying this Kaiser correction to the galaxy groups, we further reconstruct the tidal field and the mass-density distribution. The reconstruction is stable with respect to the grid resolution. Overall, our results demonstrate that this group-based phase-space reconstruction provides a robust pathway to recovering the dark matter MTV fields, with strong prospects for application to DESI BGS data.

astro-ph.CO

The Effect of Slitless Spectroscopic Redshift Uncertainty and Interlopers on BAO Measurements from CSST-like Samples

The baryon acoustic oscillations (BAO) is a vital probe to measure cosmological distances and constrain dark energy. The ongoing and near-future space-based telescopes, including the Chinese Space Station Survey Telescope (CSST), will perform galaxy redshift surveys using slitless spectroscopy. Due to the relatively low spectral resolution and observational effects, there will be uncertainties and interloper contamination in measured redshifts. In this study, we consider the Gaussian-distributed redshift uncertainty and [O III]-H$\beta$ interlopers in the CSST-like slitless spectroscopic redshift (spec-z) samples, which are simulated using the approximate $N$-body code FastPM. We study the effect of spec-z errors on BAO before and after density field reconstruction. Both the redshift uncertainty and interlopers can damp the BAO signal, and the latter can further induce oscillations in the broadband shape of the power spectrum. We model the interloper effect on the propagator, i.e. the cross-correlation between the observed and initial density fields, as well as on the BAO power spectrum. We study the influence of the spec-z errors on the fitted anisotropic BAO parameters $\alpha_{\perp}$ and $\alpha_{\parallel}$. The resulting systematic bias on $\alpha_{\perp}$ and $\alpha_{\parallel}$ is mild, mostly within $0.1$ per cent and $0.2$ per cent, respectively. Even with the spec-z errors, BAO reconstruction can still significantly reduce the systematic bias and statistical errors on the $\alpha$ parameters. Furthermore, we vary the redshift uncertainty and study the reconstruction performance.

astro-ph.CO

Improved Cosmological Constraints from Morphology-Based Marked Correlation Functions

The cosmic web contains morphology-dependent information that is not fully captured by standard two-point statistics. We construct morphology-based marked correlation functions (MCFs) by assigning marks to halos according to the cosmic-web morphology identified with the \textsc{Nexus} algorithm. Using the \textsc{Kun} simulation suite, which spans 129 $w_0w_a$CDM cosmologies, we build Gaussian-process emulators for the MCFs as functions of cosmological parameters and tracer bias. We then apply the emulators to mock halo catalogues from the independent \textsc{Jiutian} simulation and perform a joint likelihood analysis to quantify the resulting cosmological constraints. We consider two marker choices: a discrete morphology marker and a continuous morphology strength marker. The continuous marker improves the Figure of Merit (FoM) by a factor of $\sim 8.6$ relative to the standard 2PCF and reduces the $1\sigma$ uncertainty on $\sigma_8$ by a factor of $\sim 5$. The discrete marker gives a more modest FoM improvement of $\sim 17\%$. We further test the impact of tracer selection by varying the halo mass threshold by a factor of $\sim 4.5$. Even for the lowest mass threshold, the continuous marker remains unbiased and achieves a FoM about $\sim 3.4$ times higher than that of the 2PCF alone. These results show that morphology-based MCFs, combined with simulation-based emulation, provide a useful framework for extracting additional cosmological information from large-scale structure surveys.

astro-ph.CO

GeoAnchor: Collaborative Reasoning via Latent Decomposition for 3D Spatial Understanding

Although multimodal large language models (MLLMs) have achieved remarkable progress, understanding 3D spatial relationships from 2D images remains a critical challenge. Existing methods primarily rely on symbolic text tokens, which inherently lack the fidelity to represent continuous geometric information. While recent methods use latent representations to enhance reasoning, relying on a single latent type cannot adapt to the diversity of spatial tasks, leading to misalignment in complex geometric scenarios. To address these limitations, we propose GeoAnchor, an interleaved text-latent reasoning framework. GeoAnchor decomposes 3D spatial information into three complementary components: position latents for object grounding, direction latents for relational orientation, and geometry latents for scene structure. These components are recombined in a structured space to construct local evidence while capturing global context, enabling dynamic and interpretable reasoning. Furthermore, we introduce a collaborative training strategy that guides the model from local spatial perception to comprehensive 3D understanding. Extensive experiments on diverse and complex 3D reasoning tasks demonstrate that GeoAnchor outperforms the state of the art, validating its effectiveness and generalization capabilities.

cs.CV

Optimization of Tessellation-based Statistics: Void Statistics

Tessellation methods are extensively employed in the analyses of cosmic large-scale structure (LSS). However, these techniques are highly sensitive to perturbations in both densities and positions of points, often leading to substantial rearrangements of tessellation configurations. As a result, considerable additional statistical errors are introduced in various tessellation-based statistics, thereby weakening their cosmological constraints. In this work, we identify this issue and propose an efficacious measurement scheme through subsampling and averaging to enhance the stabilities of tessellation-based statistics. As a case study, we apply the new scheme to measure multiple primary void statistics [i.e., void size function (VSF), void two-point correlation function (VTCF), and void power spectrum (VPS)] in two distinct classes of voids, based on Delaunay and Voronoi tessellations, respectively. We notice that the statistical uncertainties in void statistics can be predominantly attributed to tessellation instabilities. Through rigorous testing, we demonstrate that the proposed method can substantially eliminate these scatters to deeply mine the statistical power of void statistics. Specifically, we find that our method can dramatically boost the signal-to-noise ratios (SNRs) of void Baryon Acoustic Oscillations (BAOs) and significantly improve the constraining power of void statistics on cosmological parameters. These findings showcase enormous application potentials of our new method in maximizing extraction of cosmological information from galaxy surveys. Importantly, our method is simple yet highly potent with broad applicability, hopefully evolving into a standard framework for measuring tessellation-based statistics in the future.

astro-ph.CO

A unified resource-pool architecture for high-dimensional direct-detection optical communication

Increasing optical communication capacity without proportionally increasing receiver complexity remains a key challenge for direct-detection links. Conventional systems typically assign wavelength, polarization and intensity to fixed, separately recovered functions, so that alphabet expansion is accompanied by additional demultiplexing, polarization handling, receiver branches and electronic processing. Here we introduce a unified resource-pool architecture for high-dimensional direct-detection optical communication, in which wavelength, polarization and intensity are jointly organized as a composite optical symbol space and recovered through optical-domain joint projection rather than dimension-by-dimension separation. The receiver is implemented with an integrated disordered photonic processor that transforms each composite optical state into a reproducible multi-output electrical fingerprint for single-shot direct recovery. In a dual-wavelength transmission experiment, the system resolves 4096 composite symbols, corresponding to 12 bits per symbol slot, with a bit error rate of 4.25e-4 after 10 km standard-fiber transmission. Additional experiments demonstrate dense polarization alphabets, wavelength-indexed state-space expansion and high-launch-power operation over hollow-core fiber. These results establish disorder-enabled joint projection in an integrated photonic processor as a route to hardware-efficient high-dimensional direct-detection communication beyond conventional dimension-partitioned receiver architecture.

physics.optics

SkelDPO: A Skeleton-Guided Direct Preference Optimization Framework for Efficient Code Generation

With the remarkable progress of Code Large Language Models (Code LLMs) in achieving semantic correctness, execution efficiency has become an increasingly important dimension for evaluating their practical utility. However, existing approaches typically treat full programs as a single optimization target during training, without explicitly modeling the structural factors that influence efficiency. As a result, although these models can generate semantically correct code, they fail to learn, at a fine-grained level, the underlying skeleton features that lead to efficient implementations. To address this limitation, we propose SkelDPO (Skeleton-Guided Direct Preference Optimization), a skeleton-guided preference optimization framework that systematically enhances the efficiency of code generation. SkelDPO first identifies efficient and inefficient implementations from the code dataset and, through comparative analysis, locates their efficiency-prone and inefficiency-prone points, forming alignment signals between efficiency and inefficiency skeletons. During training, a joint code and skeleton preference loss is introduced, enabling the model to learn semantic correctness while reinforcing its understanding of efficiency-critical components in code. Results show that SkelDPO consistently surpasses existing methods: compared with SOTA method that relies solely on efficient and inefficient code preference optimization, it improves Pass@1, Beyond@1, and Effi@1 by 3-6%, 3-7%, and 2-5%, with greater improvements observed on complex tasks. Overall, SkelDPO provides a new perspective on skeleton-level efficiency alignment, breaking the limitation of conventional preference optimization that relies solely on correctness or efficiency pairs. All datasets and source code are publicly available at: https://github.com/icpcSkelDPO/SkelDPO.

cs.SE

Chiseling Out Efficiency: Structured Skeleton Supervision for Efficient Code Generation

Large Language Models (LLMs) are capable of generating syntactically correct and functionally complete programs, greatly streamlining software development. However, recent studies reveal that these programs typically execute substantially slower than human-optimized counterparts. Existing approaches to bridging this efficiency gap typically involve either iteratively optimizing code after generation or fine-tuning models on corpora of efficient code. Yet, these methods expose the model to efficiency signals only by mimicking complete, optimized solutions, without explicitly encoding the structural code patterns essential for achieving high runtime performance. Addressing this gap presents two core challenges: (1) extracting and representing latent, efficiency-oriented structural patterns embedded within complex syntax and control flows, and (2) effectively learning these patterns without destabilizing the semantic training of LLMs. To tackle these challenges, we propose EffiSkel, an efficiency skeleton-guided framework that explicitly extracts and learns efficiency skeletons-abstract, reusable structural patterns underpinning efficient code-by leveraging three complementary strategies. These skeletons are integrated into a multi-task learning regime that jointly optimizes code generation and skeleton prediction. Experiments across multiple programming languages and benchmarks demonstrate that EffiSkel significantly enhances both functional correctness and efficiency, resulting on Mercury with DeepSeek-Coder (7B) a +11.11% (vs. EffiCoder) and +3.71% (vs. CodeDPO) higher Efficiency Ratio (ER), and a +0.36 (vs. EffiCoder) and +0.22 (vs. CodeDPO) increase in Average Speedup (AS). These results highlight the effectiveness of explicitly modeling efficiency skeletons in improving the runtime performance of code generated by LLMs.

cs.SE

Cosmological Constraints from Bias-Robust Wavelet Scattering Statistics for Stage-IV Galaxy Surveys

A central challenge in precision cosmology with galaxy surveys is to extract non-Gaussian information from large-scale structure while controlling systematic uncertainties such as tracer bias. Conventional clustering statistics, such as the two-point correlation function (2PCF), capture limited nonlinear information and typically require explicit bias modeling, which can introduce systematic errors if the adopted bias prescription is inaccurate. To address this problem, we introduce $R^{\rm wst}$, a bias-robust statistic constructed from $m$-mode ratios of the wavelet scattering transform (WST). Using simulation-based inference, we train a Gaussian-process-regression emulator on the \texttt{Kun} simulation suite and use \texttt{JiuTian} simulations for covariance estimation and validation. The emulator achieves percent-level accuracy, sufficient for the expected observational uncertainties. We show that $R^{\rm wst}$ yields unbiased constraints on $\Omega_m$, $\sigma_8$, $n_s$, and $w_0$, and improves the breaking of the $\Omega_m$--$\sigma_8$ degeneracy by about a factor of two compared with 2PCF. Its constraining power remains stable across a broad range of tracer-bias scenarios, demonstrating that $R^{\rm wst}$ can mitigate bias-induced systematics without explicit bias modeling. These results establish $R^{\rm wst}$ as a powerful and robust statistic for precision cosmology with Stage-IV surveys.

astro-ph.CO

Cosmological constraints from neighbor-density-weighted marked correlation functions

We investigate whether neighbor-density-weighted marked correlation functions (MCFs) can extract cosmological information beyond the standard redshift-space two-point correlation function (2PCF). Using the Kun suite of 129 $w_0w_a$CDM$+\sum m_\nu$ simulations in $1~h^{-1}{\rm Gpc}$ boxes, we construct Gaussian-process emulators for the normalized scale statistic $\widehat{W}^{\alpha}(s)$ and the angular statistic $\widehat{W}^{\alpha}_{\Delta s}(\mu)$. We perform joint analyses combining multiple mark parameters $\alpha$ and quantify the information gain using the FoM in the $\Omega_m$--$\sigma_8$ plane. Relative to the 2PCF case, three-mark combinations improve the FoM by factors of $1.7$--$2.5$, while five-mark combinations increase the gain to $1.9$--$2.4$, depending on the statistic and mark definition. We further compare density and normalized-gradient marks, finding that they are nearly redundant for isotropic statistics but complementary for angular statistics, where their combination improves the FoM by up to $43\%$. Tests of scale range and halo selection show that the marked statistics remain robust under changes in analysis choices, with the angular statistic retaining additional cosmological information that is less sensitive to tracer selection. Our results demonstrate that MCFs substantially enhance cosmological constraints beyond the standard 2PCF and provide a robust probe for next-generation galaxy surveys.

astro-ph.CO

On the (In-)Security of the Shuffling Defense in the Transformer Secure Inference

For Transformer models, cryptographically secure inference ensures that the client learns only the final output, while the server learns nothing about the client's input. However, securely computing nonlinear layers remains a major efficiency bottleneck due to the substantial communication rounds and data transmission required. To address this issue, prior works reveal intermediate activations to the client, allowing nonlinear operations to be computed in plaintext. Although this approach significantly improves efficiency, exposing activations enables adversaries to extract model weights. To mitigate this risk, existing works employ a shuffling defense that reveals only randomly permuted activations to the client. In this work, we show that the shuffling defense is not as robust as previously claimed. We propose an attack that aligns differently shuffled activations to a common permutation and subsequently exploits them to extract model weights. Experiments on Pythia-70m and GPT-2 demonstrate that the proposed attack can align shuffled activations with mean squared errors ranging from $10^{-9}$ to $10^{-6}$. With a query cost of approximately \$1, the adversary can recover model weights with L1-norm differences ranging from $10^{-4}$ to $10^{-2}$ compared to the oracle weights.

cs.CR

Advancing weak lensing mass mapping with a mask-aware HEALPix transformer

We present HEALFormer, a transformer-based neural network architecture for weak gravitational lensing mass mapping that reconstructs convergence maps from incomplete and noisy shear observations on the celestial sphere. The model operates directly on the Hierarchical Equal Area isoLatitude Pixelization and employs learnable mask tokens to handle arbitrary survey geometries without requiring preprocessing. Through a progressive training strategy, HEALFormer efficiently processes high-resolution maps up to Nside = 1024 and demonstrates excellent performance across diverse survey footprints including KiDS, DES, DECaLS, and Planck. The model generalizes robustly to cosmological parameters beyond its training set, producing nearly unbiased reconstructions with superior noise suppression compared to traditional Kaiser-Squires and Wiener filter methods. Remarkably, HEALFormer exceeds the theoretical phase recovery limits of linear reconstruction methods at small scales, achieving a fundamental breakthrough in weak lensing analysis. The combination of computational efficiency, reconstruction accuracy, and adaptability to varying survey configurations makes HEALFormer well-suited for current and next-generation cosmological surveys. Code is available at GitHub.

astro-ph.IM

Using Global Gravitational Potential Weighted Correlation Function to Constrain Modified Gravity Models

We propose a new marked two-point correlation function weighted by the global gravitational potential as a probe for testing gravity models. Using the LCDM model based on general relativity (GR) as a reference, we investigate two representative modified gravity (MG) scenarios: f(R) gravity and nDGP. The mark used in this work, the global gravitational potential that is reconstructed from the galaxy distribution via the Poisson equation, is in contrast to the local property based mark (e.g., local galaxy number density or gravitational potential of host halo) used in previous studies. By applying two weighting schemes to quantify environment-dependent clustering, we find that this statistic is able to distinguish MG models from GR, with the signal being enhanced in regions corresponding to particular ranges of gravitational potential. These results indicate that the proposed statistic can serve as a useful complement to conventional clustering probes in future surveys, once observational effects and modeling uncertainties are properly taken into account.

astro-ph.CO

ELUCID-DESI I: A Parallel MPI Implementation of the Initial Condition Solver for Large-Scale Reconstruction Simulations

We present a highly scalable, MPI-parallelized framework for reconstructing the initial cosmic density field, designed to meet the computational demands of next-generation cosmological simulations, particularly the upcoming ELUCID-DESI simulation based on DESI BGS data. Building upon the Hamiltonian Monte Carlo approach and the FastPM solver, our code employs domain decomposition to efficiently distribute memory between nodes. Although communication overhead increases the per-step runtime of the MPI version by roughly a factor of eight relative to the shared-memory implementation, our scaling tests-spanning different particle numbers, core counts, and node layouts-show nearly linear scaling with respect to both the number of particles and the number of CPU cores. Furthermore, to significantly reduce computational costs during the initial burn-in phase, we introduce a novel ``guess'' module that rapidly generates a high-quality initial density field. The results of the simulation test confirm substantial efficiency gains: for $256^3$ particles, 53 steps ($\sim$ 54 core hours) are saved, accelerating convergence by a factor of $\sim$ 18; for $1024^3$, 106 steps ($\sim$7500 core hours), achieving a speedup factor of $\sim$ 3. The total core hour gain grows with the number of particles, rendering large-volume reconstructions computationally practical for upcoming surveys, including our planned ELUCID-DESI reconstruction simulation with $4096^3$ particles. We estimate that achieving convergence for this scale (targeting DESI-BGS data) requires about 800 HMCMC steps ($\sim$ 5 million core hours). Our initial guess module will save approximately 360 steps ($\sim$2.3 million core hours), reducing the total computational time by about 45\%.

astro-ph.GA

MIU2Net: weak-lensing mass inversion using deep learning with nested U-structures

One of the primary goals of next-generation gravitational lensing surveys is to measure the large-scale distribution of dark matter, which requires accurate mass inversion to convert weak-lensing shear maps into convergence (kappa) fields. This work develops a mass inversion method tailored for upcoming space missions such as CSST and Euclid, aiming to recover both the mass distribution and the convergence power spectrum with high fidelity. We introduce MIU2Net, a versatile deep-learning framework for kappa-map reconstruction based on the U2-Net architecture. A new loss function is constructed to jointly estimate the convergence field and its frequency-domain energy distribution, effectively balancing optimal mean squared error and optimal power-spectrum recovery. The method incorporates realistic observational effects into shear fields, including shape noise, reduced shear, and complex masks. Under noise levels anticipated for future space-based lensing surveys, MIU2Net recovers the convergence power spectrum with 4% uncertainties up to l approximately 500, significantly outperforming Wiener filtering and MCALens. Beyond two-point statistics, the method accurately reconstructs the convergence distribution, peak centroid, and peak amplitude. Compared to other learning-based approaches such as DeepMass, MIU2Net reduces the root-mean-square error by 5% without smoothing and by 38% with a 1-arcmin smoothing scale. MIU2Net represents a substantial advancement in mass inversion methodology, offering improved accuracy in both RMSE and power-spectrum reconstruction. It provides a promising tool for mapping dark matter environments and large-scale structures in the era of next-generation space lensing surveys.

astro-ph.CO

Filtering Interlopers with Photometry and Diagnostic Features: A Machine Learning Framework Validated with CSST Slitless Spectroscopy

The slitless spectroscopic method employed by missions such as Euclid and the Chinese Space-station Survey Telescope (CSST) faces a fundamental challenge: spectroscopic redshifts derived from their data are susceptible to emission-line misidentification due to the limited spectral resolution and signal-to-noise ratio. This effect systematically introduces interloper galaxies into the sample. Conventional strict selection not only struggles to secure high redshift purity but also drastically reduces completeness by discarding valuable data. To overcome this limitation, we develop an XGBoost classifier that leverages photometric properties and spectroscopic diagnostics to construct a high-purity redshift catalog while maximizing completeness. We validate this method on a simulated sample with spectra generated by the CSST emulator for slitless spectroscopy. Of the $\sim$62 million galaxies that obtain valid redshifts (parent sample), approximately 43% achieve accurate measurements, defined as $|\Delta z| \leqslant 0.002(1+z)$. From this parent sample, the XGBoost classifier selects galaxies with a selection efficiency of 42.3% on the test set and 42.2% when deployed on the entire parent sample. Crucially, among the retained galaxies, 96.6% (parent sample: 96.5%) achieve accurate measurements, while the outlier fraction ($|\Delta z|>0.01(1+z)$) is constrained to 0.13% (0.11%). We verified that simplified configurations that exclude either spectroscopic diagnostics (except the measured redshift) or photometric data yield significantly higher outlier fractions, increasing by factors of approximately 3.5 and 6.3, respectively, with the latter case also introducing notable catastrophic interloper contamination. This framework effectively resolves the purity-completeness trade-off, enabling robust large-scale cosmological studies with CSST and similar surveys.

astro-ph.CO

Local Nonlinear Transforms Effectively Extract Cosmological Information From Large-Scale Structure

Extracting cosmological information from nonlinear and non-Gaussian large-scale structure remains a major challenge. We introduce the (Zel'dovich-inspired) ZI transform, a simple one-parameter local nonlinear transform in which $\eta$ controls the weighting of higher-order information in the transformed density field. For $\eta\geq3$, the transform can substantially suppress gravitational non-Gaussianity. Using the \textsc{Quijote} suite and Fisher information analysis over summed neutrino mass $M_\nu$, primordial non-Gaussianity $f_\mathrm{NL}$ with different shapes, and $\Lambda$CDM parameters, we find that the joint data vector of three transformed-field power spectra with $\{\eta=\infty, 6, 3\}$, denoted $P_\mathrm{ZI}$, tightens all constraints relative to the ordinary power spectrum, especially boosting the constraining power by factors of $290$ for $f_\mathrm{NL}^\mathrm{local}$ and $107$ for $M_\nu$, while yielding nearly unbiased parameter estimates. Compared further with other statistics beyond the ordinary power spectrum, $P_\mathrm{ZI}$ stands out as a powerful cosmological probe.

astro-ph.CO

LLM-Driven Composite Neural Architecture Search for Multi-Source RL State Encoding

Designing state encoders for reinforcement learning (RL) with multiple information sources -- such as sensor measurements, time-series signals, image observations, and textual instructions -- remains underexplored and often requires manual design. We formalize this challenge as a problem of composite neural architecture search (NAS), where multiple source-specific modules and a fusion module are jointly optimized. Existing NAS methods overlook useful side information from the intermediate outputs of these modules -- such as their representation quality -- limiting sample efficiency in multi-source RL settings. To address this, we propose an LLM-driven NAS pipeline in which the LLM serves as a neural architecture design agent, leveraging language-model priors and intermediate-output signals to guide sample-efficient search for high-performing composite state encoders. On a mixed-autonomy traffic control task, our approach discovers higher-performing architectures with fewer candidate evaluations than traditional NAS baselines and the LLM-based GENIUS framework.

cs.LG