PRiSM: Prototype Regularization for Few-Shot VLMs

arXiv:2607.17820 · cs.CV · Submitted 2026-07-20 · Read on arXiv

Listen

Radio episode about this paper

Transcript

Introduction to the show: ident: AI Radio. Generated commentary on the latest Artificial Intelligence papers.

Tom: We're looking at the paper: "PRiSM: Prototype Regularization for Few-Shot VLMs".

Title and authors: Tom: So we're looking at this paper now called PRiSM: Prototype Regularization for Few-Shot VLMs. It looks like they're tackling a real problem in training-free adaptation methods, specifically when the data isn't perfectly balanced or when you have a lot of classes.

Jane: Exactly. The title says it’s about prototype regularization for few-shot vision language models, which is basically how these models learn to adapt quickly with very little labeled data.

Lu: What they are suggesting is that the standard way we test these methods might be too optimistic because it assumes things like class balance are always perfect, and that isn't realistic in the wild.

Meng: So what’s the main takeaway here? Is this just another tweak to an existing method? I want to know if it actually helps when things get messy.

Tom: It’s not just a tweak; they introduce PRiSM as a classprototype regularization framework that you can plug right onto any existing baseline method. It optimizes a multi-term loss that balances three things: maximizing the distance between different classes, aligning the features from the support set, and keeping the prototypes faithful to what we already know about them.

Jane: That sounds complicated, but it’s trying to fix prototype drift and overfitting that they see happening in current methods when they rely too heavily on a zero-shot classifier or have to tune hyperparameters on validation data that doesn't actually exist.

Lu: They are optimizing this novel multi-term loss, which includes a regularizer maximizing interclass pairwise distances, along with additional terms promoting support feature alignment and fidelity to the baseline prototypes. That’s the engine driving the correction.

Meng: But how do we actually train this thing? I don't want to spend weeks tuning something that might break at scale when we have real traffic.

Tom: They use a block Majorize-Minimize optimizer for this objective because it’s effective and computationally efficient, and it uses a derived valid blockwise Lipschitz constant to provide implicit step sizes that guarantee the objective doesn't increase.

Jane: Implicit step sizes are interesting; that means you don't have to guess the learning rate by looking at validation data constantly, which addresses one of those unrealistic assumptions they mentioned earlier about hyperparameter tuning.

Lu: And they alternate between updating those class prototypes and doing a lightweight parameter-efficient finetuning of the vision encoder itself using something like LoRA for that, which keeps the number of trainable parameters low.

Meng: LoRA sounds good for reducing parameter count, but how much does it actually impact the performance when we're dealing with a severe imbalance? I’m worried that parameter efficiency might cost us accuracy in tough scenarios.

Tom: Well, the experimental results show that PRiSM significantly improves several training-free baselines, and the gains are particularly large when dealing with severe class imbalance and high numbers of classes.

Title and authors: Jane: They give a concrete example: under severe imbalance, PRiSM can improve the mean accuracy of Tip-Adapter by thirty-five point five in sixteen shot settings, going from thirty-three point twenty-five to sixty-eight point thirty <ref:2607.17820#pg1>. That shows it’s actually reversing the degradation trend they saw when the number of labeled samples increased.

Lu: That result really backs up their claim that prototype bias induced by imbalance acts as a common failure mode across different methods, and rectifying that bias systematically elevates the performance of diverse approaches.

Meng: If I’m looking at deployment, it means we don't have to rely on perfect class distribution in our initial fine-tuning stages; we just need this module to clean up the prototypes when the real world data is skewed. That makes sense for production stability.

Tom: So, PRiSM provides this simple yet effective plug-and-play correction that regularizes prototype geometry, preserving semantic fidelity while preventing the prototypes from collapsing toward just the dominant classes.

Jane: It’s a neat way to keep things grounded in reality when we are dealing with few-shot tasks where those assumptions about class balance just don't hold up anymore.

Lu: The method is optimized via an efficient block majorize–minimize algorithm with a theoretically grounded Lipschitz-gradient bound, ensuring both effectiveness and scalability. That mathematical grounding is important for making sure the optimization actually works reliably without getting stuck in bad local minima.

Meng: It sounds like it’s robust because of that theoretical foundation, not just luck with the hyperparameters. I like that they derived that Lipschitz constant using the Gershgorin circle theorem to get those implicit step sizes.

