arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2307.14503cs.DS
收藏

比Sort3AlphaDev更短且更快

Shorter and faster than Sort3AlphaDev

Cassio Neri

AI总结:

针对AlphaDev声称3个数字排序需17条汇编指令且无更短程序的声明,本文提出两个反例及更快的C/C++实现。

摘要:

源于:Mankowitz, D.J., Michi, A., Zhernov, A. 等人。使用深度强化学习发现更快的排序算法。Nature 618, 257-263 (2023)。上述文章提出了通过深度强化学习发现的排序算法新实现,适用于少量数值输入。对于3个数字,已发布的实现包含17条汇编指令,作者声明不存在更短的程序。本说明针对该声明提出了两个反例,以及比其更快的直接C/C++实现。

英文摘要:

Arising from: Mankowitz, D.J., Michi, A., Zhernov, A. et al. Faster sorting algorithms discovered using deep reinforcement learning.Nature 618, 257-263 (2023). doi.org/10.1038/s41586-023-06004-9. The article cited above presents new implementations of sorting algorithms found through deep reinforcement learning that work on a small number of numeric inputs. For 3 numbers, the published implementation contains 17 assembly instructions, and the authors state that no shorter program exists. This note presents two counterexamples for this claim and a straightforward C/C++ implementation that is faster than theirs.

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

↑