LPZero: Language Model Zero-cost Proxy Search from Zero

Peijie Dong, Lujun Li, Xiang Liu, Zhenheng Tang, Xuebo Liu +2 more
10/7/2024
cs.CL

No official code found. Best implementation: pprp/LPZero (11 stars, CC-BY-4.0, last commit 2024-10-21).

Abstract

In spite of the outstanding performance, Neural Architecture Search (NAS) is criticized for massive computation. Recently, Zero-shot NAS has emerged as a promising approach by exploiting Zero-cost (ZC) proxies, which markedly reduce computational demands. Despite this, existing ZC proxies heavily rely on expert knowledge and incur significant trial-and-error costs. Particularly in NLP tasks, most existing ZC proxies fail to surpass the performance of the naive baseline. To address these challenges, we introduce a novel framework, \textbf{LPZero}, which is the first to automatically design ZC proxies for various tasks, achieving higher ranking consistency than human-designed proxies. Specifically, we model the ZC proxy as a symbolic equation and incorporate a unified proxy search space that encompasses existing ZC proxies, which are composed of a predefined set of mathematical symbols. To heuristically search for the best ZC proxy, LPZero incorporates genetic programming to find the optimal symbolic composition. We propose a \textit{Rule-based Pruning Strategy (RPS),} which preemptively eliminates unpromising proxies, thereby mitigating the risk of proxy degradation. Extensive experiments on FlexiBERT, GPT-2, and LLaMA-7B demonstrate LPZero's superior ranking ability and performance on downstream tasks compared to current approaches.

View on arXivView PDF

Code Implementations(1)

pprp/LPZeroCommunity60%
CC-BY-4.0

[EMNLP24]LPZero: Language Model Zero-Cost Proxy Search from Zero

111Shell, PythonNov 20, 20232 years agoCC-BY-4.0

Cite this paper

@article{dong2024lpzero,
  title  = {LPZero: Language Model Zero-cost Proxy Search from Zero},
  author = {Peijie Dong and Lujun Li and Xiang Liu and Zhenheng Tang and Xuebo Liu and Qiang Wang and Xiaowen Chu},
  year   = {2024},
  eprint = {2410.04808},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.04808v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.04808.svg)](https://codeofpaper.com/paper/2410.04808)

Discussion