Search arXiv⌕ Search

arXiv subjects

Xin Zhang

Publications and source records attributed to Xin Zhang.

At least 145 records · Page 8Linked to original sources

DeMTS: Denoising Trajectories as Multivariate Time Series for Hallucination Detection in Diffusion Language Models

Diffusion large language models (D-LLMs) have emerged as a promising paradigm for text generation. However, similar to autoregressive LLMs, D-LLMs remain vulnerable to hallucinations, where fluent outputs may contain factually incorrect or unsupported content. Although existing hallucination detection methods for D-LLMs attempt to leverage uncertainty trajectories of the denoising process to better identify hallucination signals, they typically compress the trajectories along either the temporal or token dimension, overlooking the useful information encoded in the complete two-dimensional token-step structure. Consequently, they may fail to capture hallucination-relevant patterns, such as inconsistent convergence and cross-token fault propagation, leading to suboptimal detection performance. To bridge this gap, we propose a D-LLM hallucination detection framework that formulates the Denoising trajectories as Multivariate Time Series over learnable latent variables (DeMTS for short). DeMTS employs a trajectory-preserving token-to-variable assignment module to convert token signals into stable latent variables. Based on these variables, we propose dynamic multivariate temporal modeling to progressively integrate inter-variable dependency modeling with temporal encoding for hallucination prediction. Extensive experiments on two D-LLMs backbones and three benchmarks demonstrate that DeMTS outperforms existing hallucination detection methods while maintaining strong robustness, efficiency, and cross-task transferability.

cs.CL↗

Beyond Fail-to-Pass: Iterative Hardening of Co-Generated Bug Reproduction Tests and Fixes

Large language models (LLMs) have made automated program repair (APR) increasingly practical for real-world bugs, but repairing directly from bug reports remains underconstrained. Bug reproduction tests (BRTs) help close this gap by turning a bug report into an executable, bug-specific signal that can guide repair and validate candidate patches. Existing work has therefore studied BRT generation as a core subproblem in APR and mainly evaluates a generated BRT using the fail-to-pass (F->P) criterion, which requires the test to fail on the buggy code but pass on the golden fix. We show that F->P alone is insufficient when the goal of a BRT is to improve downstream repair. In particular, some F->P BRTs are lax, reproducing the observed symptom yet still admitting plausible-but-incorrect patches. We formalize this missing quality dimension by separating F->P BRTs into rigorous and lax ones, and show empirically that only the former consistently improve repair success. We further find that co-generation introduces test--fix error coupling, where the in-trajectory fail-to-pass (F->P) check can pass even when both the generated patch and generated test are wrong. Based on these findings, we propose CoHarden, a co-generation framework that uses the Lax signal as an in-loop convergence criterion. CoHarden first generates a test before any fix, then iteratively hardens the test and fix against surviving mutation patches until the generated test no longer admits Lax regressions. Experiments show that CoHarden reaches 69.4% Resolved and 78.9% F->P on SWE-bench Verified, outperforming the strongest fix-only and cogeneration baselines by +9.6 and +7.9 percentage points in Resolved, respectively, with consistent gains across LLM backbones and benchmarks.

cs.SE↗

PeakFlow: Peak-Guided Coarse-to-Refined Modeling for EEG-Based Dynamic Affective Trajectory Prediction