Tom: Right, so we move from hoping for a good result to having a mathematically grounded optimization strategy that handles the complexity of these few-shot scenarios.

Jane: It really makes you think about how much we rely on those unrealistic assumptions in standard few-shot evaluation protocols when we’re trying to build tools for real deployment.

Lu: And as we wrap up, the authors hope that their benchmark and method will encourage more realistic evaluations and foster the development of adaptation techniques better suited to real-world deployment.

Meng: For me, it means less time spent chasing a perfect class balance in our pre-training setup because this module can handle the messy reality of production data distribution.

Tom: So, to recap, PRiSM is a prototype regularization technique that uses an efficient optimizer and parameter-efficient finetuning to fix biased prototypes under severe imbalance or high class counts.

Jane: It shows that when you relax those strong assumptions on class balance and task composition, you get methods that perform much better in practice.

Lu: The paper’s contribution is really about making the few-shot setting more realistic by providing a method to explicitly correct prototype geometry without needing massive amounts of labeled data for hyperparameter tuning.

Meng: I'm hopeful this moves us closer to models that actually work reliably when we deploy them on systems where data distribution isn't perfectly controlled.

Tom: So, PRiSM is the name, and it’s a simple but powerful correction for the prototype bias that plagues many training-free few-shot adaptation methods.

The paper's summary: Tom: So, PRiSM is basically taking those tricky few-shot tasks, right? It’s about fixing how the model builds its basic understanding of what a class is before it even learns anything new.

Jane: Exactly. Think about those methods that just get confused when the data isn't perfectly balanced or when you have too many classes to learn from. PRiSM steps in and regularizes those basic prototypes.

Lu: The core idea is introducing this novel multi-term loss function. It’s not just one thing; it’s combining three different goals: aligning the support features, keeping the prototypes close to what we already have, and pushing different classes further apart from each other.

Meng: So, if I'm shipping a model to production, what does that mean for me? Does this fix something that breaks when the real-world data is skewed?

Tom: It specifically addresses that imbalance problem. The paper shows that under severe class imbalance or when you have a high number of classes, standard methods actually get worse. PRiSM seems to be resilient to those conditions because it actively corrects the prototypes that get biased by the majority class dominance.

Jane: That’s a big deal because it means we don't have to worry so much about getting a perfect initial class distribution in our tiny few-shot examples. The method handles that mess for us.

Lu: And they optimized this entire process using a block Majorize-Minimize optimizer. This is efficient, and they used something called the Gershgorin circle theorem to get a valid Lipschitz constant, which lets them use implicit step sizes instead of having to constantly search for the right learning rate on validation data.

Tom: That optimization strategy sounds solid because it’s not just guessing; it has a mathematical guarantee that the objective won't increase, even with those implicit steps. It also alternates between fixing those prototypes and doing some lightweight parameter tuning on the vision encoder using LoRA to keep things lean.

Jane: So, what does this mean for the people actually using these models in real-world apps? It sounds like it makes adaptation more reliable across different data types without needing massive amounts of perfectly balanced training sets upfront.

Meng: Reliability is everything. If I’m deploying something that relies on few-shot learning, I need to know it won't suddenly collapse because the test set was a little skewed or my initial prototypes were biased by the first few batches. This suggests PRiSM offers a more stable starting point for adaptation.

Lu: The conclusion is that this prototype regularization provides a simple yet effective way to correct that prototype geometry, keeping the semantic meaning intact while stopping those prototypes from collapsing toward just the most common classes. It’s an improvement over just letting the model learn on its own.

Tom: It’s a plug-and-play correction for fixing that prototype bias that seems to be a common failure mode across all these different training-free methods. We need to look closer at how this regularization interacts with other architectures in the future.

The paper's improvements: Tom: So, we talked about how PRiSM fixes the prototype bias when data is skewed or class numbers are high. Now let's look at what they actually changed in their approach to do that correction.

Jane: Right, so they’re not just adding a single penalty; they’ve built this whole multi-term loss function. It explicitly includes three different forces working together to shape those prototypes.

Lu: Exactly. The first part of the optimization is about support feature alignment, which keeps the features from different examples within the same class looking similar.

Tom: And then there's fidelity to baseline prototypes, which anchors those learned representations back to what we already know from a standard classifier. I like that grounding mechanism.

Jane: That’s smart because it prevents the model from drifting too far off into something completely random when it’s only got a few examples.

