Searcharxiv⌕ Search

arXiv subjects

Kai Xu

Publications and source records attributed to Kai Xu.

At least 55 records · Page 3Linked to original sources

sGPO: Trading Inference FLOPs for Training Efficiency in RLVR

Standard Reinforcement Learning with Verifiable Rewards (RLVR) training allocates a fixed rollout budget to every query, without regard for what each query's difficulty means for the current policy. This leads to two symmetric failure modes: easy queries produce near-zero advantage because the policy already solves them, while unsolvable queries produce no signal because the policy never solves them. Both regimes waste training FLOPs without contributing to a learning gradient. We introduce sorted Group Policy Optimization (sGPO), a compute-efficient strategy that trades a small budget of inference FLOPs for a large reduction in wasted training FLOPs. The key insight is that cheap inference compute can serve as a single offline proxy for query difficulty. By generating a small batch of parallel samples per query under the initial policy, we obtain a model-aware empirical success rate. This motivates setting the training rollout group size to the inverse of this success rate, a practical rule that maximizes sample efficiency by extracting the most advantage per generated rollout. This single profiling pass simultaneously drives data filtering (removing trivial queries and sub-sampling unsolvable ones), adaptive group size allocation, and curriculum construction (scheduling queries from easy to hard). sGPO matches or exceeds baseline performance while reducing total training compute by a factor of three, with the upfront inference profiling cost included.

cs.LG↗

Programmable spectral symmetries in an anisotropic quantum Rabi simulator

The quantum Rabi model captures fundamental aspects of light--matter interaction, where symmetry dictates both spectra and dynamics. Over the past years, experiments have explored many of its nonperturbative properties, but have mostly focused on the isotropic limit, where rotating and counterrotating processes are locked together, leaving the broader symmetry landscape largely unexplored. Here we realize a programmable anisotropic quantum Rabi model in a superconducting processor, with independent control of the rotating and counterrotating couplings $(g_1,g_2)$ and of a transverse bias $\varepsilon$. Continuous anisotropy tuning, combined with a duality mapping, gives access to the full parameter space from the Jaynes-Cummings to the anti-Jaynes-Cummings limits. In the deep-strong-coupling regime, we show that anisotropy reconstructs the spectrum and turns complete collapse-revival dynamics into incomplete revivals even near degeneracy. With adiabatic state preparation and joint tomography, we resolve an anisotropy-induced ground-state parity switch, a crossing that has no analogue in the isotropic model. We further observe selective tunnelling associated with hidden symmetry in biased Rabi models and track its anisotropic displacement within the same device. These results establish a controllable route to engineering nonperturbative light--matter Hamiltonians, where symmetry, spectrum, and dynamics can be programmed independently.

quant-ph↗

Role of Characteristic Length Scale in Interface Graphitization-Induced Wear Resistance of Diamond and Amorphous Carbon

The evolution of interfacial atomic structures critically influences the friction and wear behavior of carbon-based materials. However, how the characteristic length scale of friction-induced sp\textsuperscript{2} reconstruction governs macroscopic wear remains poorly understood, particularly for diamond and amorphous carbon where the interfacial graphitization modes differ fundamentally. In this work, we develop a machine learning potential for these carbon systems and investigate the structural evolution at interfaces in both diamond/diamond and amorphous/amorphous carbon systems using molecular dynamics simulations. Our results reveal distinct atomic-scale characteristics of graphitization at the two interfaces. Diamond interfaces develop a laterally continuous sp\textsuperscript{2} reconstruction layer with a characteristic length of 30--45~Å, while amorphous carbon interfaces form only fully isolated sp\textsuperscript{2} patches of 8--12~Å. This disparity in characteristic length scale determines the density of weakly bonded interfacial atoms left outside the reconstruction layer, thereby directly dictating the macroscopic wear rate. Based on these insights, we propose a strategy to regulate friction-induced graphitization in diamond coatings by protecting specific crystallographic orientations, such as the (111) close-packed planes. This work bridges the gap between atomic-scale interfacial structure and macroscopic tribological performance, offering mechanistic guidelines for the rational design of wear-resistant carbon-based coatings.

cond-mat.mtrl-sci↗

Experimental genuine quantum nonlocality in the triangle network