Most existing EEG-based emotion recognition studies formulate affective decoding as static category prediction, although emotions elicited by continuous stimulation evolve over time, accumulate, reach peak intensity, and then recover. This motivates EEG-based dynamic affective trajectory prediction, which estimates continuous affective intensity curves from sequential EEG observations. Existing temporal regression models can capture coarse intensity trends but often fail to preserve peak-centered structure, leading to inaccurate peak timing and terminal-peak bias, where the predicted maximum is shifted toward the end of a trial. To address this issue, we propose PeakFlow, a peak-guided coarse-to-refined framework for EEG-based dynamic affective trajectory prediction. PeakFlow first learns a coarse affective flow through EEG temporal tokenization and masked temporal modeling, then applies a lightweight residual refiner for peak-guided bounded calibration. The refiner uses trajectory-aware cues and a peak-centered objective combining global trajectory consistency, peak-zone emphasis, peak-probability localization, terminal suppression, and residual regularization. This design preserves the global affective trend while correcting peak misalignment, peak-value deviation, and false-terminal predictions. Leave-one-subject-out experiments on SEED-VII show that PeakFlow improves both global trajectory fitting and peak-centered temporal reliability over strong dynamic modeling baselines. Auxiliary evaluation on FIRMED further suggests its potential for sparse peak-centered ordinal intensity analysis. These results highlight the importance of peak-aware modeling for temporally faithful EEG-based dynamic emotion prediction. Code is available at https://github.com/jukebox333/PeakFlow.

cs.HC↗

ResearchStudio-Reel: Automate the Last Mile of Research from Paper to Poster, Video, and Blog

Despite growing automation, turning a paper into a coherent poster, talk video, and blog piece often remains a labor-intensive last mile. Recent systems increasingly generate multiple dissemination formats, but a practical workflow must also keep the outputs editable in native tools and bound into one navigable deliverable for revision and reuse. We present ResearchStudio-Reel, a native-editable dissemination workspace that binds its three artifacts into one interactive deliverable at the experience level, implemented as five skills executable in Claude Code and Codex: one shared extractor, three editable artifact generators, and one interactive convergence layer. A shared asset bundle feeds a PowerPoint poster and video deck, plus a bilingual Word blog; rather than re-rendering the paper into a fourth format, Paper2Reel converges these already-produced artifacts at the experience level, binding poster regions, video segments, and blog passages into one interactive viewer. Artifact-specific release checks make this delivery contract testable, and Paper2Poster additionally uses a measured-fill loop. On the Paper2Poster benchmark, our Claude Code configuration achieves the best scores among automated systems on all three aesthetic sub-criteria and the best or tied-best scores on two of three information sub-criteria. Under two VLMjudges, it exceeds the authors' posters in average aesthetics (3.56 vs. 3.03) and wins on overall quality on 74 and 95 of the 100 papers under the two judges. The full pipeline additionally packages the native-editable source artifacts and their aligned viewer. Project is available at https://aka.ms/ResearchStudio

cs.CV↗

MAnchors: Memorization-Based Acceleration of Anchors via Rule Reuse and Transformation

Anchors is a popular local model-agnostic explanation technique whose applicability is limited by its computational inefficiency. To address this limitation, we propose a memorization-based framework that accelerates Anchors while preserving explanation fidelity and interpretability. Our approach leverages the iterative nature of Anchors' algorithm which gradually refines an explanation until it is precise enough for a given input by storing and reusing intermediate results obtained during prior explanations. Specifically, we maintain a memory of low-precision, high-coverage rules and introduce a rule transformation framework to adapt them to new inputs: the horizontal transformation adapts a pre-trained explanation to the current input by replacing features, and the vertical transformation refines the general explanation until it is precise enough for the input. We evaluate our method across tabular, text, and image datasets, demonstrating that it significantly reduces explanation generation time while maintaining fidelity and interpretability, thereby enabling the practical adoption of Anchors in time-sensitive applications.

cs.LG↗

Dark Energy in the DESI Era: A Brief Review of Evidence, Beyond-$Λ$CDM Interpretations, and Tensions

