Search arXiv⌕ Search

arXiv subjects

Xudong Sun

Publications and source records attributed to Xudong Sun.

At least 19 recordsLinked to original sources

Canopy: Automatic Symbolic Verification for Large-Scale Security Protocols

Symbolic protocol verification is undecidable in general. Therefore, even with automated verifiers such as Tamarin, hard proofs still require experts to provide proof guidance, i.e., search heuristics and helper lemmas, whenever automated proof search stalls. We present Canopy, an agentic system that enables coding agents to automate verification in Tamarin. Given a protocol model and a target property, Canopy automatically produces a machine-checked proof, covering source lemma construction, helper lemma discovery, and proof search. Our key insight is to turn Tamarin's interactive mode from a debugging aid into the primary means of completing proofs, i.e., to use Tamarin as an interactive theorem prover driven by an agent. To this end, Canopy provides (1) an agent-native interface that exposes the proof state as structured data and lets the agent retrieve proof context and apply proof tactics through a compact query language, and (2) an asynchronous coordinator that executes independent proof actions concurrently and safely, overlapping the agent's reasoning with Tamarin's backend computation. We evaluate Canopy on a comprehensive set of 22 protocol models and 141 target properties, including state-of-the-art, challenging ones such as 5G AKA, 5G Handover, SPDM, WPA2, and Apple's iMessage PQ3. Canopy verifies all 141 target properties in a total of 41.2 hours, whereas verifying the most challenging protocols historically required weeks to months of expert effort. To the best of our knowledge, no prior approach has demonstrated automation of the full proof process for security protocols of comparable complexity. Canopy also offers insight into how challenging Tamarin proofs are developed. Building on this understanding, we organize recurring helper-lemma patterns into a taxonomy and use a case study to trace the reasoning behind a challenging proof.

cs.CR↗

Real-Frequency Scattering and Superradiant Response across a Kerr-Bertotti-Robinson Bridge

We study the scattering and superradiant amplification of a neutral, minimally coupled massless scalar field in Kerr-Bertotti-Robinson spacetime. The region considered extends outward from the black-hole outer horizon, across the coordinate bridge, to the inner horizon of a neighbouring spacetime region. We calculate reflection and transmission across this entire region and use flux conservation to determine when the reflected wave is amplified. Imposing transparent boundary conditions at the coordinate endpoint \(r\to+\infty\) gives a magnetic-field cutoff for superradiant amplification within that boundary model. We find that retaining the neighbouring region beyond this endpoint allows amplification to persist beyond this cutoff. Waves can still pass through the bridge when a local barrier is present. For non-extremal horizons, the amplification falls linearly to zero at either edge of the amplification interval, while the peaks found numerically are associated with damped resonances. These results show that transmission and superradiant amplification depend on the full region retained and its endpoint conditions.

gr-qc↗

TLAPS-Bench: Formally Proving Correctness of Real-World System Specifications with TLA+ Proof System

TLAPS-Bench is a benchmark and execution harness for constructing machine-checked proofs for real-world system specifications in TLA+ with agentic AI. Proving correctness of complex system specifications requires discovering inductive invariants, reasoning about intricate state transitions, and decomposing proofs into tractable obligations. TLAPS-Bench provides a proof harness that supports iterative proof development atop the TLA+ Proof System (TLAPS), where agents are equipped with proof tools and libraries, with safeguards against reward hacking. Using the harness, we have employed AI agents to prove desired properties for important system specifications that were not proved before, spanning cache coherence, Byzantine consensus, and write-ahead logs. TLAPS-Bench contains 265 proof targets (each encodes a property to prove) from 95 TLA+ specifications of real-world systems. We evaluated frontier AI agents, represented by Codex with GPT models, on a subset of 70 proof targets across 12 specifications. The highest-scoring model, GPT-6.1 Sol (max), proved 31 (44.3%) proof targets. The results show challenges and opportunities in end-to-end proof development.

cs.AI↗

AstronOS: A Unified Execution Model and Runtime for Long-Horizon Agentic Systems

