跳到正文
研踪PaperTrail

论文库

检索计算机领域论文,按研究方向、作者或关键词筛选。

部分采集异常
正在读取账号与研究记录…

全站更新概况

+0新增论文
+0其中 AI 相关
+0已有论文修订
+0新增 AI 导读

arXiv 最近完成扫描:2026-11-28 09:33 · 全站最近入库:2026-11-26 12:29各信源进度 →

统计口径与数据新鲜度

统计 2026-11-27 18:51 — 2026-11-28 18:51(北京时间) · 点击数字查看对应简报;AI 相关包含在新增论文内。

最近完成检查:2026-11-28 09:33最近发现新增版本:2026-11-26 12:29库内论文最新更新时间:2026-11-26 08:00

每分钟刷新已保存的数据。空检查不代表采集异常;新收录可能包含历史论文。AI 导读按新增版本计数。

34,433 已收录论文28,422 AI 相关10,935 有修订112 HF 社区发现

浏览论文库

时间范围跟随排序:版本更新、本站收录或首次发表。最新收录可能包含历史论文。部分信源异常,查看状态 →

找到 55 篇论文 · 按版本更新时间排序上轮扫描起点 2026-11-28 09:30(北京时间)
新论文 · v1arXiv:2611.33829

VoroPlex: A Python Framework for Multi-Threaded and Differentiable Voronoi Tessellation

Peihang Lin, Shanmei Wanyan, Mucheng Zhu, Ying Jiang, Chris H. Rycroft, Chenfanfu Jiang, Jiayin Lu

原文摘要

Voronoi tessellations are widely used in computational physics, for example to measure local structure in particle systems and to generate meshes. We present VoroPlex, an open-source Python package for computing Voronoi tessellations in two and three dimensions. VoroPlex is built on the multi-threaded version of the C++ library Voro++, so that large tessellations can be computed in parallel. The package also makes the tessellation differentiable. Each Voronoi vertex is labeled by the generators that define it, and VoroPlex uses these labels to compute the derivative of the vertex with respect to the positions of these generators. PyTorch can therefore compute gradients of quantities such as cell areas, volumes, and interface areas with respect to the generator positions, so that these quantities can be optimized using standard gradient-based methods. The package also includes tools for extracting interfaces between groups of cells and for exporting meshes. For one million points using 28 threads, VoroPlex is 46 times faster than SciPy in 2D and 39 times faster in 3D. We demonstrate the package with three applications: centroidal Voronoi tessellations with a variable density, meshing of 2D shapes defined by signed distance functions, and the design of foams with a preferred cell orientation.

cs.CG · cs.DC · cs.LG · cs.MS

新论文 · v1arXiv:2611.33703

CAMPS: Composable Adapters for Mixed-Precision Solvers

Kevin Li, Chandrajit Bajaj

原文摘要

Mixed-precision solvers usually assign a fixed precision to each algorithmic component. This makes it hard to reuse a lower-precision solver at different depths inside a higher-precision solver. We introduce CAMPS (Composable Adapters for Mixed-Precision Solvers), a framework that uses iterative refinement to connect solvers across precisions. An adapter computes residuals and updates in the precision of its parent and passes each correction solve to a child solver in a lower precision. The child can be a direct solver, an iterative solver, or another adapter. The adapter checks every correction and keeps it if the residual does not increase. We prove three results. Adapters can be placed at any compatible set of precision boundaries in a solver tree without breaking the solver interface. Every output that the root solver reports as successful satisfies a backward-error bound set by the stopping tolerance and the root precision. Convergence follows from one sufficient condition per boundary, computed from the leaves of the tree to its root. We test five configurations on dense and sparse systems in 64-bit, 32-bit, and 16-bit floating-point arithmetic (FP64, FP32, and FP16). On dense well-conditioned systems, CAMPS is up to 9.6x faster than an FP64 direct solver for a single solve that includes the factorization. On sparse nonsymmetric systems, a three-precision hierarchy is the fastest method we tested. Compared with our implementation of the nested solver F3R, CAMPS is as fast and uses about 3.4x less peak memory. CAMPS does not always win. Plain conjugate gradient is faster on sparse symmetric positive definite systems. On very ill-conditioned systems, FP32 corrections fail, and the adapter detects the failure and switches to an FP64 fallback.

cs.MS · math.NA

新论文 · v1arXiv:2611.33251

The involute function and its inverse in IEEE 754 double precision: measured and proved accuracy, and its effect on gear inspection

Andrew Prestridge

原文摘要

