paper-with-me

홈 › Papers

LLM Performance Predictors are good initializers for Architecture Search

2023-10-25 · Ganesh Jawahar, Muhammad Abdul-Mageed, Laks V. S. Lakshmanan, Dujian Ding

In this work, we utilize Large Language Models (LLMs) for a novel use case: constructing Performance Predictors (PP) that estimate the performance of specific deep neural network architectures on downstream tasks. We create PP prompts for LLMs, comprising (i) role descriptions, (ii) instructions for the LLM, (iii) hyperparameter definitions, and (iv) demonstrations presenting sample architectures with efficiency metrics and `training from scratch' performance. In machine translation (MT) tasks, GPT-4 with our PP prompts (LLM-PP) achieves a SoTA mean absolute error and a slight degradation in rank correlation coefficient compared to baseline predictors. Additionally, we demonstrate that predictions from LLM-PP can be distilled to a compact regression model (LLM-Distill-PP), which surprisingly retains much of the performance of LLM-PP. This presents a cost-effective alternative for resource-intensive performance estimation. Specifically, for Neural Architecture Search (NAS), we introduce a Hybrid-Search algorithm (HS-NAS) employing LLM-Distill-PP for the initial search stages and reverting to the baseline predictor later. HS-NAS performs similarly to SoTA NAS, reducing search hours by approximately 50%, and in some cases, improving latency, GFLOPs, and model size. The code can be found at: https://github.com/UBC-NLP/llmas.

📄 PDF Abstract BibTeX arXiv:2310.16712

Code (1)

ubc-nlp/llmas 공식 구현 pytorch

Tasks

Machine TranslationNeural Architecture Search

Methods 이 논문이 사용한 방법론

Multi-Head Attention 설명 없음
Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Adam 설명 없음
Position-Wise Feed-Forward Layer 설명 없음
Label Smoothing Label Smoothing is a regularization technique that introduces noise for the labels. This accounts for the fact that datasets may have mistakes in them, so maximizing the…
Residual Connection 설명 없음
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…

Similar Papers 제목 키워드 기반

Discovering Weight Initializers with Meta Learning

2021-05-20 · ICML Workshop AutoML 2021 7 · Dmitry Baranchuk, Artem Babenko

Deep neural network training largely depends on the choice of initial weight distribution. However, this choice can often be nontrivial. Existing theoretical results for this problem mostly cover simple architectures, e…

Meta-Learning

On Using Quasirandom Sequences in Machine Learning for Model Weight Initialization

2024-08-05 · Andriy Miranskyy, Adam Sorrenti, Viral Thakar

The effectiveness of training neural networks directly impacts computational costs, resource allocation, and model development timelines in machine learning applications. An optimizer's ability to train the model adequat…

Effect of Optimizer, Initializer, and Architecture of Hypernetworks on Continual Learning from Demonstration

2023-12-31 · Sayantan Auddy, Sebastian Bergner, Justus Piater

In continual learning from demonstration (CLfD), a robot learns a sequence of real-world motion skills continually from human demonstrations. Recently, hypernetworks have been successful in solving this problem. In this …

Continual Learning

FOX-NAS: Fast, On-device and Explainable Neural Architecture Search

2021-08-14 · Chia-Hsiang Liu, Yu-Shin Han, Yuan-Yao Sung, Yi Lee 외

Neural architecture search can discover neural networks with good performance, and One-Shot approaches are prevalent. One-Shot approaches typically require a supernet with weight sharing and predictors that predict the p…

CPUNeural Architecture SearchQuantization

RankNAS: Efficient Neural Architecture Search by Pairwise Ranking

2021-09-15 · EMNLP 2021 11 · Chi Hu, Chenglong Wang, Xiangnan Ma, Xia Meng 외

This paper addresses the efficiency challenge of Neural Architecture Search (NAS) by formulating the task as a ranking problem. Previous methods require numerous training examples to estimate the accurate performance of …

Language ModelingLanguage ModellingMachine TranslationNeural Architecture Search+1