What is CKA (Centered Kernel Alignment) in model evaluation?

Updated May 17, 2026

Short answer

CKA measures similarity between neural network representations in a scale-invariant way.

Deep explanation

CKA compares two sets of representations by computing kernel similarities after centering. Unlike cosine similarity, it is invariant to orthogonal transformations and isotropic scaling, making it ideal for comparing neural layers. It is widely used in interpretability research to compare architectures and training runs.

Unlock with a Pro subscription to view this section.

View pricing

Real-world example

No real-world example available yet.

Unlock with a Pro subscription to view this section.

Upgrade to Pro

Common mistakes

No common mistakes listed yet.

Unlock with a Pro subscription to view this section.

Upgrade to Pro

Follow-up questions

No follow-up questions available yet.

Unlock with a Pro subscription to view this section.

Upgrade to Pro

More Model Evaluation interview questions

View all →