Almost every spur and helical gear calculation uses the involute function inv(a) = tan(a) - a or its inverse. Near a = 0 the two terms almost cancel: at a = 10^-3 the textbook formula in binary64 keeps about 9 correct digits, and far fewer in binary32, binary16 or fixed point, and the result can depend on the platform's tan. We report the accuracy of a proprietary implementation that avoids these problems. On 50,000 committed test angles the forward function's largest error against an 80-digit reference is 0.4999681 ulp, so every tested result is correctly rounded (measured, not proved). The inverse is proved faithfully rounded, with error at most 0.6 ulp, for 10^-200 <= y < 2, using interval arithmetic and the SMT solvers z3 and cvc5 with a short, named list of trusted inputs; its largest measured error on 50,000 points is 0.5555115 ulp. A separate bracket around the root is proved to contain it for 0 < y <= 10^6, and did so at all 47,083 test points. Both functions return identical bits on x86-64 and aarch64 Linux, Apple-silicon macOS, AWS Lambda and an NVIDIA DGX Spark, in Python and Node.js, on every finite test input. Against public inverse methods on nine runtimes, our inverse returned the same bits on all of them and stayed within 0.54 ulp on 12,017 targets from 0.5 to 60 degrees, while textbook Newton iterations differed between runtimes on up to about 10% of inputs and kept only 12 correct digits. For external and internal spur gears with 5 to 500 teeth and pressure angles from 14.5 to 30 degrees, all inputs fall inside the tested and proved ranges. Against ISO 1328-1 tolerance classes, we give in micrometres the errors that shortcut inverses cause in pin measurement and centre distance, and how far circular-arc CAD teeth (SolidWorks Toolbox) depart from the involute. Drawing an involute is easy; accuracy matters in inspection.

cs.MS

版本更新 · v2arXiv:2610.27951

infomeasure-rs: A High-Performance Rust Library for Information-Theoretic Measures and Estimators

Carlson Moses Büth

原文摘要

Information theory has become a standard tool across the natural and social sciences, yet practical use is limited by estimator choice, fragmented software, reproducibility, and computational cost. We present infomeasure-rs, an open-source Rust library that brings a broad set of information-theoretic measures and estimators into one self-contained, type-safe package. It covers entropy, mutual information, conditional mutual information, transfer entropy, conditional transfer entropy, cross-entropy, and the Kullback-Leibler and Jensen-Shannon divergences, with discrete (plug-in and bias-corrected), kernel, ordinal, and nearest-neighbour estimators, including the Rényi and Tsallis families, and exposes local and global values and significance testing through a consistent trait interface. It ships as a single portable binary with no runtime dependency and is continuously validated against a reference implementation. On a single central processing unit (CPU) core, and even without its GPU or parallel paths, it is the fastest of the packages we compared across languages, matching the closest packages only for plug-in discrete entropy and substantially faster for mutual information, the conditional and transfer measures, and the kernel, ordinal, and generalised-entropy estimators. The optional GPU and multi-threaded paths accelerate selected continuous estimators further. The library is open source and, to our knowledge, the most complete information-theory package for Rust.

cs.IT · cs.MS · physics.data-an

新论文 · v1arXiv:2611.31033

AI-Assisted Auto-formalization for Trustworthy Scientific Computing: Case Studies and Lessons Learned

Mohit Tekriwal, Het Mankad, Naifeng Zhang, Keita Teranishi, Sahil Bhola, Daisuke Uchida, Jean-Baptiste Jeannin, Franz Franchetti 等 11 位作者

原文摘要

Agentic AI tools have recently had success in mathematical reasoning. Both general purpose coding agents such as Claude Code and Codex, and specialized mathematics agents such as Aristotle, have been used for formalizing mathematical problems such as Fermat's last theorem, Erdős problems and several IMO level math problems. However, much of these efforts are concentrated in the pure mathematics domain, which benefits from relatively self-contained theorem statements, fixed mathematical representation and extensive support in existing formal libraries. Applied mathematics, on the other hand, presents additional challenges because the source may describe a computational procedure or modeling transformation rather than a declarative theorem. In this work, we present a systematic study of AI-assisted auto-formalization for scientific computing (SC), a domain in applied mathematics central to U.S. Department of Energy applications. Through case studies spanning hierarchical abstraction layers in SC software stack, we evaluate not only whether AI agents can complete numerical proofs, but also where and why they fail across the stack. Our primary contribution is a cross-layer taxonomy of failure modes and an analysis of the form of expert feedback required at each layer to recover mathematical soundness. From these observations, we derive a workflow for recurring proof patterns and practical guidance for using AI agents while preserving mathematical soundness. Our results characterize both the practical value and the current limitations of AI-assisted formalization for trustworthy scientific computing.

cs.AI · cs.MS · math.NA

新论文 · v1arXiv:2611.31030

Accurate Products, Inaccurate Inverse: Emulated FP64 BLAS in Blocked Triangular Inversion

Erzheng Zhang

原文摘要

FP64 emulation on integer tensor units now ships in cuBLAS and GEMMul8, and each emulated matrix product can be checked against an accuracy grade. We ask if a routine built from such products inherits their accuracy, and show that blocked triangular inversion, the core of LAPACK's inverse of a symmetric positive definite matrix, does not. Under fixed-precision emulation every product passes the grade-B error bound of Demmel et al., yet the inverse errs at 7.1e-2, against 2.0e-15 natively. The matrices are well conditioned after diagonal scaling, but the scaling spans 64 binades. The cause is one product, T = X22 L21, whose summed index carries both the diagonal scaling and its inverse, which a grade-B bound does not absorb. Computing those products natively restores native accuracy; leaving any one of them emulated does not. The pattern holds on four GPUs, and on real covariance matrices the fixed-precision routes lose up to about four orders of accuracy. Equilibration, a solve-based association and cuBLAS's automatic dynamic precision avoid the loss, and an exact error recurrence audits a completed run. On an RTX 4090 the fastest accurate emulated inversion takes 0.40 of cuSOLVER's time. Where each product's scaling falls decides if per-product accuracy carries over to a composite routine, and that is what builders of emulated libraries need to check.

cs.MS · cs.DC · math.NA

