SearcharxivSearch

arXiv subjects

Kai Pan

Publications and source records attributed to Kai Pan.

18 recordsLinked to original sources

Beyond Autonomy: A Dynamic Tiered AgentRunner Framework for Governable and Resilient Enterprise AI Execution

Current large language model agent frameworks prioritize autonomy but lack the governability mechanisms required for enterprise deployment. High-risk write operations proceed without independent review, complex tasks lack acceptance verification, and computational resources are allocated uniformly regardless of risk level. We propose the Dynamic Tiered AgentRunner, a controlled execution protocol distilled from a production-grade multi-tenant SaaS platform. The framework introduces three core mechanisms: (1) Risk-Adaptive Tiering that dynamically allocates computational resources and review intensity based on task risk profiles, achieving Pareto-optimal trade-offs between safety and efficiency; (2) Separation of Powers architecture where proposal, review, execution, and verification are performed by independent agents with physically isolated boundaries; and (3) Resilience-by-Design through a Verifier-Recovery closed loop that treats failure as a first-class system state. We formalize the tier selectio

cs.AI

Agent-First Tool API: A Semantic Interface Paradigm for Enterprise AI Agent Systems

As AI agents transition from research prototypes to enterprise production systems, the tool interfaces they consume remain rooted in human-oriented CRUD paradigms. This paper identifies five fundamental architectural mismatches between conventional APIs and autonomous agent requirements: exact-identifier dependence, rendering-oriented responses, single-shot interaction assumptions, user-equivalent authorization, and opaque error semantics. We propose the Agent-First Tool API paradigm, comprising three integrated mechanisms: (1) a Six-Verb Semantic Protocol that decomposes tool interactions into search, resolve, preview, execute, verify, and recover phases; (2) a Normalized Tool Contract (NTC) providing structured decision-support metadata including confidence scores, evidence chains, and suggested next actions; and (3) a dual-layer governance pipeline combining static capability policies with dynamic risk escalation. The paradigm is implemented and validated in a production multi-tenant SaaS platform serving 85 registered tools across 6 business domains. Comparative experiments on 50 real operational tasks demonstrate that Agent-First APIs achieve 88% end-to-end task success rate versus 64% for optimized CRUD baselines (+37.5%), while reducing required human interventions by 72.7% and improving autonomous error recovery by 5.8x. We establish that the paradigm is orthogonal and complementary to transport-layer standards such as MCP, operating as the semantic application layer above existing tool discovery and invocation protocols.

cs.AI

Event-Based Dynamic Programming for Pumped-Storage Hydropower Scheduling

This paper studies the single-unit pumped-storage hydropower (PSH) plant scheduling problem with reservoir dynamics, generation and pumping limits, ramping constraints, start-up and shut-down costs, and minimum up/down-time requirements. A new event-based formulation is proposed in which an operating schedule is represented as a sequence of mode-specific events, with dispatch decisions within each event determined by linear programs. Based on this construction, the original time-indexed mixed-integer formulation is reformulated exactly as a deterministic dynamic program on an event network. The framework is modular and can be extended to incorporate additional operating modes, such as hydraulic short-circuit operation, by introducing corresponding event modules without significantly changing the overall event-network structure. To obtain tractable solution methods, a finite-grid approximation of the event network is developed, leading to a linear programming formulation for the discretized model. In addition, an event-based branch-and-bound algorithm with linear program-based bounds is proposed for the continuous-state problem. Numerical results demonstrate that the proposed event-based framework provides a computationally effective alternative to the conventional time-indexed formulation, while offering substantial modeling flexibility for PSH scheduling problems.

eess.SY

A Polyhedral Study on Unit Commitment with a Single Type of Binary Variables

Efficient power production scheduling is a crucial concern for power system operators aiming to minimize operational costs. Previous mixed-integer linear programming formulations for unit commitment (UC) problems have primarily used two or three types of binary variables. The investigation of strong formulations with a single type of binary variables has been limited, as it is believed to be challenging to derive strong valid inequalities using fewer binary variables, and the reduction of the number of binary variables is often accompanied by a compromise in tightness. To address these issues, this paper considers a formulation for unit commitment using a single type of binary variables and develops strong valid inequality families to enhance the tightness of the formulation. Conditions under which these strong valid inequalities serve as facet-defining inequalities for the single-generator UC polytope are provided. For those large-size valid inequality families, the existence of efficient separation algorithms for determining the most violated inequalities is also discussed. The effectiveness of the proposed single-binary formulation and strong valid inequalities is demonstrated through computational experiments on network-constrained UC problems. The results indicate that the strong valid inequalities presented in this paper are effective in solving UC problems and can also be applied to UC formulations that contain more than one type of binary variables.

math.OC

UniFS: Unified Multi-Contrast MRI Reconstruction via Frequency-Spatial Fusion

