SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1908.08681 · 2019

Mish: A Self Regularized Non-Monotonic Activation Function

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 12 functions out of this paper's own repositories and ran 9 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.

RepositoryRoleRan
digantamisra98/Mish canonical 6 of 9
lessw2020/mish pwc_unofficial 3 of 3
FunctionStatusWhere it lives
build_model Ran digantamisra98/Mish/exps/op_landscape.py
code served (permissive licence) · get_code("09134815082c4723")
conv Ran lessw2020/mish/mxresnet.py
code served (permissive licence) · get_code("c9a6012d7fbd67dd")
conv_layer Ran lessw2020/mish/mxresnet.py
code served (permissive licence) · get_code("737c7df8da0c198b")
mish Ran digantamisra98/Mish/Mish/Torch/functional.py
code served (permissive licence) · get_code("e8af53cde1de7240")
mish Ran digantamisra98/Mish/Mish/TFKeras/mish.py
code served (permissive licence) · get_code("77350704c0889a70")
noop Ran lessw2020/mish/mxresnet.py
code served (permissive licence) · get_code("5e2ed23acb71ee11")
resnet20 Ran digantamisra98/Mish/exps/resnet.py
code served (permissive licence) · get_code("fe525ef6a5d1473a")
resnet32 Ran digantamisra98/Mish/exps/resnet.py
code served (permissive licence) · get_code("278ef88735703a97")
resnet44 Ran digantamisra98/Mish/exps/resnet.py
code served (permissive licence) · get_code("6d73f5ab551aef6b")
accuracy Not yet run digantamisra98/Mish/exps/train_cifar.py
code served (permissive licence) · get_code("f0c9a29156911331")
convert_to_PIL Not yet run digantamisra98/Mish/exps/op_landscape.py
code served (permissive licence) · get_code("90dcca0cc0384d13")
validate Not yet run digantamisra98/Mish/exps/train_cifar.py
code served (permissive licence) · get_code("2c3ebef98e7b5f52")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

We propose $\textit{Mish}$, a novel self-regularized non-monotonic activation function which can be mathematically defined as: $f(x)=x\tanh(softplus(x))$. As activation functions play a crucial role in the performance and training dynamics in neural networks, we validated experimentally on several well-known benchmarks against the best combinations of architectures and activation functions. We also observe that data augmentation techniques have a favorable effect on benchmarks like ImageNet-1k and MS-COCO across multiple architectures. For example, Mish outperformed Leaky ReLU on YOLOv4 with a CSP-DarkNet-53 backbone on average precision ($AP_{50}^{val}$) by 2.1$\%$ in MS-COCO object detection and ReLU on ResNet-50 on ImageNet-1k in Top-1 accuracy by $\approx$1$\%$ while keeping all other network parameters and hyperparameters constant. Furthermore, we explore the mathematical formulation of Mish in relation with the Swish family of functions and propose an intuitive understanding on how the first derivative behavior may be acting as a regularizer helping the optimization of deep neural networks. Code is publicly available at https://github.com/digantamisra98/Mish.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("1908.08681")
get_code_for_paper("1908.08681")
have("1908.08681")

Connect an agent — have() is free.