In the last decade, it was understood that quantum networks involving several independent sources of entanglement which are distributed and measured by several parties allowed for completely novel forms of nonclassical quantum correlations, when entangled measurements are performed. Here, we experimentally obtain quantum correlations in a triangle network structure, and provide solid evidence of its nonlocality. Specifically, we first obtain the elegant distribution proposed in (Entropy 21, 325) by performing a six-photon experiment. Then, we justify its nonlocality based on machine learning tools to estimate the distance of the experimentally obtained correlation to the local set, and through the violation of a family of conjectured inequalities tailored for the triangle network.

quant-ph↗

PaintBench: Deterministic Evaluation of Precise Visual Editing

While current multimodal models are proficient at open-ended visual editing, executing precise single-answer edits remains an important obstacle. To probe this challenge, we introduce PaintBench, a dynamically scalable benchmark targeting 20 fundamental precise visual editing operations across four categories: geometric transformation, structural manipulation, color change, and symbolic reasoning. Procedural generation with configurable complexity enables an effectively infinite, contamination-resistant evaluation suite, and deterministic pixel-level evaluation eliminates reliance on bias-prone judge models. Across 11 image editing models, we find overall low performance, with the current highest-performing industry leader scoring only 17.1% (mIoU). Task decomposition reveals especially challenging operation types (geometric transformation, most structural manipulation, formula-based color change) and model-specific specializations. Fine-grained benchmark diagnostics further show performance degradations induced by scene variations in object count, background complexity, color scheme, and edit-region size. To test generalization of PaintBench scores to applied task performance, we create a procedural, deterministic evaluation for data visualization editing (TinyGrafixBench) and find strong linear correlation with PaintBench scores ($R^2 = 0.91$, $p < 0.001$). Altogether, PaintBench provides a rigorous foundation for measuring and driving progress in precise multimodal visual editing.

cs.GR↗

Observation and Modulation of the Quantum Mpemba Effect on a Superconducting Quantum Processor

In non-equilibrium quantum systems, the quantum Mpemba effect (QME) emerges as a counterintuitive phenomenon: systems exhibiting greater initial symmetry breaking restore symmetry faster. It has been attracting broad interest in studying QME dynamics and potential applications in quantum information science. While theoretical exploration of QME has surged, experimental studies, specifically on its flexible modulation, remain limited. Here, we report the observation and modulation of QME using a superconducting processor featuring an all-to-all connected, tunable-coupling architecture that enables precise control from short- to long-range interactions. This platform allows independent manipulation of coupling regimes, on-site potentials, and initial states, enabling us to elucidate their roles in QME. To quantify symmetry restoration, we employ entanglement asymmetry (EA), derived from the reconstructed density matrix via quantum state tomography, as a sensitive probe. In strong short-range coupling regimes, EA crossovers during quenches from tilted Néel states confirm the presence of QME. In contrast, in intermediate coupling regimes, synchronized EA and entanglement entropy dynamics reveal the suppression of QME. Remarkably, QME reemerges with the introduction of on-site linear potentials or quenches from tilted ferromagnetic states, the latter proving robust against on-site disorder. Our study demonstrates flexible QME modulation on a superconducting platform with multiple controllable parameters, shedding light on quantum many-body non-equilibrium dynamics and opening avenues for quantum information applications.

quant-ph↗

Origin of the Temperature-Induced Gap Bowing of Formamidinium-Methylammonium Lead Iodide Perovskites: Role of Cationic Rattlers

A thorough understanding of the temperature dependence of semiconductor band gaps is essential for optimizing optoelectronic devices. In this respect, the origin of the pronounced temperature-induced gap bowing observed in low-temperature phases of formamidinium-methylammonium (FA-MA) lead iodide perovskites has remained elusive until now. By combining temperature and pressure-dependent photoluminescence measurements on a series of FA$_x$MA$_{1-x}$PbI$_3$ mixed-cation single crystals with $x\in[0,1]$, we unravel the origin of this bowing. Both thermal expansion as well as electron-phonon interaction effects are responsible. However, the latter is the leading term, driven by the activation of an anomalous electron-phonon coupling mechanism linked to mixed vibrational modes, which combine inorganic-cage phonons involving octahedral tilting with low-frequency FA librations, i.e., FA rattler modes. This occurs in the orthorhombic and (pseudo)tetragonal low-temperature phases, presumably featuring stripe domains with alternating octahedral tilt-axis patterns for FA concentrations between 20\% and 90\%. In this way, we have shed light on an intriguing behavior of lead halide perovskites that directly affects their optoelectronic properties.