版本更新 · v3arXiv:2610.35948

Native Rectangular Linear Assignment with Implicit Rejection: A Jonker-Volgenant Solver without Square Expansion

Ratha Siv, Raphael Reme, Matei Mancas, Bernard Gosselin

原文摘要

Rectangular assignment with a uniform unmatched penalty is often implemented by expanding the cost matrix. We integrate established rectangular Jonker-Volgenant principles and implicit rejection with float64 working arithmetic and reusable workspaces in Rust (JVRUST), hybrid Rust/C++ (JVHYBRID) and C++ (JVCPP). A campaign evaluates laprust/lapcpp 1.2.0 and LAPX 0.13.0 in four Windows/Linux and Python environments. Each environment contains 302 cases: 3,286 complete-call timing conditions with five inputs and three rounds, plus 91 memory conditions with five fresh-process trials. Against the matching compact SciPy reference, all three native implementations exceed a 3% advantage on all 102 required cases; JVRUST and JVCPP do so on 163-165 and 163-166 of 166 optional cases, respectively. Controlled comparisons qualify these gains by representation, initialization, sparsity, batching and orientation. We also assess how solver gains carry over to pedestrian and cell tracking using real-world data and prepared detections. In each Windows environment, the specialized LSAPE code wins 38 of 67 cases against the original Hungarian implementation and all 67 against its unchanged one-sided baseline. The contribution is software integration and reproducible performance characterization. Adverse results are retained; no algorithmic priority, statistical significance or universal solver ranking is claimed. The initialization policy was developed using related workload families, so the campaign is not a held-out test of heuristic optimality.

cs.MS

新论文 · v1arXiv:2611.30415

Computing $ab+cd$ and other expressions with correct rounding in binary floating-point arithmetic

Stef Graillat, Jean-Michel Muller, Takeshi Ogita

原文摘要

We introduce two ``high-level'' algorithms that make it possible to evaluate the sum $(x\_h+x\_\ell) + (y\_h+y\_\ell)$ of two double-word numbers with correct rounding in binary floating-point arithmetic. These algorithms allow one to evaluate expressions of the form $ab+cd$, $a+b+cd$, $a+b+c+d$, and $abc$ with correct rounding, where $a$, $b$, $c$, and $d$ are floating-point numbers.

cs.MS

新论文 · v1arXiv:2611.30346

Ziv: A Language for Correctly Rounded Math Libraries

Lucas Yunkyu Lee, Sungjin Hwang, Wonyeol Lee

原文摘要

Developing performant, correctly rounded math libraries is challenging. Such implementations often rely on extended-precision arithmetic for correct rounding and precomputed constants for performance. Existing implementation languages, however, provide limited support for (i) high-level abstractions for such arithmetic and (ii) staged computation to combine precomputation and runtime computation in one program. As a result, existing implementations often miss abstraction opportunities and hard-code constants precomputed using separate programs. These practices make it difficult to write, understand, and modify these libraries. We present Ziv, a programming system for developing correctly rounded math libraries. It consists of a small language, a rich standard library, and a provably sound compiler targeting C. Ziv supports (i) high-level numerical abstractions via types and operations for extended-precision numbers, and (ii) staged computation via compile-time evaluation of expressions known to be input-independent. These features enable high-level code that unifies precomputation and runtime computation. We embed Ziv in Julia and evaluate it by reimplementing 19 functions from two state-of-the-art libraries targeting correct rounding; we achieve competitive performance with 2.63$\times$ reductions in lines of code. We also implement three new functions and automatically explore 824,256 variants, achieving 96.5$\times$ average speedup over an arbitrary-precision library.

cs.PL · cs.MS

新论文 · v1arXiv:2611.29011

graspit-py: A Python Interface to GraspIt! for Grasp Planning Under Pose and Friction Uncertainty

Clinton Enwerem, John S. Baras, Calin Belta

原文摘要

In simulated multifingered grasps, pose error can change contacts formed during hand closure, while friction uncertainty changes the loads supported by those contacts. Existing C++ APIs and ROS 1 services provide programmatic GraspIt! access but require native bindings or a service transport layer for Python use and application-specific integration of contact geometry with uncertainty sampling. A Python workflow for these studies must connect native closure and contacts to caller-defined wrench scores, uncertainty samples, and command reconstruction. We present graspit-py, a Python interface to native GraspIt! operations that supplies this workflow. The interface provides native scene access, contact-wrench analysis, and configurable approach planning under pose and friction uncertainty. A grasp record associates the object-relative palm pose and closed independent coordinates with nominal contacts and quality scores evaluated under sampled pose and friction conditions. Our MuJoCo exporter derives serial hinge chains and affine joint couplings, including nonzero reference angles, and preserves individual collision components. Across 75 configurations of five hand models, maximum discrepancy between source and exported palm-frame vertex sets was approximately 1.3 micrometers against a 100-micrometer geometry tolerance. We isolated reference-angle and collision-component effects through controlled ablations and validated 1,920 directional task-wrench capacity calculations against independent Cartesian-force linear programs. In a common GraspIt! workload, median reset-close-score-state cycle latency through direct Python was 10.7% lower than through persistent ROS 1 services. An executable export-plan-reconstruct workflow and grasp examples on six hand models demonstrate how the contact, score, and joint representations support numerical analysis and command reconstruction.

cs.RO · cs.MS