Recent baryon acoustic oscillation measurements from DESI provide important new clues for reassessing whether the standard $Λ$CDM model offers a sufficient description of the late-time expansion history of the Universe. When combined with cosmic microwave background and type Ia supernova data, these measurements show an apparent departure from the $Λ$CDM model, commonly described as dynamical dark energy (DDE) with equation of state crossing the phantom divide (i.e., quintom behavior). This review examines the current status of the DESI-motivated indications for DDE and their possible implications for physics beyond $Λ$CDM. We discuss how the strength of the preference for DDE depends on the adopted parametrization and dataset combination, and how residual systematics or internal tensions among datasets may affect its interpretation. At the background level, several mechanisms beyond $Λ$CDM can produce similar expansion histories. We therefore further discuss how the same effective departure from $w=-1$ may arise from physically distinct scenarios, including interacting dark energy, non-minimally coupled gravity, and non-standard dark matter. Meanwhile, these different new-physics interpretations may have different implications for current cosmological tensions, especially those involving $H_0$, $S_8$, and $\sum m_ν$. In conclusion, the question posed by DESI is not merely whether dark energy evolves with time, but rather how, within the framework of precision cosmology, to disentangle new physics scenarios from systematic errors.

astro-ph.CO↗

Robust Preference for Dark Sector Interactions

Recent DESI baryon acoustic oscillation data reveal deviations from $Λ$CDM cosmology, conventionally attributed to dynamical dark energy (DE). We demonstrate that these deviations are equally, if not better, explained by interactions between dark matter and dark energy (IDE), without requiring a time-varying DE equation of state. Using a unified framework, we analyze two IDE models - coupled quintessence and coupled fluid - against the latest CMB (Planck, ACT, SPT), DESI BAO, and SN (including DES-Dovekie recalibrated) data. Both IDE scenarios show robust evidence for non-vanishing interactions at the 3-5$σ$ level, with marginalized constraints significantly deviating from the $Λ$CDM limit. This preference persists even under DES-Dovekie SN recalibration, which weakens dynamical DE evidence. Crucially, for the same number of free parameters, IDE models provide fits to low- and high-redshift data that match or exceed the performance of the CPL dynamical DE parametrization. Our results establish IDE as a physically motivated alternative to dynamical DE, highlighting the necessity of future cosmological perturbation measurements (e.g., weak lensing, galaxy clustering) to distinguish between these paradigms.

astro-ph.CO↗

EXPLORE: Exploration with Guided Search for Analog Topology Generation using Language Models

Automating analog circuit topology design is essential to reduce the extensive manual effort required to meet increasingly diverse and customized application demands. Recent advances have applied sequence-to-sequence fine-tuning on pretrained language models to directly generate circuit topologies from user specifications in a single pass. However, these one-shot generation methods failed to generate complex circuits due to their exponentially growing search spaces and limited training datasets. In this paper, we present EXPLORE, a search-enhanced framework that integrates simulator-guided Monte Carlo Tree Search (MCTS) with transformer-based decoding to enable test-time scaling for analog topology generation. By leveraging language-model priors and bypassing high-confidence structural tokens, EXPLORE allocates expensive simulator budget primarily toward topology-altering decisions during search. On a 6-component benchmark at a tight tolerance of 0.01, EXPLORE raises the success rate from 12% for one-shot generation and 33% for a sampling-and-filter baseline to 65%, and lowers MSE by over 20% relative to sampling-and-filter under the same search budget. These results establish EXPLORE as the first framework to integrate structured test-time search with LM decoding for analog topology generation, and a practical step toward scaling LLM-driven design automation.

cs.LG↗

SkillSelect-Serve: QoS-Aware Budgeted Skill Service Recommendation for LLM Agents