cond-mat.mtrl-sci↗

On-Policy Consistency Training Improves LLM Safety with Minimal Capability Degradation

Aligned models can misbehave in several ways: they are often sycophantic, fall victim to jailbreaks, or fail to include appropriate safety warnings. Consistency training is a promising new alignment paradigm to mitigate such failures by training invariants into the model using contrastive input pairs. Existing consistency training procedures generate the supervision signal once, offline, and use supervised fine-tuning (SFT) to update the model. Unfortunately, the resulting models tend to merely memorize the surface forms of the training distribution and thus generalize poorly and regress in their capabilities. We introduce On-Policy Consistency Training (OPCT), a new consistency training approach where the objective is computed over the model's own responses to prompts, supervised by itself conditioned on corresponding contrastive prompts. We evaluate OPCT on three safety axes: sycophancy, jailbreaking, and safety awareness. Across three model families, OPCT outperforms its SFT counterpart on all safety desiderata. It nearly halves the sycophancy rate relative to baseline (8.1% vs. 15.4%, compared to 11.2% for SFT). Under an adaptive per-target attacker, OPCT holds jailbreak defense success near 99% on held-out jailbreak behaviors, whereas SFT achieves 87% on average. On safety awareness, OPCT outperforms SFT in two out of three models, and matches it on the other. OPCT also largely avoids the capability regressions that SFT induces, such as a 28-point drop on MATH-500. Our results suggest that consistency training is best implemented as OPCT rather than as SFT, especially when generalization beyond the training distribution is desired.

cs.LG↗

Interference-Induced Suppression of Doublon Transport and Prethermalization in the Extended Bose-Hubbard Model

The coherent mobility of doublons, arising from second-order virtual dissociation-recombination processes, fundamentally limits their use as information carriers in the strongly interacting Bose-Hubbard model. We propose a disorder-free suppression mechanism by introducing an optimized nearest-neighbor pair-hopping term that destructively interferes with the dominant virtual hopping channel. Using the third-order Schrieffer-Wolff transformation, we derive an analytical optimal condition that accounts for lattice geometry corrections. Exact numerical simulations demonstrate that this optimized scheme achieves near-complete dynamical arrest and entanglement preservation in one-dimensional chains, while in two-dimensional square lattices, it significantly suppresses ballistic spreading yet permits a slow residual expansion. Furthermore, in the many-body regime, finite-size scaling analysis identifies the observed long-lived density-wave order as a prethermal plateau emerging from the dramatic separation of microscopic and thermalization timescales.

cond-mat.quant-gas↗

Turning Intent into Specifications: A Benchmark and an Interactive User-Assistant Agent

Today's agents are highly effective at implementing well-scoped software design plans, but user intent is often vague and admits multiple equally valid solutions. In this paper, we introduce SpecBench, a new benchmark for evaluating an agent's ability to translate user intent into a structured, executable specification that aligns with user preferences. The agent is given access to past user conversations and may interact with the user for a fixed number of rounds to ask clarifying questions. We find that existing agents exhibit two extreme behaviors: they either (i) struggle to collaborate proactively with users, entering implementation mode too quickly while overestimating their understanding of user preferences, or (ii) exhaust their question budget by asking about every ambiguous design choice. To address this limitation, we introduce a user-assistant agent: Buddy. It follows a workflow inspired by classical morphological analysis, decomposing user intent into a structured space of design dimensions and candidate choices. It then creates simulated users to evaluate these choices, before engaging the real user to resolve remaining ambiguities and finalize the specification. By shifting the focus from execution to specification, SpecBench and Buddy emphasize agent-user collaboration (not just code generation) as a key frontier in future agent design.

cs.HC↗

UniCon3R: Unified Contact-aware 4D Human-Scene Reconstruction from Monocular Video

