NEAR: A Training-Free Pre-Estimator of Machine Learning Model Performance

Raphael T. Husistein, Markus Reiher, Marco Eckhoff
8/16/2024
cs.LGcond-mat.dis-nnphysics.chem-ph

No official code found. Best implementation: ReiherGroup/NEAR (5 stars, BSD-3-Clause, last commit 2024-09-05).

Abstract

Artificial neural networks have been shown to be state-of-the-art machine learning models in a wide variety of applications, including natural language processing and image recognition. However, building a performant neural network is a laborious task and requires substantial computing power. Neural Architecture Search (NAS) addresses this issue by an automatic selection of the optimal network from a set of potential candidates. While many NAS methods still require training of (some) neural networks, zero-cost proxies promise to identify the optimal network without training. In this work, we propose the zero-cost proxy \textit{Network Expressivity by Activation Rank} (NEAR). It is based on the effective rank of the pre- and post-activation matrix, i.e., the values of a neural network layer before and after applying its activation function. We demonstrate the cutting-edge correlation between this network score and the model accuracy on NAS-Bench-101 and NATS-Bench-SSS/TSS. In addition, we present a simple approach to estimate the optimal layer sizes in multi-layer perceptrons. Furthermore, we show that this score can be utilized to select hyperparameters such as the activation function and the neural network weight initialization scheme.

View on arXivView PDF

Code Implementations(1)

ReiherGroup/NEARCommunity100%
BSD-3-Clause
50PythonSep 5, 20242 years agoBSD-3-Clause

Similar Papers

Cite this paper

@article{husistein2024near,
  title  = {NEAR: A Training-Free Pre-Estimator of Machine Learning Model Performance},
  author = {Raphael T. Husistein and Markus Reiher and Marco Eckhoff},
  year   = {2024},
  eprint = {2408.08776},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2408.08776v2},
  journal = {ICLR 2024 2024}
}

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/2408.08776.svg)](https://codeofpaper.com/paper/2408.08776)

Discussion