SearcharxivSearch

arXiv subjects

Chenhao Sun

Publications and source records attributed to Chenhao Sun.

13 recordsLinked to original sources

Optimizing the Cost-Quality Tradeoff of Agentic Theorem Provers in Lean

Large language models (LLMs) are increasingly used in workflows for generating formal proofs in Lean. These workflows often decompose problems into smaller lemmas, sample many proof attempts, and use compiler feedback to guide search. However, they can be prohibitively expensive, often spending substantial compute on attempts that ultimately fail. In this work, we address this problem with an action routing agent that consists of a data plane and a control plane. The data plane generates natural-language lemma decompositions, formalizes them in Lean, and samples proof attempts for the resulting theorem and lemma targets. The control plane observes previous failed Lean attempts, estimates both the likelihood of success and the cost of another attempt, and decides whether to continue proving the current target or restart from a new breakdown. On a subset of PutnamBench, our agent decreases the cost by 28.9% over a fixed-step baseline on average, preserving performance while using substantially less compute. These results suggest that failed Lean trajectories provide actionable signals for cost-aware resource allocation in agentic theorem proving.

cs.CL

OmniCD: A Foundational Framework for Remote Sensing Image Change Detection Guided by Multimodal Semantics

Change detection (CD) in remote sensing is vital for applications such as urban monitoring and disaster assessment, yet traditional methods struggle with generalization across diverse scenarios. We present OmniCD, a foundational framework that unifies and enhances remote sensing CD through multimodal semantic guidance. OmniCD incorporates image and text prompts -- such as textual descriptions, semantic maps, and geospatial metadata -- into a unified architecture, supporting tasks from binary CD to zero-shot semantic change understanding. The framework integrates a hierarchical scene retrieval module and a change detection module, reinforced by a style disentanglement mechanism for improved cross-domain robustness. We further introduce RSITCD, a large-scale multimodal dataset with 300K+ annotated image-text pairs. Extensive experiments show that OmniCD achieves state-of-the-art performance across benchmarks, demonstrating strong adaptability and setting a solid foundation for general-purpose CD systems in remote sensing.

cs.CV

Beyond Benchmarks: MathArena as an Evaluation Platform for Mathematics with LLMs

Large language models (LLMs) are becoming increasingly capable mathematical collaborators, but static benchmarks are no longer sufficient for evaluating progress: they are often narrow in scope, quickly saturated, and rarely updated. This makes it hard to compare models reliably and track progress over time. Instead, we need evaluation platforms: continuously maintained systems that run, aggregate, and analyze evaluations across many benchmarks to give a comprehensive picture of model performance within a broad domain. In this work, we build on the original MathArena benchmark by substantially broadening its scope from final-answer olympiad problems to a continuously maintained evaluation platform for mathematical reasoning with LLMs. MathArena now covers a much wider range of tasks, including proof-based competitions, research-level arXiv problems, and formal proof generation in Lean. Additionally, we maintain a clear evaluation protocol for all models and regularly design new benchmarks as model capabilities improve to ensure that MathArena remains challenging. Notably, the strongest model, GPT-5.5, now reaches 98% on the 2026 USA Math Olympiad and 74% on research-level questions, showing that frontier models can now comfortably solve extremely challenging mathematical problems. This highlights the importance of continuously maintained evaluation platforms like MathArena to track the rapid progress of LLMs in mathematical reasoning.

cs.CL

Dual Randomized Smoothing: Beyond Global Noise Variance

Randomized Smoothing (RS) is a prominent technique for certifying the robustness of neural networks against adversarial perturbations. With RS, achieving high accuracy at small radii requires a small noise variance, while achieving high accuracy at large radii requires a large noise variance. However, the global noise variance used in the standard RS formulation leads to a fundamental limitation: there exists no global noise variance that simultaneously achieves strong performance at both small and large radii. To break through the global variance limitation, we propose a dual RS framework which enables input-dependent noise variances. To achieve that, we first prove that RS remains valid with input-dependent noise variances, provided the variance is locally constant around each input. Building on this result, we introduce two components: (i) a variance estimator predicts an optimal noise variance for each input, (ii) this estimated variance is then used by a standard RS classifier. The variance estimator is independently smoothed via RS to ensure local constancy, enabling flexible design. We also introduce training strategies to iteratively optimize the two components. Experiments on CIFAR-10 demonstrate that our dual RS method provides strong performance for both small and large radii-unattainable with global noise variance-while incurring only a 60% computational overhead at inference. Moreover, it outperforms prior input-dependent noise approaches across most radii, with gains at radii 0.5, 0.75, and 1.0 of 15.6%, 20.0%, and 15.7%. On ImageNet, dual RS remains effective across all radii, with advantages of 8.6%, 17.1%, and 9.1% at radii 0.5, 1.0, and 1.5. Additionally, the dual RS framework provides a routing perspective for certified robustness, improving the accuracy-robustness trade-off with off-the-shelf expert RS models.

cs.LG

Vehicle-Mounted Mid-Infrared Dual-Comb Spectroscopy for On-Road Trace Gas Detection

