Mingsheng Long, Jianmin Wang, Kaichao You, Yong Liu
We lifted 6 functions out of this paper's own repositories and ran 6 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.
| Repository | Role | Ran |
|---|---|---|
| thuml/LogME | canonical | 6 of 6 |
| Function | Status | Where it lives |
|---|---|---|
| str2list | Ran | thuml/LogME/b_tuning.py code served (permissive licence) · get_code("9ff1588d86660d6d") |
| LogME | Ran | thuml/LogME/LogME.py code served (permissive licence) · get_code("fce5c449bff0ff4b") |
| each_evidence | Ran | thuml/LogME/LogME.py code served (permissive licence) · get_code("cd55b5db902308f3") |
| forward_pass | Ran | thuml/LogME/ranking.py code served (permissive licence) · get_code("a9c43aaa49888a3f") |
| str2bool | Ran | thuml/LogME/b_tuning.py code served (permissive licence) · get_code("25c7475539e39da4") |
| truncated_svd | Ran | thuml/LogME/LogME.py code served (permissive licence) · get_code("711e681b397f724b") |
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
This paper studies task adaptive pre-trained model selection, an underexplored problem of assessing pre-trained models for the target task and select best ones from the model zoo without fine-tuning. A few pilot works addressed the problem in transferring supervised pre-trained models to classification tasks, but they cannot handle emerging unsupervised pre-trained models or regression tasks. In pursuit of a practical assessment method, we propose to estimate the maximum value of label evidence given features extracted by pre-trained models. Unlike the maximum likelihood, the maximum evidence is immune to over-fitting, while its expensive computation can be dramatically reduced by our carefully designed algorithm. The Logarithm of Maximum Evidence (LogME) can be used to assess pre-trained models for transfer learning: a pre-trained model with a high LogME value is likely to have good transfer performance. LogME is fast, accurate, and general, characterizing itself as the first practical method for assessing pre-trained models. Compared with bruteforce fine-tuning, LogME brings at most 3000× speedup in wall-clock time and requires only 1% memory footprint. It outperforms prior methods by a large margin in their setting and is applicable to new settings. It is general enough for diverse pre-trained models (supervised pre-trained and unsupervised pre-trained), downstream tasks (classification and regression), and modalities (vision and language). Code is available at this repository: https://github.com/thuml/LogME.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2102.11005")
get_code_for_paper("2102.11005")
have("2102.11005")
Connect an agent — have() is free.