Lu: The third part is the pairwise inter-class separation, which is essentially a regularizer designed to maximize those distances between different class prototypes. This is what directly combats that imbalance problem we were talking about earlier.

Meng: So, instead of just hoping the model learns correctly on its own, PRiSM actively pushes those prototype centers into better positions based on these three criteria. That sounds like a much more controlled training process for deployment.

Tom: And to make it efficient, they tied this whole objective to a block Majorize-Minimize optimizer that uses that Lipschitz constant we mentioned earlier to keep the step sizes implicit and stable. It’s not just adding complexity; they made the optimization itself computationally sound.

Jane: That’s what makes it practical for us. If the training process is unstable or requires endless manual tuning of learning rates, then an optimizer with a proven stability bound, like that one derived from the Gershgorin circle theorem, is a huge win for production systems.

Lu: Plus, they are using LoRA to fine-tune the vision encoder block while simultaneously rectifying the prototypes. That parameter efficiency keeps the model small enough to run on standard hardware while still getting those performance bumps.

Tom: So we've got a framework that uses a sophisticated, multi-faceted loss function optimized by a mathematically grounded solver, all while keeping the memory footprint low with LoRA. It’s designed to be robust against class imbalance and high class counts.

Jane: It’s really about moving away from those fragile training-free assumptions we used before and giving us something that actually performs better when the real world data is messy.

Meng: I'm still focused on the running cost though. If this entire regularization process adds significant overhead to inference, it won't matter how good the training results are. We need to see if that LoRA update or the loss calculation slows down our deployment pipeline too much.

Lu: The authors admit that while they show large gains—like a thirty-five point improvement on Tip-Adapter accuracy in sixteen shot settings under severe imbalance—the method doesn't solve every problem out there. It’s a targeted fix for prototype geometry, not a universal solution for all few-shot learning challenges.

Tom: True. The paper highlights that while PRiSM is effective against class imbalance, it still leaves room for other issues we need to address down the line in the future work section.

Conclusion: Tom: So we’ve covered how PRiSM fixes prototype bias in few-shot vision language models by using a multi-term loss function optimized by an efficient block Majorize-Minimize optimizer to handle class imbalance and high class numbers.

Jane: That’s right, and the big picture is that it gives us a plug-and-play way to stabilize those initial learned representations without needing perfect data splits for every single task.

Lu: The paper’s main implication is that we don't have to rely on unrealistic assumptions about how class distributions look in real life when we are training these models with limited labels.

Meng: From a deployment standpoint, it means the model should be more robust when it encounters real-world data that isn't perfectly clean or balanced right out of the box. It’s less likely to fail suddenly because of a skewed initial batch.

Lalam: I’m confident in this direction. The result shows that this regularization systematically elevates the performance of diverse approaches by rectifying that prototype bias, and I am sure it is sound evidence for its effectiveness in these challenging settings.

Jane: It really shows how important it is to move away from those overly simplified benchmarks we used before when we try to build tools for actual deployment.

Tom: The full title of the paper is PRiSM: Prototype Regularization for Few-Shot VLMs, and it’s a solid contribution because it grounds the math in a way that actually works under realistic conditions.

Lu: It sets a good precedent for how we can think about correcting representation learning issues across different types of few-shot problems.

Meng: I just hope we see this kind of robust regularization applied to more complex, multi-modal tasks soon, because right now, my concern is always about what breaks at scale.

Jane: Well, the next thing we’re looking at is how other methods handle these kinds of real-world data distributions when they try to adapt on their own.

ÉTS Montreal

cs.CV

Submitted: 2026-07-20

Updated: 2026-12-01

License: http://creativecommons.org/licenses/by/4.0/

Importance score: 91/100

The gist: Training-free few-shot adaptation methods can suffer from performance degradation under realistic conditions like class imbalance and high class numbers…

Key concepts

Realistic Benchmarking
The paper challenges standard few-shot benchmarks by using Dirichlet sampling. This creates tasks where both the class balance and the effective number of classes vary randomly. This reveals that many existing methods fail when faced with these complex, real-world scenarios.
PRiSM Framework
PRiSM is a regularization method designed to fix poor class prototypes. It minimizes a novel loss function that balances three goals: aligning new features with existing class means, keeping prototypes faithful to the original model's knowledge, and ensuring distinct separation between different classes.
Block Majorize-Minimize Optimizer
This is an efficient optimization strategy used to train PRiSM. It uses a derived Lipschitz constant from the Gershgorin circle theorem to set implicit step sizes for updates. This avoids the need for extensive validation searches, making the training process computationally faster and more stable.
Parameter-Efficient Adaptation (LoRA)
To adapt vision encoders efficiently, PRiSM uses LoRA. This technique introduces only a small set of trainable low-rank updates within selected layers of the pre-trained vision model. This keeps the adaptation lightweight, reducing trainable parameters while preserving the model's original strong visual knowledge.

