CS Paper Radar

topAC99: A compact MATLAB implementation of filter-free Allen--Cahn topology optimization with matrix-free field transfer

Run Du

cs.CE ·submitted 2026-11-24 03:44 UTC · v1

Abstract

This paper presents topAC99, a self-contained, toolbox-free 99-line MATLAB kernel for filter-free Allen--Cahn topology optimization via the Augmented Lagrangian method on structured quadrilateral meshes. The software architecture combines three compact numerical components: (i) a lumped nodal discretization with a 7-line Kronecker-sum 5-point Laplacian that enforces homogeneous Neumann conditions at width-invariant sparse memory cost; (ii) matrix-free node-to-element averaging and adjoint backpropagation via two-dimensional convolutions (conv2); and (iii) an inlined 18-line 1D-dual bisection Method of Moving Asymptotes (MMA) solver for signed sensitivities. Benchmarks from 60x40 to 300x200 meshes (121,002 degrees of freedom) against convolution- and PDE-filtered SIMP baselines show that Allen--Cahn residual and adjoint evaluations add only 0.7%--1.2% per-step overhead while converging in 78--92 iterations on fine grids. Minimal-line extensions to a symmetric force inverter compliant mechanism and a passive-deck highway arch bridge further demonstrate the versatility of the 99-line kernel.

Comment
14 pages, 7 figures

Closest papers

Nearest neighbours by meaning across the whole index.

Allen--Cahn Residual-Constrained Topology Optimization via an Augmented Lagrangian Method

cs.CE math.OC ·2026-11-02 ·Run Du, Xuan Xiao, Wenming Cheng, Zeqiang Zhang
benchmark similarity 0.63
Abstract · 43 pages, 14 figures

This paper presents a residual-constrained topology optimization framework that controls interface transition bandwidth without requiring external density filters. The steady conserved Allen--Cahn (AC) equation is formulated as an equality residual constraint and solved via a mass-weighted Augmented Lagrangian Method (ALM) coupled with the Method of Moving Asymptotes (MMA). A closed-form chemical potential projection eliminates the constant residual mode, ensuring algebraic compatibility with external volume targets. Variational sensitivity analysis reveals a symmetric-plus-rank-one Jacobian that yields matrix-free sensitivities without additional adjoint PDE solves, reducing residual sensitivity overhead to only 0.11% of the state elasticity solve time in 3D. Systematic 2D benchmarks confirm that interface bandwidth is governed intrinsically by reaction--diffusion parameters across mesh refinements. While diffuse interfaces incur a continuous compliance elevation (1.4%--12.3%), a volume-preserving 0/1 post-processing audit across 48 benchmark cases demonstrates that this gap stems primarily from intermediate-density penalization: binarized AC-ALM designs achieve equal or superior stiffness in 45 configurations (averaging 1.2% stiffer than SIMP). Simultaneously, single-node hinges and strut fragmentation are substantially suppressed compared to unregularized baselines. Three-dimensional benchmarks further demonstrate practical spatial viability for complex structures.

0.30

lapanda: A Matrix-Free Differentiable Solver for Nonconvex Constrained Optimization Layers

cs.LG math.OCeess.SY ·2026-09-27 ·Yuankun Chen, Zifei Nie, Kangyu Lin, Ján Drgoňa, Liang Wu
similarity 0.57
Abstract

Differentiable optimization brings the structural guarantees of mathematical optimization to network pipelines, allowing them to be trained end-to-end. However, its application remains challenging for nonconvex constrained problems, as existing differentiable solvers often suffer from limited modeling expressiveness due to their reliance on specialized problem structures, while also incurring substantial computation time and memory overhead in both the forward and backward passes. To address these challenges, we propose lapanda, a matrix-free differentiable solver for nonconvex optimization with general constraints. It reformulates the problem to a sequence of augmented Lagrangian subproblems, each handled by a first-order inner solver through a proximal averaged quasi-Newton algorithm with adaptive linesearch, thus enabling efficient forward optimization. We establish local well-posedness of the solution map and convergence of the outer iterations, and further derive a sensitivity alignment between the original problem and the final subproblem in the backward pass, demonstrating that the subproblem sensitivity, which can be computed efficiently in a matrix-free manner, provides a principled approximation to the exact optimizer sensitivity. We evaluate lapanda on nonconvex constrained Rosenbrock benchmarks, imitation learning with several representative constrained optimal control problems, and embedded robotic obstacle-avoidance tasks. Compared with state-of-the-art differentiable solvers, lapanda delivers substantial reductions in computation time and memory footprint while maintaining reliable constraint satisfaction and learning performance.

