We added a proxy action and proxy_strategy in search action, which allows integration of zero-cost proxies with existing bayesian based search algorithms.
Overview
Proxy
Added proxy action in MASE command line interface, major changes in path machop/chop/actions/proxy/...
Integrated NasBench201 and NasBench301 search spaces into MASE proxy action
Included proxy scores for 8901 architectures sampled from NasBenchNLP
Added sphinx docs documentation in path machop/sphinx_docs/source/modules/documentation/tutorials/actions/proxy and machop/sphinx_docs/source/modules/documentation/tutorials/actions/search/how_to_extend_search.md
Future work
Extend proxy search strategy on other metrics, such as validation loss values of models
Include more search spaces or user defined search spaces for proxy action
Porting Zero-cost NAS proxies to MASE
We added a
proxy
action andproxy_strategy
in search action, which allows integration of zero-cost proxies with existing bayesian based search algorithms.Overview
Proxy
proxy
action in MASE command line interface, major changes in pathmachop/chop/actions/proxy/...
NasBench201
andNasBench301
search spaces into MASE proxy actionfisher
,jacov
,params
, etc... from βπΈπ-πΉππππ-ππ¦ππ₯π-β€πrπ into MASE proxy actionproxy
action in pathmachop/configs/nas/proxy_nas.toml
NasBench201
search space on CIFAR10 datasetSearch with proxy
proxy
search strategy in MASEsearch
action onVal Accuracy
metric, major changes in pathmachop/chop/actions/search/strategies/strats_proxy.py
fisher
,jacov
,params
, etc... from βπΈπ-πΉππππ-ππ¦ππ₯π-β€πrπ into MASE search action,proxy_strategy
search strategyproxy
search strategy in pathmachop/configs/nas/search_nas.toml
How to use
Proxy Action Workflow
proxy
action is ran in MASE cli, architectures will be randomly sampled fromNasBench201
orNasBench301
(your choice) search spaces.MetaProxy
, will be saved as a .pt fileSample
proxy
actionSet directory:
Use the following command to execute
proxy
action with settings from our sample configuation file.The resultant weights are saved in path
nas_results/meta_proxy/meta_proxy.pt
Search with proxy
Meta Proxy
creaded fromproxy
action, to estimate accuracy values for each architectureSample
search
action withproxy
strategySet directory:
Then, using the following command, search with zero-cost proxy could be executed with our sample configuation file.
Expected output:
Others
NasBenchNLP
machop/sphinx_docs/source/modules/documentation/tutorials/actions/proxy
andmachop/sphinx_docs/source/modules/documentation/tutorials/actions/search/how_to_extend_search.md
Future work
proxy
search strategy on other metrics, such as validation loss values of modelsproxy
action