Terminology

Summary

Training-free few-shot adaptation methods can suffer from performance degradation under realistic conditions like class imbalance and high class numbers, which this paper addresses by introducing PRiSM. p. 2

Where the paper says it

• We report extensive experiments showing that PRiSM can improve the performance of few-shot baselines, including state-of-the-art methods, with large gains when dealing with severe class imbalance and high numbers of classes. 2 Toward Realistic Few-Shot Adaptation Let us define a few-shot adaptation task from a downstream dataset with label space Y = {1, 2, .

<ref:2607.17820#pg1, "We question these simplifying assumptions and introduce a more realistic benchmark that varies both the levels of class balance and the effective number of classes in few-shot tasks via Dirichlet sampling">. p. 0
Where the paper says it

, class balance. We question these simplifying assumptions and introduce a more realistic benchmark that varies both the levels of class balance and the effective number of classes in few-shot tasks via Dirichlet sampling.

Realistic Benchmarking

The paper questions the strong assumptions made in current few-shot benchmarks by introducing a benchmark that varies both class balance and the effective number of classes using Dirichlet sampling.<ref:2607.17820#pg2, "We question these simplifying assumptions and introduce a more realistic benchmark that varies both the levels of class balance and the effective number of classes in few-shot tasks via Dirichlet sampling">. p. 0

Where the paper says it

, class balance. We question these simplifying assumptions and introduce a more realistic benchmark that varies both the levels of class balance and the effective number of classes in few-shot tasks via Dirichlet sampling.

The authors observe substantial drops in performance for state-of-the-art methods when the number of labeled samples increases under this setting. p. 0
Where the paper says it

We question these simplifying assumptions and introduce a more realistic benchmark that varies both the levels of class balance and the effective number of classes in few-shot tasks via Dirichlet sampling. Surprisingly, under our setting, we observe substantial drops in the performances of state-of-the-art methods, more so when the number of labeled samples increases.

<ref:2607.17820#pg3, "Surprisingly, under our setting, we observe substantial drops in the performances of state-of-the-art methods, more so when the number of labeled samples increases">. p. 0
Where the paper says it

We question these simplifying assumptions and introduce a more realistic benchmark that varies both the levels of class balance and the effective number of classes in few-shot tasks via Dirichlet sampling. Surprisingly, under our setting, we observe substantial drops in the performances of state-of-the-art methods, more so when the number of labeled samples increases.

PRiSM Framework

PRiSM is introduced as a classprototype regularization framework designed to explicitly correct biased and poorly separated class prototypes under realistic few-shot conditions.<ref:2607.17820#pg3>. The method optimizes a novel multi-term loss that includes support-feature alignment, fidelity to the baseline prototypes, and pairwise inter-class separation. p. 0

Where the paper says it

To mitigate this, we introduce PRiSM, a classprototype regularization that can be deployed as a plug and play module on top of any existing baseline method, significantly improving performances. Our method optimizes a novel multi-term loss, which includes a regularizer maximizing interclass pairwise distances, along with additional terms promoting support-feature alignment and fidelity to the baseline prototypes.

<ref:2607.17820#pg3, "Our method optimizes a novel multi-term loss, which includes a regularizer maximizing interclass pairwise distances, along with additional terms promoting support-feature alignment and fidelity to the baseline prototypes">. p. 0
Where the paper says it

To mitigate this, we introduce PRiSM, a classprototype regularization that can be deployed as a plug and play module on top of any existing baseline method, significantly improving performances. Our method optimizes a novel multi-term loss, which includes a regularizer maximizing interclass pairwise distances, along with additional terms promoting support-feature alignment and fidelity to the baseline prototypes.

Optimization Strategy

The optimization relies on an effective and computationally efficient block Majorize-Minimize optimizer for the objective.<ref:2607.17820#pg3, "Furthermore, we introduce an effective and computationally efficient block Majorize-Minimize optimizer for our objective">. p. 0

Where the paper says it

Our method optimizes a novel multi-term loss, which includes a regularizer maximizing interclass pairwise distances, along with additional terms promoting support-feature alignment and fidelity to the baseline prototypes. Furthermore, we introduce an effective and computationally efficient block Majorize-Minimize optimizer for our objective.

This optimizer utilizes a derived valid blockwise Lipschitz constant to provide implicit step sizes that guarantee the objective does not increase. p. 4
Where the paper says it

(4) yields gradient-type updates with implicit step sizes 1/ρ, which guarantee that the objective decreases by at least 1 2ρ ∥∇L(wj )∥ 2 at each iteration, a result known as the Descent Lemma. One valid Lipschitz constant would be the maximum singular value of the Hessian of Eq.

<ref:2607.17820#pg5, "Hence, in the MM framework, step sizes are implicit, unlike standard gradient-descent updates, in which the learning rates are heavily searched using validation data">. p. 4
Where the paper says it

Hence, iterative step wj+1 = minw M(w, wj ) guarantees that the original objective does not increase: L(wj+1) ≤ M(wj+1 , wj ) ≤ M(wj , wj ) = L(wj ). Hence, in the MM framework, step sizes are implicit, unlike standard gradient-descent updates, in which the learning rates are heavily searched using validation data and running the optimizer multiple times.

The optimization alternates between class prototype updates and a lightweight parameter-efficient finetuning of the vision encoder. p. 1
Where the paper says it

Concretely, PRiSM regularizes the classifier prototypes by optimizing a novel loss that combines support-feature alignment, fidelity to the baseline prototypes and pairwise inter-class separation. We optimize our loss with an efficient block majorize–minimize algorithm, alternating between class prototype updates and a lightweight parameter-efficient finetuning of the vision encoder.

<ref:2607.17820#pg3>.

Experimental Results

Extensive experiments show that PRiSM improves several training-free baselines, with large gains when dealing with severe class imbalance and high numbers of classes.<ref:2607.17820#pg3, "Extensive experiments show that PRiSM improves several training-free baselines, with large gains when dealing with severe class imbalance and high numbers of classes">. p. 0

Where the paper says it

, a bound on the Hessian’s spectral norm), which can be computed efficiently via the Gershgorin circle theorem. Extensive experiments show that PRiSM improves several training-free baselines, with large gains when dealing with severe class imbalance and high numbers of classes.

