paper-with-me

Papers

Know2Vec: A Black-Box Proxy for Neural Network Retrieval

2024-12-20 · Zhuoyi Shang, Yanwei Liu, Jinxia Liu, Xiaoyan Gu, Ying Ding, Xiangyang Ji

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.

📄 PDF Abstract BibTeX arXiv:2412.16251

Code (1)

vimpire00/know2vec1 공식 구현 pytorch

Tasks

Model SelectionRetrieval

Similar Papers 제목 키워드 기반

$k$NNProxy: Efficient Training-Free Proxy Alignment for Black-Box Zero-Shot LLM-Generated Text Detection

2026-04-02 · Kahim Wong, Kemou Li, Haiwei Wu, Jiantao Zhou arxiv

LLM-generated text (LGT) detection is essential for reliable forensic analysis and for mitigating LLM misuse. Existing LGT detectors can generally be categorized into two broad classes: learning-based approaches and zero…

Text Detection

You See What I Want You To See: Exploring Targeted Black-Box Transferability Attack for Hash-Based Image Retrieval Systems

2021-06-19 · CVPR 2021 1 · Yanru Xiao, Cong Wang

With the large multimedia content online, deep hashing has become a popular method for efficient image retrieval and storage. However, by inheriting the algorithmic backend from softmax classification, these techniqu…

Deep HashingImage RetrievalRetrieval

Knowledge Distillation of Black-Box Large Language Models

2024-01-13 · Hongzhan Chen, Ruijun Chen, Yuqi Yi, Xiaojun Quan 외

Given the exceptional performance of proprietary large language models (LLMs) like GPT-4, recent research has increasingly focused on boosting the capabilities of smaller models through knowledge distillation (KD) from t…

Knowledge DistillationTransfer Learning

Estimating the Black-box LLM Uncertainty with Distribution-Aligned Adversarial Distillation

2026-05-07 · Huizi Cui, Huan Ma, Qilin Wang, Yuhang Gao 외 arxiv

Large language models (LLMs) have progressed rapidly in complex reasoning and question answering, yet LLM hallucination remains a central bottleneck that hinders practical deployment, especially for commercial black-box …

Question Answering

CPT: Consistent Proxy Tuning for Black-box Optimization

2024-07-01 · Yuanyang He, Zitong Huang, Xinxing Xu, Rick Siow Mong Goh 외

Black-box tuning has attracted recent attention due to that the structure or inner parameters of advanced proprietary models are not accessible. Proxy-tuning provides a test-time output adjustment for tuning black-box la…