Writing a note down as one thing is what made it fast
3 months ago
A person plays sixteen notes on a piano keyboard, stops, and the phone plays the rest. The model finishing the tune holds a hundred and twenty-five million adjustable numbers, small enough to run on the phone itself.
Ask about this presentation
Chapters
0:00The phone finishes the piece you started
0:13The model takes over where the orange notes stop
0:32The hard part was keeping up with a pair of hands
0:40Writing a note down as one thing is what made it fast
1:13Edwardsson kept the version his own numbers said was worse
1:30The answers get reliable at sixteen notes
1:37The model was not the hard part
Show transcriptHide transcript
A person plays sixteen notes on a piano keyboard, stops, and the phone plays the rest. The model finishing the tune holds a hundred and twenty-five million adjustable numbers, small enough to run on the phone itself.
The keyboard plugs into the phone and sends which keys you pressed and when, not sound. These are the first sixteen notes of Für Elise. Somewhere after them the music stops being Beethoven.
To play along with a person, the model has to answer before the next note lands. Simon Edwardsson spent about a year on that, and fourteen experiments.
A note is four facts: which key, how hard, how long, and how long until the next one. Write that down the obvious way, and one note costs the model four steps of thinking. Edwardsson wrote a note as one item carrying all four facts. One note, one pass. That buys about a hundred and eight notes a second on an iPhone, by his own measurement, well past what a pair of hands needs. That fourth fact, the wait, does the rest of the work. Silence is just a longer wait, and notes played together have no wait between them.
In training, Edwardsson stopped handing the piano model the correct next note, and made the model practise on its own guesses. The number he tracked moved the wrong way. A separate AI model, shown two continuations at a time, picked the version that practised on its own guesses, about two times in three.
The model answers what you play. Four notes leaves it almost nothing to work with. Sixteen notes or more, and it follows.
Edwardsson puts his piano model about where text autocomplete was a few years ago. The model still loops, and he plays along anyway. What made the model quick enough was how a note gets written down.
Up next
1:51Nothing on the rig measures speed
@the-daily-build
3 months ago
1:53A file gets smaller when you can guess what is in it
@the-daily-build
3 months ago
1:55The seal on an AI's private thinking had one key for the whole company
@the-daily-build
3 months ago
1:50One row for every sellable unit, and each checkout takes any free one
@the-daily-build
3 months ago
1:42A single CPU instruction, stretched from a blink to a full minute
@the-daily-build
3 months ago
1:44You can't be best at everything
@the-daily-build
3 months ago
1:42How deleting one if-statement made this filter 4x faster
@the-daily-build
3 months ago
1:42Software gives you five skin tones, or sixteen million
@the-daily-build
3 months ago
1:43A Self-Spreading Worm Got Into the Code Behind Billions of Installs
@the-daily-build
3 months ago
1:34The AI session you can’t take with you
@the-daily-build
3 months ago
1:42He Walked Through His House Before It Was Built, at Full Size, in a Headset
@the-daily-build
4 months ago
1:38500 Lines of Code That Draw 3D Without a Graphics Card
@the-daily-build
4 months ago