Alignment and Uniformity: nigh is not enough to avoid collapse
The Alignment description is indicating proximity, and the Uniformity description is indicating adequate distribution.
Learning objectives and first steps2 objectives 2 first fixes
Try to do it after reading
- Dispersing between distance and overall
- Extremism for missing targets
Suggested first
- Inner vectors & Parameters
- Classified loss and gradient
All the samples are the same, and they're close to each other
The Alignment description is indicating proximity, and the Uniformity description is indicating adequate distribution. Minimizing only is allowing a degradation solution: all inputs are mapped into the same vector. The distance is 0 per person, but indicates that no further distinction is made between any content and no search can be completed.
Two pairs of samples should be similar. Option A sets four vectors at [10] and zero for both; Option B sets the first pair at [10] and the second at [−10], which is the same distance as zero, but it is distinguishable between the two categories. This indicates that individual alignment indicators cannot assess overall quality.
The common uniformity form is an index function based on the distance of the sample on a unit sphere. Clarification is required as to whether the values are unitized, what are the matches of the samples and whether they contain the same records, otherwise the values do not have a common calibre. It is a geometric diagnosis or objective that should not directly replace mission relevance assessments.
It's not as good as it gets
By pushing a synonym that should be similar to it far away, it may raise some sort of diffuse indicator, but it undermines semantics. What was really needed was to keep the message distinguishable while retaining the mandate unchanged. This balance is being determined by definition, negative noise and target weights, and cannot be optimized by just one spherical map.
The collapse also varies to some extent. All vectors are exactly the same as extremes, with a small number of dimensions changing and the remaining dimensions almost fixed and partly degraded. The range per dimension, collusive spectrum, vector parameters and the nearest neighbourhood distribution can be checked and cannot be judged by a single number of average cosine.
Data subgroups should be involved in the interpretation. Some types of content would have been very repetitive and could have been reasonably concentrated; Different languages or lengths form a cluster and may also result from data rather than network failures. Grouping and repetitions are first diagnosed and then a decision is made to adjust the training objectives.
This section is based on the original alignment / uniformity paper and the comparative learning mechanism, for which the two-dimensional programme is a synthesis. Geometric properties should be verified alongside search quality, and improvements in one indicator should not be considered as the conclusion of the entire task.
All vectors are the same. Is it the best for distance?
Yes, it is at zero, but without distinguishing capacity, indicating that only the alignment of targets is inadequate.
Is it necessary to indicate that greater uniformity is more appropriate for semantic retrieval?
Unnecessary, excessive decentralization may push beyond real and relevant content and require a combination of positive assessments of relationships and independent missions.
Sources and reconciliations
Definitions, methods and interfaces are available.
- Understanding Contrastive Representation Learning through Alignment and Uniformity
- A Simple Framework for Contrastive Learning of Visual Representations
Figures and calculations are reorganized according to this chapter. Mathematical measurements, framework operations and real business effects are described separately in the body of the text.