Agentic systems often organize execution and state around a single conversation, model invocation, or agent instance, even when real work spans many calls and stages. We introduce a unified execution model that maintains a work item's persistent identity and versioned authoritative state across calls. Each step receives input scoped to a specific state version and new material; a result advances state only after validation and recording. We implement selected paths of this model in AstronOS using Cases, Tasks, and Scenario Packs across central and local execution. We compare five complete strategies for carrying an established software-version update plan into a fresh model session: rereading original materials, replaying full history, deterministic text summary, deterministic JSON, and the AstronOS runtime-mediated handoff. Ten controlled tasks are run under all five strategies with three repetitions, yielding 150 included executions. On the single-stage reference family, strategies perform similarly. In the primary three-stage A-C batch, AstronOS passes the frozen scorer in 14 of 15 executions, compared with 0 of 15 for rereading and 2 of 15 for full-history replay; later non-interleaved summary and JSON batches each pass 0 of 15. AstronOS has lower attempt-accounted model-token cost per passing execution, while requiring more execution-window time per attempt. These results associate the complete AstronOS condition with higher end-to-end pass rates across fresh sessions in this benchmark, at a measurable time cost.

cs.AI↗

SURE: Safe Uncertainty-Aware Robot-Environment Interaction using Trajectory Optimization

Robotic tasks involving contact interactions pose significant challenges for trajectory optimization due to discontinuous dynamics. Conventional formulations typically assume deterministic contact events, which limit robustness and adaptability in real-world settings. In this work, we propose SURE, a robust trajectory optimization framework that explicitly accounts for contact timing uncertainty. By allowing multiple trajectories to branch from possible pre-impact states and later rejoin a shared trajectory, SURE achieves both robustness and computational efficiency within a unified optimization framework. We evaluate SURE on two representative tasks with unknown impact times. In a cart-pole balancing task involving uncertain wall location, SURE achieves an average improvement of 21.6% in success rate when branch switching is enabled during control. In an egg-catching experiment using a robotic manipulator, SURE improves the success rate by 40%. These results demonstrate that SURE substantially enhances robustness compared to conventional nominal formulations.

cs.RO↗

Consensus-based optimization (CBO): Towards Global Optimality in Robotics

Zero-order optimization has recently received significant attention for designing optimal trajectories and policies for robotic systems. However, most existing methods (e.g., MPPI, CEM, and CMA-ES) are local in nature, as they rely on gradient estimation. In this paper, we introduce consensus-based optimization (CBO) to robotics, which is guaranteed to converge to a global optimum under mild assumptions. We provide theoretical analysis and illustrative examples that give intuition into the fundamental differences between CBO and existing methods. To demonstrate the scalability of CBO for robotics problems, we consider three challenging trajectory optimization scenarios: (1) a long-horizon problem for a simple system, (2) a dynamic balance problem for a highly underactuated system, and (3) a high-dimensional problem with only a terminal cost. Our results show that CBO is able to achieve lower costs with respect to existing methods on all three challenging settings. This opens a new framework to study global trajectory optimization in robotics.

cs.RO↗

Convergence of Consensus-Based Particle Methods for Nonconvex Bi-Level Optimization

In this paper, we study a consensus-based optimization method for nonconvex bi-level optimization, where the objective is to minimize an upper-level function over the set of global minimizers of a lower-level problem. The proposed approach is derivative-free, and constructs its consensus point via smooth quantile selection combined with a Gibbs-type Laplace approximation. We establish convergence guarantees for both the associated \textit{mean-field} dynamics and its \textit{finite-particle} approximation. In particular, under suitable assumptions on smooth quantile localization, error bounds, and stability, we show that the mean-field law reaches any arbitrary prescribed Wasserstein neighborhood of the target bi-level solution with an explicit exponential rate up to the hitting time. Numerical experiments on a two-dimensional constrained problem and neural network training further support the theoretical results.

math.OC↗

Scattering and absorption of a charged massive scalar field by a Reissner-Nordström black hole surrounded by perfect fluid dark matter

We study the scattering of charged massive particles impinging on a Reissner-Nordström (RN) black hole immersed in perfect fluid dark matter (PFDM). We obtain an approximation of absorption cross section in the low-frequency regime via the matching method. In the high-frequency regime, we derive the weak-field deflection angle up to second order. The numerical results are in excellent agreement with classical approximation and glory scattering. The effects of dark matter, particle charge, and mass upon scattering and absorption are examined in detail. The results show that as the dark matter parameter $λ$ increases, the absorption cross section of the black hole is strongly suppressed, and its high-frequency limit depends only on the black hole charge $Q$ and $λ$. The scattering cross section also decreases overall. In the superradiant regime, the amplification factor of the PFDM black hole is much larger than that of the RN black hole. Finally, we discuss the behavior of the absorption cross section as $ω/m\rightarrow1$, as well as the scattering cross section at small scattering angles.