We introduce UniCon3R, a unified feed-forward framework for online human-scene 4D reconstruction from monocular video. Current feed-forward human-scene reconstruction methods suffer from artifacts, where bodies float above the ground or penetrate parts of the scene. A key reason is the lack of effective interaction modelling between the human and the environment. Our goal is to exploit contact between the human and the scene during inference to actively improve the human mesh reconstruction. To that end, we explicitly model interaction by inferring 4D contact from the human pose and scene geometry and use the contact as a corrective cue for generating the pose. This enables UniCon3R to jointly recover scene geometry and spatially aligned 4D humans within the scene. Experiments on standard human-centric video benchmarks show that UniCon3R outperforms state-of-the-art baselines on physical plausibility and global human motion estimation while preserving fast, feed-forward inference speeds. The results validate our central claim: contact serves as a powerful internal prior, thus establishing a new paradigm for physically grounded joint human-scene reconstruction. Project page is available at https://surtantheta.github.io/UniCon3R .

cs.CV↗

Covariance-Aware Goodness for Scalable Forward-Forward Learning

The Forward-Forward algorithm eliminates global gradient flow and full network activations storage. However, in convolutional settings, existing BP-free FF methods significantly under-perform backpropagation on complex benchmarks such as ImageNet-100 and Tiny-ImageNet. We identify this gap as a structural bottleneck in goodness extraction: standard sum-of-squares formulation collapses feature volumes into channel-wise activation energies which omits critical second-order dependencies. To address this, we propose a framework centered on three key components. First, Bi-axis Covariance Goodness(BiCovG) explicitly augments the standard goodness function with structured second-order information along two axes: cross-channel projections that model inter-feature covariance, and nested multi-scale aggregation that encodes spatial correlation statistics. This provides a tractable approximation to covariance-aware goodness without the prohibitive O(C^2) complexity of explicit matrix estimation. Second, a lightweight Logistic Fusion module aggregates layer-wise predictions, amplifying the contribution of deeper representations. Third, the Feature Alignment Layer(FAL) introduces a zero-initialized correction at block boundaries to mitigate representation misalignment in deep locally trained networks. By introducing these three components, we effectively double the depth of viable Forward-Forward learning, extending robust layer utilization from shallow baselines to 16 layer architectures like VGG-16. The resulting BP-free model achieves 73.01% on ImageNet-100 and 50.30% on Tiny-ImageNet. As a practical extension, Hybrid Goodness Blocks control the scope of gradient propagation via configurable block sizes, further narrowing the ImageNet-100 gap to 3.6% and matching BP on Tiny-ImageNet, while still reducing peak memory by approximately 50% relative to BP.

cs.LG↗

Bounds on Discrete Gauge Symmetries in Supergravity

We place bounds on the order of enhanced discrete gauge symmetries that act on massless fields and thus arise at subloci of the moduli space in supergravity theories. We focus on supersymmetric theories with 8 or more supercharges which in some cases lead to sharp upper bounds realized by specific string constructions.

hep-th↗

BLASST: Dynamic BLocked Attention Sparsity via Softmax Thresholding

The growing demand for long-context inference capabilities in Large Language Models (LLMs) has intensified the computational and memory bottlenecks inherent to the self-attention mechanism. To address this challenge, we introduce BLASST, a drop-in, dynamic sparse attention mechanism that accelerates inference by using only a fixed scalar threshold to skip attention blocks. Our method targets practical inference deployment by removing the barriers to adoption present in existing works. As such, BLASST eliminates training requirements, avoids expensive pre-computation passes, accelerates both prefill and decode across all major attention variants (MHA, GQA, MQA, and MLA), provides optimized support for modern hardware, and easily integrates into existing frameworks. This is achieved by reusing online softmax statistics to identify negligible attention scores, skipping softmax, value block loads, and the subsequent matrix multiplication. We demonstrate the BLASST algorithm by delivering optimized kernels with negligible latency overhead. Our automated threshold calibration procedure reveals a simple inverse relationship between optimal threshold and context length, meaning we require only a single threshold each for prefill and decode per model. Preserving benchmark accuracy, we demonstrate a 1.52x speedup for prefill at 71.9% sparsity and a 1.48x speedup for decode at 73.2% sparsity on modern GPUs.

cs.CL↗

SnapGuard: Lightweight Prompt Injection Detection for Screenshot-Based Web Agents

