paper-with-me

Papers

AutoLALA: Automatic Loop Algebraic Locality Analysis for AI and HPC Kernels

2026-04-06 · Yifan Zhu, Yekai Pan, Yanghui Wu, Chen Ding arxiv

Data movement is the primary bottleneck in modern computing systems. For loop-based programs common in high-performance computing (HPC) and AI workloads, including matrix multiplication, tensor contraction, stencil computation, and einsum operations, the cost of moving data through the memory hierarchy often exceeds the cost of arithmetic. This paper presents AutoLALA, an open-source tool that analyzes data locality in affine loop programs. The tool accepts programs written in a small domain-specific language (DSL), lowers them to polyhedral sets and maps, and produces closed-form symbolic formulas for reuse distance and data movement complexity. AutoLALA implements the fully symbolic locality analysis of Zhu et al. together with the data movement distance (DMD) framework of Smith et al. In particular, it computes reuse distance as the image of the access space under the access map, avoiding both stack simulation and Denning's recursive working-set formulation. We describe the DSL syntax and its formal semantics, the polyhedral lowering pipeline that constructs timestamp spaces and access maps via affine transformations, and the sequence of Barvinok counting operations used to derive symbolic reuse-interval and reuse-distance distributions. The system is implemented in Rust as a modular library spanning three crates, with safe bindings to the Barvinok library. We provide both a command-line interface and an interactive web playground with LaTeX rendering of the output formulas. The tool handles arbitrary affine loop nests, covering workloads such as tensor contractions, einsum expressions, stencil computations, and general polyhedral programs.

📄 PDF Abstract BibTeX arXiv:2604.05066

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

The Algebraic Combinatorial Approach for Low-Rank Matrix Completion

2012-11-17 · Franz J. Király, Louis Theran, Ryota Tomioka

We present a novel algebraic combinatorial view on low-rank matrix completion based on studying relations between a few entries with tools from algebraic geometry and matroid theory. The intrinsic locality of the approac…

Low-Rank Matrix CompletionMatrix Completion

A Screw Approach to the Approximation of the Local Geometry of the Configuration Space and of the set of Configurations of Certain Rank of Lower Pair Linkages

2025-08-19 · Andreas Mueller arxiv

A motion of a mechanism is a curve in its configuration space (c-space). Singularities of the c-space are kinematic singularities of the mechanism. Any mobility analysis of a particular mechanism amounts to investigating…

Residual-Informed Learning of Solutions to Algebraic Loops

2025-10-10 · Felix Brandt, Andreas Heuermann, Philip Hannebohm, Bernhard Bachmann arxiv

This paper presents a residual-informed machine learning approach for replacing algebraic loops in equation-based Modelica models with neural network surrogates. A feedforward neural network is trained using the residual…

Dynamic Input Mapping Inversion for Algebraic Loop-Free Control in Hydraulic Actuators

2024-10-17 · Alessio Dallabona, Patrik Schermann, Mogens Blanke, Dimitrios Papageorgiou

The application of nonlinear control schemes to electro-hydraulic actuators often requires several alterations in the design of the controllers during their implementation. This is to overcome the challenges that frequen…

Robust Regularized Locality Preserving Indexing for Fiedler Vector Estimation

2021-07-26 · Aylin Tastan, Michael Muma, Abdelhak M. Zoubir

The Fiedler vector of a connected graph is the eigenvector associated with the algebraic connectivity of the graph Laplacian and it provides substantial information to learn the latent structure of a graph. In real-world…

Image SegmentationSemantic Segmentation