Neural Time-Reversed Generalized Riccati Equation