sentence1: neural networks have rapidly gained popularity over the last few years due to their success in a variety of tasks , such as image recognition , speech recognition and machine translation .
sentence2: neural networks have achieved state-of-the-art results in a wide variety of supervised learning tasks , such as image recognition .