Credit assignment problem