gr-qc↗

Energy Evolution from the Chromosphere to the Heliosphere in the 2021 October 28 Solar Eruption

We perform a detailed study of the energetics for a well-observed solar eruption and flare that occurred on 28 October 2021. This event included a GOES class X1.0 flare, a global EUV wave, and a coronal mass ejection that reached speeds of >2000 km/s. The event was observed from a variety of spacecraft in NASA's Heliophysics System Observatory, including multiple missions near Earth, STEREO-A off the Sun-Earth line, and Solar Orbiter, near the Sun-Earth line at about 0.8 au. Using remote sensing, in situ observations, and in some cases scaling laws based on previous observations, we characterize the following quantities: free magnetic energy, energy in non-thermal electrons, energy in non-thermal ions, bolometric energy, energy deposited in the chromosphere, thermal energy radiated in the flare loops, energy dissipated by the EUV wave, CME kinetic and gravitational potential energy, CME energy flux in the heliosphere, and the energy partition in the CME shock. We find that the total energy released during the event is consistent with estimates of the pre-event stored magnetic energy, and the CME kinetic + potential energy dominates the energy partition.

astro-ph.SR↗

Towards a Robust Estimate of the Solar Photospheric Poynting Flux and Helicity Flux

The observed solar photospheric magnetic fields and Doppler velocities are frequently used to quantify the Poynting flux and helicity flux. Multiple methods have been developed for this purpose, but their estimates of the Poynting flux and helicity flux often differ from one another. Here we study the performance of three widely used methods on NOAA active region 12673: "PTD-Doppler-FLCT Ideal" (PDFI), "Differential Affine Velocity Estimator for Vector Magnetograms" (DAVE4VM), and an extension of the latter with Doppler velocity constraint (DAVE4VMwDV). We find that the values of the accumulated energy and helicity differ significantly between the three methods, even in signs. Using the Helmholtz-Hodge decomposition, we show that Doppler velocity can contribute significantly to the Poynting flux and helicity flux through the non-inductive (curl-free) electric field. The different, ad hoc treatments of the Doppler and transverse velocities in three methods are directly responsible for the discrepancies. We discuss the desired future observations that can better constrain these methods.

astro-ph.SR↗

Quasi-Periodic Fast-Mode Wave Trains Associated with the 2015-Jun-22 M6.5 Flare in AR~12371: Observations and 3D MHD Modeling

Quasi-periodic fast-propagating (QFP) wave trains are a distinctive form of magnetohydrodynamic disturbance frequently observed in the solar corona. Yet their excitation mechanism and propagation characteristics are not well understood. In this study, we investigate a well-observed QFP wave event associated with an M6.5-class flare and coronal mass ejection that occurred in active region (AR) 12371 on 2015 June 22 by combining multi-wavelength observations from SDO/AIA and HMI with data-inspired 3D MHD simulations. The QFP wave trains propagating at high speeds of 1140$-$1760 km~s$^{-1}$ are detected in the AIA 171 Å channel, following global EUV wave fronts visible at 171 and 193~Å traveling at considerably lower speeds of 300$-$510 km~s$^{-1}$. Wavelet analysis reveals consistent 2--4 minutes periodicities in both the QFPs and flare quasi-periodic pulsations (QPPs) observed in UV/EUV and hard X-ray emissions, suggesting a common origin likely linked to intermittent magnetic reconnection. Guided by these observations, we construct realistic 3D MHD models incorporating dense fan-loop structures and periodic drivers applied at different locations. The simulations reproduce the key characteristics of the observed wave trains. Comparison between cases with and without a coronal background (non-loop plasma emission) indicates that coronal density structuring significantly modifies the detected wave amplitudes and propagation patterns. Our results highlight the importance of realistic coronal magnetic configurations in modeling QFP dynamics and suggest that their observed association with fan loops in AIA 171 Å may represent a temperature-dependent visibility effect rather than a genuine confinement of the waves.

astro-ph.SR↗

Refinements to the Solar Polar Magnetic Flux: Implications from Inversion Methodologies