Advances in mid-infrared (MIR) dual-comb spectroscopy (DCS) have significantly enhanced molecular detection in recent years. The capability of DCS to precisely identify and quantify atmospheric trace gases makes it attractive for field applications across the environmental, agricultural, energy, and industrial sectors. In particular, there is a growing demand for mobile and continuous gas monitoring in outdoor environments where emission sources and sinks are often episodic and spatially heterogeneous. However, the practical field-deployment of DCS on mobile platforms under realistic field conditions has remained limited. This study demonstrates for the first time a vehicle-mounted MIR DCS system that enables continuous mobile atmospheric sampling across multiple outdoor sites and road environments. The system exhibited a stable signal-to-noise performance during on-road operation, including expressway driving at speeds up to 100 km/h. Furthermore, natural-gas leakage sources were successfully located and a two-dimensional methane concentration field was reconstructed around a controlled release source. In the future, the system can be integrated into more mobile platforms, such as unmanned aerial vehicles, enabling flexible trace gas detection over urban-scale regions.

physics.optics

Don't Think of the White Bear: Ironic Negation in Transformer Models Under Cognitive Load

Negation instructions such as 'do not mention $X$' can paradoxically increase the accessibility of $X$ in human thought, a phenomenon known as ironic rebound. Large language models (LLMs) face the same challenge: suppressing a concept requires internally activating it, which may prime rebound instead of avoidance. We investigated this tension with two experiments. \textbf{(1) Load \& content}: after a negation instruction, we vary distractor text (semantic, syntactic, repetition) and measure rebound strength. \textbf{(2) Polarity separation}: We test whether models distinguish neutral from negative framings of the same concept and whether this separation predicts rebound persistence. Results show that rebound consistently arises immediately after negation and intensifies with longer or semantic distractors, while repetition supports suppression. Stronger polarity separation correlates with more persistent rebound. Together, these findings, complemented by a circuit tracing analysis that identifies sparse middle-layer attention heads amplifying forbidden tokens while early layers suppress, link cognitive predictions of ironic rebound with mechanistic insights into long-context interference. To support future work, we release ReboundBench, a dataset of $5,000$ systematically varied negation prompts designed to probe rebound in LLMs.

cs.CL

Average Certified Radius is a Poor Metric for Randomized Smoothing

Randomized smoothing (RS) is popular for providing certified robustness guarantees against adversarial attacks. The average certified radius (ACR) has emerged as a widely used metric for tracking progress in RS. However, in this work, for the first time we show that ACR is a poor metric for evaluating robustness guarantees provided by RS. We theoretically prove not only that a trivial classifier can have arbitrarily large ACR, but also that ACR is extremely sensitive to improvements on easy samples. In addition, the comparison using ACR has a strong dependence on the certification budget. Empirically, we confirm that existing training strategies, though improving ACR, reduce the model's robustness on hard samples consistently. To strengthen our findings, we propose strategies, including explicitly discarding hard samples, reweighing the dataset with approximate certified radius, and extreme optimization for easy samples, to replicate the progress in RS training and even achieve the state-of-the-art ACR on CIFAR-10, without training for robustness on the full data distribution. Overall, our results suggest that ACR has introduced a strong undesired bias to the field, and its application should be discontinued in RS. Finally, we suggest using the empirical distribution of $p_A$, the accuracy of the base model on noisy data, as an alternative metric for RS.

cs.LG

Integrated Dynamic Phenological Feature for Remote Sensing Image Land Cover Change Detection

Remote sensing image change detection (CD) is essential for analyzing land surface changes over time, with a significant challenge being the differentiation of actual changes from complex scenes while filtering out pseudo-changes. A primary contributor to this challenge is the intra-class dynamic changes due to phenological characteristics in natural areas. To overcome this, we introduce the InPhea model, which integrates phenological features into a remote sensing image CD framework. The model features a detector with a differential attention module for improved feature representation of change information, coupled with high-resolution feature extraction and spatial pyramid blocks to enhance performance. Additionally, a constrainer with four constraint modules and a multi-stage contrastive learning approach is employed to aid in the model's understanding of phenological characteristics. Experiments on the HRSCD, SECD, and PSCD-Wuhan datasets reveal that InPhea outperforms other models, confirming its effectiveness in addressing phenological pseudo-changes and its overall model superiority.

cs.CV

DeepAngle: Fast calculation of contact angles in tomography images using deep learning