Specifically, under severe imbalance, PRiSM can improve the mean accuracy of Tip-Adapter by +35. p. 6
Where the paper says it

to substantial recovery in performance under severe imbalance. For example, PRiSM improves the mean accuracy of Tip-Adapter by +23.

05 in 16-shot settings. p. 1
Where the paper says it

Consequently, competitive performance often requires careful hyperparameter selection, typically through grid search on validation data, while hyperparameters tuned for one task rarely transfer reliably to another, requiring repeated calibration for each new dataset, shot number or adaptation scenario. This model-selection procedure is often unrealistic in genuine few-shot settings.

<ref:2607.17820#pg7, "For instance, PRiSM improves the mean accuracy of Tip-Adapter by +35. p. 6
Where the paper says it

to substantial recovery in performance under severe imbalance. For example, PRiSM improves the mean accuracy of Tip-Adapter by +23.

05 in 16-shot (33. p. 0
Where the paper says it

PRiSM: Prototype Regularization for Few-Shot VLMs Ghassen Baklouti∗ ÉTS Montreal Omprakash Chakraborty ÉTS Montreal Jose Dolz ÉTS Montreal Ismail Ben Ayed ÉTS Montreal Abstract Training-free few-shot adaptation methods have gained significant attention recently in the context of Vision-language Models (VLMs). Yet, current benchmarks rely on strong assumptions about the statistics of the adaptation data, e.

25 → 68.30), effectively reversing the degradation trend">. p. 6
Where the paper says it

05 in 16-shot (33. 30), effectively reversing the degradation trend.

Conclusion

PRiSM provides a simple yet effective plug-and-play correction that regularizes prototype geometry, preserving semantic fidelity while preventing collapse toward dominant classes.<ref:2607.17820#pg9>. The method is optimized via an efficient block majorize–minimize algorithm with theoretically grounded Lipschitz-gradient bound, ensuring both effectiveness and scalability. p. 8

Where the paper says it

To address this limitation, we propose PRiSM, a plug-and-play class-prototype regularization that consistently improves performance across diverse settings. PRiSM is optimized via an efficient block majorize–minimize algorithm with theoretically grounded Lipschitz-gradient bound, ensuring both effectiveness and scalability.

