MLCrack

    COMPUTER VISION · INTERVIEW QUESTION

    In a self-supervised vision model, why might a stop-gradient branch help prevent representational collapse?

    ⚫ expert · Self Supervised · Collapse

    Hint: Focus on the decision rule, assumptions, and failure mode behind self supervised · collapse.

    Answer

    Methods such as BYOL/SimSiam use asymmetry and stop-gradient to stabilize targets. The exact mechanism is nuanced, but the practical effect is avoiding degenerate dynamics.

    Interview reasoning

    Stop-gradient introduces asymmetric target updates in methods such as SimSiam or BYOL, but predictors and normalization also affect collapse dynamics.

    Collapse maps different inputs to nearly identical representations. Stop-gradient changes which branch receives updates, while predictors, normalization and target updates also shape the dynamics in particular methods. Evaluate the complete mechanism rather than treating a frozen branch as a general proof of informative features.

    Worked example. If every image maps to [1,0,0], feature variance and effective rank collapse even though a similarity objective may look excellent.

    Validation

    Inspect rank and variance and run component ablations with downstream probes.

    Run component ablations, inspect covariance spectra and nearest neighbors, and assess linear-probe and downstream fine-tuning quality.

    Common pitfalls

    No single component should be presented as a universal guarantee against collapse.

    A low pretraining loss can reward trivial solutions. Anti-collapse behavior in one architecture need not transfer unchanged to another objective.

    Likely follow-up: Inspect rank and variance and run component ablations with downstream probes.