EvoVLMA:进化式视觉-语言模型适配
EvoVLMA: Evolutionary Vision-Language Model Adaptation
AI总结:
提出进化式视觉-语言模型适配方法EvoVLMA,利用LLM辅助的两阶段进化算法自动搜索免训练适配算法,通过分而治之优化特征选择与logits计算,提升少样本图像分类准确率。
摘要:
预训练的视觉-语言模型(VLM)已通过模型适配(如提示调优和适配器)被广泛应用于各种计算机视觉任务(如少样本识别)。然而,现有的适配方法由人类专家设计,需要大量的时间成本和经验。受基于大型语言模型(LLM)的代码生成最新进展的启发,我们提出了一种进化式视觉-语言模型适配(EvoVLMA)方法,用于自动搜索免训练的VLM高效适配算法。我们将特征选择和logits计算识别为免训练VLM适配中的关键功能,并提出一种两阶段LLM辅助进化算法,以顺序方式优化这些部分,通过分而治之的策略有效应对广阔搜索空间带来的挑战。此外,为增强搜索过程的稳定性和效率,我们提出了低精度代码转换、基于Web的代码执行和过程监控,从而构建了一个高效自动算法设计系统。大量实验表明,与先前手动设计的算法相比,EvoVLMA发现的算法能获得有前景的结果。更具体地,在8-shot图像分类设置中,经典APE算法的识别准确率可提升1.91个百分点。这项研究为自动化优化预训练多模态模型的适配算法开辟了新的可能性。代码可在 https://github.com/kding1225/EvoVLMA 获取。
英文摘要:
Pre-trained Vision-Language Models (VLMs) have been exploited in various Computer Vision tasks (e.g., few-shot recognition) via model adaptation, such as prompt tuning and adapters. However, existing adaptation methods are designed by human experts, requiring significant time cost and experience. Inspired by recent advances in Large Language Models (LLMs) based code generation, we propose an Evolutionary Vision-Language Model Adaptation (EvoVLMA) method to automatically search training-free efficient adaptation algorithms for VLMs. We recognize feature selection and logits computation as the key functions in training-free VLM adaptation, and propose a two-stage LLM-assisted evolutionary algorithm for optimizing these parts in a sequential manner, effectively addressing the challenge posed by the expansive search space through a divide-and-conquer strategy. Besides, to enhance the stability and efficiency of searching process, we propose low-precision code conversion, web based code execution and process monitoring, leading to a highly effective automatic algorithm design system. Extensive experiments demonstrate that the algorithms found by EvoVLMA can obtain promising results compared to previous manually-designed ones. More specifically, in the 8-shot image classification setting, the classical APE algorithm can be improved by 1.91 points in recognition accuracy. This research opens new possibilities for automating the optimization of adaptation algorithms of pre-trained multimodal models. Code is available at: https://github.com/kding1225/EvoVLMA
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。