2025-03-21 · 进阶 · 机器学习 · 计算机视觉

CLS-RL: Image Classification with Rule-Based Reinforcement Learning

该论文提出了一种基于规则强化学习的图像分类方法CLS-RL,通过使用可验证的奖励信号和格式奖励来微调多模态大型语言模型,显著提高了分类性能,并发现了一种“免费午餐”现象,即模型在特定数据集上微调后,在其他数据集上的性能也得到提升。

更新于 2026-11-16。作者:Ming Li、Shitian Zhao、Jike Zhong、Yuxiang Lai、Kaipeng Zhang。

中文摘要

分类是机器学习中的核心任务。近期的研究表明,尽管多模态大型语言模型(MLLMs)在图像分类方面起初表现不佳,但通过使用适量的数据进行微调,可以显著提升其性能,使其与最先进的分类模型相媲美。然而,获取大规模标注数据成本高昂。在本文中,我们探讨了小样本MLLM分类微调。我们发现,微调(SFT)可能导致严重的过拟合问题,甚至可能比零样本方法降低性能。为了应对这一挑战,受最近基于规则的强化学习成功案例的启发,我们提出了CLS-RL,它使用可验证的信号作为奖励来微调MLLMs。我们发现,CLS-RL在大多数数据集上优于SFT,并在基于基础模型到新模型以及小样本学习设置上均实现了更高的平均准确率。此外,我们还观察到CLS-RL存在免费午餐现象;当模型在一个特定数据集上进行微调时,它们在其他不同数据集上的性能也可能比零样本模型有所提升,即使这些数据集在分布和类别名称上有所不同。这表明基于RL的方法有效地教会了模型分类的基础知识。最后,受近期关于推理时间思考的研究启发,我们重新审视了在视觉分类背景下微调过程中的“思考过程”,这是基于RL方法的一个关键方面。我们质疑这类任务在微调过程中是否需要大量的思考过程,并提出这可能实际上会降低性能。基于这一前提,我们引入了无思考CLS-RL方法,通过设置等精度奖励来最小化训练过程中的思考过程。我们的发现表明,与CLS-RL相比,无思考CLS-RL方法在域内性能和泛化能力上实现了更优,且所需微调时间更短。

英文摘要

Classification is a core task in machine learning. Recent research has shown that although Multimodal Large Language Models (MLLMs) are initially poor at image classification, fine-tuning them with an adequate amount of data can significantly enhance their performance, making them comparable to SOTA classification models. However, acquiring large-scale labeled data is expensive. In this paper, we explore few-shot MLLM classification fine-tuning. We found that SFT can cause severe overfitting issues and may even degrade performance over the zero-shot approach. To address this challenge, inspired by the recent successes in rule-based reinforcement learning, we propose CLS-RL, which uses verifiable signals as reward to fine-tune MLLMs. We discovered that CLS-RL outperforms SFT in most datasets and has a much higher average accuracy on both base-to-new and few-shot learning setting. Moreover, we observed a free-lunch phenomenon for CLS-RL; when models are fine-tuned on a particular dataset, their performance on other distinct datasets may also improve over zero-shot models, even if those datasets differ in distribution and class names. This suggests that RL-based methods effectively teach models the fundamentals of classification. Lastly, inspired by recent works in inference time thinking, we re-examine the `thinking process' during fine-tuning, a critical aspect of RL-based methods, in the context of visual classification. We question whether such tasks require extensive thinking process during fine-tuning, proposing that this may actually detract from performance. Based on this premise, we introduce the No-Thinking-CLS-RL method, which minimizes thinking processes during training by setting an equality accuracy reward. Our findings indicate that, with much less fine-tuning time, No-Thinking-CLS-RL method achieves superior in-domain performance and generalization capabilities than CLS-RL.

解读

一句话总结

该论文提出了一种基于规则强化学习的图像分类方法CLS-RL,通过使用可验证的奖励信号和格式奖励来微调多模态大型语言模型,显著提高了分类性能,并发现了一种“免费午餐”现象,即模型在特定数据集上微调后,在其他数据集上的性能也得到提升。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源