新论文 · v1arXiv:2611.28959

Portable Extended-Precision Floating-Point Arithmetic for Scientific Computing Kernels

Manas Vishal

原文摘要

Many scientific computations need more accuracy than IEEE double precision, but arbitrary precision is often too costly on CPUs and GPUs. Multi-float arithmetic fills this gap by representing each value as an unevaluated sum of IEEE numbers. Existing implementations are generally confined to a CPU, CUDA, or language-specific programming model. We present MultiFloats.cpp, a header-only C++17 library that uses Kokkos to compile the same extended-precision kernels for Serial, OpenMP, CUDA, and HIP. The library supports Float64x2 through Float64x4 (106--212 bits) and the corresponding Float32-based types. We evaluate it using seven SHOC-style kernels and compare against QD, CAMPARY, MPFR, and Julia MultiFloats.jl on A100, GH200, and AMD RX 780M systems. On A100, Float64x4 addition sustains 15,700 MOps/s, or 1.5 times CAMPARY; on CPU, vectorized Float64x4 operations are 4.2--6.6 times faster than QD's qd_real. Addition and multiplication produce 0 ULP error over 10,000 inputs, while Float64x4 division and square root remain within 1.71 and 17.9 ULP, respectively. Thus, extended precision can remain practical and portable without separate backend implementations.

cs.MS

版本更新 · v2arXiv:2611.25358

Certified pandigital approximations of $π$, $γ$, $δ$ and $e$

Daniel Bendjema Garcia

原文摘要

In 2004 Erich Friedman asked for the best approximations of $π$, $e$, the Euler-Mascheroni constant $γ$ and Feigenbaum's constant $δ$ that use each of the digits $1, \dots, n$ exactly once, with addition, subtraction, multiplication, division, exponentiation, parentheses and the decimal point. We determine the optimal expressions for $π$, $γ$ and $δ$ for every $n \le 9$, with the digits in any order and in increasing order, and for $e$ when $n \le 6$. The optima are found by exhaustive search and certified by an independent algorithm that encloses every expression rigorously and decides each candidate with Arb and exact arithmetic; a second certified computation covers intermediate values of any size. Twenty-one entries improve the records published before this work; one of them, the optimal formula for $π$ with 1-9 (error $2.81 \cdot 10^{-14}$), was found independently by M. Verheyen, and we prove it optimal. For $e$, whose records come from identities between power towers, we prove that Bamberger's formula is optimal within the natural family of such identities. All code and certificates are public.

math.NT · cs.MS

版本更新 · v4arXiv:2410.07468

Fast Mixed-Precision Real Evaluation

Artem Yadrov, Aditya Kumar, Pavel Panchekha

原文摘要

Evaluating real numbers to high precision is important in computational science, numerical computing, and in hardware and software design. Efficient algorithms exist for computing arithmetic operations and common elementary functions, but composing these primitives into larger expressions remains a challenge. The typical expression-evaluation algorithm computes all primitives in the expression to a uniform precision, doubling that precision until a sufficiently-accurate result is achieved. This is wasteful: usually only a few operations really need to be performed at high precision, and the bulk of the expression could be computed at a much lower, faster precision. However, no rigorous algorithm currently exists to compute these non-uniform precision assignments, nor to leverage non-uniform precision to reduce the number of primitive computations needed to evaluate an expression. We propose a new algorithm for deriving such rigorous precision assignments and reducing the number of primitive computations needed. This algorithm can leverage results computed at lower precisions to analytically determine a precision for each primitive that will result in a sufficiently-accurate evaluation. It can also use information from constant subexpressions, movability flags, and repeat flags to skip the computation of certain primitives, further reducing the time to evaluate real expressions. Our implementation, Reval, achieves an average speed-up of 3.97x compared to the widely-used Sollya tool, with the speed-up increasing to 9.26x on the most difficult inputs. A detailed evaluation shows that this speed-up results from both assigning lower precisions to the majority of primitives and from computing fewer primitives overall.

cs.MS · math.NA

版本更新 · v2arXiv:2611.20177

Discontinuity-Aware Solvers for Vapor-Compression Cycles

Shreyas Ekanathan, Avinash Subramanian, Oscar Smith, Yingbo Ma, Christopher Rackauckas, Christopher R. Laughman

原文摘要

Physics-based models of vapor-compression cycles are often formulated as large, stiff DAE systems with derivative discontinuities introduced at the points of phase change. We use an implementation of a discontinuity-aware ODE and DAE solver scheme that uses domain-specific, user-declared information to compute appropriate time steps for more efficient integration. This scheme is made open-source within Julia's DifferentialEquations package. We demonstrate how discontinuity information can be specified symbolically in a declarative modeling language such as Dyad and passed to the solver to address the numerical challenges posed. We apply this discontinuity-aware technique to two applications: first, a scalar ODE with two discontinuities, and then a model of a full vapor-compression cycle. The discontinuity-aware solver yields significantly fewer step rejections and improved solver times, particularly with the Rodas5P solver at loose tolerances, as compared to standard error control, suggesting that exposing physical discontinuity information from equation-oriented models to adaptive solvers can improve practical simulation performance without requiring reassembly of the model.

cs.MS · math.NA

版本更新 · v2arXiv:2611.03181

Multi-GPU Acceleration of Interface Problems in FEniCS, with Application to Cardiac Modeling

