[Paper Review] Transferred Discrepancy: Quantifying the Difference Between Representations
This paper introduces Transferred Discrepancy (TD), a novel metric that quantifies representation differences by measuring downstream task performance discrepancies between two models. It demonstrates that TD correlates strongly with generalization quality, revealing that data augmentations improving generalization also increase TD robustness, while harmful augmentations reduce it.
Understanding what information neural networks capture is an essential problem in deep learning, and studying whether different models capture similar features is an initial step to achieve this goal. Previous works sought to define metrics over the feature matrices to measure the difference between two models. However, different metrics sometimes lead to contradictory conclusions, and there has been no consensus on which metric is suitable to use in practice. In this work, we propose a novel metric that goes beyond previous approaches. Recall that one of the most practical scenarios of using the learned representations is to apply them to downstream tasks. We argue that we should design the metric based on a similar principle. For that, we introduce the transferred discrepancy (TD), a new metric that defines the difference between two representations based on their downstream-task performance. Through an asymptotic analysis, we show how TD correlates with downstream tasks and the necessity to define metrics in such a task-dependent fashion. In particular, we also show that under specific conditions, the TD metric is closely related to previous metrics. Our experiments show that TD can provide fine-grained information for varied downstream tasks, and for the models trained from different initializations, the learned features are not the same in terms of downstream-task predictions. We find that TD may also be used to evaluate the effectiveness of different training strategies. For example, we demonstrate that the models trained with proper data augmentations that improve the generalization capture more similar features in terms of TD, while those with data augmentations that hurt the generalization will not. This suggests a training strategy that leads to more robust representation also trains models that generalize better.
Motivation & Objective
- To address the inconsistency in existing representation similarity metrics that yield contradictory conclusions despite being based on feature values.
- To propose a new metric grounded in downstream task performance, reflecting how representations actually function in practice.
- To establish a theoretical foundation for the new metric under linear probing and show its relationship to prior metrics like CKA and CCA.
- To empirically validate that TD reveals faithful, task-specific differences in representations learned from different initializations and training strategies.
- To investigate how training factors such as data augmentation and model architecture affect representation similarity through the lens of TD robustness.
Proposed method
- Define Transferred Discrepancy (TD) as the difference in predictions made by two models on the same downstream task data after fine-tuning a linear head on their features.
- Use linear probing to theoretically analyze TD's invariance under reasonable transformations and derive its asymptotic limits.
- Show that under specific conditions, TD is mathematically related to existing metrics such as maximum match, CCA, and CKA.
- Evaluate TD across multiple downstream tasks (e.g., CIFAR-10, CIFAR-5) using models trained with varying data augmentations, architectures, and upstream tasks.
- Introduce and analyze TD robustness as the difference in predictions between models trained from different random initializations on the same downstream task.
- Use ablation studies across batch size, training epochs, model depth, width, and upstream task difficulty to assess the sensitivity and reliability of TD.
Experimental results
Research questions
- RQ1How can representation similarity be measured in a way that reflects real-world performance on downstream tasks?
- RQ2Why do existing metrics like CKA and CCA sometimes yield contradictory conclusions about representation similarity?
- RQ3To what extent is the Transferred Discrepancy (TD) metric consistent with downstream generalization performance?
- RQ4How do data augmentation strategies affect the similarity of learned representations as measured by TD?
- RQ5How do architectural choices such as depth and width influence representation similarity according to TD?
Key findings
- Models trained from different initializations learn representations that are not identical in terms of downstream-task performance, as measured by TD.
- TD robustness increases significantly when data augmentations improve generalization—e.g., CutMix and MixUp—while decreasing with augmentations that harm generalization.
- ResNet110 trained on Cifar-5 achieves 83% accuracy on Cifar-10, and its TD values are lower than shallower models, indicating more similar representations.
- Doubling the width of ResNet32 reduces TD_hard from 0.2139 to 0.1580, showing width has a stronger effect on representation similarity than depth.
- TD_soft and TD_hard both decrease with increasing upstream task difficulty (C4 → C100), indicating that harder upstream tasks lead to more similar representations.
- VGG19 models trained on C100 show the highest TD_hard (0.4567) on Cifar-10, suggesting that deeper architectures may learn less similar features under certain conditions.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.