One Leaf Reveals the Season: Occlusion-Based Contrastive Learning with Semantic-Aware Views for Efficient Visual Representation
ELVIA analysis
Independent review pending
The cross-view objective in Algorithm 1 is well defined, but the displayed loss has incompatible indexing and the accompanying concentration explanation reverses the parameter direction. Static inspection of the frozen release identifies material recipe differences and a distinction between optimizer batch size and the negative pool used by the loss. Independent calculations establish these local discrepancies. They do not determine which implementation produced the reported benchmarks, and no central empirical failure is established.
P1 — Counterevidence: A global-index all-view interpretation is possible only with changed notation/objective; it does not equal Algorithm 1.
Problem 1. the displayed denominator is not the implemented objective
MinorEvidence and reasoning
Problem statement
The displayed denominator should define the same contrastive objective as the implemented cross-view normalizer. normalized vectors per branch; positive pairs share index; kappa64, admissible.
Proof
Section 2.3 (p. 4) defines image pairs, one normalized vector and from each image, and cross-view negatives. Algorithm 1 forms a similarity matrix and applies cross-entropy in both directions. Its row loss is with the positive term included in the denominator. Equation (3), however, sums to while retaining a lower-branch vector and excludes There are only such lower-branch vectors. With the pair ordering used in Algorithm 1, is the positive rather than the anchor’s self-comparison.
These differences affect the calculation. For let and choose the paper’s and an admissible positive scale Both vectors have unit norm. The positive and negative similarities are and Equation [eq:correct] (#eq:correct) gives Merely changing the upper limit to while retaining the exclusion gives a different objective; if the scale grows, this latter expression tends to rather than zero. The expression with the original upper limit is undefined under branch-local indexing.
A charitable global-index interpretation would concatenate both branches and exclude the anchor itself. That produces an ordinary all-view contrastive objective, but also introduces same-branch negatives absent from Algorithm 1. It requires changing the vector notation and still does not describe the supplied computation. The frozen `models_mae.py`, lines – agrees with Algorithm 1 and includes the diagonal positives. The supported correction is Equation [eq:correct] (#eq:correct) and its transpose average. This is a Minor formula defect: the paper itself contains the coherent intended algorithm, and no loss error in the historical experiments is established.
Possible revision
Use terms including the positive and average the transpose loss.
Problem 2. the concentration explanation has its direction reversed
MinorEvidence and reasoning
Problem statement
The concentration explanation should use the direction implied by its stated scale and distribution. c in[],
Proof
With cosine and Equation (2) gives The following paragraph says that decreasing makes the function more concentrated around nearby features. Direct differentiation and a half-height calculation give The derivative is strictly negative for while Thus increasing narrows the region above half the peak. At its cosine threshold is whereas at it is An independent finite-difference check at agrees with the analytic derivative to
Section 3.2.4 (p. 7) instead describes increasing as making the task more demanding; this is useful counterevidence to a systematic conceptual error. Positive-pair labels remain assigned by image identity rather than by a similarity threshold. Neither this derivative nor the half-height criterion proves the proposed semantic interpretation or predicts the optimum in Table 6. Assessment: Minor.
Possible revision
Replace decreasing by increasing for concentration; derivative and threshold proved.
Problem 3. the frozen release does not specify the reported model recipe
MinorEvidence and reasoning
Problem statement
The frozen public recipe should identify the training model and operative settings used for the reported result. Frozen commit; ordinary PatchEmbed trainability; constructor/launcher path inspected statically.
Proof
The paper specifies a fixed Xavier-initialized patch projection (Section 2.1, p. 2), a trainable scale in the loss (p. 4), and by default (p. 5). In the frozen `models_mae.py`, lines – and – the default is and the temperature is the ordinary scalar Similarities use the same rational formula as Equation (2), followed by division by that scalar. The pre-training constructor in `main_pretrain.py`, line passes no concentration override, and the argument parser exposes none.
This is not a harmless reciprocal notation for the formula multiplies by the stored value in both sources. For orthogonal vectors, At the values are and Their relation is not a single global rescaling or additive shift that a softmax temperature could absorb. The fixed reciprocal temperature could represent the numerical value but it does not implement training of
The projection weights are initialized and then used directly in the forward path; only the positional embedding is explicitly frozen. The pre-training optimizer receives the model’s ordinary trainable parameters, with no projection exclusion or detachment. Under the ordinary `timm.PatchEmbed` behavior, the projection therefore remains trainable. This contradicts the fixed-projection recipe; it does not assert that its resulting gradients are nonzero on every input.
There is a separate immediate recipe inconsistency: `PRETRAIN.md` passes `mae_vit_large_patch16`, while the frozen model namespace defines the `sae_vit_large_patch16` family. The entry point indexes that namespace directly, so the documented name cannot resolve if execution reaches model construction. This conclusion is static; the launcher was not run. The appendix also lists a ViT-L pre-training batch of (Table 10, p. 16), whereas the main-text default is
These are Minor release and specification defects with unresolved historical provenance. An exact benchmark configuration, including the concentration, scale parameterization, projection freeze and actual batch layout, is needed to choose a faithful repair. Simply replacing defaults here would not establish reproduction of accuracy.
Possible revision
Provide exact experimental config and working model entry; no training repair claimed.
Problem 4. Effective optimizer batch does not specify negative pool
Needs EvidenceEvidence and reasoning
Problem statement
Effective optimizer batch size should not be identified with the contrastive negative pool without the corresponding per-forward or cross-rank construction. Local loss matrix bxb; no feature gather; accumulation A and devices R.
Verification
The discussion around Table 3 (p. 6) attributes batch-size gains to a larger negative pool. `PRETRAIN.md` recommends gradient accumulation to retain an effective batch size when memory or GPU count is reduced. The entry point calculates this size as where is the per-device microbatch, is the accumulation count and is the number of devices.
The release’s loss, however, constructs similarities only from the current local input. No cross-device feature gathering appears in this path. `engine_pretrain.py`, lines – computes the loss separately for each microbatch, divides by and accumulates its gradients. Distributed gradient synchronization and later scalar logging do not add feature vectors to a loss denominator. Each anchor therefore has negative candidates, not
The distinction is exact, not merely a potential optimization difference. In the two-image example of Problem 1, processing both images together gives loss Processing two singleton microbatches with gives zero in each: the sole class has probability one. Its gradient is identically zero. For a nonstationary comparison, keep and set at The full symmetric loss is with central-difference derivative in (step ); the accumulated singleton derivative remains exactly zero. All vectors are normalized and both procedures have optimizer effective batch two.
Accumulation still increases the number of images contributing to an optimizer step, so that conventional meaning of effective batch is valid. It cannot be used to infer an equivalent contrastive pool. Nor is a local-negative objective intrinsically invalid. The documented recommendation does not explicitly promise an identical negative pool. Moreover, varying the local microbatch at fixed accumulation and device counts would enlarge both the effective batch and the local pool, a reading compatible with the Table 3 explanation. The available evidence therefore establishes a scope clarification, not a demonstrated batch-semantics error or a falsification of Table 3. An assertion that the historical runs held the pool fixed while attributing gains to a larger pool would need additional run configuration evidence. Faithful comparisons must report both microbatch/pool size and optimizer batch size; a changed global-pool implementation would require feature aggregation with appropriate gradients and its own validation.
Possible revision
Report microbatch/pool size, accumulation and device count separately. Do not infer historical experimental error without configurations or an explicit negative-pool equivalence claim.
Supporting record & provenance
Work status
Current version
Version 1
Minhao Liu · Initial report · Version 1
Independent review pending
Original claim and review scope
The utilization of the ViT-L/16 model for validation reveals that a larger effective batch size correlates with improved model performance and efficiency, aligning with the consensus within the community (Goyal et al., You et al., ).
Published ICML 2025 proceedings PDF (PMLR 267); PDF p. 6
Actual review scope
The recorded inspection concerns these source locations: p. 4 Eq.(3), Algorithm 1; models_mae.py 167-189; p. 4 below Eq.(2); p. 7 Section 3.2.4; p. 2 Section 2.1,p. 4-5,p. 16 Table 10; models_mae.py26-68,162-164; main_pretrain.py157,179-181; PRETRAIN.md; p. 6 Section 3.2.2; PRETRAIN.md18; main_pretrain.py164-176; engine_pretrain.py45-60; models_mae.py167-189.