Recently, Multi-Contrast MR Reconstruction (MCMR) has emerged as a hot research topic that leverages high-quality auxiliary modalities to reconstruct undersampled target modalities of interest. However, existing methods often struggle to generalize across different k-space undersampling patterns, requiring the training of a separate model for each specific pattern, which limits their practical applicability. To address this challenge, we propose UniFS, a Unified Frequency-Spatial Fusion model designed to handle multiple k-space undersampling patterns for MCMR tasks without any need for retraining. UniFS integrates three key modules: a Cross-Modal Frequency Fusion module, an Adaptive Mask-Based Prompt Learning module, and a Dual-Branch Complementary Refinement module. These modules work together to extract domain-invariant features from diverse k-space undersampling patterns while dynamically adapt to their own variations. Another limitation of existing MCMR methods is their tendency to focus solely on spatial information while neglect frequency characteristics, or extract only shallow frequency features, thus failing to fully leverage complementary cross-modal frequency information. To relieve this issue, UniFS introduces an adaptive prompt-guided frequency fusion module for k-space learning, significantly enhancing the model's generalization performance. We evaluate our model on the BraTS and HCP datasets with various k-space undersampling patterns and acceleration factors, including previously unseen patterns, to comprehensively assess UniFS's generalizability. Experimental results across multiple scenarios demonstrate that UniFS achieves state-of-the-art performance. Our code is available at https://github.com/LIKP0/UniFS.

cs.CV

Harmonizing SAA and DRO

Decision-makers often encounter uncertainty, and the distribution of uncertain parameters plays a crucial role in making reliable decisions. However, complete information is rarely available. The sample average approximation (SAA) approach utilizes historical data to address this, but struggles with insufficient data. Conversely, moment-based distributionally robust optimization (DRO) effectively employs partial distributional information but can yield conservative solutions even with ample data. To bridge these approaches, we propose a novel method called harmonizing optimization (HO), which integrates SAA and DRO by adaptively adjusting the weights of data and information based on sample size N. This allows HO to amplify data effects in large samples while emphasizing information in smaller ones. More importantly, HO performs well across varying data sizes without needing to classify them as large or small. We provide practical methods for determining these weights and demonstrate that HO offers finite-sample performance guarantees, proving asymptotic optimality when the weight of information follows a 1/\sqrt{N}-rate. In addition, HO can be applied to enhance scenario reduction, improving approximation quality and reducing completion time by retaining critical information from reduced scenarios. Numerical results show significant advantages of HO in solution quality compared to Wasserstein-based DRO, and highlight its effectiveness in scenario reduction.

math.OC

Super-Resolution on Rotationally Scanned Photoacoustic Microscopy Images Incorporating Scanning Prior

Photoacoustic Microscopy (PAM) images integrating the advantages of optical contrast and acoustic resolution have been widely used in brain studies. However, there exists a trade-off between scanning speed and image resolution. Compared with traditional raster scanning, rotational scanning provides good opportunities for fast PAM imaging by optimizing the scanning mechanism. Recently, there is a trend to incorporate deep learning into the scanning process to further increase the scanning speed.Yet, most such attempts are performed for raster scanning while those for rotational scanning are relatively rare. In this study, we propose a novel and well-performing super-resolution framework for rotational scanning-based PAM imaging. To eliminate adjacent rows' displacements due to subject motion or high-frequency scanning distortion,we introduce a registration module across odd and even rows in the preprocessing and incorporate displacement degradation in the training. Besides, gradient-based patch selection is proposed to increase the probability of blood vessel patches being selected for training. A Transformer-based network with a global receptive field is applied for better performance. Experimental results on both synthetic and real datasets demonstrate the effectiveness and generalizability of our proposed framework for rotationally scanned PAM images'super-resolution, both quantitatively and qualitatively. Code is available at https://github.com/11710615/PAMSR.git.

eess.IV

Optimized Dimensionality Reduction for Moment-based Distributionally Robust Optimization

Moment-based distributionally robust optimization (DRO) provides an optimization framework to integrate statistical information with traditional optimization approaches. Under this framework, one assumes that the underlying joint distribution of random parameters runs in a distributional ambiguity set constructed by moment information and makes decisions against the worst-case distribution within the set. Although most moment-based DRO problems can be reformulated as semidefinite programming (SDP) problems that can be solved in polynomial time, solving high-dimensional SDPs is still time-consuming. Unlike existing approximation approaches that first reduce the dimensionality of random parameters and then solve the approximated SDPs, we propose an optimized dimensionality reduction (ODR) approach. We first show that the ranks of the matrices in the SDP reformulations are small, by which we are then motivated to integrate the dimensionality reduction of random parameters with the subsequent optimization problems. Such integration enables two outer and one inner approximations of the original problem, all of which are low-dimensional SDPs that can be solved efficiently. More importantly, these approximations can theoretically achieve the optimal value of the original high-dimensional SDPs. As these approximations are nonconvex SDPs, we develop modified Alternating Direction Method of Multipliers (ADMM) algorithms to solve them efficiently. We demonstrate the effectiveness of our proposed ODR approach and algorithm in solving two practical problems. Numerical results show significant advantages of our approach on the computational time and solution quality over the three best possible benchmark approaches. Our approach can obtain an optimal or near-optimal (mostly within 0.1%) solution and reduce the computational time by up to three orders of magnitude.