<ref:2607.17820#pg5>. The authors hope that their benchmark and method will encourage more realistic evaluations and foster the development of adaptation techniques better suited to real-world deployment. p. 8
Where the paper says it

Extensive experiments demonstrate that PRiSM substantially enhances robustness in challenging few-shot regimes. We hope that our benchmark and method will encourage more realistic evaluations and foster the development of adaptation techniques better suited to real-world deployment.

p. 8
Where the paper says it

Extensive experiments demonstrate that PRiSM substantially enhances robustness in challenging few-shot regimes. We hope that our benchmark and method will encourage more realistic evaluations and foster the development of adaptation techniques better suited to real-world deployment.

p. 8
Where the paper says it

Extensive experiments demonstrate that PRiSM substantially enhances robustness in challenging few-shot regimes. We hope that our benchmark and method will encourage more realistic evaluations and foster the development of adaptation techniques better suited to real-world deployment.

<ref:2607.17820#pg9, "We hope that our benchmark and method will encourage more realistic evaluations and foster the development of adaptation techniques better suited to real-world deployment">. p. 8
Where the paper says it

Extensive experiments demonstrate that PRiSM substantially enhances robustness in challenging few-shot regimes. We hope that our benchmark and method will encourage more realistic evaluations and foster the development of adaptation techniques better suited to real-world deployment.

p. 8
Where the paper says it

Extensive experiments demonstrate that PRiSM substantially enhances robustness in challenging few-shot regimes. We hope that our benchmark and method will encourage more realistic evaluations and foster the development of adaptation techniques better suited to real-world deployment.

p. 8
Where the paper says it

Extensive experiments demonstrate that PRiSM substantially enhances robustness in challenging few-shot regimes. We hope that our benchmark and method will encourage more realistic evaluations and foster the development of adaptation techniques better suited to real-world deployment.

The final results highlight that prototype bias induced by imbalance acts as a common failure mode across methods, and rectifying it can systematically elevate the performance of diverse approaches. p. 1
Where the paper says it

This suggests that the primary bottleneck is not necessarily the adaptation mechanism itself, but the quality of the underlying prototypes. More broadly, this finding indicates that prototype bias induced by imbalance acts as a common failure mode across methods, and rectifying it can systematically elevate the performance of diverse approaches.

<ref:2607.17820#pg3>. The paper concludes by revisiting training-free few-shot adaptation by relaxing unrealistic assumptions on class balance and task composition. p. 8
Where the paper says it

The dotted vertical lines show the Lipschitz-based learning rate. 5 Conclusion We revisited the evaluation of training-free few-shot adaptation for vision–language models by relaxing unrealistic assumptions on class balance and task composition.

<ref:2607.17820#pg5>. The authors hope that their benchmark and method will encourage more realistic evaluations and foster the development of adaptation techniques better suited to real-world deployment.<ref:2607.17820#pg9, "We hope that our benchmark and method will encourage more realistic evaluations and foster the development of adaptation techniques better suited to real-world deployment">. The paper concludes by revisiting training-free few-shot adaptation for vision–language models by relaxing unrealistic assumptions on class balance and task composition. p. 8
Where the paper says it

The dotted vertical lines show the Lipschitz-based learning rate. 5 Conclusion We revisited the evaluation of training-free few-shot adaptation for vision–language models by relaxing unrealistic assumptions on class balance and task composition.

<ref:2607.17820#pg5>. The authors hope that their benchmark and method will encourage more realistic evaluations and foster the development of adaptation techniques better suited to real-world deployment.<ref:2607.17820#pg9, "We hope that our benchmark and method will encourage more realistic evaluations and foster the development of adaptation techniques better suited to real-world deployment">.

Mathematical Derivations

The objective function for learning rectified prototypes is defined as L(w, ϕ).<ref:2607.17820#pg4, "We propose to minimize the following objective to learn rectified prototypes">. p. 3

Where the paper says it

For each class c, let µc(ϕ) = 1 nc P n yn,cfϕ(xn) denote the mean of vision features within the class, where nc is the number of class’ samples and yn,c ∈ {0, 1} is a binary-indicator function for the support-set samples: yn,c = 1 when c is the class of the ith support sample and yn,c = 0 otherwise. We propose to minimize the following objective to learn rectified prototypes: L(w, ϕ) = β X c ∥wc − µc(ϕ)∥ 2 2 + γ X c ∥wc − ac∥ 2 2 − λ 2(C − 1) X c#c ′ ∥wc − wc ′∥ 2 2 (2) where ∥.

