For a similarity graph with weights , degrees and Laplacian , how do you derive the relaxation of the two-way normalised cut into the generalised eigenproblem ? How do you check the bound on the graph with , ?
Unsupervised learning, Spectral clustering
Level L5 Expert. Length Long. Nature Mat Mathematical.
What's being asked
Whether you can choose the right indicator vector so that becomes a Rayleigh quotient with the constraints that lead to the second eigenvector.
Key idea
Define for and for . Then , and . Relaxing to real values gives with .
Steps
- Use . Only pairs across the cut have , with difference , using .
- Hence , because .
- Compute , and .
- So over these discrete . The problem is NP-hard because takes only two values. Relax to any real with .
- Set . Then the problem is with and , whose minimiser is the eigenvector of the second-smallest eigenvalue. Equivalently, solves with . The smallest eigenvalue, with , is excluded by the constraint. Threshold (for example at 0) to get .
- Check: , gives , , so . With the same antisymmetric ansatz as the 4-node graph, the generalised problem is , with smallest root . The relaxed value is below the true Ncut, as it should be.
Common mistakes
- Dropping the constraint . Without it the trivial solution gives 0.
- Mixing up the eigenproblems: gives directly, while gives and must be converted back.
- Claiming the relaxed eigenvector is the Ncut solution. It is a lower bound, and a rounding step is needed.
How long your answer should be
One page; 8–10 minutes.
Last checked on 4 December 2026.
Read this
Previous in Unsupervised learning: How can the k-means objective be written as a trace problem over cluster indicator vectors, and what lower bound on the optimal SSE do you get by relaxing it to orthonormal matrices when the data are centred?
Next in Unsupervised learning: How do you show that DBSCAN* (DBSCAN without border points) at radius is the same as cutting a single-linkage tree built on the mutual reachability distance , where is the core distance? What does this say about and about the order-dependence of DBSCAN?