On the Credit Assignment Problem