This loss combines alignment between each rectified prototype and the corresponding class’ visual mean, anchoring the rectification to the baseline-method classifier, and a pairwise regularizer driving inter-class separation. p. 3
Where the paper says it

The second anchors our prototype rectification to the baseline-method classifier, discouraging wc from deviating substantially from ac. The last term is the pairwise regularizer driving our prototype rectification: It encourages inter-class separation by pushing away each pair of class prototypes, reducing their interference under our realistic settings.

<ref:2607.17820#pg4, "The first term in Eq. p. 3
Where the paper says it

∥2 denotes the standard l2 norm. The first term in Eq.

(2) encourages alignment between each rectified prototype and the corresponding class’ visual mean, promoting consistency with the supportset distribution">. p. 3
Where the paper says it

The first term in Eq. (2) encourages alignment between each rectified prototype and the corresponding class’ visual mean, promoting consistency with the supportset distribution.

The pairwise regularizer is concave with respect to the class prototypes, which makes the overall objective non-convex. p. 4
Where the paper says it

concave with respect to the class prototypes, which makes the overall objective non-convex2 with respect to w. Non-negative scalars β, γ, and λ control the relative strength of each term.

<ref:2607.17820#pg4, "Note that this regularizer is concave with respect to the class prototypes, which makes the overall objective non-convex">. p. 4
Where the paper says it

concave with respect to the class prototypes, which makes the overall objective non-convex2 with respect to w. Non-negative scalars β, γ, and λ control the relative strength of each term.

Lipschitz Bound Derivation

A valid blockwise Lipschitz constant is derived using the Gershgorin circle theorem to bound the spectral norm of the Hessian matrix.<ref:2607.17820#pg12, "From (6) and (7), it follows that every eigenvalue s of R satisfies: |s| ≤ | β + γ − λ| + λ">. p. 3

Where the paper says it

The resulting class-wise sample counts can vary substantially across both sets and some classes may even be absent in a query set for a given task. However, to ensure that the task remains a valid few-shot adaptation problem, we enforce that every class in Yeff appears at least once in Dadapt.

This leads to an explicit upper bound on the spectral norm of the Hessian, which is used to derive a valid Lipschitz constant. p. 4
Where the paper says it

However, a spectral decomposition of Φ, a dC × dC matrix, could be computationally intensive for large numbers of classes. In the following proposition, we derive an explicit upper bound on 2∥Φ∥2, which provides a valid Lipschitz constant.

<ref:2607.17820#pg12, "Therefore: ρ = 2(| β + γ − λ| + λ) ≥ 2∥R∥2">. p. 3
Where the paper says it

As discussed earlier, realistic few-shot settings often exhibit severe class imbalance, causing the support set to provide uneven evidence across the classes. Therefore, some initial prototypes might be less reliable than others: the minority-class prototypes might be weakly aligned with their visual samples, while the majority classes may dominate the classifier decisions, particularly when the support and query (test) distributions differ.

This bound allows for gradient-type updates with implicit step sizes of 1/ρ, which guarantee descent by at least 1/2ρ ∇L(wj)2 <ref:2607. p. 4
Where the paper says it

(4) Minimizing the majorizing function Mw in Eq. (4) yields gradient-type updates with implicit step sizes 1/ρ, which guarantee that the objective decreases by at least 1 2ρ ∥∇L(wj )∥ 2 at each iteration, a result known as the Descent Lemma.

17820#pg5, "Minimizing the majorizing function Mw in Eq. p. 4
Where the paper says it

From this inequality, we obtain a majorizing function for Lw at iteration j: Lw(w) ≤ Mw(w, wj ) = Lw(wj ) + ∇Lw(wj ) ⊤(w − wj ) + ρ 2 ∥w − wj ∥ 2 2 . (4) Minimizing the majorizing function Mw in Eq.

(4) yields gradient-type updates with implicit step sizes 1/ρ">. p. 4
Where the paper says it

(4) Minimizing the majorizing function Mw in Eq. (4) yields gradient-type updates with implicit step sizes 1/ρ, which guarantee that the objective decreases by at least 1 2ρ ∥∇L(wj )∥ 2 at each iteration, a result known as the Descent Lemma.

