[Paper Review] Generalizing similarity in noisy setups: the DIBS phenomenon
This paper investigates generalization in Siamese Neural Networks (SNNs) under noisy data and varying data pair density, introducing the DIBS (Density-Induced Break of Similarity) phenomenon. It shows that Pair Label Noise (PLN) severely degrades generalization in dense datasets by breaking similarity transitivity, while Single Label Noise (SLN) preserves it; double descent behavior persists under noise, and online-offline generalization correspondence fails in noisy settings.
Contrastive learning aims to extract distinctive features from data by finding an embedding representation where similar samples are close to each other, and different ones are far apart. We study generalization in contrastive learning, focusing on its simplest representative: Siamese Neural Networks (SNNs). We show that Double Descent also appears in SNNs and is exacerbated by noise. We point out that SNNs can be affected by two distinct sources of noise: Pair Label Noise (PLN) and Single Label Noise (SLN). The effect of SLN is asymmetric, but it preserves similarity relations, while PLN is symmetric but breaks transitivity. We show that the dataset topology crucially affects generalization. While sparse datasets show the same performances under SLN and PLN for an equal amount of noise, SLN outperforms PLN in the overparametrized region in dense datasets. Indeed, in this regime, PLN similarity violation becomes macroscopical, corrupting the dataset to the point where complete overfitting cannot be achieved. We call this phenomenon Density-Induced Break of Similarity (DIBS). We also probe the equivalence between online optimization and offline generalization for similarity tasks. We observe that an online/offline correspondence in similarity learning can be affected by both the network architecture and label noise.
Motivation & Objective
- To understand how data density and noise affect generalization in similarity learning using Siamese Neural Networks (SNNs).
- To investigate whether double descent (DD) and online/offline learning correspondence—well-known in classification—extend to contrastive learning tasks.
- To identify how different noise types—Single Label Noise (SLN) and Pair Label Noise (PLN)—affect similarity learning and model generalization.
- To analyze the failure of online/offline generalization correspondence under label noise in SNNs.
- To reveal the DIBS phenomenon, where PLN causes macroscopic similarity violation in dense datasets, preventing interpolation regardless of model size.
Proposed method
- The study uses Siamese Neural Networks (SNNs) as a representative model for contrastive learning, trained on synthetic datasets with controlled noise and pair density.
- Two noise types are introduced: Single Label Noise (SLN), which flips individual pair labels but preserves similarity relations, and Pair Label Noise (PLN), which symmetrically corrupts pair labels and breaks transitivity.
- The authors vary data pair density (sparse vs. dense) and analyze generalization via test error curves and double descent behavior across model sizes.
- They evaluate online/offline correspondence by comparing generalization performance under fixed weight updates (online) versus full offline training.
- The analysis includes asymptotic training error behavior and interpolation thresholds to assess model capacity under noise.
- Theoretical insights are grounded in empirical evaluation across multiple setups, focusing on how noise and density jointly affect generalization.
Experimental results
Research questions
- RQ1How does data pair density influence generalization in Siamese Neural Networks under noise?
- RQ2Does double descent behavior persist in SNNs under different noise regimes, and how is it affected by data density?
- RQ3How do Single Label Noise (SLN) and Pair Label Noise (PLN) differentially impact similarity learning and generalization?
- RQ4To what extent does the online/offline generalization correspondence hold in SNNs, especially under label noise?
- RQ5What causes the failure of generalization in overparametrized SNNs when training on dense datasets with PLN, and how can this be characterized?
Key findings
- Double descent behavior is observed in SNNs regardless of noise or data density, indicating that generalization patterns persist even in noisy, overparametrized regimes.
- In sparse datasets, SNNs trained with PLN and SLN exhibit comparable generalization performance, suggesting similar sensitivity to noise.
- In dense datasets, PLN causes significantly worse generalization than SLN in the overparametrized regime, leading to the DIBS phenomenon where similarity violations become macroscopic.
- The DIBS effect prevents complete interpolation in the overparametrized regime, even with unlimited model parameters, due to transitivity breakdown from PLN.
- The online/offline generalization correspondence fails in all noise scenarios, indicating that offline generalization cannot be predicted from online optimization in similarity learning.
- Generalization performance before overfitting is insensitive to data density but strongly dependent on noise type, with PLN inducing larger generalization gaps than SLN.
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.