Cross-entropy acts as a bridge between information theory, file compression, and modern artificial intelligence training. The video explains how compression algorithms can cluster languages or identify authorship by measuring cross-document coding efficiency, effectively discovering linguistic structure without prior training. It then derives why cross-entropy is the mathematically optimal loss function for training large language models, explaining the necessity of logarithmic functions for minimizing information surprise. The discussion concludes by reframing LLM training as an exercise in compression and examining how model distillation leverages teacher distributions to improve efficiency.