atlas

Research map / Label-efficient and robust learning / Recognition and long-tail

Know2Vec: A Black-Box Proxy for Neural Network Retrieval

AAAI 2025 · Label-efficient and robust learning › Recognition and long-tail · approach: Self-explaining and visual explanation networks · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Know2Vec, a black-box proxy that encodes decision-boundary knowledge of neural network models into vectors via LSTMs and aligns them with query-task vectors for neural network retrieval.

Problem

Choosing a suitable pre-trained model from a model zoo for a user's query dataset without accessing model parameters or training data, with accurate and privacy-preserving model vectorization and query-model alignment.

Approach

Abstracts each model's decision knowledge from centroid and decision-boundary samples (obtained via black-box queries with probe data) into a graph encoded by inner/outer bidirectional LSTMs, maps query samples to a task vector with an LSTM, and aligns both in a cosine space trained with a model-classification cross-entropy loss plus a margin-based cosine alignment loss.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use Know2Vec instead of Leep for model retrievalKaggle model hub NNR · Kaggle model hub NNRR@1: 93.10 -> 94.82Helped
Use Know2Vec instead of TANS for model retrievalKaggle model hub NNR · Kaggle model hub NNRFt. Acc: 94.22 -> 95.67Helped
Use Know2Vec instead of LFCSF-MTE · DTDPearson correlation: 0.3508 -> 0.4942Helped
Use Know2Vec instead of LogMESF-MTE · AircraftSpearman correlation: 0.5337 -> 0.5779Helped
Use Know2Vec instead of LFCSF-MTE · MeanPearson correlation: 0.3915 -> 0.3576Hurt
Use Know2Vec instead of the strongest baselineSF-MTE · dSpritesPearson correlation: 0.2243 -> 0.1917Hurt
Replace averaging with an LSTM query encoder (ablation)Know2Vec on Kaggle model hub NNR · Kaggle model hub NNRretrieval accuracy: 92.54% -> 94.82%Helped
Replace concatenation with an LSTM query encoder (ablation)Know2Vec on Kaggle model hub NNR · Kaggle model hub NNRretrieval accuracy: 88.14% -> 94.82%Helped
Use cosine spatial alignment loss instead of the tested alternatives (ablation)Know2Vec on Kaggle model hub NNR · Kaggle model hub NNRretrieval accuracy: 94.82%Helped
Add model embedding consistency loss L_MKC (ablation)Know2Vec on Kaggle model hub NNR · Kaggle model hub NNRretrieval accuracyHelped
Increase query samples per class from 2 to 8 (ablation)Know2Vec on Kaggle model hub NNR · Kaggle model hub NNRretrieval accuracy: 11.03%, 10.86%, and 8.79%Helped
Vary query vector length among 128, 256, and 512 dimensions (ablation)Know2Vec on Kaggle model hub NNR · Kaggle model hub NNRretrieval accuracy: 5.18%Mixed

Surprising findings

Limitations

Experimental setup

Datasets: Kaggle model zoo (58 classification models, 232 testing tasks) Pre-trained model zoo (48 models from Inception_V3, ResNet50, DenseNet201 on 16 datasets) CUB2011 CIFAR100 SUN397 Dogs VLCS ImageNet OfficeHome Aircraft DTD UTKFace

Benchmarks: Kaggle model zoo NNR tasks PTM zoo SF-MTE on Aircraft, DTD, UTKFace, dSprites

Metrics: R@1 R@3 valid accuracy fine-tuned accuracy search time Pearson correlation Spearman correlation

Baselines: H-Score NCE LEEP NLeep LFC LogME Model Spider TANS GPT-4 Gemini

Builds on: TANS Model Spider DNNR LogME

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy