Hi Frank,
Thanks for your quick and helpful response! As I gradually decrease the input dimension, the hessian matrix turns into a PSD. Your insight is perfect!
I want to confirm that, does turning the model into double is the only way to increase the numerical stability? Thank you.