At its core, TVM Unity's learning-based cost model acts as a 'scoring function' within the auto-tuning process, assigning predicted performance scores to schedule candidates to guide search algorithms like evolutionary search, thereby accelerating the discovery of optimal code optimizations.