math.OC

Exploration of the computational model and the focusing process with a Flat Multi-channel Plate and a Curved Multi-channel Plate in the MATLAB

By simulating the X-ray paths and the Chapman Model of a flat multi-channel plate and a curved multi-channel plate in the MATLAB, the field of view, local reflection efficiency, spherical aberration, point-spread function, collection efficiency of incident X-ray and peak-to-background ratio on the focal plane of the two devices were compared. At the same time, the advantages and disadvantages of the flat multi-channel plate and the curved multi-channel plate were compared.

physics.optics

Theoretical Simulation and Experiment Investigation of X-ray transmission characteristics though Square Polycapillary Slice Lens with quadratic curve

The x-ray polycapillary lens is an optical device with good optic performance. Similar to the traditional X-ray polycapillary lens, square polycapillary slice lens was regulated on X-ray based on the full reflection principle of X-ray in the capillaries surfaces. According to its geometrical structure model and the X-ray tracing principle, a set of X-ray transmission procedures was established. A complete square polycapillary slice lens with quadratic curve was produced and the optical performance was tested

physics.optics

Recent neutron focusing experiments using polycapillary lens in CSNS

Higher neutron current densities can provide convenience for neutron experiments. Using neutron optical focusing elements, large flux beams transported to sample can be achieved. As one kind of focusing elements, polycapillary lens is very suitable for neutron absorption experiments such as PGAA and NDP technology. At present, a Neutron Physics and Application Spectrometer was in construction in CSNS, which is the first pulsed neutron source in China. To provide some suggestions and ideas for the following design of enhanced PGAA or NDP instrument with polycapillary lens in CSNS, a first neutron focusing experiment using polycapillary lens in CSNS was conducted. For 0.5-12.6 polychromatic beam, a focal spot with FWHM of 800 was obtained. As the value of wavelength increased, the beam size, transmission efficiency and gain increased. For cold neutron, the gain maintained in a level of 7.

physics.ins-det

DS3-Net: Difficulty-perceived Common-to-T1ce Semi-Supervised Multimodal MRI Synthesis Network

Contrast-enhanced T1 (T1ce) is one of the most essential magnetic resonance imaging (MRI) modalities for diagnosing and analyzing brain tumors, especially gliomas. In clinical practice, common MRI modalities such as T1, T2, and fluid attenuation inversion recovery are relatively easy to access while T1ce is more challenging considering the additional cost and potential risk of allergies to the contrast agent. Therefore, it is of great clinical necessity to develop a method to synthesize T1ce from other common modalities. Current paired image translation methods typically have the issue of requiring a large amount of paired data and do not focus on specific regions of interest, e.g., the tumor region, in the synthesization process. To address these issues, we propose a Difficulty-perceived common-to-T1ce Semi-Supervised multimodal MRI Synthesis network (DS3-Net), involving both paired and unpaired data together with dual-level knowledge distillation. DS3-Net predicts a difficulty map to progressively promote the synthesis task. Specifically, a pixelwise constraint and a patchwise contrastive constraint are guided by the predicted difficulty map. Through extensive experiments on the publiclyavailable BraTS2020 dataset, DS3-Net outperforms its supervised counterpart in each respect. Furthermore, with only 5% paired data, the proposed DS3-Net achieves competitive performance with state-of-theart image translation methods utilizing 100% paired data, delivering an average SSIM of 0.8947 and an average PSNR of 23.60.

eess.IV

Improvements in Micro-CT Method for Characterizing X-ray Monocapillary Optics

Accurate characterization of the inner surface of X-ray monocapillary optics (XMCO) is of great significance in X-ray optics research. Compared with other characterization methods, the micro computed tomography (micro-CT) method has its unique advantages but also has some disadvantages, such as a long scanning time, long image reconstruction time, and inconvenient scanning process. In this paper, sparse sampling was proposed to shorten the scanning time, GPU acceleration technology was used to improve the speed of image reconstruction, and a simple geometric calibration algorithm was proposed to avoid the calibration phantom and simplify the scanning process. These methodologies will popularize the use of the micro-CT method in XMCO characterization.

physics.ins-det

Polynomial Time Algorithms and Extended Formulations for Unit Commitment Problems

