SMS: Stochastic approximation and nonlinear