0.18

Differentiable High-Order Mesh $r$-Adaptivity

cs.MS math.NA ·2026-11-17 ·Ketan Mittal, Julian Andrej, John Camier, Veselin Dobrev, Tzanio Kolev +2 more
benchmark similarity 0.56
Abstract · 14 pages, 10 figures, 2 tables

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.

0.32

Sliced Tensor Operators for Large-Scale Topology Optimization

cs.CE ·2026-11-21 ·Pedro Zuidberg Dos Martires, Gustavo Assis da Silva
benchmarkhot direction similarity 0.56
Abstract

Large-scale three-dimensional topology optimization is constrained by both the cost of repeatedly solving the governing finite-element equations and the memory required by these computations. Memory consumption can be controlled through specialized low-level implementations, but developing, optimizing, and extending such code requires substantial effort and hardware-specific expertise. High-level tensor programming frameworks, which support automatic differentiation, offer an attractive alternative: numerical operations can be expressed compactly, while their compilers generate highly optimized code for CPUs and GPUs. However, a direct tensor formulation creates intermediate arrays that can quickly exhaust the available memory. We address this limitation through memory-bounded tensor operators for matrix-free finite-element analysis and Galerkin multigrid. The fine-grid stiffness action is evaluated in overlapping spatial slices, and on coarse grids, the Galerkin operator is retained in a factorized representation consisting of fine-grid stiffness interpolation coefficients and precomputed local operators. This representation permits its action to be evaluated without materializing a spatially varying stiffness operator on every coarse grid, while preserving the exact Galerkin hierarchy. We implement these formulations in topax, a modular JAX library for two- and three-dimensional density-based topology optimization supporting CPUs and GPUs. On a single NVIDIA GH200, topax performs 50 design iterations for a problem with more than 809 million displacement degrees of freedom in approximately $24.5$ minutes. Across the common GPU benchmark, it is up to $13.6$ times faster than the fastest competing implementation and uses less than half the device memory for the largest problem.

0.40

KATOsuper: Surrogate-accelerated neural topology optimization with sensitivity-consistent Fourier neural operators

cs.CE cs.AIcs.LGmath.NA ·2026-09-23 ·Shengyu Yan, Jasmin Jelovica
benchmark similarity 0.55
Abstract · 32 pages, 24 figures, 7 tables

Topology optimization (TO) remains computationally intensive due to repeated finite element analysis (FEA) evaluations required at each iteration. While neural network-based surrogates offer potential acceleration, existing approaches often suffer from gradient inconsistency between predicted objectives and sensitivities, leading to optimization instability. This work presents KATOsuper, an objective-agnostic framework that couples neural-reparameterized topology optimization with a Sensitivity-Consistent Fourier Neural Operator (SC-FNO). The framework employs the forward_split architecture, which derives deployed sensitivities via automatic differentiation through the predicted objective field and thereby preserves consistency between the predicted objective and the gradient used for optimization. The case studies include three 2D benchmark problems and three 3D structures considering compliance or stress minimization. A physics-informed multi-channel input encoding with Fourier position embedding enables resolution-invariant learning, supporting zero-shot extrapolation beyond the training resolution, with useful performance at moderate scaling factors and topology-preserving exploration at up to 64x without retraining. The framework extends to 3D through KATO3D, featuring novel KANConv3D blocks with learnable B-spline activations. KATOsuper demonstrates 15--110x deployment-time speedup over MATLAB baselines while maintaining competitive optimality, with the clearest gains observed in complex 3D and stress-optimization cases. The insight that sensitivity direction matters more than magnitude enables robust optimization even with approximate physics evaluation, extensible to other differentiable physics-driven design objectives.

0.58