Reusable agent skills are emerging as a service-oriented capability layer for Large Language Model (LLM) agents. Unlike plain retrieval items, a skill exposes functional capabilities, input-output assumptions, tool dependencies, context cost, and risk metadata. Selecting skills is particularly challenging for small LLM agents, which can load only a few capability units under restricted context, tool availability, and risk tolerance. Existing fixed Top-k methods rank skills by textual relevance and overlook requirement satisfaction, deliverability, and operational constraints. We present SkillSelect-Serve, a QoS-aware, budget-constrained Skill Service recommendation framework. Raw skills are profiled as structured Skill Services, the task is converted into a structured requirement object, and candidates discovered from a large-scale registry are ranked by a calibrated task-conditioned suitability estimator and packed by a constrained projection enforcing token-budget, aggregated-risk, and tool-availability constraints, using only deployment-observable features. On a registry of 35,353 skills with pooled multi-positive relevance judgments verified by two independent assessors, the unconstrained top-5 recommendation fits a realistic 4,000-token context for only 9.1% of tasks; the constrained projection restores 100% deliverability at a cost of only 1.14 points of hit rate, outperforming retrieve-and-rerank, budget truncation, and diversity-based selection under identical budgets. The same mechanism halves delivered risk exposure and eliminates the 44-81% tool-violation rates of tool-agnostic recommendation. At an identical three-service budget, hit rate improves from 0.8864 to 0.9091 over fixed Top-3 retrieval. The results support managing reusable agent skills as discoverable, comparable, and constraint-aware service units instead of plain retrievable documents.

cs.IR↗

Two-Dimensional Pulsar Distance Inference from Nanohertz Gravitational Waves

Pulsar timing arrays (PTAs) are limited in localizing nanohertz continuous gravitational waves (CGWs) by uncertainties in pulsar distances. We introduce a method to infer pulsar distances in two dimensions, using phase information from the pulsar terms of multiple CGW sources. Our approach can enhance distance precision and, in some cases, achieve order-of-magnitude improvements relative to existing one-dimensional distance-inference methods. Using simulations of an SKA-era PTA with realistic parallax-based distance priors, we demonstrate that pulsars at $\sim 1$ kpc can achieve sub-parsec distance precision with only a few CGW sources. Such improvements in pulsar-distance precision have important implications for CGW host-galaxy identification and multimessenger observational prospects.

gr-qc↗

Distill Where the Student Goes: Teacher-Regularized RL for English-Evidence Cross-Lingual RAG

Cross-lingual retrieval-augmented generation (RAG) is often deployed in an English-evidence regime, where users query in diverse languages but retrieved passages remain English. In this setting, generation can fail despite strong base models: English evidence induces language drift (English or code-switching outputs) and models use evidence unreliably when producing non-English answers. We attribute these failures to two post-training challenges: (i) errors are prefix-dependent, so fixed-trajectory supervision suffers from prefix mismatch; and (ii) sequence-level (partly discrete / judge-based) rewards yield noisy credit assignment and high-variance updates. We propose TR-RAG, a teacher-regularized RL recipe that couples reward optimization with on-policy distillation on student-visited prefixes. A compact student samples on-policy answers, while a stronger frozen teacher is queried only on those prefixes and provides a prefix-wise student-to-teacher reverse-KL anchor. We further introduce a reward decomposition for English-evidence multilingual generation, combining language consistency, character 3-gram recall, and an LLM-judge score for evidence-grounded correctness. Across three benchmarks (BioASQ-ENKB5, Hotpot-ENKB5, and naturally multilingual MKQA) and two backbones, TR-RAG improves the composite of language adherence and evidence-grounded correctness over strong baselines. Crucially, the teacher anchor acts as a safety net: on in-domain languages it prevents the large language-consistency collapses (up to ~27 percentage points) that reward-only RL can suffer by drifting below even the base model, while on distant out-of-distribution languages, where reward-only RL stalls at the base model's ceiling, it still improves evidence grounding; and on character 3-gram recall the compact student sometimes surpasses its 70B teacher.

cs.CL↗

Dzyaloshinskii-Moriya Gradients Unlock Topological Dimensional Reduction in Magnetic Hopfions

