arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.00796cs.CV
收藏

受限模型访问下的任务特定适应

Task-Specific Adaptation with Restricted Model Access

The Hebrew University of Jerusalem(耶路撒冷希伯来大学);Bar-Ilan University(巴伊兰大学)

Matan Levy, Rami Ben-Ari, Dvir Samuel, Nir Darshan, Dani Lischinski

AI总结:

针对微调需访问模型权重引发的隐私与效率问题,提出仅允许梯度传播的“灰盒”微调框架,通过在模型输入输出处添加轻量级可学习模块适应新任务,在多个对齐基准上取得与全访问微调相当的性能。

摘要:

基础模型的出现极大提升了各种下游任务的性能,微调通常能带来更好的结果。然而,现有的微调方法通常需要访问模型权重和层,导致诸多挑战,如管理多个模型副本或推理流程、边缘设备优化效率低下,以及对专有权、隐私和暴露于不安全模型变体的担忧。在本文中,我们通过探索“灰盒”微调方法来解决这些挑战,其中模型架构和权重保持隐藏,仅允许梯度传播。我们引入了一种新颖、简单且有效的框架,利用模型输入和输出处的两个轻量级可学习模块来适应新任务。此外,我们提出了一种限制更少的变体,提供更多进入模型的入口点,在性能与模型暴露之间取得平衡。我们在文本-图像对齐、文本-视频对齐和草图-图像对齐等基准上,对多个骨干网络评估了我们的方法。结果表明,尽管对模型的访问受限,我们的灰盒方法仍可与全访问微调方法相媲美。

英文摘要:

The emergence of foundational models has greatly improved performance across various downstream tasks, with fine-tuning often yielding even better results. However, existing fine-tuning approaches typically require access to model weights and layers, leading to challenges such as managing multiple model copies or inference pipelines, inefficiencies in edge device optimization, and concerns over proprietary rights, privacy, and exposure to unsafe model variants. In this paper, we address these challenges by exploring "Gray-box" fine-tuning approaches, where the model's architecture and weights remain hidden, allowing only gradient propagation. We introduce a novel yet simple and effective framework that adapts to new tasks using two lightweight learnable modules at the model's input and output. Additionally, we present a less restrictive variant that offers more entry points into the model, balancing performance with model exposure. We evaluate our approaches across several backbones on benchmarks such as text-image alignment, text-video alignment, and sketch-image alignment. Results show that our Gray-box approaches are competitive with full-access fine-tuning methods, despite having limited access to the model.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