Parameter Efficiency

For the vision encoder block, the authors restrict trainable parameters to a parameter-efficient subset using LoRA.<ref:2607.17820#pg6, Specifically, we use LoRA [10] to introduce a small set of trainable low-rank updates in selected layers of fϕ(.)>. This parameter-efficient design reduces the number of trainable parameters while maintaining the expressive power of the pretrained vision encoder. p. 5

Where the paper says it

Only P and L are optimized, while T0 remains fixed. This parameter-efficient design reduces the number of trainable parameters while maintaining the expressive power of the pretrained vision encoder.

<ref:2607.17820#pg6, "This parameter-efficient design reduces the number of trainable parameters while maintaining the expressive power of the pretrained vision encoder">. p. 5
Where the paper says it

Only P and L are optimized, while T0 remains fixed. This parameter-efficient design reduces the number of trainable parameters while maintaining the expressive power of the pretrained vision encoder.

The complete procedure alternates between prototype rectification and feature adaptation using a block Majorize-Minimize (MM) procedure. p. 4
Where the paper says it

2 involves two blocks of variables: the corrected prototypes w and the vision encoder parameters ϕ. We optimize these variables using a block Majorize-Minimize (MM) procedure, which alternates two MM sub-steps: prototype rectification and feature adaptation.

<ref:2607.17820#pg3>. The optimization involves alternating two MM sub-steps: prototype rectification and feature adaptation. p. 4
Where the paper says it

2 involves two blocks of variables: the corrected prototypes w and the vision encoder parameters ϕ. We optimize these variables using a block Majorize-Minimize (MM) procedure, which alternates two MM sub-steps: prototype rectification and feature adaptation.

<ref:2607.17820#pg3>.

Green — the paper says it, and the page is printed. Red — no passage carries it, so treat that sentence as unverified. The same check runs on your own text: check a summary against its source, $5.

Improvements for AI systems

  1. Prototype Rectification Module Implementation The PRiSM module can be deployed as a plug-and-play component on top of any existing baseline method to significantly improve performance by optimizing a novel multi-term loss that includes support feature alignment, fidelity to baseline prototypes, and pairwise interclass separation.

  2. Robust Evaluation Under Realistic Conditions The system can be evaluated under realistic few-shot settings by utilizing a Dirichlet sampling benchmark that varies both the effective number of classes and the level of class imbalance, exposing critical limitations in standard class-balanced evaluation protocols.

  3. Handling Class Imbalance Degradation The AI system will be resilient to severe class imbalance, where increasing the number of shots does not necessarily improve performance; instead, PRiSM rectifies biased prototypes that result from majority-class dominance.

  4. Scalable Optimization via Block Majorize-Minimize The prototype rectification process can be optimized using an effective and computationally efficient block Majorize-Minimize optimizer that derives a valid blockwise Lipschitz constant via the Gershgorin circle theorem, allowing for implicit step sizes and avoiding intensive validation searches.

  5. Parameter Efficient Encoder Adaptation The system can adapt to new tasks by utilizing LoRA to introduce a small set of trainable low-rank updates in selected layers of the vision encoder, reducing the number of trainable parameters while maintaining expressive power.

Abstract

Few-shot adaptation methods have gained significant attention recently in the context of Vision-language Models (VLMs). Yet, current benchmarks rely on strong assumptions about the statistics of the adaptation data, e.g., class balance. We question these simplifying assumptions and introduce a more realistic benchmark that varies both the levels of class balance and the effective number of classes in few-shot tasks via Dirichlet sampling. Surprisingly, under our setting, we observe substantial drops in the performances of state-of-the-art methods, more so when the number of labeled samples increases. To mitigate this, we introduce PRiSM, a class-prototype regularization that can be deployed as a plug and play module on top of any existing baseline method, significantly improving performances. Our method optimizes a novel multi-term loss, which includes a regularizer maximizing inter-class pairwise distances, along with additional terms promoting support-feature alignment and fidelity to the baseline prototypes. Furthermore, we introduce an effective and computationally efficient block Majorize-Minimize optimizer for our objective. More specifically, we derive a valid blockwise Lipschitz constant (i.e., a bound on the Hessian's spectral norm), which can be computed efficiently via the Gershgorin circle theorem. Extensive experiments show that PRiSM improves several baselines, with large gains when dealing with severe class imbalance and high numbers of classes.

Sources

Related papers