Cosine similarity. Recommendation is a search problem. YouTube has strict latency targets. The results are skewed toward what is easy to return. Videos already watched, videos from your subscriptions, and videos on topics that dominate these are easy to calculate and cache links. Deep insight is likely to time out most of the time.