arXiv Science⌕ Search

arXiv subjects

Cindy Xiangrui Kong

Publications and source records attributed to Cindy Xiangrui Kong.

7 recordsLinked to original sources

Nonconvex Stochastic Gradient Sampling at Second Order Accuracy via Noise Correction

We build a class of stochastic gradient integrators with second order accuracy via noise correction. The integrators multiply the injected Gaussian noise of the stochastic gradient Leimkuhler--Matthews (SGLM) integrator by a noise factor, obtained by applying a scalar function, the noise corrector, to the eigenvalues of an estimate of the covariance of the batch gradient from the same batch. For nonconvex potentials that are strongly convex outside a ball, every noise corrector satisfying a polynomial bound and every batch size $P \ge 2$, we prove that the numerical bias is of second order in the step size $h$ and that the mean square error of the time average of $N$ samples is bounded by a constant times $(Nh)^{-1} + h^4$. Under Gaussian gradient noise and an additional polynomial bound on the square of the noise corrector, we separate the coefficient of $h^2$ in the numerical bias into explicit terms from discretization and noise correction. In a Bayesian image deblurring problem, the noise correction reduces the errors of SGLM.

math.NA↗

RSI-PDEbench: A Benchmark for Self-Improving Agents in PDE Solving

Identifying and solving partial differential equations (PDEs) from sampled solution data often requires substantial expert effort in equation discovery, coefficient estimation, and numerical solver configuration, especially under noise and distribution shifts. Can large language model (LLM) agents automate this workflow accurately and efficiently? To investigate this question, we introduce RSI-PDEbench, a benchmark of 1,001 cases spanning 42 equation templates, including both classical and fractional PDEs. It provides three evaluation settings: Full evaluates performance on noise-free solution data; Noisy tests robustness to Gaussian noise with an RMS equal to 50\% of the clean-signal RMS; and Hard-OOD tests challenging out-of-distribution generalization to unseen equation templates and shifted coefficient ranges. We further introduce RSI-PDE, a recursively self-improving agent harness that shortlists candidate equations by residual loss, uses relative $L^2$ feedback to refine coefficients and numerical solvers, and applies a validation gate to policy and memory updates. We compare RSI-PDE with single-run baselines and native agent harnesses (Claude Code or Codex) across four frontier models. Across the three settings, RSI-PDE improves the pass rate averaged across the four models by 106.5--181.9\% relative to single-run baselines and by 3.0--19.6\% relative to native harnesses, while reducing total recorded model calls by 46.9\% across the 12 model--setting pairs. These results highlight the potential of validated recursive self-improvement in LLM agents to advance scientific computing.

cs.AI↗

Stochastic Gradient Leimkuhler-Matthews Integrator with Second Order Discretization Error

Stochastic gradient Langevin dynamics (SGLD) has a discretization error of first order in the step size $h$, even with the full gradient. We study the stochastic gradient Leimkuhler--Matthews (SGLM) integrator, which has the same cost as SGLD, one stochastic gradient per step, and reuses each Gaussian vector in consecutive steps. For a potential strongly convex outside a ball and a Lipschitz test function, we prove the bound $\mathcal O(\frac{1}{Nh} + Σ^2 h^2 + h^4 \log^2\frac1h)$ on the mean square error (MSE) of time averages of SGLM over $N$ steps, where $Σ$ bounds the variance of the gradient noise. The proof uses a modified class that absorbs the non-Markovian part of SGLM. The discretization error enters this bound as $h^4 \log^2\frac1h$ and the MSE bound of SGLD as $h^2$, while a larger batch reduces only the term $Σ^2 h^2$ in both bounds. In Bayesian logistic regression on MNIST, SGLM has a smaller estimated MSE than SGLD. The coefficient of $h$ in the numerical bias of SGLM is given explicitly by the covariance of the gradient noise and the continuous Poisson equation. The coefficient for SGLD contains in addition the Hessian of the potential, which comes from the discretization error.

math.NA↗

Ultra Fast PDE Solving via Physics Guided Few-step Diffusion

Diffusion-based models have demonstrated impressive accuracy and generalization in solving partial differential equations (PDEs). However, their practical utility still suffers from high sampling costs and insufficient physical consistency, mainly due to many-step iterative sampling and insufficient physics guidance. To address these issues, we propose \emph{Phys-Instruct}, a physics-guided distillation framework that compresses a pre-trained diffusion PDE solver into a few-step generator while explicitly enforcing PDE consistency through distillation guidance. We reformulate the training objective as a constrained problem with PDE residual, and derive a score-function identity that leads to a practical physics-guided generator update. Across five PDE benchmarks, Phys-Instruct achieves orders-of-magnitude faster inference while reducing the PDE Error by factors of $2.4$ to $15.5$, compared with the corresponding 200-step EDM teachers. Moreover, the resulting unconditional student model functions as a compact prior, enabling efficient and physically consistent inference for various downstream conditional tasks. Our results indicate that Phys-Instruct is an effective and efficient framework for ultra-fast PDE solving powered by generative models.

