spectral loss