Explain the concept of self-supervised learning in the context of deep learning.
Self-supervised learning involves training models using labels generated from the input data itself, often by creating pretext tasks that do not require external annotations.