Three-dimensional magnetic solitons retain topological protection only while their spin field remains continuous. Here we show that chemical inhomogeneity can break this protection in a controlled way, converting a hopfion-like toroidal texture into an effectively two-dimensional skyrmion string. Tilt-dependent Lorentz transmission electron microscopy, electron energy-loss spectroscopy, and micromagnetic simulations of pristine, uniformly Y-doped, and nonuniformly Y-doped disordered TiO2 nanoparticles embedded in a FeCrNiMn host reveal two regimes. Uniform Y doping enriches Ti3+/oxygen-vacancy localization centers and stabilizes closed rings with Hopf invariant QH approximately 1. Nonuniform Y doping forms a Ti4+-rich, vacancy-depleted boundary that creates a sharp q=D/(2A) gradient and a weak-moment leakage channel. This coupled mismatch torque and continuity leakage split the ring, leaving a skyrmion-string remnant and a field-sensitive helicity texture.

cond-mat.other↗

Phase transitions in scalarized topological AdS black holes

We investigate the behavior of black hole scalarization induced by a charged scalar field in the extended phase space of the asymptotic AdS spacetime with three distinct horizon topologies. The results indicate that in all three cases, the charged black hole spacetime undergoes scalarization at low temperatures. Notably, the spherical topology is unique in that its domain of scalarization theoretically extends to much higher temperatures under low pressure in the extended phase space. Moreover, the scalarization process in the spherical case exhibits complex phase transition behaviors without additional non-linear terms, which are similar to those in the planar and hyperbolic topologies with the assistance of non-linear terms. With increasing pressure in the extended phase space, the condensate of the scalarization in all three cases undergoes a transition from the first-order style to a cave-of-wind style. This study provides deeper insight into the zeroth-order phase transition during black hole scalarization and reveals the complete phase structure of black holes in the extended phase space.

gr-qc↗

Model-independent late-universe measurements of $H_0$ and $Ω_K$ with the parametrization based on cosmic age-improved inverse distance ladder

The standard $Λ{\rm CDM}$ model has encountered serious challenges and the $H_0$ tension has become more significant with increasingly precise cosmological observations. Meanwhile, inconsistencies in measurements of the curvature parameter $Ω_\mathrm{K}$ between different datasets also have emerged. In this work, we employ two global and cosmic age-based parameterizations, PAge and MAPAge, to perform model-independent measurements of the Hubble constant $H_0$ and $Ω_\mathrm{K}$ by utilizing the inverse distance ladder (IDL). To construct the PAge-improved IDL, we utilize the strong gravitational lensing (SGL), cosmic chronometers (CC), and gamma ray bursts (GRB) data to calibrate the latest DESI DR2 baryon acoustic oscillation and DESY5 or DES-Dovekie type Ia supernova data. Our analysis indicates that DESI+DES-Dovekie+SGL+CC+GRB gives $H_0=72.20\pm 1.00\,{\rm km}~{\rm s}^{-1}~{\rm Mpc}^{-1}$ in the MAPAge model, reducing the $H_0$ tension to the $0.6σ$ level. Extending to the MAPAge$+Ω_{\rm K}$ model, we obtain $Ω_\mathrm{K}=0.005\pm 0.037$, which suggests that current late-time data are consistent with a flat universe. Finally, the Bayesian analysis indicates that the present late-universe data provide weak to moderate evidence in favor of PAge and MAPAge relative to $Λ{\rm CDM}$.

astro-ph.CO↗

ResearchStudio-Idea: An Evidence-Grounded Research-Ideation Skill Suite from ML Conference Outcomes