DeepAngle is a machine learning-based method to determine the contact angles of different phases in the tomography images of porous materials. Measurement of angles in 3--D needs to be done within the surface perpendicular to the angle planes, and it could become inaccurate when dealing with the discretized space of the image voxels. A computationally intensive solution is to correlate and vectorize all surfaces using an adaptable grid, and then measure the angles within the desired planes. On the contrary, the present study provides a rapid and low-cost technique powered by deep learning to estimate the interfacial angles directly from images. DeepAngle is tested on both synthetic and realistic images against the direct measurement technique and found to improve the r-squared by 5 to 16% while lowering the computational cost 20 times. This rapid method is especially applicable for processing large tomography data and time-resolved images, which is computationally intensive. The developed code and the dataset are available at an open repository on GitHub (https://www.github.com/ArashRabbani/DeepAngle).

cs.CV

Universal description of wetting on multiscale surfaces using integral geometry

Hypothesis Emerging energy-related technologies deal with multiscale hierarchical structures, intricate surface morphology, non-axisymmetric interfaces, and complex contact lines where wetting is difficult to quantify with classical methods. We hypothesis that a universal description of wetting on multiscale surfaces can be developed by using integral geometry coupled to thermodynamic laws. The proposed approach separates the different hierarchy levels of physical description from the thermodynamic description, allowing for a universal description of wetting on multiscale surfaces. Theory and Simulations The theoretical framework is presented followed by application to limiting cases of various wetting states. The wetting states include those considered in the Wenzel, Cassie-Baxter and wicking state models. The wetting behaviour of multiscale surfaces is then explored by conducting direct simulations of a fluid droplet on a structurally rough surface and a chemically heterogeneous surface. Findings The underlying origin of the classical wetting models is shown to be rooted within the proposed theoretical framework. In addition, integral geometry provides a topological-based wetting metric that is not contingent on any type of wetting state. Being of geometrical origin the wetting metric is applicable to describe any type of wetting phenomena on complex surfaces. The proposed framework is applicable to any complex fluid topology and multiscale surface.

physics.flu-dyn

Two-Way Passive Beamforming Design for RIS-Aided FDD Communication Systems

Reconfigurable intelligent surfaces (RISs) are able to provide passive beamforming gain via low-cost reflecting elements and hence improve wireless link quality. This work considers two-way passive beamforming design in RIS-aided frequency division duplexing (FDD) systems where the RIS reflection coefficients are the same for downlink and uplink and should be optimized for both directions simultaneously. We formulate a joint optimization of the transmit/receive beamformers at the base station (BS) and the RIS reflection coefficients. The objective is to maximize the weighted sum of the downlink and uplink rates, where the weighting parameter is adjustable to obtain different achievable downlink-uplink rate pairs. We develop an efficient manifold optimization algorithm to obtain a stationary solution. For comparison, we also introduce two heuristic designs based on one-way optimization, namely, time-sharing and phase-averaging. Simulation results show that the proposed manifold-based two-way optimization design significantly enlarges the achievable downlink-uplink rate region compared with the two heuristic designs. It is also shown that phase-averaging is superior to time-sharing when the number of RIS elements is large.

cs.IT

Characterization of wetting using topological principles

Hypothesis Understanding wetting behavior is of great importance for natural systems and technological applications. The traditional concept of contact angle, a purely geometrical measure related to curvature, is often used for characterizing the wetting state of a system. It can be determined from Young's equation by applying equilibrium thermodynamics. However, whether contact angle is a representative measure of wetting for systems with significant complexity is unclear. Herein, we hypothesize that topological principles based on the Gauss-Bonnet theorem could yield a robust measure to characterize wetting. Theory and Experiments We introduce a macroscopic contact angle based on the deficit curvature of the fluid interfaces that are imposed by contacts with other immiscible phases. We perform sessile droplet simulations followed by multiphase experiments for porous sintered glass and Bentheimer sandstone to assess the sensitivity and robustness of the topological approach and compare the results to other traditional approaches. Findings We show that the presented topological principle is consistent with thermodynamics under the simplest conditions through a variational analysis. Furthermore, we elucidate that at sufficiently high image resolution the proposed topological approach and local contact angle measurements are comparable. While at lower resolutions, the proposed approach provides more accurate results being robust to resolution-based effects. Overall, the presented concepts open new pathways to characterize the wetting state of complex systems and theoretical developments to study multiphase systems.

physics.flu-dyn

Linking continuum-scale state of wetting to pore-scale contact angles in porous media

Wetting phenomena play a key role in flows through porous media. Relative permeability and capillary pressure-saturation functions show a high sensitivity to wettability, which has different definitions at the continuum- and pore-scale. At the continuum-scale, the state of wetting is defined as Amott-Harvey or USBM (United States Bureau of Mines) by capillary pressure drainage and imbibition cycles. At the pore-scale, the concept of contact angle is used, which until recently was not experimentally possible to determine within an opaque porous medium. Recent progress on measurements of pore-scale contact angles by X-ray computed micro-tomography has therefore attracted significant attention in various research communities. In this work, the Gauss-Bonnet theorem is applied to provide a direct link between capillary pressure saturation $P_c(S_w)$ data and measured distributions of pore-scale contact angles. We propose that the wetting state of a porous medium can be described in terms of geometrical arguments that constrain the morphological state of immiscible fluids. The constraint describes the range of possible contact angles and interfacial curvatures that can exist for a given system. We present measurements in a tested sandstone for which the USBM index, $P_c(S_w)$, and pore-scale contact angles are measured. Additional studies are also performed using two-phase Lattice Boltzmann simulations to test a wider range of wetting conditions. We show that mean pore-scale contact angle measurements can be predicted from petrophysical data within a few differences. This provides a general framework on how continuum-scale data can be used to describe the geometrical state of fluids within porous media.

physics.flu-dyn