Edoardo Centofanti, Benjamin Pachev, Joshua Steyer, James D. Trotter, Pietro Benedusi

原文摘要

GPU acceleration of finite element assembly is well established for standard formulations, but mixed-dimensional problems, in which volumetric subdomains are coupled via lower-dimensional interfaces, remain unsupported in automated frameworks such as FEniCS. We extend cuDOLFINx, a GPU-enabled extension of the DOLFINx finite element framework, to assemble such interface problems on GPUs while preserving the high-level FEniCS programming model. Combined with GPU-resident Krylov solvers and algebraic multigrid preconditioning, this enables end-to-end GPU execution of the EMI (Extracellular--Membrane--Intracellular) model, an elliptic interface problem from cardiac modeling in which many intracellular subdomains are coupled through membranes. We compare the GPU implementation against a CPU-based one through strong and weak scaling experiments on regular and realistic 3D cardiac geometries with up to 8000 cells and 22 million degrees of freedom. In terms of assembly, a single GH200 node is roughly equivalent to two 144-core CPU nodes in strong scaling, and to two to three nodes in weak scaling, depending on geometry. For the linear solver, performance depends on geometry, preconditioning, and problem scale. On the regular geometry, GPU advantages emerge mainly at larger problem sizes and node counts. On the realistic geometry, with the same algebraic multigrid preconditioner for both architectures, the GPU is faster at all tested scales. The implementation is available as open-source software and applies to other problems with interface coupling.

math.NA · cs.DC · cs.MS

新论文 · v1arXiv:2611.22099

Differentiable High-Order Mesh $r$-Adaptivity

Ketan Mittal, Julian Andrej, John Camier, Veselin Dobrev, Tzanio Kolev, Leonardo Molinari, Vladimir Tomov

原文摘要

High-order mesh r-adaptivity typically entails minimizing a nonlinear functional using its gradients and, for Newton-based methods, its Hessian. These derivatives can be expensive to derive, must be updated with any changes to the functional, and errors in the derivatives directly impact the convergence of r-adaptivity. Additionally, derivatives of the r-adaptivity operator are required for consistent sensitivity analysis for inverse problems. This work develops a framework for differentiable r-adaptivity based on the Target-Matrix Optimization Paradigm. Given a pointwise functional defining the local mesh-adaptation objective, the proposed framework uses $\partial$FEM to automatically generate pointwise first- and second-order derivatives. These local derivatives are then assembled into a global gradient vector and a Hessian operator through the finite element operator decomposition. The derivative kernels support portable CPU and GPU execution, with partial assembly and tensor sum factorization enabling matrix-free application of the Hessian operator. The framework also provides consistent sensitivities of the r-adaptivity operator through automatically generated mixed derivatives and implicit differentiation of the mesh stationarity equations. Numerical experiments show GPU solve times comparable to those of hand-derived TMOP implementations on a benchmark problem, improvement in r-adaptivity convergence due to accurate computation of the derivatives, and demonstrate the use of mesh sensitivities for material-interface identification in an inverse heat-conduction problem.

math.NA · cs.MS

新论文 · v1arXiv:2611.21976

Sparse Integer Fourier Transform and Its Application In Machine Learning

Jinyang Li, Jie Chen

原文摘要

The Discrete Fourier transform, mainly implemented by Fast Fourier Transform (FFT), has been essential for numerous domains, such as digital signal processing and feature extraction in materials design. However, current FFT methods suffer from extensive non-trivial multiplications and twiddle-factor operations in the big data era. To improve the computational efficiency of FFT, this study proposes Sparse Integer Fourier Transform (SIFT), a method that leverages the fast computing of sparsity and small integers, and applies the Radix-n method to derive an FFT. The 2N-point DFT matrix in Radix-n FFT is decomposed into four sparse integer matrices. A diagonal matrix containing complex twiddle factors is efficiently approximated using an optimization strategy while the remaining matrices retain sparsity and integer entries. For radix-32 FFT, SIFT reduces the estimated arithmetic cost by 75%, with RMSE below $2.3765\times10^{-8}$ and MAPE below 0.01089%. We evaluate frequency extraction in a numerical test and an engineering case. In the numerical test, MAPE and RMSE are below 2.016% and $2.536\times10^{-6}$, respectively. For wind turbine fault diagnosis, SIFT extracts compact spectral features that retain fault information while reducing the classifier's input dimensionality relative to the full time series.

cs.MS · cs.LG

新论文 · v1arXiv:2611.21814

Newton's Method for CP Decomposition

DuBose Tuller, Grey Ballard, Hussam Al Daas, Nicholas I. M. Gould

原文摘要

We present an algorithm for computing the CP tensor decomposition using Newton's method. The problem of fitting a CP model to a data tensor with least squares loss can be solved by various gradient-based optimization techniques, including Gauss-Newton methods that exploit the tensor structure of the problem and iteratively solve the linear system involving the approximate Hessian matrix to determine the step direction at each iteration. Gauss-Newton methods exhibit superlinear convergence when the residual is small but can otherwise struggle to converge when the approximation to the Hessian is not accurate. We show that the Gauss-Newton approach can be extended to Newton's method, using the true Hessian to obtain fast convergence even in the case of large residuals. In particular, we derive efficient means of applying the true Hessian to vectors for use within an iterative solver, we employ globalization and regularization techniques to make the Newton model robust to ill-conditioned and/or indefinite Hessians, and we propose hybrid use of Gauss-Newton and Newton steps to balance convergence behavior both far and near local minima. Our numerical experiments use synthetic examples to show in which scenarios Gauss-Newton and other methods struggle to converge, and we demonstrate the superiority of the hybrid approach on two application data sets.

