Improved physics-informed neural network in mitigating gradient related failures | Synapse