I think the symeig method is very sensitive to the backpropogation. The better way to avoid the non gradient issue is to make your matrix more robust. It means that you need to check the matrix conditional number. And may add some jitters to the diagnal elements  or change your model which can model the noises.