The magnetic fields in the solar polar region are important to our understanding of the internal dynamo process, the global coronal structure, and the origin of the solar wind. The inference of polar fields based on spectropolarimetric observation is highly model-dependent and can suffer from various systematic effects. Here we analyze a raster map of the southern polar region taken by the Hinode Spectro-Polarimeter, utilizing the Stokes Inversion based on Response functions code. The inversions provide height-dependent vector magnetic field maps between optical depths $\log_{10}τ= -2$ and $0$. We examine the impact on the total magnetic flux estimate from adopting (1) 1- vs 2-component atmospheric models via a "filling factor" parameter and (2) different analysis schemes. At $\log_{10}τ= -1.5$, the polar magnetic flux is estimated to be $(1.84 \pm 0.03) \times 10^{21}$ Mx and $(1.38 \pm 0.02) \times 10^{21}$ Mx under the 1- and 2-component atmosphere assumption, respectively. The magnetic flux is approximately constant or increases slightly with height, respectively. We find that the 2-component (1-component) configuration is preferred for 58.3% (32.3%) of the pixels. Different initial guesses, including the input atmosphere model and the filling factor, as well as different inversion settings, can significantly affect the results, especially for locations with weaker polarization signals. Our work highlights the importance of including unresolved magnetic structures or stray light into consideration. Model degeneracy and the convergence to local minima limit the precision of the polar magnetic flux inference (no better than several tens of percent in this case). Higher-resolution observations and advanced inversion and disambiguation algorithms may alleviate these limitations.

astro-ph.SR↗

Spectropolarimetric Inversion in Four Dimensions with Deep Learning (SPIn4D): II. A Physics-Informed Machine Learning Method for 3D Solar Photosphere Reconstruction

Inferring the three-dimensional (3D) solar atmospheric structures from observations is a critical task for advancing our understanding of the magnetic fields and electric currents that drive solar activity. In this work, we introduce a novel, Physics-Informed Machine Learning method to reconstruct the 3D structure of the lower solar atmosphere based on the output of optical depth sampled spectropolarimetric inversions, wherein both the fully disambiguated vector magnetic fields and the geometric height associated with each optical depth are returned simultaneously. Traditional techniques typically resolve the 180-degree azimuthal ambiguity assuming a single layer, either ignoring the intrinsic non-planar physical geometry of constant optical-depth surfaces (e.g., the Wilson depression in sunspots), or correcting the effect as a post-processing step. In contrast, our approach simultaneously maps the optical depths to physical heights, and enforces the divergence-free condition for magnetic fields fully in 3D. Tests on magnetohydrodynamic simulations of quiet Sun, plage, and a sunspot demonstrate that our method reliably recovers the horizontal magnetic field orientation in locations with appreciable magnetic field strength. By coupling the resolutions of the azimuthal ambiguity and the geometric heights problems, we achieve a self-consistent reconstruction of the 3D vector magnetic fields and, by extension, the electric current density and Lorentz force. This physics-constrained, label-free training paradigm is a generalizable, physics-anchored framework that extends across solar magnetic environments while improving the understanding of various solar puzzles.

astro-ph.SR↗

Spectropolarimetric Inversion in Four Dimensions with Deep Learning (SPIn4D): I. Overview, Magnetohydrodynamic Modeling, and Stokes Profile Synthesis

The National Science Foundation's Daniel K. Inouye Solar Telescope (DKIST) will provide high-resolution, multi-line spectropolarimetric observations that are poised to revolutionize our understanding of the Sun. Given the massive data volume, novel inference techniques are required to unlock its full potential. Here, we provide an overview of our "SPIn4D" project, which aims to develop deep convolutional neural networks (CNNs) for estimating the physical properties of the solar photosphere from DKIST spectropolarimetric observations. We describe the magnetohydrodynamic (MHD) modeling and the Stokes profile synthesis pipeline that produce the simulated output and input data, respectively. These data will be used to train a set of CNNs that can rapidly infer the four-dimensional MHD state vectors by exploiting the spatiotemporally coherent patterns in the Stokes profile time series. Specifically, our radiative MHD model simulates the small-scale dynamo actions that are prevalent in quiet-Sun and plage regions. Six cases with different mean magnetic fields have been conducted; each case covers six solar-hours, totaling 109 TB in data volume. The simulation domain covers at least $25\times25\times8$ Mm with $16\times16\times12$ km spatial resolution, extending from the upper convection zone up to the temperature minimum region. The outputs are stored at a 40 s cadence. We forward model the Stokes profile of two sets of Fe I lines at 630 and 1565 nm, which will be simultaneously observed by DKIST and can better constrain the parameter variations along the line of sight. The MHD model output and the synthetic Stokes profiles are publicly available, with 13.7 TB in the initial release.