Recently increasing penetration of renewable energy generation brings challenges for power system operators to perform efficient power generation daily scheduling, due to the intermittent nature of the renewable generation and discrete decisions of each generation unit. Among all aspects to be considered, a unit commitment polytope is fundamental and embedded in the models at different stages of power system planning and operations. In this paper, we focus on deriving polynomial time algorithms for the unit commitment problems with general convex cost function and piecewise linear cost function respectively. We refine an $\mathcal{O}(T^3)$ time, where $ T $ represents the number of time periods, algorithm for the deterministic single-generator unit commitment problem with general convex cost function and accordingly develop an extended formulation in a higher dimensional space that can provide an integral solution, in which the physical meanings of the decision variables are described. It means the original problem can be solved as a convex program instead of a mixed-integer convex program. Furthermore, for the case in which the cost function is piecewise linear, by exploring the optimality conditions, we derive more efficient algorithms for both deterministic (i.e., $\mathcal{O}(T)$ time) and stochastic (i.e., $\mathcal{O}(N)$ time, where $N$ represents the number of nodes in the stochastic scenario tree) \rred{single-generator} unit commitment problems. We also develop the corresponding extended formulations for both deterministic and stochastic single-generator unit commitment problems that solve the original mixed-integer linear programs as linear programs. Similarly, physical meanings of the decision variables are explored to show the insights of the new modeling approach.

math.OC

Convex Hulls for the Unit Commitment Polytope

In this paper, we consider the polyhedral structure of the unit commitment polytope. In particular, we provide the convex hull results for the problem under the following different settings: 1) the convex hulls for the integrated minimum-up/-down time and ramping polytope under the general $T$ time period setting in which the ramping rate equals to the gap between the generation upper and lower bounds and equals to half of the gap between the generation upper and lower bounds, respectively, 2) the convex hull for the integrated minimum-up/-down time and ramping-up polytope for the problem under the general $T$ time period setting, and 3) the convex hull for the integrated minimum-up/-down time and ramping-down polytope for the problem under the general $T$ time period setting.

math.OC

A Polyhedral Study of the Integrated Minimum-Up/-Down Time and Ramping Polytope

In this paper, we study the polyhedral structure of an integrated minimum-up/-down time and ramping polytope, which has broad applications in variant industries. The polytope we studied includes minimum-up/-down time, generation ramp-up/-down rate, logical, and generation upper/lower bound constraints. By exploring its specialized structures, we derive strong valid inequalities and explore a new proof technique to prove these inequalities are sufficient to provide convex hull descriptions for variant two-period and three-period polytopes, under different parameter settings. For multi-period cases, we derive generalized strong valid inequalities (including one, two, and three continuous variables, respectively) and further prove that these inequalities are facet-defining under mild conditions. Moreover, we discover efficient polynomial time separation algorithms for these inequalities to improve the computational efficiency. Finally, extensive computational experiments are conducted to verify the effectiveness of our proposed strong valid inequalities by testing the applications of these inequalities to solve both self-scheduling and network-constrained unit commitment problems, for which our derived approach outperforms the default CPLEX significantly.

math.OC

A Scaler-Based Data Acquisition System for Measuring Parity-Violating Asymmetry in Deep Inelastic Scattering

An experiment that measured the parity-violating asymmetries in deep inelastic scattering was completed at the Thomas Jefferson National Accelerator Facility in experimental Hall A. From these asymmetries, a combination of the quark weak axial charge could be extracted with a factor of five improvement in precision over world data. To achieve this, asymmetries at the $10^{-4}$ level needed to be measured at event rates up to 600 kHz and the high pion background typical to deep inelastic scattering experiments needed to be rejected efficiently. A specialized data acquisition (DAQ) system with intrinsic particle identification (PID) was successfully developed and used: The pion contamination in the electron samples was controlled at the order of $2\times 10^{-4}$ or below with an electron efficiency of higher than 91 % during most of the production period of the experiment, the systematic uncertainty in the measured asymmetry due to DAQ deadtime was below 0.5 %, and the statistical quality of the asymmetry measurement agreed with the Gaussian distribution to over five orders of magnitudes. The DAQ system is presented here with an emphasis on its design scheme, the achieved PID performance, deadtime effect and the capability of measuring small asymmetries.

physics.ins-det

Calculation of nonzero-temperature Casimir forces in the time domain

We show how to compute Casimir forces at nonzero temperatures with time-domain electromagnetic simulations, for example using a finite-difference time-domain (FDTD) method. Compared to our previous zero-temperature time-domain method, only a small modification is required, but we explain that some care is required to properly capture the zero-frequency contribution. We validate the method against analytical and numerical frequency-domain calculations, and show a surprising high-temperature disappearance of a non-monotonic behavior previously demonstrated in a piston-like geometry.

quant-ph