Task-Specific Adaptation with Restricted Model Access

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Levy, Matan, Ben-Ari, Rami, Samuel, Dvir, Darshan, Nir, Lischinski, Dani
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866909472922796032
author Levy, Matan
Ben-Ari, Rami
Samuel, Dvir
Darshan, Nir
Lischinski, Dani
author_facet Levy, Matan
Ben-Ari, Rami
Samuel, Dvir
Darshan, Nir
Lischinski, Dani
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2502_00796
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Task-Specific Adaptation with Restricted Model Access
Levy, Matan
Ben-Ari, Rami
Samuel, Dvir
Darshan, Nir
Lischinski, Dani
Computer Vision and Pattern Recognition
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.
title Task-Specific Adaptation with Restricted Model Access
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2502.00796