CITATION — REFERENCE ENTRY

Nonnegative Matrix Factorization (NMF) — FMP Notebooks (companion to Fundamentals of Music Processing), International Audio Laboratories Erlangen

Revision b6aeba48-2e9c-4c94-9a0a-0d077e276014 · 11/26/2026, 9:30:14 PM UTC
Key
fmp-c8-nmf-basic
Authors
Müller, Meinard
Type
webpage
Container
FMP Notebooks (companion to Fundamentals of Music Processing), International Audio Laboratories Erlangen
Raw CSL JSON
{
  "URL": "https://www.audiolabs-erlangen.de/resources/MIR/FMP/C8/C8S3_NMFbasic.html",
  "type": "webpage",
  "title": "Nonnegative Matrix Factorization (NMF)",
  "author": [
    {
      "given": "Meinard",
      "family": "Müller"
    }
  ],
  "accessed": {
    "date-parts": [
      [
        2026,
        11,
        26
      ]
    ]
  },
  "container-title": "FMP Notebooks (companion to Fundamentals of Music Processing), International Audio Laboratories Erlangen"
}

Claims

  1. NMF factors a non-negative matrix V into two non-negative matrices W and H of much lower rank: the columns of W are templates and the rows of H, the activations, show where each template occurs. Non-negativity often makes the factors interpretable, but the problem usually has no exact solution and must be solved by optimization.
    "Nonnegative matrix factorization (NMF) is a technique where a matrix V with nonnegative entries is factored into two matrices ... W and H that also have only nonnegative entries ... Typically, the matrices W and H are required to have a much lower rank than the original matrix V. ... The columns of W correspond to these templates. ... Furthermore, the rows of H—called activations —indicate where these templates occur in V. ... The nonnegativity constraints often lead to a decomposition that allows for a semantically meaningful interpretation of the ... coefficients. However, in most cases, the resulting factorization problem has no exact solution"
    Locator: section: Basic Idea · Quote language: en
  2. Applied to a magnitude spectrogram, W ideally holds the spectral patterns of the pitches in a piece and H when each is active. A higher rank approximates the spectrogram better, including onset transients, but the musical meaning of W and H may be lost.
    "In the ideal case, the first matrix W represents the spectral patterns of the notes' pitches that occur in the piece of ... music, while the second matrix H exhibits the time positions where these spectral patterns are active in the audio recording. ... When increasing the rank parameter, one usually obtains a better overall approximation quality ... details such as onset-related (vertical) structures are better reconstructed compared to using a small R. ... However, as a downside, the musical interpretation of W and H may get lost."
    Locator: section: Basic Idea; Dependency on Rank Parameter · Quote language: en
Available in