Deep neural networks can be used for YouTube recommendations by feeding the networks vast amounts of video data so they can learn to recognize patterns and provide personalized recommendations. Specifically, YouTube's algorithm ingests video data in real time, ranks videos based on signals like quality and user interests, and provides recommendations from the ranked candidates to improve the user experience.