cs.MS

新论文 · v1arXiv:2611.21570

Trustworthy Numerical Software in the Age of AI: What Would Turing Do?

Kimon Fountoulakis, Maksim Melnichenko, Muhammad Fetrat Qharabagh, Georgios Alexandros Georgantzas, George Spyrou, Oleg Balabanov, Vasileios Georgiou, Riley Murray 等 9 位作者

原文摘要

AI coding agents can now produce numerical software faster than human experts can review it, raising serious concerns about usability and reliability. These and other AI tools are already transforming mathematics and software, and they will soon transform mathematical software. These concerns motivated us to assess AI-generated numerical linear algebra (NLA) kernels, which we did through an audit of a recent public GPU QR competition. All five leading kernels passed the competition's accuracy tests, and the winning kernel achieved a 107-fold speedup over the competition's baseline, which calls NVIDIA's QR routine. Yet each failed at least once on new inputs, even those from the competition's generator, under the same checker, while the baseline passed them all. In light of this, we want to develop reusable formalizations of numerical analysis methods, which remain sparsely represented in existing formal libraries. We describe VSCL, our Lean library of mathematical foundations for numerical computing. We also propose VERNA to connect these tasks by using formalized results to guide kernel assessment against explicit specifications. Drawing on Turing's work on rounding-error analysis and program checking, we discuss design principles for developing trustworthy numerical software when direct human checking is impractical.

math.NA · cs.MS

新论文 · v1arXiv:2611.20039

IsaGraphLib: Formally Verified Efficient Graph Algorithms in Isabelle/HOL

Mohammad Abdulaziz, Thomas Ammer, Adem Rimpapa, Peter Lammich

原文摘要

We present a library of formally verified graph algorithms in Isabelle/HOL. The library covers the main problems of combinatorial optimisation on graphs: reachability, shortest paths, minimum spanning trees, matching, maximum flow, and minimum-cost flow. The algorithms in the library use most of the standard algorithm design techniques: graph search, greedy algorithms on matroids, dynamic programming, augmenting paths, blossom contraction, blocking flows, push-relabel, scaling, the primal-dual method, randomisation, and certificate checking. The library has adaptors between different types of graphs (directed, undirected, multigraphs), which allow results to be reused. Each algorithm is verified independently of its data structures, and the main algorithms are refined to efficient imperative implementations, from which we generate code in Standard ML, Scala, and Go. We developed parts of the library with large language models (LLMs), improved the quality of their proofs with a method based on statistics of our own proofs, and labelled which parts were developed by humans, by LLMs, or collaboratively. We perform a detailed experimental analysis of representative algorithms in our library, comparing it with state-of-the-art mainstream libraries, showing that our implementations are practical.

cs.DS · cs.MS

版本更新 · v2arXiv:2601.23237

基于QR的向量值有理逼近的应用

Applications of QR-based Vector-Valued Rational Approximation

Simon Dirckx, Joar Bagge, Daan Huybrechs

AI 速读 基于摘要

作者展示了QR-AAA这一向量值有理逼近贪心算法在多种计算场景中的应用,强调其灵活性与实用性。

math.NA · cs.MS

查看原文摘要

Several applications of the QR-AAA algorithm, a greedy scheme for vector-valued rational approximation, are presented. The focus is on demonstrating the flexibility and practical effectiveness of QR-AAA in a variety of computational settings, including Stokes flow computation, multivariate rational approximation, function extension, the development of novel quadrature methods and near-field approximation in the boundary element method.

新论文 · v1arXiv:2611.17555

Red-Blue Hamiltonian Tomography via the Operator Lightcone Wavemap

Paolo D'Alberto

原文摘要

We introduce a model-free method for Hamiltonian tomography based on the operator spreading wavefront. Given two tensor network simulations of the same quantum lattice (one with the nominal Hamiltonian and one with one or more perturbed bonds), the signed cross-entropy of the non-identity Pauli weight field $\mathcal{L}(v,t) = -\ln(n_{\rm pert}/n_{\rm base})$ identifies each perturbed bond by its causal signature: a red-blue sign flip at the two endpoints, visible from the first wavefront crossing. Combining measurements from $p$ strategically placed observation centers via an ensemble log-likelihood sum, a single broken bond is identified with an 82-fold margin over the next candidate on a $7\times7$ lattice. Extending to realistic coupling degradation ($δJ = -0.20$) and up to 8 simultaneous faults, the integrated log-ratio $Λ(v) = \ln(\mathcal{B}(v)/\mathcal{N}(v))$ achieves a per-bond detection rate above 90\% in a single seismic pass using only 6 simulations. An iterative re-scan strategy progressively resolves multi-bond cases as the signal clears with each recalibration pass. The method requires no model assumptions and no knowledge of the perturbation type or magnitude; the detection is deliberately blind.

cs.MS · math-ph · quant-ph

版本更新 · v5arXiv:2409.07563

MPPI-Generic: A CUDA Library for Stochastic Trajectory Optimization

Bogdan Vlahov, Jason Gibson, Manan Gandhi, Evangelos A. Theodorou

