Multi-step learning and underlying structure in statistical models