SearcharxivSearch

arXiv subjects

Chengdi Ma

Publications and source records attributed to Chengdi Ma.

6 recordsLinked to original sources

CANN Bench: Benchmarking Agent Generated Kernels against Real NPU and Algorithmic Limits

AI agents are now capable of writing, compiling, and iteratively optimizing low-level operator kernels on different hardware platforms. Existing benchmarks, however, focus almost exclusively on CUDA and Triton, leaving hardware ecosystems with less-exposed programming models without a common evaluation baseline. We present CANN Bench, an open benchmark for AI-generated operator code on Huawei's Ascend NPU. The current release covers 53 operators and 1060 test cases organized into four difficulty tiers -- from simple elementwise primitives to MoE dispatch and FlashAttention kernels -- spanning FP16, BF16, FP32, and INT8 precision formats. Evaluation adopts a \textbf{three-dimensional weighted composite score} that treats compilation, functional correctness, and performance as independent axes, providing a principled reward signal for kernel-generation agents. Performance is graded against an out-of-the-box PyTorch-on-Ascend baseline and an analytical per-case Hardware-Anchored Performance (HAP) limit on real NPU hardware, ensuring scores reflect genuine optimization headroom rather than measurement artifacts. The evaluation harness is designed to resist reward hacking from the ground up. CANN Bench is versioned within the official CANN repository and is designed for long-term community co-construction, providing the Ascend ecosystem with a quantitative, reproducible, and sustainably maintained yardstick for AI operator-authoring capability.

cs.AI

A high-order rectilinear Lagrangian method based on the geometric conservation law

This paper presents a mesh moving strategy for high-order Lagrangian method on quadrilateral meshes. The primary evidence of this method stems from principle of area conservative linearization and the asymptotic properties of the velocity. The former strictly adheres to the requirements of geometric conservation laws, while the latter provides a high-order accuracy guarantee. Two smooth vortex test cases verify the feasibility of the proposed scheme.

math.NA

MUA-RL: Multi-turn User-interacting Agent Reinforcement Learning for agentic tool use

With the recent rapid advancement of Agentic Intelligence, agentic tool use in LLMs has become increasingly important. During multi-turn interactions between agents and users, the dynamic, uncertain, and stochastic nature of user demands poses significant challenges to the agent's tool invocation capabilities. Agents are no longer expected to simply call tools to deliver a result; rather, they must iteratively refine their understanding of user needs through communication while simultaneously invoking tools to resolve user queries. Existing reinforcement learning (RL) approaches for tool use lack the integration of genuinely dynamic users during the RL training process. To bridge this gap, we introduce MUA-RL (Multi-turn User-interacting Agent Reinforcement Learning for agentic tool use), a novel reinforcement learning framework that, for the first time in the field of agentic tool use, integrates LLM-simulated users into the reinforcement learning loop. MUA-RL aims to enable autonomous learning of models to communicate with users efficiently and use various tools to solve practical problems in dynamic multi-turn interactions. Evaluations are done on several multi-turn tool-using benchmarks (see Figure 1). Specifically, MUA-RL-32B achieves 67.3 on TAU2 Retail, 45.4 on TAU2 Airline, 28.3 on TAU2 Telecom, 28.4 on BFCL-V3 Multi Turn, and 82.5 on ACEBench Agent -- outperforming or matching the performance of larger open-source models such as DeepSeek-V3-0324 and Qwen3-235B-A22B in non-thinking settings.

cs.AI

A non-nested unstructured mesh perspective on highly parallel multilevel smoothed Schwarz preconditioner for linear parametric PDEs

The multilevel Schwarz preconditioner is one of the most popular parallel preconditioners for enhancing convergence and improving parallel efficiency. However, its parallel implementation on arbitrary unstructured triangular/tetrahedral meshes remains challenging. The challenges mainly arise from the inability to ensure that mesh hierarchies are nested, which complicates parallelization efforts. This paper systematically investigates the non-nested unstructured case of parallel multilevel algorithms and develops a highly parallel non-nested multilevel smoothed Schwarz preconditioner. The proposed multilevel preconditioner incorporates two key techniques. The first is a new parallel coarsening algorithm that preserves the geometric features of the computational domain. The second is a corresponding parallel non-nested interpolation method designed for non-nested mesh hierarchies. This new preconditioner is applied to a broad range of linear parametric problems, benefiting from the reusability of the same coarse mesh hierarchy for problems with different parameters. Several numerical experiments validate the outstanding convergence and parallel efficiency of the proposed preconditioner, demonstrating effective scalability up to 1,000 processors.

math.NA

A Modified Landau-de Gennes Theory for Smectic Liquid Crystals: Phase Transitions and Structural Transitions

We mathematically model Smectic-A (SmA) phases with a modified Landau-de Gennes (mLdG) model. The orientational order of the SmA phase is described by a tensor-order parameter $\mathbf{Q}$, and the positional order is described by a real scalar $u$, which models the deviation from the average density of liquid crystal molecules. Firstly, we prove the existence and regularity of global minimisers of the mLdG free energy in three-dimensional settings. Then, we analytically prove that the mLdG model can capture the Isotropic-Nematic-Smectic phase transition as a function of temperature, under some assumptions. Further, we explore stable smectic phases on a square domain, with edge length $\lambda$, and tangent boundary conditions. We use heuristic arguments to show that defects repel smectic layers and strong nematic ordering promotes layer formation. We use asymptotic arguments in the $\lambda\to 0$ and $\lambda\to\infty$ limits which reveal the correlation between the number and thickness of smectic layers, the amplitude of density fluctuations with the phenomenological parameters in the mLdG energy. For finite values of $\lambda$, we numerically recover BD-like and D-like stable smectic states observed in experiments. We also study the frustrated mLdG energy landscape and give numerical examples of transition pathways between distinct mLdG energy minimisers.

cond-mat.soft

CPAFT: A Consistent Parallel Advancing Front Technique for Unstructured Triangular/Tetrahedral Mesh Generation

Compared with the remarkable progress made in parallel numerical solvers of partial differential equations,the development of algorithms for generating unstructured triangular/tetrahedral meshes has been relatively sluggish. In this paper, we propose a novel, consistent parallel advancing front technique (CPAFT) by combining the advancing front technique, the domain decomposition method based on space-filling curves, the distributed forest-of-overlapping-trees approach, and the consistent parallel maximal independent set algorithm. The newly proposed CPAFT algorithm can mathematically ensure that the generated unstructured triangular/tetrahedral meshes are independent of the number of processors and the implementation of domain decomposition. Several numerical tests are conducted to validate the parallel consistency and outstanding parallel efficiency of the proposed algorithm, which scales effectively up to two thousand processors. This is, as far as we know, the first parallel unstructured triangular/tetrahedral mesh generator with scalability to O(1,000) CPU processors.

math.NA