2025-02-14 · 进阶 · 计算机视觉 · 机器学习

Can this Model Also Recognize Dogs? Zero-Shot Model Search from Weights

本文提出了一种基于探针的模型搜索方法,即ProbeLog,通过观察模型对一组固定输入的响应来计算每个输出维度的描述符,从而实现对具有特定功能的模型的检索。

更新于 2025-02-14。作者:Jonathan Kahana、Or Nathan、Eliahu Horwitz、Yedid Hoshen。

中文摘要

随着公开可用模型的数量不断增加,用户所需的多数任务可能都有预训练的在线模型。然而,当前的模型搜索方法较为原始,本质上是在文档中进行基于文本的搜索,因此用户无法找到相关模型。本文提出了一种名为ProbeLog的方法,用于检索能够识别目标概念(如“狗”)的分类模型,而不需要访问模型元数据或训练数据。与之前的方法不同,ProbeLog通过观察模型在固定输入集(探测)上的响应,为每个模型的每个输出维度(logit)计算一个描述符。我们的方法支持基于logit的检索(“找到更多类似的logit”)和零样本、基于文本的检索(“找到所有对应于狗的logit”)。由于基于探测的表示需要通过模型进行多次昂贵的正向传播,我们开发了一种基于协同过滤的方法,将编码存储库的成本降低了3倍。我们证明,ProbeLog在现实世界和细粒度搜索任务中都能实现高检索精度,并且可扩展到大型存储库。

英文摘要

With the increasing numbers of publicly available models, there are probably pretrained, online models for most tasks users require. However, current model search methods are rudimentary, essentially a text-based search in the documentation, thus users cannot find the relevant models. This paper presents ProbeLog, a method for retrieving classification models that can recognize a target concept, such as "Dog", without access to model metadata or training data. Differently from previous probing methods, ProbeLog computes a descriptor for each output dimension (logit) of each model, by observing its responses on a fixed set of inputs (probes). Our method supports both logit-based retrieval ("find more logits like this") and zero-shot, text-based retrieval ("find all logits corresponding to dogs"). As probing-based representations require multiple costly feedforward passes through the model, we develop a method, based on collaborative filtering, that reduces the cost of encoding repositories by 3x. We demonstrate that ProbeLog achieves high retrieval accuracy, both in real-world and fine-grained search tasks and is scalable to full-size repositories.

解读

一句话总结

本文提出了一种基于探针的模型搜索方法,即ProbeLog,通过观察模型对一组固定输入的响应来计算每个输出维度的描述符,从而实现对具有特定功能的模型的检索。

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

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

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

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

来源

机器可读索引:llms.txt