One very important thing that even the smartest people seem to have to learn from experience is taste in problems. There are juicy problems that tend to lead to interesting discoveries, and nasty problems that tend not to.
If I had to say in one word what distinguishes the juicy ones, the word might be unity. Nasty problems tend to be collections of random, often extrinsic constraints. Juicy problems have one main thing you're trying to solve
Nasty problems aren't completely useless though. So-called "real world" problems are often nasty problems. So working on them is often a good way to make money, or to make people's lives better. Just don't choose one by accident.