Topology optimization with buckling constraints: Adaptive eigenvalue aggregation and modality identification

cs.CE ·2026-09-17 ·Badvelu Pranay Prabha, Prabhat Kumar
similarity 0.55
Abstract · 33 pages

This paper presents novel approaches to tackle two key challenges in topology optimization problems with buckling constraints: determining how many eigenvalues to aggregate and identifying the eigenvalue modality at the optimal design. We demonstrate the mathematical inconsistencies that arise when choosing an arbitrary fixed number of eigenvalues for aggregation. Specifically, if the multiplicity of the critical eigenvalues is smaller than the chosen subset size, coalescence with higher-order eigenvalues can occur. Neglecting these during aggregation causes incorrect sensitivities, while simply increasing the preselected eigenvalue count unnecessarily raises computational costs. To resolve this issue, we propose an approach that dynamically determines the exact number of eigenvalues required at each optimization iteration. The proposed approach reduces computation time significantly while maintaining competitive performance relative to the conventional method across the numerical experiments presented. Additionally, accurately predicting modality at the optimal point is crucial for understanding the buckled mode shapes of optimized designs. A new optimization formulation is proposed using the difference between eigenvalues to capture the true eigenvalue modality. This formulation is first validated on a classical 1D clamped column, successfully predicting both the bimodal solution and the optimal eigenvectors. The approach demonstrates that the optimal solutions for the wall reinforcement and shear-loaded hinged plate problems for the given set of parameters are trimodal and tetramodal, respectively.

0.27

cuPDQPx: A GPU-Accelerated Restarted Halpern PDHG for Large-Scale Convex Quadratic Programming

cs.MS math.OC ·2026-10-28 ·Haihao Lu, Zedong Peng, Jinwen Yang
similarity 0.54
Abstract

We present cuPDQPx, a GPU-accelerated, factorization-free first-order solver for large-scale convex quadratic programming (QP). Building on the restarted reflected Halpern primal-dual framework of cuPDLPx, we introduce an auxiliary-variable splitting that yields explicit updates without linearizing the quadratic objective or solving inner quadratic subproblems. A preconditioned proximal point interpretation yields both sublinear and linear fixed-point residual convergence guarantees. For practical efficiency, cuPDQPx integrates diagonal preconditioning, step-size selection, adaptive restart, and adaptive primal and quadratic weight updates. cuPDQPx is implemented in C and CUDA with optimized sparse matrix-vector products, kernel fusion, and CUDA Graphs. Numerical experiments on the Maros-Mészáros collection, a convex subset of QPLIB, and synthetic large-scale QPs demonstrate that cuPDQPx has strong numerical performance at both $10^{-4}$ and $10^{-8}$ tolerances.

0.21

JAXIGA - A software framework for GPU-enabled and differentiable isogeometric analysis

cs.MS math.NA ·2026-10-06 ·Cosmin Anitescu, Yongjie Jessica Zhang
benchmarkcode/dataunusual similarity 0.54
Abstract

In this paper, we present JAXIGA, an open-source library for isogeometric analysis based on JAX. The library separates the construction of the mesh from the computations which are traced for compilation and differentiation. This allows geometry evaluation, assembly and the supported solvers to be combined in a just-in-time compiled program, for which first-order reverse-mode derivatives can be computed. We consider three numerical methods obtained from a single pointwise energy density. The Galerkin and energy-minimization methods use the same discrete potential and have the same stationary points, while collocation enforces the corresponding strong form. The sensitivities of a converged solution are obtained by solving one adjoint problem, and their accuracy depends on the tolerances of both the primal and adjoint problems. We also describe hierarchical extraction for local refinement of the variational methods and the use of smooth spline spaces for fourth-order problems. The numerical results are compared with analytical solutions and independent FEniCSx and JAX-FEM computations. For the reported GPU benchmark with 36,448 unknowns, assembly is twenty-four times faster than on the host CPU. When the conjugate-gradient solver is also run on the GPU, the total solution time is reduced from 31.8 to 1.38 seconds, and the result agrees with the direct solution to $5\times10^{-11}$. These results show that the choice of solver and the reuse of compilation are important for obtaining an overall reduction in computational cost.

0.35