{"id":7981,"date":"2022-09-20T15:38:10","date_gmt":"2022-09-20T07:38:10","guid":{"rendered":"http:\/\/139.9.1.231\/?p=7981"},"modified":"2022-10-10T21:48:38","modified_gmt":"2022-10-10T13:48:38","slug":"vision-mlp-pay-attention-to-mlps","status":"publish","type":"post","link":"http:\/\/139.9.1.231\/index.php\/2022\/09\/20\/vision-mlp-pay-attention-to-mlps\/","title":{"rendered":"Vision MLP &#8211;Pay Attention to MLPs"},"content":{"rendered":"\n<p>      MLP-Mixer\u7684\u589e\u5f3a\u7248\uff0c\u5e26gating\u7684MLP\u3002\u6709\u4e24\u4e2a\u7248\u672c\uff0c\u5206\u522b\u662fgMLP\u548caMLP\u3002Pay-Attention-to-MLPs\u662fgMLP\u7248\u672c\uff0c\u540c\u65f6\u4e5f\u63d0\u51fa\u4e86gMLP\u7684\u589e\u5f3a\u7248aMLP\u3002<\/p>\n\n\n\n<p class=\"has-light-pink-background-color has-background\"><strong>paper\uff1a<em> <a href=\"https:\/\/arxiv.org\/abs\/2105.08050\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/arxiv.org\/abs\/2105.08050<\/a><\/em><\/strong><\/p>\n\n\n\n<p class=\"has-light-pink-background-color has-background\"><strong>github: <em><a href=\"https:\/\/github.com\/antonyvigouret\/Pay-Attention-to-MLPs\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/github.com\/antonyvigouret\/Pay-Attention-to-MLPs<\/a><\/em><\/strong><\/p>\n\n\n\n<p>   \u6b64\u6587\u548c\u6700\u8fd1\u520a\u51faMLP\u6587\u7ae0\u76f8\u540c\uff0c\u65e8\u5728\u63a2\u7a76self-attention\u5bf9\u4e8eTransformer\u6765\u8bf4\u662f\u5426\u81f3\u5173\u91cd\u8981\u3002\u5e76\u5728CV\u548cNLP\u4e0a\u7684\u76f8\u5173\u4efb\u52a1\u8fdb\u884c\u5b9e\u9a8c\u3002<\/p>\n\n\n\n<p>   Transformer\u7ed3\u6784\u5177\u6709\u53ef\u5e76\u884c\u5316\u6c47\u805a\u6240\u6709token\u95f4\u7684\u7a7a\u95f4\u4fe1\u606f\u7684\u4f18\u70b9\u3002\u4f17\u6240\u5468\u77e5self-attention\u662f\u901a\u8fc7\u8ba1\u7b97\u8f93\u5165\u95f4\u7684\u7a7a\u95f4\u5173\u7cfb\u52a8\u6001\u7684\u5f15\u5165\u5f52\u7eb3\u504f\u7f6e\uff0c\u540c\u65f6\u88ab\u9759\u6001\u53c2\u6570\u5316\u7684MLP\u80fd\u8868\u8fbe\u4efb\u610f\u7684\u51fd\u6570\uff0c\u6240\u4ee5self-attention\u5bf9\u4e8eTransformer\u5728CV\u548cNLP\u7b49\u9886\u57df\u7684\u6210\u529f\u662f\u5426\u662f\u81f3\u5173\u91cd\u8981\u7684\u5462\uff1f<\/p>\n\n\n\n<ul><li>\u6b64\u6587\u63d0\u51fa\u4e86\u4e00\u4e2a\u57fa\u4e8eMLP\u7684\u6ca1\u6709self-attention\u7ed3\u6784\u540d\u4e3agMLP\uff0c\u4ec5\u4ec5\u5b58\u5728\u9759\u6001\u53c2\u6570\u5316\u7684\u901a\u9053\u6620\u5c04\uff08<strong>channel projections<\/strong>\uff09\u548c\u7a7a\u95f4\u6620\u5c04\uff08<strong>spatial projections<\/strong>\uff09\u3002\u540c\u65f6\u4f5c\u8005\u901a\u8fc7\u5b9e\u9a8c\u53d1\u73b0\u5f53<strong>\u5bf9\u7a7a\u95f4\u6620\u5c04\u7684\u7ebf\u6027\u7ed3\u679c\u8fdb\u884c\u95e8\u673a\u5236\u4e58\u6cd5\u5f97\u5230\u7684\u6548\u679c\u6700\u597d<\/strong>\u3002<\/li><li>\u6b64\u6587\u4f7f\u7528gMLP\u505a\u56fe\u7247\u5206\u7c7b\u5e76\u5728ImageNet\u4e0a\u53d6\u5f97\u4e86\u4e0eDeiT\u3001ViT\u7b49Transformer\u6a21\u578b\u76f8\u5f53\u7684\u6548\u679c\u3002\u4e0e\u5148\u524d\u7684MLP\u6a21\u578bMLP-Mixer\u76f8\u6bd4\uff0cgMLP\u505a\u5230\u4e86\u53c2\u6570\u66f4\u5c11\uff08\u53c2\u6570\u51cf\u5c1166%\uff09\u6548\u679c\u66f4\u5f3a\uff08\u6548\u679c\u63d0\u53473%\uff09\u3002<\/li><li>\u6b64\u6587\u4f7f\u7528gMLP\u505amasked language modeling\uff0cgMLP\u91c7\u7528\u548cBert\u4e00\u6837\u7684\u8bbe\u7f6e\u6700\u5c0f\u5316perplexity\u53d6\u5f97\u4e86\u548cTransformer\u6a21\u578b\u9884\u8bad\u7ec3\u4e00\u6837\u597d\u7684\u6548\u679c\u3002\u901a\u8fc7pretraining\u548cfinetuning\u5b9e\u9a8c\u53d1\u73b0\u968f\u7740\u6a21\u578b\u5bb9\u91cf\u7684\u589e\u52a0\uff0cgMLP\u6bd4Transformer\u63d0\u5347\u66f4\u5927\uff0c\u8868\u660e\u6a21\u578b\u76f8\u8f83\u4e8eself-attention\u53ef\u80fd\u5bf9\u4e8e\u6a21\u578b\u5bb9\u91cf\u7684\u5927\u5c0f\u66f4\u4e3a\u654f\u611f\u3002<\/li><li>\u5bf9\u4e8e\u9700\u8981\u8de8\u53e5\u5bf9\u9f50\u7684\u5fae\u8c03\u4efb\u52a1MNLI\uff0cgMLP\u4e0eTransformer\u76f8\u6bd4\u900a\u8272\u4e00\u7b79\u3002\u5bf9\u6b64\u4f5c\u8005\u53d1\u73b0\u52a0\u4e0a\u4e00\u4e2a128\u7279\u5f81\u5927\u5c0f\u7684\u5355\u5934\u6ce8\u610f\u529b\u8db3\u4ee5\u4f7f\u5f97gMLP\u5728\u4efb\u4f55NLP\u4efb\u52a1\u4e0a\u53d6\u5f97\u6bd4Transformer\u66f4\u597d\u7684\u6548\u679c\u3002<\/li><\/ul>\n\n\n\n<p><strong>gMLP\u7531L\u4e2a\u5982\u4e0b\u56fe\u6240\u793a\u7684\u6a21\u5757\u5806\u53e0\u800c\u6210<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"1004\" height=\"538\" src=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-219.png\" alt=\"\" class=\"wp-image-7996\" srcset=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-219.png 1004w, http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-219-300x161.png 300w, http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-219-768x412.png 768w\" sizes=\"(max-width: 1004px) 100vw, 1004px\" \/><\/figure>\n\n\n\n<p>\u8bbe\u6bcf\u4e2a\u6a21\u5757\u7684\u8f93\u5165 \\(X \\in \\mathbb{R}^{n \\times d}\\)\uff0c n\u4e3a\u5e8f\u5217\u957f\u5ea6\uff0c d\u4e3a\u7279\u5f81\u7ef4\u5ea6\u3002\u6bcf\u4e2a\u6a21\u5757\u8868\u8fbe\u5982\u4e0b:<br>\\(Z=\\sigma(X U), \\quad \\tilde{Z}=s(Z), \\quad Y=\\tilde{Z} V\\)<br>\\(\\sigma\\) \u662fGELU\u7b49\u6fc0\u6d3b\u51fd\u6570\uff0c U \u548c V \u548cTransformer\u4e2d\u7684FFN\u7c7b\u4f3c\u90fd\u662f\u7ebf\u6027\u6620\u5c04\u3002\u4e3a\u4e86\u7b80\u6d01\u8868\u8fbe\u4e0a\u5f0f\u4e2d \u7701\u7565\u4e86shortcuts, normalizations \u548c biases\u3002<br>\u4e0a\u5f0f\u4e2d\u6700\u91cd\u8981\u7684\u662f\u80fd\u6355\u6349\u7a7a\u95f4\u4ea4\u4e92\u7684 \\(s(\\cdot)\\) \u3002\u5982\u679c\u4e0a\u5f0f\u53bb\u6389 \\(s(\\cdot)\\) \u90a3\u4e48\u5c06\u4e0d\u518d\u80fd\u8fdb\u884c\u7a7a\u95f4\u4ea4\u4e92\u548cFFN \u5e76\u65e0\u533a\u522b\u3002\u6587\u4e2d\u4f5c\u8005\u9009\u62e9\u540d\u4e3a Spatial Gating Unit (SGU) \u7684\u6a21\u5757\u4f5c\u4e3a \\(s(\\cdot)\\) \u6355\u6349\u7a7a\u95f4\u4f9d\u8d56\u3002\u53e6\u5916\uff0cgMLP\u5728NLP\u3001CV\u4efb\u52a1\u4e2d\u9075\u5faa\u4e0eBERT\u3001ViT\u4e00\u6837\u7684\u8f93\u5165\u8f93\u51fa\u89c4\u5219\u3002<\/p>\n\n\n\n<h2>Spatial Gating Unit\uff1a<\/h2>\n\n\n\n<p>\u4e3a\u4e86\u80fd\u6709\u8de8token\u7684\u4ea4\u4e92\uff0c \\(s(\\cdot)\\) \u64cd\u4f5c\u987b\u5728\u7a7a\u95f4\u7ef4\u5ea6\u3002\u53ef\u4ee5\u7b80\u5355\u7684\u4f7f\u7528\u7ebf\u6027\u6620\u5c04\u8868\u793a\uff1a<br>\\(f_{W, b}(Z)=W Z+b\\)<br>\u5176\u4e2d \\(W \\in \\mathbb{R}^{n \\times n}\\) \u8868\u793a\u7a7a\u95f4\u4ea4\u4e92\u7684\u6620\u5c04\u53c2\u6570\u3002\u5728self-attention\u4e2d W \u662f\u901a\u8fc7 Z \u52a8\u6001\u8ba1\u7b97\u5f97\u5230\u7684\u3002 \u6b64\u6587\u5bf9\u4e0a\u5f0f\u4f7f\u7528gating\u64cd\u4f5c\u4ee5\u4fbf\u66f4\u597d\u7684\u8bad\u7ec3\uff0c\u5982\u4e0b\u6240\u793a\uff1a<br>\\(s(Z)=Z \\odot f_{W, b}(Z)\\)<br>\u4e3a\u4e86\u8bad\u7ec3\u66f4\u7a33\u5b9a\uff0c\u4f5c\u8005\u5c06 W \u548c b \u5206\u522b\u521d\u59cb\u5316\u4e3a\u63a5\u8fd1 0 \u4e0e 1 \u6765\u4fdd\u8bc1\u5728\u5f00\u59cb\u8bad\u7ec3\u65f6 \\(f_{W, b} \\approx 1\\) \u3001 \\(s(Z z) \\approx Z\\) \u4f7f\u5f97\u5728\u5f00\u59cb\u9636\u6bb5gMLP\u8fd1\u4f3c\u4e8eFFN\u5e76\u5728\u8bad\u7ec3\u4e2d\u9010\u6e10\u5b66\u4e60\u5230\u8de8token\u7684\u7a7a\u95f4\u4fe1\u606f\u3002<br>\u4f5c\u8005\u8fdb\u4e00\u6b65\u53d1\u73b0\u5c06 Z \u4ece\u901a\u9053\u7ef4\u5ea6\u5206\u5272\u6210\u4e24\u90e8\u5206 \\(\\left(Z_1, Z_2\\right)\\) \u8fdb\u884cgating\u64cd\u4f5c\u66f4\u6709\u7528\uff0c\u5982\u4e0b\u6240\u793a\uff1a<br>\\(<br>s(Z)=Z_1 \\odot f_{W, b}\\left(Z_2\\right)<br>\\)<br>\u53e6\u5916\u51fd\u6570 \\(f_{W, b}\\)\u7684\u8f93\u5165\u901a\u5e38\u9700\u8981<strong>normalizel\u4ee5\u6b64\u63d0\u5347\u6a21\u578b\u7684\u7a33\u5b9a\u6027\u3002<\/strong><\/p>\n\n\n\n<p>\u4e00\u4e9b\u601d\u8003\uff1a\u8fd9\u91cc\u7684SpatialGatingUnit\u91cc\u9762\u7528\u5230\u4e86\u4e00\u4e2a\u901a\u9053split\uff0c\u7136\u540e\u518d\u5c06\u5206\u5272\u540e\u7684\u4e24\u90e8\u5206\u505a\u4e58\u6cd5\uff0c\u8ba9\u6211\u60f3\u5230\u4e86NAFnet\u4e2d\u7684simplegate\uff0c\u8fd9\u4e2a\u7684\u4f5c\u7528\u4e00\u662f\u51cf\u5c11\u8ba1\u7b97\u91cf\uff08\u76f8\u6bd4\u4e8eGELU\uff09\u3001\u53e6\u5916\u5f15\u5165\u95e8\u63a7\u673a\u5236\uff0c\u5728\u901a\u9053\u7ef4\u5ea6\u8fdb\u884c\u901a\u9053\u4ea4\u7ec7\uff0c\u5bf9\u4e8e\u6a21\u578b\u7684\u6548\u679c\u8868\u73b0\u5f88\u597d\u3002<\/p>\n\n\n\n<p>\u4f5c\u8005\u8fdb\u4e00\u6b65\u5206\u6790\u4e86SGU\u4e0e\u73b0\u6709\u7684\u4e00\u4e9b\u64cd\u4f5c\u7684\u76f8\u4f3c\u4e4b\u5904\uff1a\u9996\u5148\u662fGated Linear Units (GLU) \u4e0e SGU\u7684\u533a\u522b\u5728\u4e8eSGU\u5bf9spatial dimension\u800cGLU\u5bf9channel dimension; \u5176\u6b21SGU\u548c<br>Squeeze-and-Excite (SE) \u4e00\u6837\u4f7f\u7528hadamard-product\uff0c\u53ea\u662fSGU\u5e76\u6ca1\u6709\u8de8\u901a\u9053\u7684\u6620\u5c04\u6765\u4fdd \u8bc1\u6392\u5217\u4e0d\u53d8\u6027\uff1bSGU\u7684\u7a7a\u95f4\u6620\u5c04\u53ef\u4ee5\u770b\u4f5cdepthwise convolution\u4e0d\u8fc7SGU\u53ea\u5b66\u4e60\u8de8\u901a\u9053\u53ea\u662f\uff0c \u5e76\u6ca1\u6709\u8de8\u901a\u9053\u8fc7\u6ee4\u5668\uff1bSGU\u5b66\u4e60\u7684\u662f\u4e8c\u9636\u7a7a\u95f4\u4ea4\u4e92 \\(z_i z_j\\) \uff0c self-attention\u5b66\u4e60\u7684\u662f\u4e09\u9636\u4ea4\u4e92 \\(q_i k_j v_k\\) \uff0c SGU\u7684\u590d\u6742\u5ea6\u4e3a \\(n^2 e \/ 2\\) \u800cself-attention\u7684\u590d\u6742\u5ea6\u4e3a \\(2 n^2 d_{\\text {\u3002 }}\\)<\/p>\n\n\n\n<h2>\u5b9e\u9a8c\uff1a<\/h2>\n\n\n\n<p>1\u3001Image Classification<\/p>\n\n\n\n<p>\u6b64\u6587\u9996\u5148\u5c06gMLP\u5e94\u7528\u4e8e\u56fe\u7247\u5206\u7c7b\uff0c\u4f7f\u7528ImageNet\u6570\u636e\u96c6\u800c\u4e14\u4e0d\u4f7f\u7528\u989d\u5916\u6570\u636e\u3002\u4e0b\u8868\u9996\u5148\u5c55\u793a\u4e86gMLP\u7528\u4e8e\u56fe\u7247\u5206\u7c7b\u7684\u53c2\u6570\uff0cgMLP\u548cViT\/B16\u4e00\u6837\u4f7f\u7528&nbsp;16\u00d716&nbsp;\u4e2apatch\uff0c\u540c\u65f6\u91c7\u7528\u548cDeiT\u76f8\u4f3c\u7684\u6b63\u5219\u5316\u65b9\u6cd5\u9632\u6b62\u8fc7\u62df\u5408\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"945\" height=\"211\" src=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-220.png\" alt=\"\" class=\"wp-image-8018\" srcset=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-220.png 945w, http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-220-300x67.png 300w, http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-220-768x171.png 768w\" sizes=\"(max-width: 945px) 100vw, 945px\" \/><\/figure>\n\n\n\n<p>\u4e0b\u8868\u4e2dgMLP\u4e0ebaselines\u5728ImageNet\u4e0a\u7684\u7ed3\u679c\u8868\u793agMLP\u53d6\u5f97\u4e86\u4e0e\u89c6\u89c9Transformer\u76f8\u5f53\u7684\u7ed3\u679c\uff0c\u540c\u65f6\u4e0e\u5176\u5b83MLP\u89c6\u89c9\u6a21\u578b\u76f8\u6bd4\uff0cgMLP\u53d6\u5f97\u4e86\u51c6\u786e\u7387\u3001\u901f\u5ea6\u6743\u8861\u4e0b\u6700\u597d\u7684\u7ed3\u679c\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"843\" height=\"665\" src=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-221.png\" alt=\"\" class=\"wp-image-8019\" srcset=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-221.png 843w, http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-221-300x237.png 300w, http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-221-768x606.png 768w\" sizes=\"(max-width: 843px) 100vw, 843px\" \/><\/figure>\n\n\n\n<h3>Masked Language Modeling with BERT:<\/h3>\n\n\n\n<p>\u6b64\u6587\u540c\u65f6\u5c06gMLP\u5e94\u7528\u4e8emasked language modeling\uff08MLM\uff09\u4efb\u52a1\uff0c\u5bf9\u4e8e\u9884\u8bad\u7ec3\u548c\u5fae\u8c03\u4efb\u52a1\uff0c\u6a21\u578b\u7684\u8f93\u5165\u8f93\u51fa\u89c4\u5219\u90fd\u4fdd\u6301\u4e0eBERT\u4e00\u81f4\u3002<\/p>\n\n\n\n<p>\u4f5c\u8005\u89c2\u5bdf\u5230\u5728MLM\u4efb\u52a1\u6700\u540e\u5b66\u4e60\u5230\u7684\u7a7a\u95f4\u6620\u5c04\u77e9\u9635\u603b\u662fToeplitz-like matrics\uff0c\u5982\u4e0b\u56fe\u6240\u793a\u3002\u6240\u4ee5\u4f5c\u8005\u8ba4\u4e3agMLP\u662f\u80fd\u4ece\u6570\u636e\u4e2d\u5b66\u4e60\u5230\u5e73\u79fb\u4e0d\u53d8\u6027\u7684\u6982\u5ff5\u7684\uff0c\u8fd9\u4f7f\u5f97gMLP\u5b9e\u8d28\u8d77\u5230\u4e86\u5377\u79ef\u6838\u662f\u6574\u4e2a\u5e8f\u5217\u957f\u5ea6\u76841-d\u5377\u79ef\u7684\u4f5c\u7528\u3002\u5728\u63a5\u4e0b\u6765\u7684MLM\u5b9e\u9a8c\u4e2d\uff0c\u4f5c\u8005\u521d\u59cb&nbsp;W&nbsp;\u4e3aToeplitz matrix\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"852\" height=\"794\" src=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-222.png\" alt=\"\" class=\"wp-image-8020\" srcset=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-222.png 852w, http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-222-300x280.png 300w, http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-222-768x716.png 768w\" sizes=\"(max-width: 852px) 100vw, 852px\" \/><\/figure>\n\n\n\n<p>Ablation: The Importance of Gating in gMLP for BERT\u2019s Pretraining\uff1a\u4e0b\u8868\u5c55\u793a\u4e86gMLP\u7684\u5404\u79cd\u53d8\u4f53\u4e0eTransoformer\u6a21\u578b\u3001MLP-Mixer\u7684\u6bd4\u8f83\uff0c\u53ef\u4ee5\u770b\u5230gMLP\u5728\u4e0eTransformer\u76f8\u540c\u6a21\u578b\u5927\u5c0f\u7684\u60c5\u51b5\u4e0b\u80fd\u8fbe\u5230\u4e0eTransformer\u76f8\u5f53\u7684\u6548\u679c\u3002\u540c\u65f6gating\u64cd\u4f5c\u5bf9\u4e8e\u7a7a\u95f4\u6620\u5c04\u5341\u5206\u6709\u7528\u3002\u540c\u65f6\u4e0b\u56fe\u8fd8\u53ef\u89c6\u5316\u4e86\u6a21\u578b\u5b66\u4e60\u5230\u7684\u7a7a\u95f4\u6620\u5c04\u53c2\u6570\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"912\" height=\"752\" src=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-223.png\" alt=\"\" class=\"wp-image-8021\" srcset=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-223.png 912w, http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-223-300x247.png 300w, http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-223-768x633.png 768w\" sizes=\"(max-width: 912px) 100vw, 912px\" \/><\/figure>\n\n\n\n<p>Case Study: The Behavior of gMLP as Model Size Increases\uff1a\u4e0b\u8868\u4e0e\u4e0b\u56fe\u5c55\u793a\u4e86gMLP\u968f\u7740\u6a21\u578b\u589e\u5927\u9010\u6e10\u80fd\u6709\u4e0eTransformer\u76f8\u5f53\u7684\u6548\u679c\uff0c\u53ef\u89c1Transformer\u7684\u6548\u679c\u5e94\u8be5\u4e3b\u8981\u662f\u4f9d\u8d56\u4e8e\u6a21\u578b\u5c3a\u5bf8\u800c\u975eself-attention\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"918\" height=\"403\" src=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-224.png\" alt=\"\" class=\"wp-image-8022\" srcset=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-224.png 918w, http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-224-300x132.png 300w, http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-224-768x337.png 768w\" sizes=\"(max-width: 918px) 100vw, 918px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"907\" height=\"366\" src=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-225.png\" alt=\"\" class=\"wp-image-8023\" srcset=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-225.png 907w, http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-225-300x121.png 300w, http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-225-768x310.png 768w\" sizes=\"(max-width: 907px) 100vw, 907px\" \/><\/figure>\n\n\n\n<ul><li>Ablation: The Usefulness of Tiny Attention in BERT\u2019s Finetuning\uff1a\u4ece\u4e0a\u9762\u7684Case Study\u53ef\u4ee5\u53d1\u73b0gMLP\u5bf9\u4e8e\u9700\u8981\u8de8\u53e5\u5b50\u8fde\u63a5\u7684finetuing\u4efb\u52a1\u53ef\u80fd\u4e0d\u53caTransformer\uff0c\u6240\u4ee5\u4f5c\u8005\u63d0\u51fa\u4e86gMLP\u7684\u589e\u5f3a\u7248aMLP\u3002aMLP\u76f8\u8f83\u4e8egMLP\u4ec5\u589e\u52a0\u4e86\u4e00\u4e2a\u5355\u593464\u7684self-attention\u5982\u4e0b\u56fe\u6240\u793a\uff1a<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"916\" height=\"319\" src=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-226.png\" alt=\"\" class=\"wp-image-8025\" srcset=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-226.png 916w, http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-226-300x104.png 300w, http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-226-768x267.png 768w\" sizes=\"(max-width: 916px) 100vw, 916px\" \/><\/figure>\n\n\n\n<p>\u4ece\u4e0b\u56fe\u7ed3\u679c\u53ef\u4ee5\u53d1\u73b0aMLP\u76f8\u8f83\u4e8egMLP\u6781\u5927\u63d0\u5347\u4e86\u6548\u679c\u5e76\u5728\u6240\u6709task\u8d85\u8fc7\u4e86Transformer\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"749\" height=\"343\" src=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-227.png\" alt=\"\" class=\"wp-image-8026\" srcset=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-227.png 749w, http:\/\/139.9.1.231\/wp-content\/uploads\/2022\/09\/image-227-300x137.png 300w\" sizes=\"(max-width: 749px) 100vw, 749px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>MLP-Mixer\u7684\u589e\u5f3a\u7248\uff0c\u5e26gating\u7684MLP\u3002\u6709\u4e24\u4e2a\u7248\u672c\uff0c\u5206\u522b\u662fgMLP\u548caMLP\u3002Pay-Attent &hellip; <a href=\"http:\/\/139.9.1.231\/index.php\/2022\/09\/20\/vision-mlp-pay-attention-to-mlps\/\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">Vision MLP &#8211;Pay Attention to MLPs<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[30,4,9],"tags":[],"_links":{"self":[{"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/posts\/7981"}],"collection":[{"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/comments?post=7981"}],"version-history":[{"count":28,"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/posts\/7981\/revisions"}],"predecessor-version":[{"id":9069,"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/posts\/7981\/revisions\/9069"}],"wp:attachment":[{"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/media?parent=7981"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/categories?post=7981"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/tags?post=7981"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}