lucidrains/BS-RoFormer

Implementation of Band Split Roformer, SOTA Attention network for music source separation out of ByteDance AI Labs

What it solves

This project provides an implementation of the Band-Split Roformer, a state-of-the-art architecture designed for music source separation. It solves the challenge of isolating individual components (like vocals or instruments) from a mixed audio track by using advanced attention mechanisms that outperform traditional methods.

How it works

The model uses "axial attention" to process audio across both frequency and time domains. By splitting the frequency spectrum into multiple bands, it can focus on specific audio characteristics more effectively. It also utilizes rotary positional embeddings, which have been shown to provide significant performance improvements over older methods of tracking position in data.

Who it’s for

This library is for researchers, audio engineers, and developers interested in building or experimenting with high-performance music source separation models. It is intended for those who want to replicate state-of-the-art results or integrate these advanced architectures into their own audio processing workflows.

Highlights

  • Implements the Band-Split Roformer architecture for high-quality audio separation.
  • Includes a Mel-Band Roformer variant for specialized processing.
  • Supports a Flow-Matching variant that predicts the flow between noise and target audio.
  • Features support for stereo training and outputting multiple audio stems.
  • Utilizes rotary positional encoding for improved model accuracy.

Related

  • Project
  • Project
  • Project
  • Project