A spectral viewpoint on continual relation extraction