Gradient-free Proxy for Efficient Language Model Search

Shang Wang, Huanrong TangOpenReview 2024 · Submission to ICLR 2024 · Rejected

Abstract

The rising demand for efficient natural language processing (NLP) systems has underscored the significance of developing lightweight language models. However, prevailing approaches to neural architecture search (NAS) often confront issues such as biased evaluation metrics and computational inefficiencies. This paper introduces weight-weighted PCA (W-PCA), a novel zero-shot NAS method specifically tailored for lightweight language models. Our approach leverages two evaluation proxies, namely parameter count and principal component analysis (PCA) value of the feed-forward neural (FFN) layer, to provide a comprehensive and unbiased assessment. Additionally, by eliminating the need for gradient computations, we optimize the evaluation time, thereby enhancing the efficiency of designing and evaluating lightweight language models. Comparative analysis on the GLUE and SQuAD datasets demonstrates that our approach not only significantly reduces training time compared to one-shot NAS methods but also achieves higher scores in the testing phase compared to previous state-of-the-art training-based methods. Furthermore, ranking evaluations on a dataset sampled from the FlexiBERT search space reveal that our approach exhibits superior ranking correlation and further reduces solving time compared to other zero-shot NAS methods that require gradient computation.
BibTeX
@misc{wang2024gradient,
  author = {Shang Wang and Huanrong Tang},
  title = {{Gradient-free Proxy for Efficient Language Model Search}},
  year = {2024},
  url = {https://openreview.net/forum?id=Vc52HZwNwe},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2024},
}
Figure