Gray-Box Fine-Tuning for Single Backbone Domain Experts

Matan Levy, Rami Ben-Ari, Dvir Samuel, Nir Darshan, Dani LischinskiOpenReview 2025 · Submission to ICLR 2025 · Rejected

Abstract

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 for text-image alignment, text-video alignment, and sketch-image alignment. Our results demonstrate that, despite having limited access to the model, our Gray-box approaches achieve competitive performance with full-access fine-tuning methods.
BibTeX
@misc{levy2025gray,
  author = {Matan Levy and Rami Ben-Ari and Dvir Samuel and Nir Darshan and Dani Lischinski},
  title = {{Gray-Box Fine-Tuning for Single Backbone Domain Experts}},
  year = {2025},
  url = {https://openreview.net/forum?id=j7oTk2nEoN},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2025},
}
Figure