# BERT-APC: A Reference-free Framework for Automatic Pitch Correction via Musical Context Inference

arXiv: https://arxiv.org/abs/2511.20006 · HTML: https://mlsanity.com/paper/2511.20006/

## Key facts

- No citing papers in the map yet (data through 14 Oct 2026).
- Builds on 16 of its 39 references that are in the map.
- First posted on arXiv 25 Nov 2025.

## Builds on (most cited first, 16 of 16)

- [Longformer: The Long-Document Transformer](https://mlsanity.com/paper/2004.05150/) (2020)
- [MusicBERT: Symbolic Music Understanding with Large-Scale Pre-Training](https://mlsanity.com/paper/2106.05630/) (2021)
- [madmom: a new Python Audio and Music Signal Processing Library](https://mlsanity.com/paper/1605.07008/) (2016)
- [BERT-like Pre-training for Symbolic Piano Music Classification Tasks](https://mlsanity.com/paper/2107.05223/) (2021)
- [PianoBART: Symbolic Piano Music Generation and Understanding with Large-Scale Pre-Training](https://mlsanity.com/paper/2407.03361/) (2024)
- [Source-Filter HiFi-GAN: Fast and Pitch Controllable High-Fidelity Neural Vocoder](https://mlsanity.com/paper/2210.15533/) (2022)
- [Learning the Beauty in Songs: Neural Singing Voice Beautifier](https://mlsanity.com/paper/2202.13277/) (2022)
- [Robust Singing Voice Transcription Serves Synthesis](https://mlsanity.com/paper/2405.09940/) (2024)
- [A Phoneme-Informed Neural Network Model for Note-Level Singing Transcription](https://mlsanity.com/paper/2304.05917/) (2023)
- [Let Network Decide What to Learn: Symbolic Music Understanding Model Based on Large-scale Adversarial Pre-training](https://mlsanity.com/paper/2407.08306/) (2024)
- [KaraTuner: Towards end to end natural pitch correction for singing voice in karaoke](https://mlsanity.com/paper/2110.09121/) (2021)
- [STARS: A Unified Framework for Singing Transcription, Alignment, and Refined Style Annotation](https://mlsanity.com/paper/2507.06670/) (2025)
- [Singing voice correction using canonical time warping](https://mlsanity.com/paper/1711.08600/) (2017)
- [Deep Autotuner: a Pitch Correcting Network for Singing Performances](https://mlsanity.com/paper/2002.05511/) (2020)
- [Note-Level Singing Melody Transcription for Time-Aligned Musical Score Generation](https://mlsanity.com/paper/2502.12438/) (2025)
- [CONTUNER: Singing Voice Beautifying with Pitch and Expressiveness Condition](https://mlsanity.com/paper/2404.19187/) (2024)

## Abstract (arXiv)

Automatic Pitch Correction (APC) enhances vocal recordings by aligning pitch deviations with intended musical notes. However, existing APC systems either rely on reference pitches, which limits practical applicability, or employ simple pitch estimation algorithms that often fail to preserve expressiveness and naturalness. We propose BERT-APC, a reference-free APC framework that corrects pitch errors while maintaining the expressiveness and naturalness of vocal performances. In BERT-APC, a stationary pitch predictor first estimates the stationary pitch of each note from the detuned singing voice, where stationary pitch is the continuous pitch from the stable region of a note and approximates its perceived pitch. A context-aware note pitch predictor then infers the intended pitch sequence using a repurposed music language model that incorporates musical context. Finally, a note-level correction algorithm fixes pitch errors while preserving intentional deviations for emotional expression. We also introduce a learnable data augmentation strategy that improves robustness by simulating realistic detuning patterns. Compared to two recent singing voice transcription models, BERT-APC demonstrated superior target note pitch prediction, outperforming the second-best model, ROSVOT, by 10.49 percentage points on highly detuned samples in raw pitch accuracy. In the MOS test, BERT-APC achieved the highest quality rating of 4.32 ± 0.15, significantly higher than Auto-Tune (3.22 ± 0.18) and Melodyne (3.08 ± 0.18), while maintaining a comparable ability to preserve expressive nuances. To the best of our knowledge, this is the first APC model that leverages a music language model to achieve reference-free pitch correction with symbolic musical context. The corrected audio samples are available at https://joshua-1995.github.io/BERT-APC-Demo/.