astro-ph.SR↗

Path representations in multiparameter persistent homology

Multiparameter persistence module can capture more topological differences across data instances compared to using a single parameter, where the well-studied matching distance investigates the distance along a straight line in the multiparameter space that gives the biggest difference. We propose to generalize the straight line to a monotone path filtration and offer software implementations.

math.AT↗

Addressing pitfalls in implicit unobserved confounding synthesis using explicit block hierarchical ancestral sampling

Unbiased data synthesis is crucial for evaluating causal discovery algorithms in the presence of unobserved confounding, given the scarcity of real-world datasets. A common approach, implicit parameterization, encodes unobserved confounding by modifying the off-diagonal entries of the idiosyncratic covariance matrix while preserving positive definiteness. Within this approach, we identify that state-of-the-art protocols have two distinct issues that hinder unbiased sampling from the complete space of causal models: first, we give a detailed analysis of use of diagonally dominant constructions restricts the spectrum of partial correlation matrices; and second, the restriction of possible graphical structures when sampling bidirected edges, unnecessarily ruling out valid causal models. To address these limitations, we propose an improved explicit modeling approach for unobserved confounding, leveraging block-hierarchical ancestral generation of ground truth causal graphs. Algorithms for converting the ground truth DAG into ancestral graph is provided so that the output of causal discovery algorithms could be compared with. We draw connections between implicit and explicit parameterization, prove that our approach fully covers the space of causal models, including those generated by the implicit parameterization, thus enabling more robust evaluation of methods for causal discovery and inference.

stat.ML↗

Analyzing the Morphology of Late-phase Stellar Flares From G-, K-, and M-type Stars

Stellar flares occasionally present a $\textit{peak-bump}$ light curve morphology, consisting of an initial impulsive phase followed by a gradual late phase. Analyzing this specific morphology can uncover the underlying physics of stellar flare dynamics, particularly the plasma heating-evaporation-condensation process. While previous studies have mainly examined peak-bump occurrences on M-dwarfs, this report extends the investigation to G-, K-, and M-type stars. We utilize the flare catalog published by arXiv:2212.00993, encompassing 12,597 flares, detected by using $\textit{Transiting Exoplanet Survey Satellite}$ (TESS) observations. Our analysis identifies 10,142 flares with discernible classical and complex morphology, of which 197 ($\sim1.9\%$) exhibit the peak-bump feature. We delve into the statistical properties of these TESS late-phase flares, noting that both the amplitude and full-width-half-maximum (FWHM) duration of both the peaks and bumps show positive correlations across all source-star spectral types, following a power law with indices 0.69 $\pm$ 0.09 and 1.0 $\pm$ 0.15, respectively. Additionally, a negative correlation between flare amplitude and the effective temperature of their host stars is observed. Compared to the other flares in our sample, peak-bump flares tend to have larger and longer initial peak amplitudes and FWHM durations, and possess energies ranging from $10^{31}$ to $10^{36}$ erg.

astro-ph.SR↗

M-HOF-Opt: Multi-Objective Hierarchical Output Feedback Optimization via Multiplier Induced Loss Landscape Scheduling

A probabilistic graphical model is proposed, modeling the joint model parameter and multiplier evolution, with a hypervolume based likelihood, promoting multi-objective descent in structural risk minimization. We address multi-objective model parameter optimization via a surrogate single objective penalty loss with time-varying multipliers, equivalent to online scheduling of loss landscape. The multi-objective descent goal is dispatched hierarchically into a series of constraint optimization sub-problems with shrinking bounds according to Pareto dominance. The bound serves as setpoint for the low-level multiplier controller to schedule loss landscapes via output feedback of each loss term. Our method forms closed loop of model parameter dynamic, circumvents excessive memory requirements and extra computational burden of existing multi-objective deep learning methods, and is robust against controller hyperparameter variation, demonstrated on domain generalization tasks with multi-dimensional regularization losses.

cs.LG↗