LE-GDA: Layer Ensemble Gaussian Discriminant Analysis for Training-Free Few-Shot CLIP Adaptation
Pavodi Maniamfu, Vogel Kiketa, Zezina Kuzulu Kuetu, Jakin Mukendi Kabongo, David Mayoya Kutangila, Pescie Honore Kinkani Mampuya, L'Or Wolo Sieka
Abstract
Training-free few-shot adaptation of vision-language models typically constructs a classifier from CLIP's final projected image representation, leaving intermediate representations unused. Combining them is not straightforward. Class scores from different representations differ in spread by orders of magnitude for the same query. Direct averaging allocates influence by numerical scale rather than predictive information. We propose Layer-Ensemble Gaussian Discriminant Analysis (LE-GDA), a method that fits regularized shared-covariance discriminants independently to intermediate and final representations extracted in one frozen encoder pass. LE-GDA standardizes each discriminant's class scores per query, selects a small representation multiset on labeled validation data, and combines it with the zero-shot classifier without gradient-based optimization. Across 11 datasets, four CLIP backbones, five shot counts, and three independently sampled K-shot training sets, LE-GDA achieves the highest mean accuracy of all evaluated methods on every backbone, raising the 16-shot mean from 78.01% to 79.54% over a matched GDA-CLIP (final-feature) baseline and improving that baseline for every backbone-shot combination. At one shot, LE-GDA retains a 1.20-point mean gain over the baseline even though covariance estimation is unavailable and per-query standardization is neutral. A control with richer per-class structure inside a single representation does not reproduce the gain, indicating that the benefit comes from combining representations. These results show that intermediate CLIP representations carry information beyond the final embedding and can improve training-free few-shot adaptation. Code and evaluation resources are available at https://github.com/pavodi-NM/le-gda.
Create a lesson
Metadata
- Categories
- cs.CV, cs.AI, cs.LG
- Comments
- Accepted at WACV 2027. 23 pages, 5 figures, including supplementary material
Related papers
CTBakeGS: training-free baking of photorealistic CT volume renderings into 3D Gaussian splats
Shared title terminologycs.CVHaruki Fukuda, Constantin Lux, Wolf Schweitzer et al.
SceneShifter: Training-free Multi-Scene Temporal Control for Audio-driven Human Animation
Shared title terminologycs.CVJianzhi Long, Rong-Cheng Tu, Hao Guan et al.
Training-Free Inference Acceleration for Video Large Language Models: Methods, Trade-offs, and Evaluation
Shared title terminologycs.CVYuqi Li, Chuanyue Yan, Neil Rodrigues et al.
FlexiMIND: Combined Pretrained Vision Features and Local Structure for Training-Free Deformable Medical Image Registration
Shared title terminologycs.CVMojtaba Safari, Mingzhe Hu, Shansong Wang et al.
Frequency-Adaptive Gaussian Grids for Efficient Image Representation
Shared title terminologycs.CVAnatolii Evdokimov, Stavros Diolatzis, Bingxuan Li et al.
A Novel Lightweight Multi-Scale Branching Encoder for Few-Shot Image Classification
Shared title terminologycs.CVOriod Malo, Alexandre Xavier Falcão, Laurent Najman