高维 Flip 图:寻找单步乘法算法的图搜索方法
Flip Graphs in Higher Dimensions: Searching for One-Step Multiplication Algorithms
AI 导读
研究者首次将 flip graph 推广到多输入单步乘积(如 abc,即任意阶张量),把它建模为图搜索问题:状态是正确的算法,代价是乘法次数,一步移动在不改变结果的前提下改写两个乘法,并给出任意阶移动的精确条件、证明移动连通所有简洁张量的算法。
正文 · 原文
Abstract:Flip graphs search for algorithms that multiply with few multiplications, and they hold several records for matrix multiplication, but only for products of two inputs. To our knowledge, we are the first to take flip graphs to products of several inputs computed in one step, such as abc, that is, to tensors of any order. We formulate the flip graph as a graphsearch problem: a state is a correct algorithm, its cost is the number of multiplications, and a move rewrites two multiplications without changing the result. We give the exact condition for every move at any order and prove that the moves connect all algorithms for every concise tensor. Walks run by a GPU engine for tensors of order up to 8 give the best known one-step algorithms over GF(2) for 43 products. Six of our schemes use fewer multiplications, in a single round, than the best algorithms that multiply two inputs at a time, for example 14 instead of 16 for abc mod x4. Four schemes are proven optimal, and fourteen hold over Z.
| Comments: | 15 pages, 2 figures, 7 tables. Ancillary files: all schemes of the result tables (over GF(2), 14 lifted to the integers, one to Z/2^64) and a stand-alone Python checker |
| Subjects: | Symbolic Computation (cs.SC); Artificial Intelligence (cs.AI); Computational Complexity (cs.CC) |
| MSC classes: | 68W30, 68T20, 15A69, 68Q17 |
| ACM classes: | F.2.1; I.2.8; I.1.2 |
| Cite as: | arXiv:2612.03901 [cs.SC] |
| (or arXiv:2612.03901v1 [cs.SC] for this version) | |
| https://doi.org/10.48550/arXiv.2612.03901 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Daniel Koyfman [view email]
[v1]
Wed, 2 Dec 2026 14:19:18 UTC (122 KB)
来源:arXiv cs.AI · arxiv.org