arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.17028cs.MScs.AImath.RA
收藏

PALMA:一种针对ARM架构嵌入式系统的轻量级热带代数库

PALMA: A Lightweight Tropical Algebra Library for ARM-Based Embedded Systems

Axiom Research Group(axiom研究组);Department of Applied Mathematics and Computational Science, The Nelson Mandela African Institution of Science and Technology (NM-AIST)(应用数学与计算科学系,内勒曼达非洲科学技术研究所(NM-AIST));African Institute for Mathematical Sciences (AIMS), Research and Innovation Centre (RIC)(非洲数学科学研究所(AIMS),研究与创新中心(RIC))

Gnankan Landry Regis N'guessan

AI总结:

PALMA是一种针对ARM架构嵌入式系统的轻量级热带代数库,通过SIMD加速内核实现高效计算,支持多种优化算法,提升嵌入式系统在实时控制中的性能。

摘要:

热带代数,包括max-plus、min-plus以及相关的幂等半环,提供了一个统一的框架,其中许多在经典代数中非线性的优化问题变为线性。这一特性使得热带方法特别适用于最短路径、调度、吞吐量分析和离散事件系统。尽管理论成熟且具有实际相关性,现有的热带代数实现主要针对桌面或服务器环境,仍然在资源受限的嵌入式平台上难以使用,而这些问题在嵌入式平台上最为突出。我们提出了PALMA(并行代数库用于max-plus应用),这是一个轻量级、无依赖的C库,将热带线性代数引入ARM架构的嵌入式系统。PALMA实现了一个通用的半环抽象,具有SIMD加速的内核,使得单一计算框架能够支持最短路径、瓶颈路径、可达性、调度和吞吐量分析。该库支持五个热带半环,密集和稀疏(CSR)表示,热带闭包以及通过最大循环均值计算进行的谱分析。我们在Raspberry Pi 4上评估了PALMA,并展示了峰值性能为2274 MOPS,相对于经典Bellman-Ford算法在单源最短路径上的加速高达11.9倍,以及子10微秒的调度解决时间用于实时控制工作负载。无人机控制、物联网路由和制造系统中的案例研究显示,热带代数能够直接在嵌入式硬件上实现高效、可预测和统一的优化。PALMA作为MIT许可证下的开源软件发布。

英文摘要:

Tropical algebra, including max-plus, min-plus, and related idempotent semirings, provides a unifying framework in which many optimization problems that are nonlinear in classical algebra become linear. This property makes tropical methods particularly well suited for shortest paths, scheduling, throughput analysis, and discrete event systems. Despite their theoretical maturity and practical relevance, existing tropical algebra implementations primarily target desktop or server environments and remain largely inaccessible on resource-constrained embedded platforms, where such optimization problems are most acute. We present PALMA (Parallel Algebra Library for Max-plus Applications), a lightweight, dependency-free C library that brings tropical linear algebra to ARM-based embedded systems. PALMA implements a generic semiring abstraction with SIMD-accelerated kernels, enabling a single computational framework to support shortest paths, bottleneck paths, reachability, scheduling, and throughput analysis. The library supports five tropical semirings, dense and sparse (CSR) representations, tropical closure, and spectral analysis via maximum cycle mean computation. We evaluate PALMA on a Raspberry Pi 4 and demonstrate peak performance of 2,274 MOPS, speedups of up to 11.9 times over classical Bellman-Ford for single-source shortest paths, and sub-10 microsecond scheduling solves for real-time control workloads. Case studies in UAV control, IoT routing, and manufacturing systems show that tropical algebra enables efficient, predictable, and unified optimization directly on embedded hardware. PALMA is released as open-source software under the MIT license.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