How does spectral clustering approximate the NP-hard normalized cut problem?

Last updated 11 November 2026

  • Normalized Cut (cut weight divided by cluster volume) over discrete partitions is NP-hard. Rewritten with indicator matrix H, it becomes minimizing Tr(H^T L H) subject to H^T D H = I.

  • Relaxing H to real values gives a Rayleigh quotient solved exactly by the k smallest eigenvectors of the normalized Laplacian (generalized problem L u = λ D u).

  • k-means on the embedding rows (or thresholding the Fiedler vector for k=2) rounds back to clusters. There is no general approximation guarantee, but it works well for well-separated clusters.

  • https://medium.com/@roiyeho/spectral-clustering-50aee862d300
  • https://www.geeksforgeeks.org/machine-learning/spectral-clustering-using-r/
  • https://ncut-pytorch.readthedocs.io/en/latest/methods/01_basic_ncut/
All Clustering interview questions