cs.LG↗

Multiscale LegONet: Learning Coefficient-Dependent Local Spaces for Composable Multiscale Finite Elements with Localized Error Bounds

We introduce multiscale LegONet (Ms-LegONet), a plug-and-play learned block for heterogeneous elliptic problems. One network per spatial dimension is trained once on local coefficient patches and reused, without retraining, across coefficient layouts, sources, boundary data and domain sizes within the trained coefficient class. On a fixed primitive patch the network maps the local coefficient to a zero-boundary space, the only learned object. The multiscale basis functions are the harmonic extensions of a fixed set of boundary traces, each a Galerkin solve in that space. Shared interface traces enforce continuity, larger blocks are assembled by recursive static condensation without any parent-scale network, and a localized Céa bound attributes the error of the learned spaces primitive by primitive. The training labels are harmonic responses of single patches, so no global solve enters the training. Against MsFEM, GMsFEM, the neural-operator element method and an end-to-end Fourier neural operator, Ms-LegONet is the most accurate at equal unknowns: its $L^2$ error is $4$ to $150$ times below the baselines on two-dimensional mosaics of $256$ high-contrast primitives, and its median error stays within $0.1$ percentage points of that of exact local spaces in three-dimensional layered media. For each new coefficient it is $1.6$ to $2.3$ times faster than a fine-grid direct solve in two dimensions. In three dimensions it computes the many-query port response of a chain $30$ to $900$ times faster than finite element solves on the same or a finer mesh, at a relative error of $10^{-4}$ against their $6\%$ and $1.6\%$.

math.NA↗

BLADE: Bayesian Langevin Active Discovery with Replica Exchange for Identification of Complex Systems

Traditional methods for system discovery frequently struggle with efficient data usage and uncertainty quantification. Identifying the governing equations of complex dynamical systems from data presents a significant challenge in scientific discovery, especially when high-quality measurements are scarce and expensive to obtain. To overcome these limitations, we propose Bayesian Langevin Active Discovery with Replica Exchange for Identification of Complex Systems (BLADE), a novel Bayesian framework that combines replica-exchange stochastic gradient Langevin Monte Carlo with active learning. By balancing gradient-driven exploration and exploitation in coefficient space, BLADE provides probabilistic parameter estimation and principled uncertainty quantification. Faced with data scarcity, the probabilistic foundation of BLADE further facilitates the integration of active learning through a hybrid acquisition strategy that combines predictive uncertainty with space-filling design, enabling efficient selection of informative samples. Across benchmark systems, BLADE reduces measurement requirements by roughly 60% for Lotka-Volterra and 40% for Burgers' equation relative to random sampling, demonstrating substantial data-efficiency gains. These results highlight BLADE as a general uncertainty-aware framework for discovering interpretable dynamical systems, particularly valuable when high-fidelity data acquisition is prohibitively expensive.

stat.ML↗

Ultra-Fast Language Generation via Discrete Diffusion Divergence Instruct

Fast and high-quality language generation is the holy grail that people pursue in the age of AI. In this work, we introduce Discrete Diffusion Divergence Instruct (DiDi-Instruct), a training-based method that initializes from a pre-trained diffusion large language model (dLLM) and distills a few-step student for fast generation. The model distilled with DiDi-Instruct matches or surpasses its dLLM teacher and the GPT-2 baseline while providing up to 64$\times$ acceleration. The theoretical foundation of DiDi-Instruct is a novel framework based on integral KL-divergence minimization, which leads to a practical training algorithm. We further introduce grouped reward normalization, intermediate-state matching, and the reward-guided ancestral sampler to improve training stability, model coverage, and inference quality. On the OpenWebText benchmark, DiDi-Instruct achieves perplexity ranging from 62.2 (8 NFEs) to 18.4 (128 NFEs), outperforming prior accelerated dLLMs and the GPT-2 baseline. These gains incur a negligible entropy loss (around $1$%) and reduce additional training wall-clock time by more than $20\times$ compared to competing dLLM distillation methods. We further validate the robustness and effectiveness of DiDi-Instruct through extensive ablation studies, model scaling, downstream task evaluations, and unconditional protein sequence generation. In conclusion, DiDi-Instruct enables efficient and effective distillation for language generation in the blink of an eye.

cs.CL↗