Large language models have made research ideation increasingly accessible, yet effective idea development requires more than generating candidate directions. Researchers must ground a problem in current literature, identify meaningful bottlenecks, differentiate from existing solutions, and evaluate risks before committing to implementation. We present ResearchStudio-Idea as a reusable skill suite for this first mile of research ideation. The suite includes Paper-Search, a standalone multi-source literature search skill; Scoop-Check, a standalone prior-art collision checker for novelty claims; and IdeaSpark, the end-to-end skill that composes evidence grounding, pattern-guided generation, collision retrieval, audit, and idea-card rendering into one workflow. IdeaSpark is constructed from a corpus of 1,947 machine learning conference papers collected from ICLR, ICML, and NeurIPS between 2021 and 2025, including Oral papers, a separately tracked high-citation subset, and rejected submissions. Analysis of these outcomes reveals 31 recurring ideation sub-patterns, consolidated into 15 reusable ideation patterns. Each pattern is operationalized as a structured card containing research contexts, bottleneck types, differentiation strategies, supporting precedents, and common failure modes. Given a research problem and an evidence bundle, IdeaSpark evaluates evidence readiness, reconstructs the surrounding research context, identifies unresolved bottlenecks, selects relevant patterns, instantiates one candidate direction, retrieves potentially conflicting prior work, and performs outcome-informed auditing. This workflow transforms reusable ideation patterns into traceable research proposals. Blind automated-judge evaluations show that IdeaSpark consistently produces stronger research proposals than no-skill and generic-skill baselines while maintaining competitive novelty.

cs.AI↗

Spatially variant arbitrary polarization shaping for optical skyrmions generation

Polarization is fundamental degree of freedom of light, crucial for applications from imaging to quantum optics. Although numerous methods can spatially manipulate the polarization orientation, e.g., for generating vector beam, achieving simultaneous, spatially resolved control of both the orientation (ψ) and ellipticity (\c{hi}) remains challenging. Here, we present an efficient and compact platform to generate spatially variant arbitrary polarization states, e.g., optical skyrmions, in free space, using cascaded spatially variant waveplates in a single silica glass plate via ultrafast laser direct writing. We propose two configurations: (1) a spatially variant half-waveplate (S-HWP) and followed by a quarter-waveplate (S-HWP); and (2) two cascaded spatially variant quarter-waveplates (S-QWPs). Design rules linking the target polarization parameters (orientation ψ and ellipticity \c{hi}) to the fast-axis distributions enable spatially resolved arbitrary polarization control. Using these devices, we realize Néel-, Bloch-, and anti-skyrmions of different orders (e.g., second and fourth) and n-π textures (2π and 3π), with polarization-resolved measurements in excellent agreement with simulations. We further demonstrate 3 by 3 arrays comprising either identical or hybrid skyrmions. This approach enables the realization of spatially variant arbitrary polarization state and scalable skyrmion lattices.

physics.optics↗

Identifying lensed gravitational waves with physics-informed posterior learning

Gravitational lensing of gravitational waves can probe compact lenses, dark matter substructure, and cosmological distances, but identifying lensed events is difficult when unrelated binary mergers overlap in the same analysis window. We develop physics-informed posterior learning for ranking lensed multi-image signals against unrelated multiple-merger events. The method exploits the geometric-optics consistency that lensing can change amplitudes, arrival times, and Morse phase offsets while preserving the intrinsic phase evolution of the source. We infer a simulation-trained approximate posterior for the common detector-frame chirp mass and symmetric mass ratio, and fuse posterior samples with direct waveform features. Training uses generic multi-image simulations, while point-mass, singular-isothermal-sphere, singular-isothermal-ellipsoid, and shear-perturbed lenses are reserved for held-out lens-family evaluation. For the observationally motivated binary-black-hole population, the fusion ranking raises the detection efficiency from $20.8\%$ to $35.2\%$ at a $1\%$ reference false-positive-rate threshold calibrated on the corresponding unrelated multiple-merger sample. It lowers the network signal-to-noise ratio needed for $50\%$ detection efficiency from 45.3 to 33.5, which corresponds to a 1.35 times larger signal-to-noise-ratio-equivalent distance scale. The gain is limited by loud unrelated multiple-merger events that are partly source consistent, and by the need to calibrate the unrelated multiple-merger population. These results suggest that physical consistency can become a guiding principle for machine learning searches in dense gravitational-wave catalogs.

gr-qc↗