Research
Ivory's work on teaching computers to understand piano
The steps to turn a piano recording into sheet music sound straightforward: listen to the notes, determine the rhythm, and write the score.
In practice, each of those steps is its own complex (and unsolved!) research problem.
A piano performance isn't that easy to describe. No representation fully captures the entire nuance and complexity of a real, human performance. Notes overlap, the sustain pedal blurs harmonies together, tempo stretches and compresses with musical phrasing, and the written score often contains information that was never explicitly present in the audio. Humans reconstruct these structures almost effortlessly because we listen with years of musical experience. Teaching a computer to do the same remains an active area of research.
Fortunately, the field is moving quickly. Over the past ten years, research has dramatically boosted computers’ ability to solve complex problems, especially in sequence processing. The emergence of Transformer neural networks marks a watershed moment: these architectures rethink the handling of syntactic units called tokens and are revolutionizing Music Information Retrieval.
Ivory exists because we are musicians and engineers that think these problems are worth solving.
How we think about transcription
When developing our approach to automatic transcription, we've found it useful to separate transcription into two very different problems that mimic the human process of listening and understanding.
1. Listening
The first challenge is to understand the audio itself.
Given nothing more than an audio waveform, our proprietary model has to answer questions like:
- Which notes are being played? What pitch are they?
- When does each note begin?
- How long does it last?
- How loudly was it played?
- Was it played by the left hand or the right hand?
- Was the sustain pedal pressed?
- Is this piece possible for a human to play?
This stage is concerned with recovering the performance as faithfully as possible. With this step, the goal is to condense the amount of information we need to accurately represent everything we care about in the original performance as much as we can. From there, we have a language of describing a piano performance that we can visualize, edit, and organize.
2. Understanding
Once we've captured everything we need to know about the original audio, a different set of questions appears.
- How should those notes be grouped into beats?
- Where does one musical phrase end and the next begin?
- Which notes belong to the melody, and which simply accompany it?
- What key is the piece in?
- What time signature best explains the rhythm?
- How should the music be engraved so that another musician can read it naturally?
The audio no longer tells the whole story, so Ivory needs to make some editorial choices about how to interpret the data that exists.
Some indications are stylistic or notational (free tempo, ambiguous time signatures, editor’s markings) and go beyond a simple succession of notes.
Problems we're interested in
Transcription is nowhere near to being a solved problem. We're constantly thinking about how to improve our models, and we frame the problem of transcription as a collection of difficult questions. Here are a few of the ones that continue to shape our research.
Expressive timing
A pianist never plays exactly what's written. Even the most practiced pianists add human nuance to their performance, stretching time, delaying important notes, playing dynamically, and sometimes even making mistakes.
Humans hear these intentional variations as expression and emotion. Most of the time, we don't even actively notice these dramatic inconsistencies in human playing; it's an intuitive aspect of the human component of music. Unfortunately, a computer sees only timestamps, and these inconsistencies are hard for them to ignore. Expressive playing is a very difficult problem for computers to solve. It requires the serious understanding of musical context, and what it means to play expressively at all.
Especially in classical music, this leads to serious research challenges. How do we teach a computer the difference between deliberate rubato and a mistake? How do we know how to accurately represent a note that has been stretched to five times its original written length? There is no universal set of rules for what human expressivity means; sometimes notes are fast, sometimes slow, and sometimes they are just wrong.
Musical context is all that separates a stretched note from a wrong one, and that's exactly what a model struggles to resolve. Because expressive playing varies so much from one performer to the next, and there are relatively few public datasets to learn from, it's hard for a network to generalize musical behavior from one performance to another.
Time signatures
A performance of a piece doesn't strictly contain a time signature. It contains notes, timing, and musical structure. Deciding whether a piece should be written in 12/8 or 4/4 with triplets, or in 3/4 instead of 6/8, is ultimately an act of interpretation. Just like expressivity, computers have a tough time with this kind of decision-making, where there is no correct answer. But maybe even worse is the fact that it can be difficult to judge the choice for humans as well! We often disagree on the time signature of certain pieces while listening to music; oftentimes one answer seems more correct than another, but not always.
These questions are tricky for other experienced musicians too. Where does the downbeat really fall? Should the music be felt in two or in four? Pieces like Beethoven's Moonlight Sonata have been notated and taught in different ways, each emphasizing a slightly different musical perspective; you'll find scores available in both 12/8 and 4/4 with triplets. Teaching a model to make these kinds of editorial decisions means going beyond pattern recognition, and instead starting to reason about how musicians understand rhythm.
Polyphony
Language models, the AI systems you might be most familiar with, typically process words one after another, with the aim of understanding a continuous stream of context.
Music hardly ever works like this. A pianist can play up to ten notes simultaneously, and a fraction of a second later, they play up to ten more. Representing the dense structure of piano playing in a way that allows a model to reason about harmony, rhythm, and voice leading is still a challenging open question.
The trouble is that these models aren't built to handle tokens that occur at the same instant in time, exactly the situation a chord creates. Finding the best way to give a network a useful representation of simultaneous events in time is still an open research question, and while several strategies exist, none of them have resolved the question yet.
Ambiguity
The driving factor behind just about every problem we tackle at Ivory is the following: Music is an ambiguous medium.
Two expert musicians can disagree about what the "correct" transcription of a piece is, and both still produce convincing, readable scores, that could both be used to perform the piece live.
Rather than developing a model to recover a single objective truth, we're increasingly interested in understanding which ambiguities matter to musicians, and which don't.
Notes alone do not always resolve the inherent uncertainty of musical notation, generating entropy that neural networks still struggle to model.
Full steam ahead for continuous improvement
The landscape of automatic music transcription is evolving rapidly, and Ivory’s latest models are leading the charge. We already deliver outstanding results on standard repertoires, and our recent upgrades are aggressively conquering the complexities of highly polyphonic passages and live recordings. Our focus is absolute: achieving pinpoint note detection, rock-solid rhythm stabilization, and rich harmonic analysis. With these core pillars rapidly strengthening, our next major frontier is professional-grade engraving ensuring that our accurate transcriptions are translated into beautifully formatted, publication-ready sheet music.
We ship rapid, regular updates fueled by a powerful feedback loop. Your trials and insights are the catalyst for our progress; they directly shape our roadmap and accelerate breakthroughs. Join our community, experience our latest advancements, and help us build the ultimate audio-to-score tool for every musician.
執筆者
Ivory 共同創業者
MariusはIvoryの共同創業者で、ピアノ録音をMIDIと楽譜に変換する機械学習モデルを担当しています。自動採譜の背後にある技術について執筆しています。