paper-with-me

홈 › Papers

Set-based Neural Network Encoding Without Weight Tying

2023-05-26 · Bruno Andreis, Soro Bedionita, Philip H. S. Torr, Sung Ju Hwang

We propose a neural network weight encoding method for network property prediction that utilizes set-to-set and set-to-vector functions to efficiently encode neural network parameters. Our approach is capable of encoding neural networks in a model zoo of mixed architecture and different parameter sizes as opposed to previous approaches that require custom encoding models for different architectures. Furthermore, our \textbf{S}et-based \textbf{N}eural network \textbf{E}ncoder (SNE) takes into consideration the hierarchical computational structure of neural networks. To respect symmetries inherent in network weight space, we utilize Logit Invariance to learn the required minimal invariance properties. Additionally, we introduce a \textit{pad-chunk-encode} pipeline to efficiently encode neural network layers that is adjustable to computational and memory constraints. We also introduce two new tasks for neural network property prediction: cross-dataset and cross-architecture. In cross-dataset property prediction, we evaluate how well property predictors generalize across model zoos trained on different datasets but of the same architecture. In cross-architecture property prediction, we evaluate how well property predictors transfer to model zoos of different architecture not seen during training. We show that SNE outperforms the relevant baselines on standard benchmarks.

📄 PDF Abstract BibTeX arXiv:2305.16625

Code (0)

등록된 구현이 없습니다.

Tasks

PredictionProperty Prediction

Similar Papers 제목 키워드 기반

Beyond Weight Tying: Learning Joint Input-Output Embeddings for Neural Machine Translation

2018-08-31 · WS 2018 10 · Nikolaos Pappas, Lesly Miculicich Werlen, James Henderson

Tying the weights of the target word embeddings with the target word classifiers of neural machine translation models leads to faster training and often to better translation quality. Given the success of this parameter …

DecoderMachine TranslationTranslationWord Embeddings

On genuine invariance learning without weight-tying

2023-08-07 · Artem Moskalev, Anna Sepliarskaia, Erik J. Bekkers, Arnold Smeulders

In this paper, we investigate properties and limitations of invariance learned by neural networks from the data compared to the genuine invariance achieved through invariant weight-tying. To do so, we adopt a group theor…

Decision Making

Rethinking Weight Tying: Pseudo-Inverse Tying for LM Stable Training and Updates

2026-02-04 · Jian Gu, Aldeida Aleti, Chunyang Chen, Hongyu Zhang arxiv

Weight tying is widely used in compact language models to reduce parameters by sharing the token table between the input embedding and the output projection. However, parameter sharing alone does not guarantee a stable t…

Using the Output Embedding to Improve Language Models

2016-08-20 · EACL 2017 4 · Ofir Press, Lior Wolf

We study the topmost weight matrix of neural network language models. We show that this matrix constitutes a valid word embedding. When training language models, we recommend tying the input embedding and this output emb…

Translationvalid

Headless Language Models: Learning without Predicting with Contrastive Weight Tying

2023-09-15 · Nathan Godey, Éric de la Clergerie, Benoît Sagot

Self-supervised pre-training of language models usually consists in predicting probability distributions over extensive token vocabularies. In this study, we propose an innovative method that shifts away from probability…

LAMBADA