REVIEW 4 major objections 5 minor 41 references
DoubleCCA: Improving Foundation Model Group Robustness with Random Sentence Embeddings
T0 review · 4 major / 5 minor · reviewed 2026-08-12 · deepseek-v4-flash
Pith's one-line read The paper claims that a text-only, training-free CCA-based merge of CLIP and sentence-embedding representations improves worst-group zero-shot accuracy, with Waterbirds ResNet-50 worst-group accuracy rising from 16.07% to 44.64%.
desk verdict A clever, training-free debiasing recipe combining WaffleCLIP prompts with CCA merging, but the empirical support is under-powered and the second CCA's geometry is underspecified. read the letter →
The pith
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
The reading
What carries the argument
The central object is the merged text-embedding matrix $W = \tfrac{1}{2}(\hat{W}_x + M\hat{W}_{se})$, where $\hat{W}_x$ and $\hat{W}_{se}$ are the reconstructed score-function weights from the first CCA and $M = (P_B P_A^{-1})^T$ is the merger learned by the second CCA. Canonical correlation analysis (CCA) is the statistical method that finds linear projections maximizing correlation between two feature sets; here it is applied twice. The first pass aligns CLIP text embeddings with sentence-embedding-model outputs on a corpus of random sentences, and the second pass merges the two score functions using random-sentence features as stand-ins for image embeddings, since no images are available. The machinery carries the argument by turning an uncalibrated random-prompt augmentation into a calibrated linear merge that plugs directly into the existing CLIP zero-shot score $\hat{y} = \arg\max_y W_y \Phi_v(I)$.
What would settle it
Run DoubleCCA with the second alignment fitted on real image embeddings from a held-out split (or on dimension-matched random noise) instead of random-sentence embeddings and compare worst-group accuracy: if the gains disappear or change materially, the random-sentence proxy is doing the work; if not, the claimed alignment mechanism is not the cause.
Extended reading notes
Core claim
The central claim is that canonical correlation analysis can turn noisy random-prompt text embeddings into a more group-robust zero-shot classifier by merging two text-embedding sources. Specifically, the paper constructs the merged text embedding matrix $$W = \tfrac{1}{2}(\hat{W}_x + M\hat{W}_{se}), \qquad M = (P_B $P_A^{{-1}}$)^T,$$ where the first CCA aligns the CLIP text encoder with a sentence embedding model on random-sentence features, and the second CCA merges the two resulting score functions into one. Inference is then unchanged in form: $\hat{y} = \arg\max_y W_y \Phi_v(I)$. The paper argues that this merged embedding improves worst-group accuracy because the extra sentence encoder supplies semantically meaningful structure that the CLIP text encoder lacks, while the CCA alignment prevents the random tokens from collapsing class separability, as WaffleCLIP does on smaller backbones. The empirical case is made on Waterbirds and CelebA across four CLIP backbones, plus six domain-generalization datasets.
Load-bearing premise
The recipe's gains rest on the assumption that text embeddings of random sentences behave like real image embeddings during the second alignment step, since the method never looks at an actual image.
Editorial extensions
If this is right
- If the central claim holds, zero-shot CLIP classification can be made more group-robust without any image data, group annotations, or gradient updates, simply by substituting $W$ for the original text embeddings.
- Because $W$ is built only from class names and random sentences, the recipe transfers across backbones (RN50, ViT-B/32, ViT-B/16, ViT-L/14) and datasets, improving worst-group accuracy on Waterbirds and CelebA while keeping domain-generalization accuracy roughly constant.
- The merged embeddings can be dropped into existing adapter-based debiasing pipelines: combining DoubleCCA with a contrastive adapter further lifts worst-group accuracy, so the text-only enrichment is complementary rather than exclusive.
- Sufficient random sentences (about 500 per class) are required for stable worst-group gains; with fewer random sentences the method can fall below the CLIP baseline, implying that the text-only augmentation distribution, not the class descriptions alone, carries the robustness signal.
Reading between the lines
- A direct test of the paper's mechanism: fit the second CCA on a held-out set of real image embeddings instead of random-sentence proxies. If the worst-group gains vanish, the proxy assumption is doing the work; if they persist, the paper's stated role of random sentences as image stand-ins is not the active ingredient.
- Because the merged embedding is computed entirely from text, the recipe suggests a path to debiasing open-vocabulary or newly added classes on the fly, as long as a sentence encoder is available; this extension is not tested in the paper.
- The ablation curve with sentence count implies the random-sentence distribution is the carrier of robustness. One could therefore try structured or semantic perturbations of the random sentences (e.g., class-related nouns instead of characters) and expect larger worst-group gains, though the paper does not explore this.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The paper proposes DoubleCCA, a training-free method to improve the worst-group robustness of CLIP zero-shot classifiers. The method generates K random sentences per class, embeds them with both the CLIP text encoder and an external sentence embedding model (HiT), and then applies CCA twice: first to align the two text embedding spaces, and second to merge the two resulting score functions into a single text embedding matrix. At inference, this merged matrix is used to score CLIP image embeddings. Experiments on Waterbirds and CelebA report improved worst-group accuracy across four backbones, and results on six domain-generalization datasets show maintained or slightly improved accuracy. The central claim is that random-sentence text enrichment plus CCA merging improves group robustness without using image data, group labels, or training.
Significance. If the central claim holds, the method is an interesting training-free debiasing recipe for CLIP: it requires no image data or group labels, is conceptually simple, and can be combined with existing adapters. The paper includes useful ablations on the sentence embedding model and on hyperparameters, and it addresses a relevant problem. However, the evidence is currently weak: no code, no seeds, and no error bars are reported; the Waterbirds worst-group test set is very small; and there is a load-bearing dimension inconsistency in the second CCA construction. The assumption that random-sentence text features can simulate image representations is asserted but not validated, leaving the mechanism unsupported. These issues must be resolved before the reported robustness gains can be taken as established.
major comments (4)
- [Section 3.2.2 / Algorithm 1 step 7] The construction XA = Ŵx Fr, XB = Ŵse Fr is dimensionally inconsistent with the stated experimental settings. For Waterbirds with RN50, n_classes=2, d=1024, and K=500, Fr has 1000 rows. If Fr is n_random×d, the products ŴxFr and ŴseFr are undefined because Ŵx and Ŵse are 2×1024; if Fr is d×n_random, then XA and XB are 2×1000, so after centering the second CCA has rank at most 1 and cannot produce a common space of dimension equal to the original image embedding dimension (1024), as stated in Section 4.1. The paper must specify the exact shapes of Fr, XA, XB, the centering and regularization used in the second CCA, and ideally release code; otherwise the reported numbers cannot be reproduced or attributed to the described mechanism.
- [Section 3.2.2] The statement that random sentence embedding features Fr 'simulate the image representations' is the sole bridge between text-only calibration and image inference, but it is asserted without evidence. The second CCA is fit on XA = Ŵx Fr and XB = Ŵse Fr, i.e., on the text-based score functions evaluated on random sentences, while at test time the merged matrix W is applied to real image embeddings. This is a domain shift that the paper does not validate. To support the central claim, the authors should provide quantitative evidence that Fr-derived features are representative of image features in the relevant space, for example by comparing distributions, or by ablating the second CCA with real image features from a validation set. Without such validation, the reported worst-group improvements cannot be confidently assigned to the proposed calibration mechanism.
- [Section 4.1 / Table 1] No seeds, error bars, or confidence intervals are reported anywhere. The Waterbirds worst-group test split is small (about 56 images), so the headline RN50 improvement from 16.07% to 44.64% corresponds to a change of roughly 9 to 25 correct images, which could arise from sampling noise. Please report means and standard deviations over at least 5 random seeds for all reported numbers, and state the exact sizes of the worst-group test sets for Waterbirds and CelebA. The same applies to the domain generalization results in Table 2.
- [Section 4.2 / Table 1] The text compares DoubleCCA with PerceptionCLIP and FairerCLIP, but these baselines do not appear in Table 1, and the reported metric 'gap' is never defined (presumably average accuracy minus worst-group accuracy). Please include the baselines in the table or explicitly state that the comparison is qualitative, and define 'gap' when it is first used. Without the baselines, the claims of outperforming existing methods are not directly supported by the presented experiments.
minor comments (5)
- [Section 3.2.1 and 3.2.2] The symbol Fr is reused in two different roles: first as the random-sentence embedding matrix for the first CCA, and then as the proxy for image representations in the second CCA. This conflates two distinct objects and contributes to the dimension ambiguity; please use different names, e.g., F_r^{text} for the first CCA and F_r^{proxy} for the second.
- [Abstract] The phrase 'use CCA double twice' should be corrected to 'use CCA twice'.
- [Section 4.2] There are several typos: 'backgroup' should be 'background', 'folowers' should be 'flowers', and 'with folowers' appears in the list of background contexts. The heading in Section 4.5, 'Abalation Study', should be 'Ablation Study'.
- [Figure 6] In the caption of Figure 6(b), 'Dimension of CCA' is ambiguous: Section 4.1 sets the first CCA dimension to 64, while the ablation varies the dimension up to 384. Please specify which CCA (first or second) is being varied, and clarify whether the second CCA dimension is also fixed or follows the stated rule.
- [Section 4.1] The paper says it follows 'the same experimental settings as the previous work [11]' but does not specify which elements are taken from that work (prompt templates, data splits, evaluation protocol). Please list the exact settings used, including the prompt template and the source of the random sentences, to make the experiments reproducible.
Circularity Check
No circularity: the merged embedding is constructed from text-only features and evaluated against real images, so the reported gains are not forced by the fitting equations.
full rationale
The derivation chain is not circular: the final merged embedding W in Eq. (5) is a deterministic function of the original class-prompt embeddings and the random-sentence embeddings Fr/Frse, and the second CCA in Eqs. (6)-(7) is fit on XA = Wx Fr and XB = Wse Fr, i.e., entirely on text features. No group label, image feature, or worst-group accuracy enters the construction of W; the inference rule in Eq. (8) then applies W to real image features, so the reported worst-group improvements are an external empirical consequence rather than a consequence of the fitting procedure. The stated assumption that Fr 'simulate the image representations' (Sect. 3.2.2) is an unvalidated proxy and a reproducibility risk, and the dimensional inconsistency noted in Sect. 4.1 is a correctness concern, but neither reduces the central claim to its inputs by construction. There are no load-bearing self-citations or imported uniqueness theorems. Accordingly, no significant circularity is found.
Assumptions & free parameters
free parameters (6)
- Number of random sentences K =
500
- First CCA dimension =
64
- CCA regularization strength =
unspecified
- Random character sequence length =
length of the class name
- Sentence embedding model choice =
HiT-MiniLM-L12-WordNetNoun
- Second CCA dimension =
CLIP embedding dimension d
assumptions (4)
- ad hoc to paper CLIP text embeddings of random sentences can stand in for image embeddings when fitting the second CCA merge
- domain assumption The sentence embedding model (HiT, trained on WordNet) produces semantically meaningful features that complement CLIP text features for zero-shot classification
- domain assumption CCA transforms fit on random-sentence rows transfer to the original class prompts and to real image embeddings
- standard math The merge rule W = 1/2(Ŵx + M·Ŵse) from Horoi et al. preserves enough discriminative information for zero-shot classification
Cite this review
Pith. "Pith review of DoubleCCA: Improving Foundation Model Group Robustness with Random Sentence Embeddings." pith.science (2026). https://pith.science/paper/KP3GTUON
@misc{pith2026241116236,
author = {Pith},
title = {Pith review of: DoubleCCA: Improving Foundation Model Group Robustness with Random Sentence Embeddings},
year = {2026},
howpublished = {\url{https://pith.science/paper/KP3GTUON}},
note = {Machine review of arXiv:2411.16236}
}
read the original abstract
This paper presents a novel method to improve the robustness of foundation models to group-based biases. We propose a simple yet effective method, called DoubleCCA, that leverages random sentences and Canonical Correlation Analysis (CCA) to enrich the text embeddings of the foundation model. First, we generate various random sentences that augment the original prompts, which extends the original prompts with random words or character sequences. Second, we use an additional sentence embedding model to generate different text embeddings with respect to these random sentences. We then use CCA double twice to align the representations and reconstruct them back to the original representation space. We demonstrate the effectiveness of our method on a variety of tasks and datasets, showing that it outperforms existing methods in terms of both performance and robustness. Our method is simple to implement and can be easily integrated into existing models, making it a practical solution for improving the robustness of foundation models to group-based biases.
Figures
Figures from the paper (3 more)
Reference graph
Works this paper leans on
-
[1]
Learning transferable visual models from natural language supervision
Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, et al. Learning transferable visual models from natural language supervision. In ICML, 2021
2021
-
[2]
Sigmoid loss for language image pre-training
Xiaohua Zhai, Basil Mustafa, Alexander Kolesnikov, and Lucas Beyer. Sigmoid loss for language image pre-training. In ICCV, 2023
2023
-
[3]
Hyperbolic image-text representations
Karan Desai, Maximilian Nickel, Tanmay Rajpurohit, Justin Johnson, and Shanmukha Ramakrishna Vedantam. Hyperbolic image-text representations. In ICML, 2023
work page 2023
-
[4]
Laion-400m: Open dataset of clip-filtered 400 million image-text pairs
Christoph Schuhmann, Richard Vencu, Romain Beaumont, Robert Kaczmarczyk, Clayton Mullis, Aarush Katta, Theo Coombes, Jenia Jitsev, and Aran Komatsuzaki. Laion-400m: Open dataset of clip-filtered 400 million image-text pairs. arXiv:2111.02114, 2021
arXiv 2021
-
[5]
Medclip: Contrastive learning from unpaired medical images and text
Zifeng Wang, Zhenbang Wu, Dinesh Agarwal, and Jimeng Sun. Medclip: Contrastive learning from unpaired medical images and text. arXiv:2210.10163, 2022
arXiv 2022
-
[6]
Geode: a geographically diverse evaluation dataset for object recognition
Vikram V Ramaswamy, Sing Yu Lin, Dora Zhao, Aaron Adcock, Laurens van der Maaten, Deepti Ghadiyaram, and Olga Russakovsky. Geode: a geographically diverse evaluation dataset for object recognition. NeurIPS, 2024. 15
work page 2024
-
[7]
Clip as rnn: Segment countless visual concepts without training endeavor
Shuyang Sun, Runjia Li, Philip Torr, Xiuye Gu, and Siyang Li. Clip as rnn: Segment countless visual concepts without training endeavor. In CVPR, 2024
work page 2024
-
[8]
Cascade-clip: Cascaded vision-language embeddings alignment for zero-shot semantic segmentation
Yunheng Li, Zhong-Yu Li, Quan-Sheng Zeng, Qibin Hou, and Ming-Ming Cheng. Cascade-clip: Cascaded vision-language embeddings alignment for zero-shot semantic segmentation. In ICML, 2024
work page 2024
Show all 41 references
-
[9]
Visual classification via description from large language models
Sachit Menon and Carl Vondrick. Visual classification via description from large language models. In ICLR, 2022
2022
-
[10]
Waffling around for performance: Visual classification with random words and broad concepts
Karsten Roth, Jae Myung Kim, A Koepke, Oriol Vinyals, Cordelia Schmid, and Zeynep Akata. Waffling around for performance: Visual classification with random words and broad concepts. In ICCV, 2023
2023
-
[11]
PerceptionCLIP: Visual classification by inferring and conditioning on contexts
Bang An, Sicheng Zhu, Michael-Andrei Panaitescu-Liess, Chaithanya Kumar Mummadi, and Furong Huang. PerceptionCLIP: Visual classification by inferring and conditioning on contexts. In ICLR, 2024
2024
-
[12]
Contrastive adapters for foundation model group robustness
Michael Zhang and Christopher R ´e. Contrastive adapters for foundation model group robustness. NeurIPS, 2022
2022
-
[13]
Fine-tuning can distort pretrained features and underperform out-of-distribution
Ananya Kumar, Aditi Raghunathan, Robbie Matthew Jones, Tengyu Ma, and Percy Liang. Fine-tuning can distort pretrained features and underperform out-of-distribution. In ICLR, 2022
2022
-
[14]
Last layer re-training is sufficient for robustness to spurious correlations
Polina Kirichenko, Pavel Izmailov, and Andrew Gordon Wilson. Last layer re-training is sufficient for robustness to spurious correlations. In ICLR, 2023
2023
-
[15]
Debiasing vision-language models via biased prompts
Ching-Yao Chuang, Varun Jampani, Yuanzhen Li, Antonio Torralba, and Stefanie Jegelka. Debiasing vision-language models via biased prompts. arXiv:2302.00070, 2023
2023 arXiv
-
[16]
FairerCLIP: Debiasing CLIP’s zero-shot predictions using functions in RKHSs
Sepehr Dehdashtian, Lan Wang, and Vishnu Boddeti. FairerCLIP: Debiasing CLIP’s zero-shot predictions using functions in RKHSs. In ICLR, 2024
2024
-
[17]
Calibrating multi-modal representations: A pursuit of group robustness without annotations
Chenyu You, Yifei Mint, Weicheng Dai, Jasjeet S Sekhon, Lawrence Staib, and James S Duncan. Calibrating multi-modal representations: A pursuit of group robustness without annotations. In CVPR, 2024
2024
-
[18]
Clip-adapter: Better vision-language models with feature adapters
Peng Gao, Shijie Geng, Renrui Zhang, Teli Ma, Rongyao Fang, Yongfeng Zhang, Hongsheng Li, and Yu Qiao. Clip-adapter: Better vision-language models with feature adapters. IJCV, 2024
2024
-
[19]
Controllable prompt tuning for balancing group distributional robustness
Hoang Phan, Andrew Gordon Wilson, and Qi Lei. Controllable prompt tuning for balancing group distributional robustness. In ICML, 2024
2024
-
[20]
Debiasing vison-language models with text-only training
Yunfan Yang, Chaoquan Jiang, Zhiyu Lin, Jinlin Xiao, Jiaming Zhang, and Jitao Sang. Debiasing vison-language models with text-only training. arXiv:2410.09365, 2024. 16
2024 arXiv
-
[21]
Language models as hierarchy encoders
Yuan He, Zhangdie Yuan, Jiaoyan Chen, and Ian Horrocks. Language models as hierarchy encoders. In NeurIPS, 2024
2024
-
[22]
Eigenproblems in pattern recognition
Eduardo Bayro Corrochano, Tijl De Bie, Nello Cristianini, and Roman Rosipal. Eigenproblems in pattern recognition. Handbook of Geometric Computing: Applications in Pattern Recognition, Computer Vision, Neuralcomputing, and Robotics, 2005
2005
-
[23]
Harmony in diversity: Merging neural networks with canonical correlation analysis
Stefan Horoi, Albert Manuel Orozco Camacho, Eugene Belilovsky, and Guy Wolf. Harmony in diversity: Merging neural networks with canonical correlation analysis. In ICML, 2024
2024
-
[24]
Hashimoto, and Percy Liang
Shiori Sagawa, Pang Wei Koh, Tatsunori B. Hashimoto, and Percy Liang. Distributionally robust neural networks. In ICLR, 2020
2020
-
[25]
Visualizing data using t-sne
Laurens van der Maaten and Geoffrey Hinton. Visualizing data using t-sne. JMLR, 2008
2008
-
[26]
Making monolingual sentence embeddings multilingual using knowledge distillation
Nils Reimers and Iryna Gurevych. Making monolingual sentence embeddings multilingual using knowledge distillation. In EMNLP, 2020
2020
-
[27]
Deep learning face attributes in the wild
Ziwei Liu, Ping Luo, Xiaogang Wang, and Xiaoou Tang. Deep learning face attributes in the wild. In ICCV, 2015
2015
-
[28]
The caltech-ucsd birds-200-2011 dataset
Catherine Wah, Steve Branson, Peter Welinder, Pietro Perona, and Serge Belongie. The caltech-ucsd birds-200-2011 dataset. 2011
2011
-
[29]
Eurosat: A novel dataset and deep learning benchmark for land use and land cover classification
Patrick Helber, Benjamin Bischke, Andreas Dengel, and Damian Borth. Eurosat: A novel dataset and deep learning benchmark for land use and land cover classification. IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens, 2019
2019
-
[30]
Places: A 10 million image database for scene recognition
Bolei Zhou, Agata Lapedriza, Aditya Khosla, Aude Oliva, and Antonio Torralba. Places: A 10 million image database for scene recognition. IEEE TPAMI, 2017
2017
-
[31]
Automated flower classification over a large number of classes
Maria-Elena Nilsback and Andrew Zisserman. Automated flower classification over a large number of classes. In ICVGIP, 2008
2008
-
[32]
Food-101–mining discriminative components with random forests
Lukas Bossard, Matthieu Guillaumin, and Luc Van Gool. Food-101–mining discriminative components with random forests. In ECCV, 2014
2014
-
[33]
Cats and dogs
Omkar M Parkhi, Andrea Vedaldi, Andrew Zisserman, and CV Jawahar. Cats and dogs. In CVPR, 2012
2012
-
[34]
Pytorch: An imperative style, high- performance deep learning library
Adam Paszke, Sam Gross, Francisco Massa, Adam Lerer, James Bradbury, Gregory Chanan, Trevor Killeen, Zeming Lin, Natalia Gimelshein, Luca Antiga, et al. Pytorch: An imperative style, high- performance deep learning library. NeurIPS, 2019. 17
2019
-
[35]
Deep residual learning for image recognition
Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In CVPR, 2016
2016
-
[36]
An image is worth 16x16 words: Transformers for image recognition at scale
Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, Jakob Uszkoreit, and Neil Houlsby. An image is worth 16x16 words: Transformers for image recognition at...
2021
-
[37]
Hyperbolic representation learning: Revisiting and advancing
Menglin Yang, Min Zhou, Rex Ying, Yankai Chen, and Irwin King. Hyperbolic representation learning: Revisiting and advancing. In ICML, 2023
2023
-
[38]
Utility-fairness trade-offs and how to find them
Sepehr Dehdashtian, Bashir Sadeghi, and Vishnu Naresh Boddeti. Utility-fairness trade-offs and how to find them. In CVPR, 2024
2024
-
[39]
Towards general text embeddings with multi-stage contrastive learning
Zehan Li, Xin Zhang, Yanzhao Zhang, Dingkun Long, Pengjun Xie, and Meishan Zhang. Towards general text embeddings with multi-stage contrastive learning. arXiv:2308.03281, 2023
2023 arXiv
-
[40]
BART: Denoising sequence-to-sequence pre-training for natural language generation, translation, and comprehension
Mike Lewis, Yinhan Liu, Naman Goyal, Marjan Ghazvininejad, Abdelrahman Mohamed, Omer Levy, Veselin Stoyanov, and Luke Zettlemoyer. BART: Denoising sequence-to-sequence pre-training for natural language generation, translation, and comprehension. In ACL, 2020
2020
-
[41]
Principal component analysis
Ren´e Vidal, Yi Ma, S Shankar Sastry, Ren´e Vidal, Yi Ma, and S Shankar Sastry. Principal component analysis. Generalized principal component analysis, 2016. 18
2016
Reviewed August 12, 2026 · model on record in the stance chip above.
Discussion (0). Continue with ORCID to comment.