原文摘要

This paper introduces a new C++/CUDA library for GPU-accelerated stochastic optimization called MPPI-Generic. It provides implementations of Model Predictive Path Integral control, Tube-Model Predictive Path Integral Control, and Robust Model Predictive Path Integral Control, and allows for these algorithms to be used across many pre-existing dynamics models and cost functions. Furthermore, researchers can create their own dynamics models or cost functions following our API definitions without needing to change the actual Model Predictive Path Integral Control code. Finally, we compare computational performance to other popular implementations of Model Predictive Path Integral Control over a variety of GPUs to show the real-time capabilities our library can allow for. Library code can be found at: https://acdslab.github.io/mppi-generic-website/ .

cs.MS · cs.DC · cs.RO · eess.SY

版本更新 · v2arXiv:2609.04663

BF16 Component-Product Emulation of FP32 and FP64 GEMM on Intel AMX

Bing Cui, Yu Liu

原文摘要

Modern CPUs increasingly integrate high-throughput matrix engines optimized for low-precision AI workloads, while many scientific computing applications still rely on FP32 and FP64 GEMM to meet their numerical accuracy requirements. This paper presents a method that combines BF16 matrix products on Intel Advanced Matrix Extensions (AMX) to emulate real square FP32 and FP64 GEMM. For FP32 GEMM, each element in both input matrices is decomposed into three BF16 components, and six selected component products are evaluated to target FP32-level accuracy comparable to oneMKL SGEMM. For FP64 inputs within the supported BF16 exponent range, the method uses a simplified fixed six-slice Ozaki decomposition. Each retained BF16 product is first produced in FP32, then widened and accumulated in FP64. Four product-count settings retain 6, 10, 15, or 21 component products, exposing the accuracy-performance tradeoff relative to oneMKL DGEMM. The FP32 schedule reuses component data and retains partial sums in AMX tiles. AMX-FP32 outperforms oneMKL SGEMM at tested orders $N\ge4096$ on 64 threads and also achieves gains for smaller matrices at lower thread counts. AMX-FP64 variants retaining fewer component products can outperform oneMKL DGEMM at sufficiently large orders; more products improve accuracy at additional cost.

cs.MS · cs.DC

版本更新 · v2arXiv:2611.00301

The Rise of Low Precision Floating Point

Guy Lemieux, Michael L. Overton

原文摘要

Floating point computing has dominated scientific computations since the 1950s because of its versatile ability to approximate real numbers with both sufficiently high precision and sufficiently great range. Since 1985, two specific formats have become standard across the industry, one with 32 bits which is adequate for many purposes and one with 64 bits which allows numbers with both much higher precision and much greater range for applications where these are needed. However, during the past decade, deep learning has come to dominate computation, and narrower floating point formats with lower precision and reduced range have steadily become more common. In this article we discuss this phenomenon, why it is happening, how various 16-bit, 8-bit and even 4-bit floating point formats have been developed, and efforts to standardize these formats.

cs.MS · cs.AR · cs.LG · math.NA

版本更新 · v2arXiv:2610.24074

QRecoupling.jl:经典与量子重耦合系数的数值与精确计算

QRecoupling.jl: numerical and exact computation of classical and quantum recoupling coefficients

Seth K. Asante

AI 速读 基于摘要

介绍 Julia 包 QRecoupling,用于数值、精确和符号地计算 Clebsch-Gordan 系数、3j/6j 符号及用户自定义阶乘乘积求和。

cs.MS · gr-qc · math-ph · physics.comp-ph

查看原文摘要

The Julia package QRecoupling evaluates classical and quantum recoupling coefficients, such as Clebsch-Gordan coefficients and $3j$ and $6j$ symbols, and user-defined sums of factorial products, with numerical, exact and symbolic targets. One compact factorial rule covers classical and deformed evaluations, while its cyclotomic exponents reveal common factors and determine which terms contribute at unitary levels. Adaptive arithmetic resolves strongly cancelling sums, while exact tests in quantum integers distinguish algebraic zeros from small nonzero values without a computer-algebra system. At spin cutoff 500, classical $3j$ and $6j$ symbols are evaluated about 7 and 15 times faster than with WIGXJPF. For the tested quantum deformations, relative errors remain below $4\times10^{-14}$ through spin cutoff 400. Recurrences compute fusion matrices with 401 channels about 100 times faster than loops over their entries. The resulting coefficients support recoupling identities, changes of coupling basis and tensor-network calculations.

版本更新 · v2arXiv:2610.38983

Beyond atol and rtol: Sound Test Oracles for Low-Precision GPU Kernels

Xinyi Shi

原文摘要

Low-precision GPU kernels are commonly tested against a reference using hand-picked absolute and relative tolerances. Legitimate numerical error varies with the input, format and precision plan, so a fixed tolerance trades false alarms for missed faults. We present numoracle, which derives per-element acceptance regions from precision-annotated reference programs. Its calculus tracks shared rounding errors, provenance-ordered products, block-scaled quantizers and calibrated math-library errors. A rounding-interval check detects faulty stores that symmetric bounds can admit. Soundness is conditional on explicit rounding, hardware, domain and implementation assumptions; a fixed-input mode removes the zero-mean rounding assumption. We evaluate 13 Triton operators from Liger-Kernel, Unsloth and vLLM on two GPU generations. The main campaigns produce no false alarm on 33,960 correct-kernel and behavior-preserving-variant runs per GPU. Under input shift, the GPU campaigns record no false alarm while tuned tolerances flag up to 30% of correct runs; final-version reference checks identify inputs without complete finite-range certificates. On the RTX PRO 6000, numoracle kills 116 of 124 effective mutants, versus 59-83 for four fixed baselines. Among 400 tuned tolerance configurations, requiring at most 1% false alarms in every evaluated Liger input group permits at most 31 of 53 main-mutant kills, versus numoracle's 50. Historical replays expose accuracy faults in eight change pairs without rejecting their matched corrected controls; a ninth change concerns rounding parity.

