Enhanced recurrent network training