AlphaDev's Key Algorithmic Discoveries
AlphaDev notably discovered more efficient algorithms for fundamental computing tasks, including sorting small arrays (3-5 elements), enhancing hashing functions for 9-16 byte inputs, and optimizing VarInt deserialization in protobuf.
The top 3
- AlphaDev's Record Sorting Speedups: Up to 70% Faster: AlphaDev significantly improved sorting algorithms, achieving up to a 70% speedup for short sequences (3-5 elements) and approximately 1.7% faster performance for sequences exceeding 250,000 elements. These AI-discovered algorithms have been integrated into the LLVM libc++ standard sorting library.
- Hashing & Deserialization: AlphaDev's 30% to 3x Gains: Beyond sorting, AlphaDev accelerated hashing algorithms by 30% for 9-16 byte inputs, now part of the open-source Abseil library. It also optimized Protobuf VarInt deserialization, making it up to three times faster than human-designed benchmarks for single-valued inputs.
- Novel "AlphaDev Moves" Redefine Algorithmic Efficiency: AlphaDev didn't just find faster algorithms but discovered novel structural improvements, including 'AlphaDev swap and copy moves' for sorting and a 'VarInt assignment move' for deserialization. These unique sequences of assembly instructions save individual operations, leading to efficiency gains akin to AlphaGo's 'move 37'.
Sources
Open the full topic