cs.MS · cs.PL · cs.SE

新论文 · v1arXiv:2611.12027

An open source Python code for three-dimensional topology optimization in single precision on a consumer GPU

Leonilson Toffoli Pedrini, Rodolfo G. M. Andrade, Rafael M. Ferro

原文摘要

Three-dimensional topology optimization solves linear systems with millions of unknowns at every design iteration. Consumer graphics cards run far faster in single than in double precision, and open codes for them mostly address minimum compliance. This educational article presents TOF3D, an open source Python code for density-based topology optimization in single precision on one consumer GPU. It solves four classes of problems: stress constrained minimum compliance, robust minimum compliance against manufacturing errors, compliant mechanisms and bone-like porous infill. The stiffness operator is applied without assembly, and the conjugate gradient method is preconditioned by geometric multigrid. Rounding the element matrix to single precision gave rigid body motions a spurious energy and changed compliances by up to 5.4%. Forming the element products from differences of nodal displacements reduced this error to $1.3\times 10^{-5}$ at no cost in time. Adjoint sensitivities agreed with finite differences to within $1.7\times 10^{-6}$, and the solutions agreed with Ansys Mechanical APDL to within $4.1\times 10^{-10}$ with the same element. On an RTX 3060 with 12 GB, one design iteration of a cantilever took 0.46 s with 0.5 million elements and 15 s with 33.5 million. On the same card and problem, an open GPU code that applies its operator in double precision took 3.7 and 21 s with 0.5 and 4.2 million elements and ran out of memory on larger meshes. Eight cases fixed in a protocol before the runs took 9 to 35 minutes each with 4.2 to 5.2 million elements.

cs.CE · cs.MS

版本更新 · v2arXiv:2606.29129

Improved Scaling for Fast Mode of Ozaki Scheme II

Shota Kawakami, Daisuke Takahashi

原文摘要

Ozaki scheme II emulates high-precision matrix multiplication using low-precision integer matrix operations based on the Chinese remainder theorem (CRT). It first scales the high-precision matrices to convert them into integer matrices. For this scaling step, Ozaki scheme II provides two modes: accurate mode, which uses INT8 matrix multiplication to estimate scaling factors, and fast mode, which applies the Cauchy--Schwarz inequality at lower computational cost. We show that the existing formula lacks scale invariance; multiplying the input matrices by a constant changes the effective bit width of the integer matrices in the scaling step, causing accuracy degradation or CRT recovery failure. To address this, we propose a revised scaling formula derived from the CRT uniqueness condition via the Cauchy--Schwarz inequality. The proposed formula is scale-invariant by construction, guarantees that the CRT uniqueness condition is always satisfied, and introduces no additional overhead over the original fast mode. Experiments on an NVIDIA GH200 GPU show that the proposed method achieves accuracy comparable to that of accurate mode while maintaining throughput comparable to that of fast mode. In the accuracy--throughput trade-off, the proposed method overcomes the accuracy limitation of fast mode and the throughput constraint of accurate mode, offering a superior accuracy and performance.

cs.MS · cs.DC · math.NA

新论文 · v1arXiv:2611.11248

FESOM2.8 in single precision: climate fidelity over six decades and performance on CPUs and GPUs

Suvarchal Kumar Cheedela, Nikolay V. Koldunov, Sergey Danilov, Jan Streffing, Dmitry Sidorenko, Thomas Jung

原文摘要

Halving the floating-point precision of an ocean model can make it substantially faster, but whether the rounding errors stay negligible over climate time scales has rarely been tested. We implement single precision in the global ocean-sea-ice model FESOM2 and compare 60-year hindcasts with double-precision controls. A first implementation lost salt steadily, accumulated a heat-content deficit of 129 ZJ, and shifted major ocean fronts. Controlled experiments trace the drift to the tracer update: small increments added to a large salinity value are rounded away, and the increments themselves are biased. Accumulating tracer tendencies and layer thicknesses in 64 bits, and carrying the rounding error of each tracer update into the next, removes the drift for at most 8% additional runtime. Single- and double-precision simulations then differ in heat content and mean state about as much as two double-precision runs with slightly perturbed initial conditions, sea ice differs by at most 0.2%, and he salinity difference is four orders of magnitude smaller than before. In the coupled model AWI-ESM3, single precision adds no detectable heat source or sink over 60 years. Single precision speeds up the 60-year hindcasts by a factor of 1.35, and the model by up to 1.66 on meshes of up to 5 km resolution; on GPUs, a C++/Kokkos version runs up to 1.27 times faster and needs 43% less memory. Whether reduced precision is safe for climate integrations is decided by long-term budgets, not by short tests.

physics.ao-ph · cs.MS · cs.PF