Web agents have emerged as an effective paradigm for automating interactions with complex web environments, yet remain vulnerable to prompt injection attacks that embed malicious instructions into webpage content to induce unintended actions. This threat is further amplified for screenshot-based web agents, which operate on rendered visual webpages rather than structured textual representations, making predominant text-centric defenses ineffective. Although multimodal detection methods have been explored, they often rely on large vision-language models (VLMs), incurring significant computational overhead. The bottleneck lies in the complexity of modern webpages: VLMs must comprehend the global semantics of an entire page, resulting in substantial inference time and GPU memory usage. This raises a critical question: can we detect prompt injection attacks from screenshots in a lightweight manner? In this paper, we observe that injected webpages exhibit distinct characteristics compared to benign ones from both visual and textual perspectives. Building on this insight, we propose SnapGuard, a lightweight yet accurate method that reformulates prompt injection detection as multimodal representation analysis over webpage screenshots. SnapGuard leverages two complementary signals: a visual stability indicator that identifies abnormally smooth gradient distributions induced by malicious content, and action-oriented textual signals recovered via contrast-polarity reversal. Extensive evaluations across eight attacks and two benign settings demonstrate that SnapGuard achieves an F1 score of 0.75, outperforming GPT-4o-prompt while being 8x faster (1.81s vs. 14.50s) and introducing no additional memory overhead.

cs.CR↗

Multimode Purcell Filter for Superconducting-Qubit Reset and Readout with Intrinsic Purcell Protection

Efficient qubit reset and leakage reduction are essential for scalable superconducting quantum computing, particularly in the context of quantum error correction. However, such operations often require additional on-chip components. Here, we propose and experimentally demonstrate a hardware-efficient approach to qubit reset and readout using a multi-mode Purcell filter in a superconducting quantum circuit. We exploit the inherent multi-mode structure of a coplanar waveguide resonator, using its fundamental and second-order modes for qubit reset and readout, respectively, thereby avoiding additional components. Implemented in a flip-chip architecture, our device achieves unconditional reset with residual excitation below 1\% in 220 ns, and a leakage reduction unit that selectively resets the second excited state within 62 ns with a residual $|f\rangle$ population of 6.1\%, accounting for the readout error. Despite the qubits being directly coupled to the filter in our configuration, the measured relaxation times are not degraded owing to intrinsic Purcell protection provided by an auxiliary mode. To our knowledge, this is the first experimental trial that exploits different-order modes of a microwave resonator for distinct qubit operations, representing a new direction toward scalable, hardware-efficient quantum processor design.

quant-ph↗

Co-Refine: AI-Powered Tool Supporting Qualitative Analysis

Qualitative coding relies on a researcher's application of codes to textual data. As coding proceeds across large datasets, interpretations of codes often shift (temporal drift), reducing the credibility of the analysis. Existing Computer-Assisted Qualitative Data Analysis (CAQDAS) tools provide support for data management but offer no workflow for real-time detection of these drifts. We present Co-Refine, an AI-augmented qualitative coding platform that delivers continuous, grounded feedback on coding consistency without disrupting the researcher's workflow. The system employs a three-stage audit pipeline: Stage 1 computes deterministic embedding-based metrics for mathematical consistency; Stage 2 grounds LLM verdicts within $\pm0.15$ of the deterministic scores; and Stage 3 produces code definitions from previous patterns to create a deepening feedback loop. Co-Refine demonstrates that deterministic scoring can effectively constrain LLM outputs to produce reliable, real-time audit signals for qualitative analysis.

cs.HC↗

Study of $1^{--}$ P wave charmoniumlike and bottomoniumlike tetraquark spectroscopy

The masses of $1^{--}$ P-wave charmonium-like and bottomonium-like tetraquark states are calculated in a constituent quark model (CQM) where the Cornell-like potential and Breit-Fermi interaction are employed. All model parameters were imported from previous work, and predetermined by studying the low-lying conventional S- and P-wave light, charmed, bottom, charmonium, and bottomonium meson mass spectra. The lowest $1^{--}$ tetraquark mass is predicted to be around 4.15 GeV. The decay widths of $1^{--}$ P-wave tetraquark states are calculated for possible two-body strong decay channels within the rearrangement mechanism, including $ωχ_{cJ}$ and $ηJ/ψ$ for charmonium-like tetraquarks, and $ωχ_{bJ}$ for bottomonium-like tetraquarks. The theoretical results are compared with the selected exotic states, also known as Y states, and tentative assignments are suggested. This study suggests that $ψ(4230)$, $ψ(4360)$, $ψ(4660)$, and $Υ$(10753) may be P-wave tetraquark states and that multiple states might exist around 4.36 GeV.

hep-ph↗