Lune

AAAI2025Top-tier venue

Know2Vec: A Black-Box Proxy for Neural Network Retrieval

Zhuoyi Shang, Yanwei Liu, Jinxia Liu, Xiaoyan Gu, Ying Ding, Xiangyang Ji

Abstract

For general users, training a neural network from scratch is usually challenging and labor-intensive. Fortunately, neural network zoos enable them to find a well-performing model for directly use or fine-tuning it in their local environments. Although current model retrieval solutions attempt to convert neural network models into vectors to avoid complex multiple inference processes required for model selection, it is still difficult to choose a suitable model due to inaccurate vectorization and biased correlation alignment between the query dataset and models. From the perspective of knowledge consistency, i.e., whether the knowledge possessed by the model can meet the needs of query tasks, we propose a model retrieval scheme, named Know2Vec, that acts as a black-box retrieval proxy for model zoo. Know2Vec first accesses to models via a black-box interface in advance, capturing vital decision knowledge from models while ensuring their privacy. Next, it employs an effective encoding technique to transform the knowledge into precise model vectors. Secondly, it maps the user's query task to a knowledge vector by probing the semantic relationships within query samples. Furthermore, the proxy ensures the knowledge-consistency between query vector and model vectors within their alignment space, which is optimized through the supervised learning with diverse loss functions, and finally it can identify the most suitable model for a given task during the inference stage. Extensive experiments show that our Know2Vec achieves superior retrieval accuracy against the state-of-the-art methods in diverse neural network retrieval tasks.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Attesting Model Lineage by Consisted Knowledge Evolution with Fine-Tuning Trajectory cites Improved deterministic l2 robustness on CIFAR-10 and CIFAR-100
  • LogME: Practical Assessment of Pre-trained Models for Transfer Learning cites LEEP: A New Measure to Evaluate Transferability of Learned Representations
  • LogME: Practical Assessment of Pre-trained Models for Transfer Learning cites Transferability and Hardness of Supervised Classification Tasks
  • LEEP: A New Measure to Evaluate Transferability of Learned Representations cites Transferability and Hardness of Supervised Classification Tasks
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Attesting Model Lineage by Consisted Knowledge Evolution with Fine-Tuning TrajectoryZhuoyi Shang, Jiasen Li, Pengzhen Chen, Yanwei Liu et al.USENIX Security 2026 · 4 citations

Builds on6

  1. LEEP: A New Measure to Evaluate Transferability of Learned RepresentationsCuong V. Nguyen, Tal Hassner, Matthias W. Seeger, Cédric ArchambeauICML 2020 · 279 citations
  2. LogME: Practical Assessment of Pre-trained Models for Transfer LearningKaichao You, Yong Liu, Jianmin Wang, Mingsheng LongICML 2021 · 253 citations
  3. Transferability and Hardness of Supervised Classification TasksAnh Tuan Tran, Cuong V. Nguyen, Tal HassnerICCV 2019 · 201 citations
  4. Improved deterministic l2 robustness on CIFAR-10 and CIFAR-100Sahil Singla, Surbhi Singla, Soheil FeiziICLR 2022 · 77 citations
  5. Deep Neural Network RetrievalNan Zhong, Zhenxing Qian, Xinpeng ZhangACM MM 2021 · 6 citations

Related papers

  1. Guided Recommendation for Model Fine-TuningHao Li, Charless C. Fowlkes, Hao Yang, Onkar Dabeer et al.CVPR 2023
  2. Task-Adaptive Neural Network Search with Meta-Contrastive LearningWonyong Jeong, Hayeon Lee, Geon Park, Eunyoung Hyung et al.NeurIPS 2021 · 17 citations
  3. Hyper-Representations as Generative Models: Sampling Unseen Neural Network WeightsKonstantin Schürholt, Boris Knyazev, Xavier Giró-i-Nieto, Damian BorthNeurIPS 2022 · 78 citations
  4. Model Selection with Model Zoo via Graph LearningZiyu Li, Hilco van der Wilk, Danning Zhan, Megha Khosla et al.ICDE 2024 · 6 citations
  5. Knowledge Consistency between Neural Networks and BeyondRuofan Liang, Tianlin Li, Longfei Li, Jing Wang et al.ICLR 2020 · 30 citations
Dusk over the sea between two cliffs drawn in fine vertical lines