{"id":299974,"date":"2020-03-11T15:00:32","date_gmt":"2020-03-11T15:00:32","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=299974"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=299974","title":{"rendered":"\u0422\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0435\u0440\u044b \u043a\u0430\u043a \u0433\u0440\u0430\u0444\u043e\u0432\u044b\u0435 \u043d\u0435\u0439\u0440\u043e\u043d\u043d\u044b\u0435 \u0441\u0435\u0442\u0438"},"content":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/491576\/\">\n<blockquote><p><strong>TL;DR<\/strong>: \u043f\u0435\u0440\u0435\u0432\u043e\u0434 \u043f\u043e\u0441\u0442\u0430 <strong>Chaitanya Joshi<\/strong> &quot;<a href=\"https:\/\/graphdeeplearning.github.io\/post\/transformers-are-gnns\/\" rel=\"nofollow\">Transformers are Graph Neural Networks<\/a>&quot;: \u0441\u0445\u0435\u043c\u044b, \u0444\u043e\u0440\u043c\u0443\u043b\u044b, \u0438\u0434\u0435\u0438, \u0432\u0430\u0436\u043d\u044b\u0435 \u0441\u0441\u044b\u043b\u043a\u0438. \u041f\u0443\u0431\u043b\u0438\u043a\u0443\u0435\u0442\u0441\u044f \u0441 \u043b\u044e\u0431\u0435\u0437\u043d\u043e\u0433\u043e \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0430\u0432\u0442\u043e\u0440\u0430.<\/p><\/blockquote>\n<p>\u0414\u0440\u0443\u0437\u044c\u044f-\u0434\u0430\u0442\u0430\u0441\u0430\u0435\u043d\u0442\u0438\u0441\u0442\u044b \u0447\u0430\u0441\u0442\u043e \u0437\u0430\u0434\u0430\u044e\u0442 \u043e\u0434\u0438\u043d \u0438 \u0442\u043e\u0442 \u0436\u0435 \u0432\u043e\u043f\u0440\u043e\u0441: \u0433\u0440\u0430\u0444\u043e\u0432\u044b\u0435 \u043d\u0435\u0439\u0440\u043e\u043d\u043d\u044b\u0435 \u0441\u0435\u0442\u0438 (Graph Neural Networks) \u2014 \u043f\u0440\u0435\u043a\u0440\u0430\u0441\u043d\u0430\u044f \u0438\u0434\u0435\u044f, \u043d\u043e \u0431\u044b\u043b\u0438 \u043b\u0438 \u0443 \u043d\u0438\u0445 \u0445\u043e\u0442\u044c \u043a\u0430\u043a\u0438\u0435-\u0442\u043e \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0438\u0435 \u0438\u0441\u0442\u043e\u0440\u0438\u0438 \u0443\u0441\u043f\u0435\u0445\u0430? \u0415\u0441\u0442\u044c \u043b\u0438 \u0443 \u043d\u0438\u0445 \u043a\u0430\u043a\u0438\u0435-\u043d\u0438\u0431\u0443\u0434\u044c \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0435 \u043d\u0430 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f?<\/p>\n<p>  <\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/-j\/aw\/9t\/-jaw9ttpo2rfmyw-uthuzemadl8.png\"><\/div>\n<p>  <\/p>\n<p>\u041c\u043e\u0436\u043d\u043e \u043f\u0440\u0438\u0432\u0435\u0441\u0442\u0438 \u0432 \u043f\u0440\u0438\u043c\u0435\u0440 \u0438 \u0431\u0435\u0437 \u0442\u043e\u0433\u043e \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0435 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b \u2014 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0432 <a href=\"https:\/\/medium.com\/pinterest-engineering\/pinsage-a-new-graph-convolutional-neural-network-for-web-scale-recommender-systems-88795a107f48\" rel=\"nofollow\">Pinterest<\/a>, <a href=\"https:\/\/arxiv.org\/abs\/1902.08730\" rel=\"nofollow\">Alibaba<\/a> \u0438 <a href=\"https:\/\/blog.twitter.com\/en_us\/topics\/company\/2019\/Twitter-acquires-Fabula-AI.html\" rel=\"nofollow\">Twitter<\/a>. \u041d\u043e \u0435\u0441\u0442\u044c \u0438 \u0431\u043e\u043b\u0435\u0435 \u0445\u0438\u0442\u0440\u0430\u044f \u0438\u0441\u0442\u043e\u0440\u0438\u044f \u0443\u0441\u043f\u0435\u0445\u0430: <a href=\"https:\/\/openai.com\/blog\/better-language-models\/\" rel=\"nofollow\">\u0448\u0442\u0443\u0440\u043c\u043e\u043c<\/a> <a href=\"https:\/\/www.blog.google\/products\/search\/search-language-understanding-bert\/\" rel=\"nofollow\">\u0432\u0437\u044f\u0432\u0448\u0430\u044f<\/a> <a href=\"https:\/\/www.microsoft.com\/en-us\/research\/project\/large-scale-pretraining-for-response-generation\/\" rel=\"nofollow\">\u043f\u0440\u043e\u043c\u044b\u0448\u043b\u0435\u043d\u043d\u0443\u044e<\/a> <a href=\"https:\/\/ai.facebook.com\/blog\/roberta-an-optimized-method-for-pretraining-self-supervised-nlp-systems\/\" rel=\"nofollow\">\u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0443<\/a> <a href=\"https:\/\/blog.einstein.ai\/introducing-a-conditional-transformer-language-model-for-controllable-generation\/\" rel=\"nofollow\">\u0435\u0441\u0442\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0433\u043e<\/a> <a href=\"https:\/\/nv-adlr.github.io\/MegatronLM\" rel=\"nofollow\">\u044f\u0437\u044b\u043a\u0430<\/a> \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0430 <a href=\"https:\/\/arxiv.org\/abs\/1706.03762\" rel=\"nofollow\">Transformer<\/a>.<\/p>\n<p>  <\/p>\n<p>\u0412 \u044d\u0442\u043e\u043c \u043f\u043e\u0441\u0442\u0435 \u043c\u043d\u0435 \u0431\u044b \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0441\u0432\u044f\u0437\u0438 \u043c\u0435\u0436\u0434\u0443 <a href=\"https:\/\/graphdeeplearning.github.io\/project\/spatial-convnets\/\" rel=\"nofollow\">\u0433\u0440\u0430\u0444\u043e\u0432\u044b\u043c\u0438 \u043d\u0435\u0439\u0440\u043e\u043d\u043d\u044b\u043c\u0438 \u0441\u0435\u0442\u044f\u043c\u0438<\/a> \u0438 \u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0435\u0440\u0430\u043c\u0438 (Transformers). \u041c\u044b \u043f\u043e\u0433\u043e\u0432\u043e\u0440\u0438\u043c \u043e\u0431 \u0438\u043d\u0442\u0443\u0438\u0442\u0438\u0432\u043d\u043e\u043c \u043e\u0431\u043e\u0441\u043d\u043e\u0432\u0430\u043d\u0438\u0438 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440 \u043c\u043e\u0434\u0435\u043b\u0435\u0439 \u0432 NLP- \u0438 GNN-\u0441\u043e\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u0430\u0445, \u043f\u043e\u043a\u0430\u0436\u0435\u043c \u0438\u0445 \u0441\u0432\u044f\u0437\u044c \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 \u0444\u043e\u0440\u043c\u0443\u043b \u0438 \u0443\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0439 \u0438 \u043f\u043e\u0440\u0430\u0441\u0441\u0443\u0436\u0434\u0430\u0435\u043c, \u043a\u0430\u043a \u043e\u0431\u0430 &quot;\u043c\u0438\u0440\u0430&quot; \u043c\u043e\u0433\u0443\u0442 \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0438\u0442\u044c \u0443\u0441\u0438\u043b\u0438\u044f, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0434\u0432\u0438\u043d\u0443\u0442\u044c \u043f\u0440\u043e\u0433\u0440\u0435\u0441\u0441.<\/p>\n<p><a name=\"habracut\"><\/a>  <\/p>\n<p>\u041d\u0430\u0447\u043d\u0451\u043c \u0441 \u043e\u0431\u0441\u0443\u0436\u0434\u0435\u043d\u0438\u044f \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u0446\u0435\u043b\u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440 \u0440\u0430\u0437\u043d\u044b\u0445 \u043c\u043e\u0434\u0435\u043b\u0435\u0439 \u2014 \u0441 <em>\u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0439<\/em> (representation learning).<\/p>\n<p>  <\/p>\n<h2 id=\"obuchenie-predstavleniy-dlya-nlp\">\u041e\u0431\u0443\u0447\u0435\u043d\u0438\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0439 \u0434\u043b\u044f NLP<\/h2>\n<p>  <\/p>\n<p>\u0422\u0430\u043a \u0438\u043b\u0438 \u0438\u043d\u0430\u0447\u0435 \u0432\u0441\u0435 \u043d\u0435\u0439\u0440\u043e\u0441\u0435\u0442\u0435\u0432\u044b\u0435 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u044b \u0441\u0442\u0440\u043e\u044f\u0442 <em>\u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f<\/em> \u0432\u0445\u043e\u0434\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u0432\u0438\u0434\u0435 \u0432\u0435\u043a\u0442\u043e\u0440\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 &quot;\u043a\u043e\u0434\u0438\u0440\u0443\u044e\u0442&quot; \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0435 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0438 \u0441\u0435\u043c\u0430\u043d\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u044d\u0442\u0438\u0445 \u0434\u0430\u043d\u043d\u044b\u0445. \u042d\u0442\u0438 <em>\u043b\u0430\u0442\u0435\u043d\u0442\u043d\u044b\u0435 (\u0441\u043a\u0440\u044b\u0442\u044b\u0435)<\/em> (latent\/hidden) \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u0442\u0435\u043c \u043f\u0435\u0440\u0435\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u043b\u044f \u043a\u0430\u043a\u043e\u0439-\u043d\u0438\u0431\u0443\u0434\u044c \u043f\u043e\u043b\u0435\u0437\u043d\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0438. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0434\u043b\u044f \u043a\u043b\u0430\u0441\u0441\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0439 \u0438\u043b\u0438 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0430 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0439. \u041d\u0435\u0439\u0440\u043e\u043d\u043d\u044b\u0435 \u0441\u0435\u0442\u0438 \u043e\u0431\u0443\u0447\u0430\u044e\u0442 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0432\u0441\u0451 \u043b\u0443\u0447\u0448\u0435 \u0438 \u043b\u0443\u0447\u0448\u0435 \u0431\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u043e\u0431\u0440\u0430\u0442\u043d\u043e\u0439 \u0441\u0432\u044f\u0437\u0438, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043e\u043d\u0438 \u043e\u0431\u044b\u0447\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0430\u044e\u0442 \u0432 \u0432\u0438\u0434\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u043f\u043e\u0442\u0435\u0440\u044c (error\/loss functions).<\/p>\n<p>  <\/p>\n<p>\u041f\u0440\u0438\u043d\u044f\u0442\u043e, \u0447\u0442\u043e \u0432 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0435 \u0435\u0441\u0442\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0433\u043e \u044f\u0437\u044b\u043a\u0430 (natural language processing; NLP), <strong>\u0440\u0435\u043a\u0443\u0440\u0440\u0435\u043d\u0442\u043d\u044b\u0435 \u043d\u0435\u0439\u0440\u043e\u043d\u043d\u044b\u0435 \u0441\u0435\u0442\u0438<\/strong> (recurrent neural networks; RNN) \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0441\u043b\u043e\u0432\u0430 \u0432 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0438 \u0441\u0442\u0440\u043e\u044f\u0442 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u2014 <strong>\u0448\u0430\u0433 \u0437\u0430 \u0448\u0430\u0433\u043e\u043c, \u043f\u043e \u043e\u0434\u043d\u043e\u043c\u0443 \u0441\u043b\u043e\u0432\u0443<\/strong>. \u041c\u043e\u0436\u043d\u043e \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0441\u0435\u0431\u0435 RNN \u043a\u0430\u043a \u043b\u0435\u043d\u0442\u0443 \u043a\u043e\u043d\u0432\u0435\u0439\u0435\u0440\u0430, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0441\u043b\u043e\u0432\u0430 \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u0430\u0432\u0442\u043e\u0440\u0435\u0433\u0440\u0435\u0441\u0441\u0438\u0432\u043d\u043e \u0441\u043b\u0435\u0432\u0430 \u043d\u0430\u043f\u0440\u0430\u0432\u043e. \u0412 \u0438\u0442\u043e\u0433\u0435 \u043d\u0430 \u043a\u0430\u0436\u0434\u043e\u0435 \u0441\u043b\u043e\u0432\u043e \u0432 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0432\u0435\u043a\u0442\u043e\u0440 \u0441\u043a\u0440\u044b\u0442\u044b\u0445 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u044b \u043b\u0438\u0431\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u0451\u043c \u043d\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0441\u043b\u043e\u0439 RNN, \u043b\u0438\u0431\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u0434\u043b\u044f \u043d\u0430\u0448\u0435\u0439 \u0446\u0435\u043b\u0435\u0432\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0438.<\/p>\n<p>  <\/p>\n<blockquote><p>\u041d\u0430\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u044e \u0437\u043d\u0430\u043c\u0435\u043d\u0438\u0442\u044b\u0439 \u0431\u043b\u043e\u0433 \u041a\u0440\u0438\u0441\u0442\u043e\u0444\u0435\u0440\u0430 \u041e\u043b\u0430\u0445\u0430, \u0435\u0441\u043b\u0438 \u043d\u0443\u0436\u043d\u043e \u0432\u0441\u043f\u043e\u043c\u043d\u0438\u0442\u044c, <a href=\"http:\/\/colah.github.io\/posts\/2015-08-Understanding-LSTMs\/\" rel=\"nofollow\">\u0447\u0442\u043e \u0442\u0430\u043a\u043e\u0435 RNN<\/a> \u0438 <a href=\"http:\/\/colah.github.io\/posts\/2014-07-NLP-RNNs-Representations\/\" rel=\"nofollow\">\u043e\u0431\u0443\u0447\u0435\u043d\u0438\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0439<\/a> (<a href=\"https:\/\/habr.com\/ru\/post\/253227\/\">\u043f\u0435\u0440\u0435\u0432\u043e\u0434<\/a> \u043d\u0430 \u0440\u0443\u0441\u0441\u043a\u0438\u0439) \u0434\u043b\u044f \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0435\u0441\u0442\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0433\u043e \u044f\u0437\u044b\u043a\u0430.<\/p><\/blockquote>\n<p>  <\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/dj\/x6\/ho\/djx6hovmmt6lvm73ucznp9vdbec.jpeg\"><\/div>\n<p>  <\/p>\n<p><strong>\u0422\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0435\u0440\u044b<\/strong> \u0431\u044b\u043b\u0438 \u0438\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0430\u043d\u044b \u0434\u043b\u044f \u043c\u0430\u0448\u0438\u043d\u043d\u043e\u0433\u043e \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0430 \u0438 \u043f\u043e\u0441\u0442\u0435\u043f\u0435\u043d\u043d\u043e \u0437\u0430\u043c\u0435\u043d\u0438\u043b\u0438 RNN \u0432 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0445 \u0437\u0430\u0434\u0430\u0447\u0430\u0445 NLP. \u0412 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0443 \u0437\u0430\u043b\u043e\u0436\u0435\u043d \u0441\u0432\u0435\u0436\u0438\u0439 \u043f\u043e\u0434\u0445\u043e\u0434 \u043a \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044e \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0439: \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0438\u0437\u0431\u0430\u0432\u0438\u0432\u0448\u0438\u0441\u044c \u043e\u0442 \u0440\u0435\u043a\u0443\u0440\u0440\u0435\u043d\u0442\u043d\u043e\u0441\u0442\u0438, \u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0435\u0440\u044b \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0441\u043b\u043e\u0432\u0430 \u0441\u0442\u0440\u043e\u044f\u0442 \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u0438, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e <a href=\"https:\/\/distill.pub\/2016\/augmented-rnns\/\" rel=\"nofollow\">\u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c<\/a> <a href=\"https:\/\/lilianweng.github.io\/lil-log\/2018\/06\/24\/attention-attention.html\" rel=\"nofollow\">\u0432\u043d\u0438\u043c\u0430\u043d\u0438\u044f<\/a> (attention mechanism; attention), \u0447\u0442\u043e\u0431\u044b \u0432\u044b\u044f\u0432\u0438\u0442\u044c \u0432\u0430\u0436\u043d\u043e\u0441\u0442\u044c <strong>\u0432\u0441\u0435\u0445 \u043f\u0440\u043e\u0447\u0438\u0445 \u0441\u043b\u043e\u0432<\/strong> \u0432 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0438 \u0434\u043b\u044f \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0441\u043b\u043e\u0432\u0430. \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0435 \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u0438 \u0434\u043b\u044f \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0441\u043b\u043e\u0432\u0430 \u2014 \u043f\u0440\u043e\u0441\u0442\u043e \u0441\u0443\u043c\u043c\u0430 \u043b\u0438\u043d\u0435\u0439\u043d\u044b\u0445 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u0439 \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u043e\u0432 \u0432\u0441\u0435\u0445 \u0441\u043b\u043e\u0432, \u0432\u0437\u0432\u0435\u0448\u0435\u043d\u043d\u044b\u0445 \u044d\u0442\u043e\u0439 &quot;\u0432\u0430\u0436\u043d\u043e\u0441\u0442\u044c\u044e&quot;.<\/p>\n<p>  <\/p>\n<blockquote><p>\u0412 \u0434\u0430\u043b\u0451\u043a\u043e\u043c 2017 \u0433\u043e\u0434\u0443 \u044d\u0442\u0430 \u043c\u044b\u0441\u043b\u044c \u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u043e\u0447\u0435\u043d\u044c \u0440\u0430\u0434\u0438\u043a\u0430\u043b\u044c\u043d\u043e\u0439, \u0442\u0430\u043a \u043a\u0430\u043a \u0432 \u0441\u043e\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u0435 NLP \u0432\u0441\u0435 \u043f\u0440\u0438\u0432\u044b\u043a\u043b\u0438 \u043a \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0439 \u2014 \u043f\u043e \u0441\u043b\u043e\u0432\u0443 \u0437\u0430 \u0440\u0430\u0437 \u2014 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0435 \u0442\u0435\u043a\u0441\u0442\u0430 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e RNN. \u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0441\u0442\u0430\u0442\u044c\u0438, \u043f\u043e\u0436\u0430\u043b\u0443\u0439, \u0442\u043e\u0436\u0435 \u043f\u043e\u0434\u043b\u0438\u043b\u043e \u043d\u0435\u043c\u0430\u043b\u043e \u043c\u0430\u0441\u043b\u0430 \u0432 \u043e\u0433\u043e\u043d\u044c!<br \/>  \u041c\u043e\u0436\u043d\u043e \u0432\u0441\u043f\u043e\u043c\u043d\u0438\u0442\u044c \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0441\u0442\u0438, \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0432 <a href=\"https:\/\/www.youtube.com\/watch?v=iDulhoQ2pro\" rel=\"nofollow\">\u043f\u0440\u0435\u0432\u043e\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u0432\u0438\u0434\u0435\u043e\u043e\u0431\u0437\u043e\u0440<\/a> Yannic Kilcher.<\/p><\/blockquote>\n<p>  <\/p>\n<h2 id=\"transformer-po-chastyam\">\u0422\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0435\u0440 \u043f\u043e \u0447\u0430\u0441\u0442\u044f\u043c<\/h2>\n<p>  <\/p>\n<p>\u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u0435\u0440\u0435\u0432\u0435\u0434\u0451\u043c \u043d\u0430\u0448\u0435 \u0438\u043d\u0442\u0443\u0438\u0442\u0438\u0432\u043d\u043e\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u044b \u0432 \u043f\u0440\u043e\u0448\u043b\u043e\u043c \u0430\u0431\u0437\u0430\u0446\u0435 \u043d\u0430 \u044f\u0437\u044b\u043a \u0444\u043e\u0440\u043c\u0443\u043b. \u0422\u0430\u043a, <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/517\/4f4\/9cc\/5174f49cc4f41fc5c4802c76f4c76c5a.svg\" alt=\"$h$\" data-tex=\"inline\"><\/math> \u2014 \u0441\u043a\u0440\u044b\u0442\u043e\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/bf8\/3b5\/32c\/bf83b532cd867d34004f8eded8c5c79a.svg\" alt=\"$i$\" data-tex=\"inline\"><\/math>-\u043e\u0433\u043e \u0441\u043b\u043e\u0432\u0430 \u0432 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0438 <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/cb6\/d45\/cf9\/cb6d45cf916546ae1085088c0c5dcd09.svg\" alt=\"$S$\" data-tex=\"inline\"><\/math> \u2014 \u043e\u0442 \u0441\u043b\u043e\u044f <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/30f\/b68\/14e\/30fb6814eea0091044df0e5de33dfbc2.svg\" alt=\"$l$\" data-tex=\"inline\"><\/math> \u043a \u0441\u043b\u043e\u044e <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/216\/bba\/8e5\/216bba8e5735761086b2e008848194c7.svg\" alt=\"$l+1$\" data-tex=\"inline\"><\/math> \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0432\u043e\u0442 \u0442\u0430\u043a:<\/p>\n<p>  <\/p>\n<p><math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/84e\/a02\/544\/84ea02544598e87d8000f78e06bf735b.svg\" alt=\"$h_{i}^{\\ell+1} = \\text{Attention} \\left( Q^{\\ell} h_{i}^{\\ell} \\ , K^{\\ell} h_{j}^{\\ell} \\ , V^{\\ell} h_{j}^{\\ell} \\right),$\" data-tex=\"display\"><\/math><\/p>\n<p>  <\/p>\n<p><math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/891\/301\/a72\/891301a728eae4fc8438280a75c6875d.svg\" alt=\"$i.e.,\\ h_{i}^{\\ell+1} = \\sum_{j \\in \\mathcal{S}} w_{ij} \\left( V^{\\ell} h_{j}^{\\ell} \\right),$\" data-tex=\"display\"><\/math><\/p>\n<p>  <\/p>\n<p><math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/c83\/bbf\/205\/c83bbf2051aa8c6c5127f32b6895f619.svg\" alt=\"$\\text{\u0433\u0434\u0435} \\ w_{ij} = \\text{softmax}_j \\left( Q^{\\ell} h_{i}^{\\ell} \\cdot K^{\\ell} h_{j}^{\\ell} \\right),$\" data-tex=\"display\"><\/math><\/p>\n<p>  <\/p>\n<p>\u0433\u0434\u0435 \u0437\u0430 <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/852\/3b3\/21e\/8523b321ee8d85abcafcc6eadde2ca0d.svg\" alt=\"$j \\in \\mathcal{S}$\" data-tex=\"inline\"><\/math> \u043c\u044b \u043e\u0431\u043e\u0437\u043d\u0430\u0447\u0438\u043b\u0438 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u0441\u043b\u043e\u0432 \u0432 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0438, \u0430 \u0437\u0430 <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/38e\/172\/092\/38e1720924799efe037f13d4a1329245.svg\" alt=\"$Q^{\\ell}, K^{\\ell}, V^{\\ell}$\" data-tex=\"inline\"><\/math> \u2014 \u043e\u0431\u0443\u0447\u0430\u0435\u043c\u044b\u0435 \u043b\u0438\u043d\u0435\u0439\u043d\u044b\u0435 \u0432\u0435\u0441\u0430 (\u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0441\u043e\u043a\u0440\u0430\u0449\u0451\u043d\u043d\u044b\u0435 <strong>Q<\/strong>uery, <strong>K<\/strong>ey \u0438 <strong>V<\/strong>alue). \u041c\u0435\u0445\u0430\u043d\u0438\u0437\u043c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u044f \u0432\u044b\u0447\u0438\u0441\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u043e \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0441\u043b\u043e\u0432\u0430 \u0432 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0438, \u0447\u0442\u043e\u0431\u044b <em>\u0440\u0430\u0437\u043e\u043c<\/em> \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0438\u0445 \u043e\u0431\u043d\u043e\u0432\u043b\u0451\u043d\u043d\u044b\u0435 \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u0438. \u0415\u0449\u0451 \u0434\u0435\u0441\u044f\u0442\u044c \u043e\u0447\u043a\u043e\u0432 \u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0435\u0440\u0430\u043c! \u2014 \u0435\u0441\u043b\u0438 \u0441\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0442\u044c \u0438\u0445 \u0441 RNN, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u044e\u0442 \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u0438 \u043f\u043e\u0441\u043b\u043e\u0432\u043d\u043e.<\/p>\n<p>  <\/p>\n<p>\u041c\u0435\u0445\u0430\u043d\u0438\u0437\u043c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u044f \u043b\u0435\u0433\u0447\u0435 \u043f\u043e\u043d\u044f\u0442\u044c, \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0435\u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e \u0446\u0435\u043f\u043e\u0447\u043a\u0443 \u0448\u0430\u0433\u043e\u0432:<\/p>\n<p>  <\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/ja\/up\/0k\/jaup0kdgm7-yizx41dhfgc1im2g.jpeg\" width=\"400\"><\/div>\n<p>  <\/p>\n<blockquote><p>\u0412\u0437\u044f\u0432 \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u0438 \u0434\u043b\u044f \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0441\u043b\u043e\u0432\u0430 <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/aa7\/3e6\/ac7\/aa73e6ac7264a17f49bf11ec68e72f6c.svg\" alt=\"$h_{i}^{\\ell}$\" data-tex=\"inline\"><\/math> \u0438 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u0434\u0440\u0443\u0433\u0438\u0445 \u0441\u043b\u043e\u0432 \u0432 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0438 <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/3ce\/f48\/5d9\/3cef485d9d6bbbfeb9acfe599b9b6c1f.svg\" alt=\"${ h_{j}^{\\ell} ;\\ \\forall j \\in \\mathcal{S} }$\" data-tex=\"inline\"><\/math> \u0432\u044b\u0447\u0438\u0441\u043b\u0438\u043c \u0432\u0435\u0441\u0430 \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c\u0430 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u044f <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/d6e\/5e0\/a61\/d6e5e0a61fe64cb18647c78f9c66b167.svg\" alt=\"$ w_{ij}$\" data-tex=\"inline\"><\/math> \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0439 \u043f\u0430\u0440\u044b <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/aa1\/84d\/68d\/aa184d68d45155402576665ad494ecc3.svg\" alt=\"$(i,j)$\" data-tex=\"inline\"><\/math> \u043a\u0430\u043a \u0441\u043a\u0430\u043b\u044f\u0440\u043d\u043e\u0435 \u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435, \u043f\u043e\u0441\u043b\u0435 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u043c softmax \u0432\u0434\u043e\u043b\u044c \u0432\u0441\u0435\u0445 <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/b82\/8e2\/475\/b828e2475a3a56280b895f35eb250ea2.svg\" alt=\"$j$\" data-tex=\"inline\"><\/math>. \u041d\u0430\u043a\u043e\u043d\u0435\u0446, \u043d\u0430 \u0432\u044b\u0445\u043e\u0434\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u043e\u0431\u043d\u043e\u0432\u043b\u0451\u043d\u043d\u044b\u0435 \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u0438 <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/0da\/706\/496\/0da706496be293ce46760289f941094d.svg\" alt=\"$h_{i}^{\\ell+1}$\" data-tex=\"inline\"><\/math> \u0434\u043b\u044f \u0441\u043b\u043e\u0432\u0430 <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/bf8\/3b5\/32c\/bf83b532cd867d34004f8eded8c5c79a.svg\" alt=\"$i$\" data-tex=\"inline\"><\/math>, \u0441\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u044f \u043f\u043e \u0432\u0441\u0435\u043c <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/f54\/a49\/f0f\/f54a49f0f78975f4b38fa8c8e5632348.svg\" alt=\"${ h_{j}^{\\ell} }$\" data-tex=\"inline\"><\/math>, \u0432\u0437\u0432\u0435\u0448\u0435\u043d\u043d\u044b\u043c \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u043c\u0438 <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/d6e\/5e0\/a61\/d6e5e0a61fe64cb18647c78f9c66b167.svg\" alt=\"$w_{ij}$\" data-tex=\"inline\"><\/math>. \u041a\u0430\u0436\u0434\u043e\u0435 \u0441\u043b\u043e\u0432\u043e \u0432 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0438 \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u0442 \u0447\u0435\u0440\u0435\u0437 \u043e\u0434\u043d\u0443 \u0438 \u0442\u0443 \u0436\u0435 \u0446\u0435\u043f\u043e\u0447\u043a\u0443 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0439.<\/p><\/blockquote>\n<p>  <\/p>\n<h2 id=\"mnogogolovoe-vnimanie-multi-head-attention\">\u041c\u043d\u043e\u0433\u043e\u0433\u043e\u043b\u043e\u0432\u043e\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 (Multi-Head Attention)<\/h2>\n<p>  <\/p>\n<p>\u041d\u0435 \u0442\u0430\u043a-\u0442\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0437\u0430\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435-\u043d\u0430-\u0441\u043a\u0430\u043b\u044f\u0440\u043d\u043e\u043c-\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0438 (dot product attention): \u043d\u0435\u0443\u0434\u0430\u0447\u043d\u0430\u044f \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u043c\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f\u043c\u0438 \u043c\u043e\u0436\u0435\u0442 \u0434\u0435\u0441\u0442\u0430\u0431\u0438\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f. \u0421 \u044d\u0442\u0438\u043c \u0441\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0442\u0441\u044f, \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u0432\u044b\u0447\u0438\u0441\u043b\u044f\u044f \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u0441\u0440\u0430\u0437\u0443 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u043c\u0438 &quot;\u0433\u043e\u043b\u043e\u0432\u0430\u043c\u0438&quot; (attention heads) \u0438 \u0441\u043a\u043b\u0435\u0438\u0432\u0430\u044f (\u043a\u043e\u043d\u043a\u0430\u0442\u0435\u043d\u0438\u0440\u0443\u044f) \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b (\u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u0443 \u043a\u0430\u0436\u0434\u043e\u0439 &quot;\u0433\u043e\u043b\u043e\u0432\u044b&quot; \u0441\u0432\u043e\u0438 \u043e\u0431\u0443\u0447\u0430\u044e\u0449\u0438\u0435\u0441\u044f \u0432\u0435\u0441\u0430):<\/p>\n<p>  <\/p>\n<p><math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/975\/0cd\/ef7\/9750cdef722e20fd5abedfb9d5283539.svg\" alt=\"$h_{i}^{\\ell+1} = \\text{Concat} \\left( \\text{head}_1, \\ldots, \\text{head}_K \\right) O^{\\ell},$\" data-tex=\"display\"><\/math><\/p>\n<p>  <\/p>\n<p><math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/5da\/ed3\/e14\/5daed3e14b02980a35eb969f218b8466.svg\" alt=\"$\\text{head}_k = \\text{Attention} \\left( Q^{k,\\ell} h_{i}^{\\ell} \\ , K^{k, \\ell} h_{j}^{\\ell} \\ , V^{k, \\ell} h_{j}^{\\ell} \\right),$\" data-tex=\"display\"><\/math><\/p>\n<p>  <\/p>\n<p>\u0433\u0434\u0435 <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/7b2\/d32\/340\/7b2d32340be7acc6067fec676d8d0ee6.svg\" alt=\"$Q^{k,\\ell}, K^{k,\\ell}, V^{k,\\ell}$\" data-tex=\"inline\"><\/math> \u2014 \u043e\u0431\u0443\u0447\u0430\u0435\u043c\u044b\u0435 \u0432\u0435\u0441\u0430 <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/16d\/a50\/7b2\/16da507b2fc389688ef0659939dcc647.svg\" alt=\"$k$\" data-tex=\"inline\"><\/math>-\u0439 &quot;\u0433\u043e\u043b\u043e\u0432\u044b&quot; \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u044f, \u0430 <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/a24\/444\/4cb\/a244444cb2f1a4ca122c0958b381878e.svg\" alt=\"$O^{\\ell}$\" data-tex=\"inline\"><\/math> \u2014 \u044d\u0442\u043e \u043f\u0440\u043e\u0435\u043a\u0446\u0438\u044f, \u0447\u0442\u043e\u0431\u044b \u0440\u0430\u0437\u043c\u0435\u0440\u043d\u043e\u0441\u0442\u0438 <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/0da\/706\/496\/0da706496be293ce46760289f941094d.svg\" alt=\"$h_i^{\\ell+1}$\" data-tex=\"inline\"><\/math> \u0438 <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/aa7\/3e6\/ac7\/aa73e6ac7264a17f49bf11ec68e72f6c.svg\" alt=\"$h_i^{\\ell}$\" data-tex=\"inline\"><\/math> \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u043e\u0432\u0430\u043b\u0438 \u043f\u043e \u0432\u0441\u0435\u043c \u0441\u043b\u043e\u044f\u043c.<\/p>\n<p>  <\/p>\n<p>\u0412 \u0441\u0443\u0449\u043d\u043e\u0441\u0442\u0438, \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e &quot;\u0433\u043e\u043b\u043e\u0432&quot; \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0442 \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c\u0443 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u044f &quot;\u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0441\u0440\u0430\u0437\u0443 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0442\u0430\u0432\u043e\u043a&quot;, \u0434\u0430\u0432\u0430\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0430 \u0440\u0430\u0437\u043d\u044b\u0435 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0438\u043b\u0438 \u0430\u0441\u043f\u0435\u043a\u0442\u044b \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u043e\u0432 \u0441 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0433\u043e \u0441\u043b\u043e\u044f. \u041c\u044b \u0435\u0449\u0451 \u043f\u043e\u0433\u043e\u0432\u043e\u0440\u0438\u043c \u043e\u0431 \u044d\u0442\u043e\u043c \u043f\u043e\u0437\u0436\u0435.<\/p>\n<p>  <\/p>\n<h2 id=\"problemy-masshtabirovaniya-i-podsloy-pryamogo-rasprostraneniya\">\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0438 &quot;\u043f\u043e\u0434\u0441\u043b\u043e\u0439&quot; \u043f\u0440\u044f\u043c\u043e\u0433\u043e \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0435\u043d\u0438\u044f<\/h2>\n<p>  <\/p>\n<p><em>Scale issues and the Feed-forward sub-layer<\/em><\/p>\n<p>  <\/p>\n<p>\u041a\u043b\u044e\u0447\u0435\u0432\u0430\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430, \u0438\u0437-\u0437\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0430 \u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0435\u0440\u043e\u0432 \u0443\u0441\u0442\u0440\u043e\u0435\u043d\u0430 \u0438\u043c\u0435\u043d\u043d\u043e \u0442\u0430\u043a, \u043a\u0430\u043a \u0443\u0441\u0442\u0440\u043e\u0435\u043d\u0430, \u0437\u0430\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u0432\u043e\u0442 \u0432 \u0447\u0451\u043c: \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u043e\u0432 \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0441\u043b\u043e\u0432\u0430 <em>\u043f\u043e\u0441\u043b\u0435<\/em> \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c\u0430 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u044f \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c <strong>\u043e\u0447\u0435\u043d\u044c \u0440\u0430\u0437\u043d\u044b\u043c\u0438 \u043f\u043e \u0432\u0435\u043b\u0438\u0447\u0438\u043d\u0435<\/strong>. \u0412\u043e-\u043f\u0435\u0440\u0432\u044b\u0445 (1), \u044d\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0438\u0437-\u0437\u0430 \u0441\u043b\u0438\u0448\u043a\u043e\u043c &quot;\u043e\u0441\u0442\u0440\u044b\u0445 \u043f\u0438\u043a\u043e\u0432&quot; \u0438\u043b\u0438, \u043d\u0430\u043f\u0440\u043e\u0442\u0438\u0432, \u0440\u0430\u0432\u043d\u043e\u043c\u0435\u0440\u043d\u043e\u0441\u0442\u0438 \u0432 \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0438 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u044f <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/d6e\/5e0\/a61\/d6e5e0a61fe64cb18647c78f9c66b167.svg\" alt=\"$w_{ij}$\" data-tex=\"inline\"><\/math>. \u0412\u043e-\u0432\u0442\u043e\u0440\u044b\u0445 (2), \u043c\u044b \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0441\u043b\u043e\u0432\u0430 \u0441\u043a\u043b\u0435\u0438\u0432\u0430\u0435\u043c \u0432\u044b\u0445\u043e\u0434\u044b \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0433\u043e\u043b\u043e\u0432, \u0438 \u043e\u043d\u0438 \u0442\u0430\u043a\u0436\u0435 \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u043e\u0447\u0435\u043d\u044c \u0440\u0430\u0437\u043d\u044b\u043c\u0438 \u043f\u043e &quot;\u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0443&quot;. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432 \u0438\u0442\u043e\u0433\u043e\u0432\u043e\u043c \u0432\u0435\u043a\u0442\u043e\u0440\u0435 <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/0da\/706\/496\/0da706496be293ce46760289f941094d.svg\" alt=\"$h_{i}^{\\ell+1}$\" data-tex=\"inline\"><\/math> \u0440\u0430\u0437\u0431\u0440\u043e\u0441 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0438\u043c. \u041f\u043e \u043f\u0440\u0438\u043d\u044f\u0442\u044b\u043c \u0432 \u043c\u0430\u0448\u0438\u043d\u043d\u043e\u043c \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u0438 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0430\u043c, \u0437\u0434\u0435\u0441\u044c \u0432 \u0446\u0435\u043f\u043e\u0447\u043a\u0443 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0439 \u0435\u0441\u0442\u044c \u0441\u043c\u044b\u0441\u043b \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c <a href=\"https:\/\/nealjean.com\/ml\/neural-network-normalization\/\" rel=\"nofollow\">\u043d\u043e\u0440\u043c\u0430\u043b\u0438\u0437\u0443\u044e\u0449\u0438\u0439 \u0441\u043b\u043e\u0439<\/a> (normalization layer).<\/p>\n<p>  <\/p>\n<p>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 (2) \u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0435\u0440\u044b \u0440\u0435\u0448\u0430\u044e\u0442 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e <a href=\"https:\/\/arxiv.org\/abs\/1607.06450\" rel=\"nofollow\">LayerNorm<\/a>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u043e\u0440\u043c\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0435\u0442 \u0438 \u0432\u044b\u0443\u0447\u0438\u0432\u0430\u0435\u0442 \u0430\u0444\u0444\u0438\u043d\u043d\u043e\u0435 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u043d\u0430 \u0443\u0440\u043e\u0432\u043d\u0435 \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u043e\u0432. \u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, <strong>\u0434\u0435\u043b\u0435\u043d\u0438\u0435<\/strong> \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u044f-\u043d\u0430-\u0441\u043a\u0430\u043b\u044f\u0440\u043d\u043e\u043c-\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0438 <strong>\u043d\u0430 \u043a\u0432\u0430\u0434\u0440\u0430\u0442\u043d\u044b\u0439 \u043a\u043e\u0440\u0435\u043d\u044c \u0438\u0437 \u0440\u0430\u0437\u043c\u0435\u0440\u043d\u043e\u0441\u0442\u0438<\/strong> \u043f\u043e\u043c\u043e\u0433\u0430\u0435\u0442 \u043f\u0440\u043e\u0442\u0438\u0432\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0435 (1).<\/p>\n<p>  <\/p>\n<p>\u041d\u0430\u043a\u043e\u043d\u0435\u0446, \u0430\u0432\u0442\u043e\u0440\u044b \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u044e\u0442 \u0435\u0449\u0451 \u043e\u0434\u0438\u043d \u0444\u043e\u043a\u0443\u0441, \u0447\u0442\u043e\u0431\u044b \u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c\u0441\u044f \u0441 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u043e\u0439 \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f: \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043d\u0430 \u043a\u0430\u0436\u0434\u043e\u0439 \u043f\u043e\u0437\u0438\u0446\u0438\u0438 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u044b\u0432\u0430\u044e\u0442 <strong>\u0434\u0432\u0443\u0445\u0441\u043b\u043e\u0439\u043d\u044b\u043c \u043f\u0435\u0440\u0446\u0435\u043f\u0442\u0440\u043e\u043d\u043e\u043c \u0441 \u043e\u0441\u043e\u0431\u043e\u0439 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u043e\u0439<\/strong>. \u041f\u043e\u0441\u043b\u0435 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043c\u043d\u043e\u0433\u043e\u0433\u043e\u043b\u043e\u0432\u043e\u0433\u043e \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u044f, \u043e\u043d\u0438 \u043f\u0440\u043e\u0435\u0446\u0438\u0440\u0443\u044e\u0442 <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/0da\/706\/496\/0da706496be293ce46760289f941094d.svg\" alt=\"$h_i^{\\ell+1}$\" data-tex=\"inline\"><\/math> \u043d\u0430 (\u0430\u0431\u0441\u0443\u0440\u0434\u043d\u043e) \u0432\u044b\u0441\u043e\u043a\u0443\u044e \u0440\u0430\u0437\u043c\u0435\u0440\u043d\u043e\u0441\u0442\u044c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043e\u0431\u0443\u0447\u0430\u0435\u043c\u044b\u0445 \u0432\u0435\u0441\u043e\u0432, \u0433\u0434\u0435 \u0437\u0430\u0442\u0435\u043c \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u043d\u0435\u043b\u0438\u043d\u0435\u0439\u043d\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0435\u0439 \u0430\u043a\u0442\u0438\u0432\u0430\u0446\u0438\u0438 ReLU, \u0430 \u043f\u043e\u0442\u043e\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0435\u0446\u0438\u0440\u0443\u044e\u0442 \u0432 \u0438\u0441\u0445\u043e\u0434\u043d\u0443\u044e \u0440\u0430\u0437\u043c\u0435\u0440\u043d\u043e\u0441\u0442\u044c, \u0437\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u043e\u0447\u0435\u0440\u0435\u0434\u043d\u0430\u044f \u043d\u043e\u0440\u043c\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f:<\/p>\n<p>  <\/p>\n<p><math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/bdb\/cbc\/c23\/bdbcbcc239559c6102135e0036612d1a.svg\" alt=\"$h_i^{\\ell+1} = \\text{LN} \\left( \\text{MLP} \\left( \\text{LN} \\left( h_i^{\\ell+1} \\right) \\right) \\right)$\" data-tex=\"display\"><\/math><\/p>\n<p>  <\/p>\n<blockquote><p>\u0427\u0435\u0441\u0442\u043d\u043e \u0433\u043e\u0432\u043e\u0440\u044f, \u043c\u043d\u0435 \u043d\u0435\u043e\u0447\u0435\u0432\u0438\u0434\u043d\u043e, \u043a\u0430\u043a\u0438\u043c\u0438 \u0438\u043d\u0442\u0443\u0438\u0442\u0438\u0432\u043d\u044b\u043c\u0438 \u0441\u043e\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f\u043c\u0438 \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u043e\u0432\u0430\u043b\u0438\u0441\u044c \u0430\u0432\u0442\u043e\u0440\u044b, \u043f\u0440\u0438\u0434\u0443\u043c\u044b\u0432\u0430\u044f \u043f\u043e\u043b\u043d\u043e\u0441\u0432\u044f\u0437\u043d\u044b\u0439 \u043f\u043e\u0434\u0441\u043b\u043e\u0439 \u0441 \u0447\u0440\u0435\u0437\u043c\u0435\u0440\u043d\u043e \u0431\u043e\u043b\u044c\u0448\u0438\u043c \u0447\u0438\u0441\u043b\u043e\u043c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432. \u0418 \u043a\u0430\u043a \u0431\u0443\u0434\u0442\u043e \u043f\u043e\u043a\u0430 \u043d\u0438\u043a\u0442\u043e \u0438 \u043d\u0435 \u0441\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u043b! \u042f \u043f\u043e\u0434\u043e\u0437\u0440\u0435\u0432\u0430\u044e, \u0447\u0442\u043e \u043e\u0434\u043d\u0438 \u0442\u043e\u043b\u044c\u043a\u043e LayerNorm \u0438 \u043e\u0442\u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0441\u043a\u0430\u043b\u044f\u0440\u043d\u044b\u0435 \u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u043d\u0435 \u0432\u043f\u043e\u043b\u043d\u0435 \u0441\u043f\u0440\u0430\u0432\u043b\u044f\u043b\u0438\u0441\u044c \u0441 \u043e\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u043c\u0438 \u0432\u044b\u0448\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430\u043c\u0438. \u0422\u0430\u043a \u0447\u0442\u043e \u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u043c\u043d\u043e\u0433\u043e\u0441\u043b\u043e\u0439\u043d\u044b\u0439 \u043f\u0435\u0440\u0446\u0435\u043f\u0442\u0440\u043e\u043d \u2014 \u044d\u0442\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0445\u0430\u043a, \u0447\u0442\u043e\u0431\u044b \u043f\u0435\u0440\u0435\u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u0435\u043a\u0442\u043e\u0440\u044b \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u043e\u0432 \u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e \u0434\u0440\u0443\u0433 \u043e\u0442 \u0434\u0440\u0443\u0433\u0430.<br \/>  \u041d\u0430\u043f\u0438\u0448\u0438\u0442\u0435 <a href=\"mailto:chaitanya.joshi@ntu.edu.sg\">\u043c\u043d\u0435 \u043d\u0430 \u043f\u043e\u0447\u0442\u0443<\/a>, \u0435\u0441\u043b\u0438 \u0432\u0430\u043c \u0435\u0441\u0442\u044c \u0447\u0442\u043e \u043e\u0431 \u044d\u0442\u043e\u043c \u0441\u043a\u0430\u0437\u0430\u0442\u044c!<\/p><\/blockquote>\n<p>\u0418\u0442\u043e\u0433\u043e\u0432\u0430\u044f \u0441\u0445\u0435\u043c\u0430 \u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0435\u0440\u0430 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a:<\/p>\n<p>  <\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/cz\/fy\/lm\/czfylm8xicef9mhookjdhow2eei.png\" width=\"400\"><\/div>\n<p>  <\/p>\n<p>\u0410\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0430 &quot;\u0422\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0435\u0440&quot; \u0437\u0430\u043f\u0440\u043e\u0441\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0442\u0441\u044f \u0435\u0449\u0451 \u0431\u043e\u043b\u0435\u0435 \u0433\u043b\u0443\u0431\u043e\u043a\u043e\u0439, \u0438 \u044d\u0442\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 NLP-\u0441\u043e\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u0443 <a href=\"https:\/\/arxiv.org\/abs\/1910.10683\" rel=\"nofollow\">\u043d\u0430\u0440\u0430\u0449\u0438\u0432\u0430\u0442\u044c<\/a> <a href=\"https:\/\/arxiv.org\/abs\/2001.08361\" rel=\"nofollow\">\u0438 \u0447\u0438\u0441\u043b\u043e \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432<\/a>, \u0438 \u0440\u0430\u0437\u043c\u0435\u0440\u044b \u0434\u0430\u0442\u0430\u0441\u0435\u0442\u043e\u0432. \u041a\u043b\u044e\u0447\u0435\u0432\u043e\u0439 \u0434\u0435\u0442\u0430\u043b\u044c\u044e, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0435\u0439 \u0441\u0442\u0430\u0432\u0438\u0442\u044c (&quot;\u0441\u0442\u0415\u043a\u0430\u0442\u044c&quot;) \u0441\u043b\u043e\u0438 \u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0435\u0440\u0430 \u0434\u0440\u0443\u0433 \u043d\u0430 \u0434\u0440\u0443\u0433\u0430, \u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f <strong>\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u044b\u0435 \u0441\u0432\u044f\u0437\u0438<\/strong> (residual connections) \u043c\u0435\u0436\u0434\u0443 \u0432\u0445\u043e\u0434\u0430\u043c\u0438 \u0438 \u0432\u044b\u0445\u043e\u0434\u0430\u043c\u0438 \u043a\u0430\u0436\u0434\u043e\u0433\u043e &quot;\u043f\u043e\u0434\u0441\u043b\u043e\u044f&quot; \u043c\u043d\u043e\u0433\u043e\u0433\u043e\u043b\u043e\u0432\u043e\u0433\u043e \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u044f \u0438 \u043f\u043e\u043b\u043d\u043e\u0441\u0432\u044f\u0437\u043d\u043e\u0433\u043e &quot;\u043f\u043e\u0434\u0441\u043b\u043e\u044f&quot;. \u041d\u0430 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0435 \u043e\u043d\u0438 \u043d\u0435 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u044b \u0434\u043b\u044f \u044f\u0441\u043d\u043e\u0441\u0442\u0438 \u0438\u0437\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0432\u0441\u0435\u0433\u043e \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u0433\u043e.<\/p>\n<p>  <\/p>\n<h2 id=\"gnn-stroyat-predstavleniya-grafov\">GNN \u0441\u0442\u0440\u043e\u044f\u0442 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0433\u0440\u0430\u0444\u043e\u0432<\/h2>\n<p>  <\/p>\n<p>\u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043d\u0430 \u043c\u0438\u043d\u0443\u0442\u0443 \u043e\u0442\u0432\u043b\u0435\u0447\u0451\u043c\u0441\u044f \u043e\u0442 NLP.<\/p>\n<p>  <\/p>\n<p>\u0413\u0440\u0430\u0444\u043e\u0432\u044b\u0435 \u043d\u0435\u0439\u0440\u043e\u043d\u043d\u044b\u0435 \u0441\u0435\u0442\u0438 (GNN) \u0438\u043b\u0438 \u0433\u0440\u0430\u0444\u043e\u0432\u044b\u0435 \u0441\u0432\u0451\u0440\u0442\u043e\u0447\u043d\u044b\u0435 \u0441\u0435\u0442\u0438 (GCN) \u0441\u0442\u0440\u043e\u044f\u0442 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0432\u0435\u0440\u0448\u0438\u043d \u0438 \u0440\u0451\u0431\u0435\u0440 \u043d\u0430 \u0433\u0440\u0430\u0444\u043e\u0432\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445. \u0414\u0435\u043b\u0430\u044e\u0442 \u044d\u0442\u043e \u043e\u043d\u0438 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e <strong>\u0430\u0433\u0440\u0435\u0433\u0430\u0446\u0438\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u0441\u043e\u0441\u0435\u0434\u0435\u0439<\/strong> (\u0438\u043b\u0438, \u0438\u043d\u0430\u0447\u0435 \u0433\u043e\u0432\u043e\u0440\u044f, \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439). \u041a\u0430\u0436\u0434\u0430\u044f \u0432\u0435\u0440\u0448\u0438\u043d\u0430 \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442 \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u0438 \u0441\u043e\u0441\u0435\u0434\u043d\u0438\u0445 \u0432\u0435\u0440\u0448\u0438\u043d, \u0447\u0442\u043e\u0431\u044b \u043e\u0431\u043d\u043e\u0432\u0438\u0442\u044c \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 <em>\u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0439<\/em> \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b \u0433\u0440\u0430\u0444\u0430 \u0432 \u0435\u0451 \u043e\u043a\u0440\u0435\u0441\u0442\u043d\u043e\u0441\u0442\u0438. \u0421\u0442\u0435\u043a\u0438\u043d\u0433 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0441\u043b\u043e\u0451\u0432 GNN \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043c\u043e\u0434\u0435\u043b\u0438 \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u044f\u0442\u044c (propagate) \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u0438 \u043a\u0430\u0436\u0434\u043e\u0439 \u0432\u0435\u0440\u0448\u0438\u043d\u044b \u043f\u043e \u0432\u0441\u0435\u043c\u0443 \u0433\u0440\u0430\u0444\u0443 \u2014 \u043e\u0442 \u0441\u043e\u0441\u0435\u0434\u0435\u0439 \u043a \u0441\u043e\u0441\u0435\u0434\u044f\u043c \u0441\u043e\u0441\u0435\u0434\u0435\u0439 \u2014 \u0438 \u0442\u0430\u043a \u0434\u0430\u043b\u0435\u0435.<\/p>\n<p>  <\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/xl\/4u\/6x\/xl4u6xqjqqemczb23ohxwxtoljy.jpeg\" width=\"600\"><\/div>\n<p>  <\/p>\n<blockquote><p>\u0420\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c, \u043a \u043f\u0440\u0438\u043c\u0435\u0440\u0443, \u044d\u0442\u0443 \u0441\u043e\u0446\u0438\u0430\u043b\u044c\u043d\u0443\u044e \u0441\u0435\u0442\u044c \u0438\u0437 \u044d\u043c\u043e\u0434\u0436\u0438: \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u0438 \u043f\u0440\u0438 \u043a\u0430\u0436\u0434\u043e\u0439 \u0432\u0435\u0440\u0448\u0438\u043d\u0435, \u043e\u0431\u0443\u0447\u0435\u043d\u043d\u044b\u0435 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e GNN, \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u043b\u044f \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u0430\u043d\u0438\u0439: \u0432\u044b\u0434\u0435\u043b\u0438\u0442\u044c \u043d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u0432\u043b\u0438\u044f\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u043e\u0432 \u0441\u0435\u0442\u0438 \u0438\u043b\u0438 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0438\u0442\u044c \u043f\u0440\u043e\u0432\u0435\u0441\u0442\u0438 \u043f\u043e\u0442\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u043e &quot;\u043f\u043e\u043b\u0435\u0437\u043d\u043e\u0435&quot; \u0440\u0435\u0431\u0440\u043e.<\/p><\/blockquote>\n<p>\u0412 \u0441\u0430\u043c\u043e\u043c \u043f\u0440\u043e\u0441\u0442\u043e\u043c \u0432\u0438\u0434\u0435 GNN \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u044e\u0442 \u0441\u043a\u0440\u044b\u0442\u044b\u0435 \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u0438 <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/517\/4f4\/9cc\/5174f49cc4f41fc5c4802c76f4c76c5a.svg\" alt=\"$h$\" data-tex=\"inline\"><\/math> \u0432\u0435\u0440\u0448\u0438\u043d <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/bf8\/3b5\/32c\/bf83b532cd867d34004f8eded8c5c79a.svg\" alt=\"$i$\" data-tex=\"inline\"><\/math> \u0432 \u0441\u043b\u043e\u0435 <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/954\/a53\/201\/954a53201678831db7f518d3839bb314.svg\" alt=\"$\\ell$\" data-tex=\"inline\"><\/math> \u043f\u0443\u0442\u0451\u043c \u043d\u0435\u043b\u0438\u043d\u0435\u0439\u043d\u043e\u0433\u043e \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u043e\u0432 <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/aa7\/3e6\/ac7\/aa73e6ac7264a17f49bf11ec68e72f6c.svg\" alt=\"$h_i^{\\ell}$\" data-tex=\"inline\"><\/math> \u0441\u0430\u043c\u043e\u0439 \u0432\u0435\u0440\u0448\u0438\u043d\u044b, \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0445 \u043a \u0430\u0433\u0440\u0435\u0433\u0430\u0446\u0438\u0438 \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u043e\u0432 <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/f54\/a49\/f0f\/f54a49f0f78975f4b38fa8c8e5632348.svg\" alt=\"$h_j^{\\ell}$\" data-tex=\"inline\"><\/math> \u0441 \u043a\u0430\u0436\u0434\u043e\u0439 \u0438\u0437 \u0441\u043e\u0441\u0435\u0434\u043d\u0438\u0445 \u0432\u0435\u0440\u0448\u0438\u043d <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/198\/10d\/877\/19810d877d31eac915cefa2b94a14ba6.svg\" alt=\"$j \\in \\mathcal{N}(i)$\" data-tex=\"inline\"><\/math>: <\/p>\n<p>  <\/p>\n<p><math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/8fa\/c9d\/12c\/8fac9d12cc3947fb08dfecd495b6dd98.svg\" alt=\"$h_{i}^{\\ell+1} = \\sigma \\Big( U^{\\ell} h_{i}^{\\ell} + \\sum_{j \\in \\mathcal{N}(i)} \\left( V^{\\ell} h_{j}^{\\ell} \\right) \\Big),$\" data-tex=\"display\"><\/math><\/p>\n<p>  <\/p>\n<p>\u0433\u0434\u0435 <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/de8\/485\/b2d\/de8485b2d8184c69e119d7bd336fcd60.svg\" alt=\"$U^{\\ell}, V^{\\ell}$\" data-tex=\"inline\"><\/math> \u2014 \u043e\u0431\u0443\u0447\u0430\u0435\u043c\u044b\u0435 \u043c\u0430\u0442\u0440\u0438\u0446\u044b \u0432\u0435\u0441\u043e\u0432 \u0441\u043b\u043e\u044f GNN, \u0430 <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/bd2\/53a\/dd0\/bd253add01b6a626f79861899c5e7d73.svg\" alt=\"$\\sigma$\" data-tex=\"inline\"><\/math> \u2014 \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0430\u043a\u0442\u0438\u0432\u0430\u0446\u0438\u0438 (\u043a\u0430\u043a, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, ReLU). \u0412 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u2014 <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/dd\/yd\/on\/ddydoni0fldd3-poxxdchkd3pwy.jpeg\"><\/p>\n<p>  <\/p>\n<p>\u0421\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043f\u043e \u0441\u043e\u0441\u0435\u0434\u043d\u0438\u043c \u0432\u0435\u0440\u0448\u0438\u043d\u0430\u043c <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/198\/10d\/877\/19810d877d31eac915cefa2b94a14ba6.svg\" alt=\"$j \\in \\mathcal{N}(i)$\" data-tex=\"inline\"><\/math> \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u0434\u0440\u0443\u0433\u0438\u043c\u0438 <strong>\u0444\u0443\u043d\u043a\u0446\u0438\u044f\u043c\u0438 \u0430\u0433\u0440\u0435\u0433\u0430\u0446\u0438\u0438<\/strong>, \u043d\u0435 \u0437\u0430\u0432\u0438\u0441\u044f\u0449\u0438\u043c\u0438 \u043e\u0442 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u0432, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0441\u0440\u0435\u0434\u043d\u0435\u0435\/\u043c\u0430\u043a\u0441\u0438\u043c\u0443\u043c \u0438\u043b\u0438 \u0447\u0442\u043e-\u0442\u043e \u0435\u0449\u0451 \u0431\u043e\u043b\u0435\u0435 \u0432\u044b\u0440\u0430\u0437\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u2014 \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432\u0437\u0432\u0435\u0448\u0435\u043d\u043d\u0430\u044f \u0441\u0443\u043c\u043c\u0430 \u0438\u043b\u0438 <a href=\"https:\/\/petar-v.com\/GAT\/\" rel=\"nofollow\">\u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u044f<\/a>.<\/p>\n<p>  <\/p>\n<p>\u0417\u0432\u0443\u0447\u0438\u0442 \u0437\u043d\u0430\u043a\u043e\u043c\u043e, \u043d\u0435 \u0442\u0430\u043a \u043b\u0438?<\/p>\n<p>  <\/p>\n<p>\u0415\u0441\u043b\u0438 \u043d\u0435\u0442, \u043f\u0430\u0439\u043f\u043b\u0430\u0439\u043d \u043f\u043e\u043c\u043e\u0436\u0435\u0442 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0441\u0432\u044f\u0437\u044c:<\/p>\n<p>  <\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/nc\/q8\/dy\/ncq8dyywixp-memyayicj1kvjnm.jpeg\" width=\"400\"><\/div>\n<p>  <\/p>\n<blockquote><p>\u0415\u0441\u043b\u0438 \u043c\u044b \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0437 \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u043e \u0434\u0435\u043b\u0430\u0435\u043c \u0430\u0433\u0440\u0435\u0433\u0430\u0446\u0438\u044e \u0441\u043e\u0441\u0435\u0434\u0435\u0439 \u0438 \u0437\u0430\u043c\u0435\u043d\u044f\u0435\u043c \u043f\u0440\u043e\u0441\u0442\u043e\u0435 \u0441\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043f\u043e \u0441\u043e\u0441\u0435\u0434\u044f\u043c <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/b82\/8e2\/475\/b828e2475a3a56280b895f35eb250ea2.svg\" alt=\"$j$\" data-tex=\"inline\"><\/math> \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c\u043e\u043c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u044f, \u0442\u043e \u0435\u0441\u0442\u044c \u0432\u0437\u0432\u0435\u0448\u0435\u043d\u043d\u043e\u0439 \u0441\u0443\u043c\u043c\u043e\u0439, \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442 Graph Attention Network (GAT). \u0410 \u0435\u0441\u043b\u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043d\u043e\u0440\u043c\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e \u0438 \u043c\u043d\u043e\u0433\u043e\u0441\u043b\u043e\u0439\u043d\u044b\u0439 \u043f\u0435\u0440\u0446\u0435\u043f\u0442\u0440\u043e\u043d, \u0442\u043e \u2014 \u0432\u0443\u0430\u043b\u044f \u2014 \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043c &quot;\u0433\u0440\u0430\u0444\u043e\u0432\u044b\u0439&quot; \u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0435\u0440!<\/p><\/blockquote>\n<p>  <\/p>\n<h2 id=\"predlozheniya----polnye-grafy-slova----vershiny\">\u041f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u2014 \u043f\u043e\u043b\u043d\u044b\u0435 \u0433\u0440\u0430\u0444\u044b, \u0441\u043b\u043e\u0432\u0430 \u2014 \u0432\u0435\u0440\u0448\u0438\u043d\u044b<\/h2>\n<p>  <\/p>\n<p>\u0427\u0442\u043e\u0431\u044b \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u044f \u0431\u044b\u043b\u0430 \u0431\u043e\u043b\u0435\u0435 \u044f\u0432\u043d\u043e\u0439, \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u044c\u0442\u0435, \u0447\u0442\u043e \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u2014 \u044d\u0442\u043e \u043f\u043e\u043b\u043d\u044b\u0439 \u0433\u0440\u0430\u0444, \u0433\u0434\u0435 \u043a\u0430\u0436\u0434\u043e\u0435 \u0441\u043b\u043e\u0432\u043e \u0441\u0432\u044f\u0437\u0430\u043d\u043e \u0441 \u043a\u0430\u0436\u0434\u044b\u043c. \u0422\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c GNN, \u0447\u0442\u043e\u0431\u044b \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0439 \u0432\u0435\u0440\u0448\u0438\u043d\u044b (\u0442.\u0435. \u0441\u043b\u043e\u0432\u0430) \u0433\u0440\u0430\u0444\u0430 (\u0442.\u0435. \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u044f) \u043f\u043e\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u0438, \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0434\u0430\u043b\u0435\u0435 \u0431\u0443\u0434\u0435\u043c \u0440\u0435\u0448\u0430\u0442\u044c \u0437\u0430\u0434\u0430\u0447\u0438 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u044f\u0437\u044b\u043a\u0430.<\/p>\n<p>  <\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/ii\/e2\/_h\/iie2_h0rhkpomxeuw3s4lq5sf5e.jpeg\" width=\"600\"><\/div>\n<p>  <\/p>\n<p>\u0412 \u0446\u0435\u043b\u043e\u043c, \u0422\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0435\u0440\u044b \u0438 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442 \u0441\u043e\u0431\u043e\u0439 GNN \u0441 \u043c\u043d\u043e\u0433\u043e\u0433\u043e\u043b\u043e\u0432\u044b\u043c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435\u043c \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0430\u0433\u0440\u0435\u0433\u0430\u0446\u0438\u0438 \u0441\u043e\u0441\u0435\u0434\u0435\u0439. \u0421\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0435 \u0433\u0440\u0430\u0444\u043e\u0432\u044b\u0435 \u0441\u0435\u0442\u0438 \u0430\u0433\u0440\u0435\u0433\u0438\u0440\u0443\u044e\u0442 \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u0438 \u0432\u0435\u0440\u0448\u0438\u043d \u2014 \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0445 \u0441\u043e\u0441\u0435\u0434\u0435\u0439 <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/198\/10d\/877\/19810d877d31eac915cefa2b94a14ba6.svg\" alt=\"$j \\in \\mathcal{N}(i)$\" data-tex=\"inline\"><\/math>, \u0430 \u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0435\u0440\u044b \u0434\u043b\u044f NLP \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442 \u0441\u043e \u0432\u0441\u0435\u043c \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0435\u043c <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/6ab\/22d\/16c\/6ab22d16c4a94005df8007e766822253.svg\" alt=\"$\\mathcal{S}$\" data-tex=\"inline\"><\/math> \u043a\u0430\u043a \u0441 \u0441\u043e\u0441\u0435\u0434\u044f\u043c\u0438, \u0430\u0433\u0440\u0435\u0433\u0438\u0440\u0443\u044f \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u0438 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0441\u043b\u043e\u0432\u0430 <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/852\/3b3\/21e\/8523b321ee8d85abcafcc6eadde2ca0d.svg\" alt=\"$j \\in \\mathcal{S}$\" data-tex=\"inline\"><\/math> \u043d\u0430 \u043a\u0430\u0436\u0434\u043e\u043c \u0441\u043b\u043e\u0435.<\/p>\n<p>  <\/p>\n<p>\u0412\u0430\u0436\u043d\u043e, \u0447\u0442\u043e \u043a\u0430\u0436\u0434\u0430\u044f \u0438\u0437 \u0432\u0441\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u0445 \u0445\u0438\u0442\u0440\u043e\u0441\u0442\u0435\u0439, \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u043f\u0440\u0438\u0434\u0443\u043c\u0430\u043d\u043d\u044b\u0445 \u043f\u043e\u0434 \u0437\u0430\u0434\u0430\u0447\u0443, \u0432\u0440\u043e\u0434\u0435 \u043f\u043e\u0437\u0438\u0446\u0438\u043e\u043d\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u0430\u0433\u0440\u0435\u0433\u0430\u0446\u0438\u0438 \u0441 \u043c\u0430\u0441\u043a\u0430\u043c\u0438, \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438 \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f \u0438 \u043c\u0430\u0441\u0441\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u043f\u0440\u0435\u0434\u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f, \u2014 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u0430\u044f \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0449\u0430\u044f \u0443\u0441\u043f\u0435\u0445\u0430 \u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0435\u0440\u043e\u0432. \u041f\u0440\u0438 \u044d\u0442\u043e\u043c \u044d\u0442\u0438 \u0442\u0440\u044e\u043a\u0438 \u0440\u0435\u0434\u043a\u043e \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u044e\u0442\u0441\u044f \u0432 \u0440\u0430\u0431\u043e\u0442\u0430\u0445 GNN-\u0441\u043e\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u0430. \u0412 \u0442\u043e \u0436\u0435 \u0432\u0440\u0435\u043c\u044f, \u0435\u0441\u043b\u0438 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0430 \u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0435\u0440\u044b \u0433\u043b\u0430\u0437\u0430\u043c\u0438 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u0438\u0441\u0442\u0430 \u043f\u043e GNN, \u043c\u044b \u0441\u043c\u043e\u0436\u0435\u043c \u0438\u0437\u0431\u0430\u0432\u0438\u0442\u044c\u0441\u044f \u043e\u0442 \u0440\u0430\u0437\u043d\u044b\u0445 <del>\u0441\u0432\u0438\u0441\u0442\u0435\u043b\u043e\u043a \u0438<\/del> <em>\u0438\u0437\u043b\u0438\u0448\u0435\u0441\u0442\u0432<\/em> \u0432 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0435.<\/p>\n<p>  <\/p>\n<h2 id=\"chemu-my-mozhem-pouchitsya-drug-u-druga\">\u0427\u0435\u043c\u0443 \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u043f\u043e\u0443\u0447\u0438\u0442\u044c\u0441\u044f \u0434\u0440\u0443\u0433 \u0443 \u0434\u0440\u0443\u0433\u0430?<\/h2>\n<p>  <\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c, \u043f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u043c\u044b \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0438 \u0441\u0432\u044f\u0437\u044c \u043c\u0435\u0436\u0434\u0443 \u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0435\u0440\u0430\u043c\u0438 \u0438 \u0433\u0440\u0430\u0444\u043e\u0432\u044b\u043c\u0438 \u043d\u0435\u0439\u0440\u043e\u043d\u043d\u044b\u043c\u0438 \u0441\u0435\u0442\u044f\u043c\u0438, \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u043e\u0431\u0441\u0443\u0434\u0438\u043c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0438\u0434\u0435\u0439.<\/p>\n<p>  <\/p>\n<h3 id=\"polnyy-graf----eto-chto-luchshiy-format-dannyh-na-vhode-dlya-nlp\">\u041f\u043e\u043b\u043d\u044b\u0439 \u0433\u0440\u0430\u0444 \u2014 \u044d\u0442\u043e \u0447\u0442\u043e, \u043b\u0443\u0447\u0448\u0438\u0439 \u0444\u043e\u0440\u043c\u0430\u0442 \u0434\u0430\u043d\u043d\u044b\u0445 \u043d\u0430 \u0432\u0445\u043e\u0434\u0435 \u0434\u043b\u044f NLP?<\/h3>\n<p>  <\/p>\n<p>\u0414\u043e \u043f\u043e\u044f\u0432\u043b\u0435\u043d\u0438\u044f \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u044f\u0437\u044b\u043a\u0430 \u0438 \u043c\u0430\u0448\u0438\u043d\u043d\u043e\u0433\u043e \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f \u043b\u0438\u043d\u0433\u0432\u0438\u0441\u0442\u044b (\u0432 \u0447\u0430\u0441\u0442\u043d\u043e\u0441\u0442\u0438, <a href=\"https:\/\/en.wikipedia.org\/wiki\/Syntactic_Structures\" rel=\"nofollow\">\u041d\u043e\u0430\u043c \u0425\u043e\u043c\u0441\u043a\u0438\u0439<\/a>) \u0440\u0430\u0431\u043e\u0442\u0430\u043b\u0438 \u0432 \u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435 \u043d\u0430\u0434 \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u0435\u043c \u0442\u0435\u043e\u0440\u0438\u0439 \u043e \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0447\u0435\u0441\u043a\u043e\u043c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0435 \u043f\u0440\u0435\u0434\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u044f: <strong>\u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0434\u0435\u0440\u0435\u0432\u044c\u044f, \u0433\u0440\u0430\u0444\u044b<\/strong> \u0438 \u0442\u0430\u043a \u0434\u0430\u043b\u0435\u0435. \u041a \u044d\u0442\u043e\u043c\u0443 \u0443\u0436\u0435 \u043f\u0440\u043e\u0431\u043e\u0432\u0430\u043b\u0438 \u043f\u043e\u0434\u0431\u0438\u0440\u0430\u0442\u044c\u0441\u044f \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e <strong>TreeLSTM<\/strong>, \u043d\u043e, \u043c\u043e\u0436\u0435\u0442, \u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0435\u0440\u044b\/GNN \u043b\u0443\u0447\u0448\u0435 \u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0442 \u0434\u043b\u044f \u0441\u0431\u043b\u0438\u0436\u0435\u043d\u0438\u044f \u043b\u0438\u043d\u0433\u0432\u0438\u0441\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0442\u0435\u043e\u0440\u0438\u0439 \u0438 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e NLP?<\/p>\n<p>  <\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/qk\/np\/al\/qknpallxym5r20qgsui925-jc9i.png\" width=\"500\"><\/div>\n<p>  <\/p>\n<h3 id=\"kak-rabotat-s-distantnymi-zavisimostyami-long-term-dependencies\">\u041a\u0430\u043a \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 \u0434\u0438\u0441\u0442\u0430\u043d\u0442\u043d\u044b\u043c\u0438 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u044f\u043c\u0438 (long-term dependencies)?<\/h3>\n<p>  <\/p>\n<p>\u0421 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u043c \u0432 \u0432\u0438\u0434\u0435 \u043f\u043e\u043b\u043d\u044b\u0445 \u0433\u0440\u0430\u0444\u043e\u0432 \u0435\u0441\u0442\u044c \u0435\u0449\u0451 \u043e\u0434\u043d\u0430 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430: \u0442\u0430\u043a \u0441\u043b\u043e\u0436\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 \u0441\u0438\u043b\u044c\u043d\u043e \u0443\u0434\u0430\u043b\u0451\u043d\u043d\u044b\u043c\u0438 \u0434\u0440\u0443\u0433 \u043e\u0442 \u0434\u0440\u0443\u0433\u0430 \u0441\u0432\u044f\u0437\u044f\u043c\u0438 \u043c\u0435\u0436\u0434\u0443 \u0441\u043b\u043e\u0432\u0430\u043c\u0438. \u0414\u0435\u043b\u043e \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0440\u0451\u0431\u0435\u0440 \u0432 \u043f\u043e\u043b\u043d\u044b\u0445 \u0433\u0440\u0430\u0444\u0430\u0445 <strong>\u043a\u0432\u0430\u0434\u0440\u0430\u0442\u0438\u0447\u043d\u043e \u0437\u0430\u0432\u0438\u0441\u0438\u0442 \u043e\u0442 \u0447\u0438\u0441\u043b\u0430 \u0432\u0435\u0440\u0448\u0438\u043d<\/strong>, \u0438 \u0441 \u0440\u043e\u0441\u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445 \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043e\u0447\u0435\u043d\u044c \u0431\u044b\u0441\u0442\u0440\u043e, \u0442\u043e \u0435\u0441\u0442\u044c \u0432 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0438 \u0441 <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/08d\/9fa\/efb\/08d9faefbe272bdf8fbb80773542e343.svg\" alt=\"$n$\" data-tex=\"inline\"><\/math> \u0441\u043b\u043e\u0432\u0430\u043c\u0438 \u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0435\u0440 \u0438\u043b\u0438 GNN \u0431\u0443\u0434\u0443\u0442 \u0441\u043e\u0432\u0435\u0440\u0448\u0430\u0442\u044c \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f \u0434\u043b\u044f <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/f1c\/e37\/e87\/f1ce37e8733fc14b0a6be043fdb111c2.svg\" alt=\"$n^2$\" data-tex=\"inline\"><\/math> \u043f\u0430\u0440 \u0441\u043b\u043e\u0432. \u0412\u0441\u0451 <del>\u043b\u0435\u0442\u0438\u0442 \u0432<\/del> \u043f\u0440\u043e\u0441\u0442\u043e \u0432\u044b\u0445\u043e\u0434\u0438\u0442 \u0438\u0437-\u043f\u043e\u0434 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044f \u0434\u043b\u044f \u043e\u0447\u0435\u043d\u044c \u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/08d\/9fa\/efb\/08d9faefbe272bdf8fbb80773542e343.svg\" alt=\"$n$\" data-tex=\"inline\"><\/math>.<\/p>\n<p>  <\/p>\n<p>\u041e\u0447\u0435\u043d\u044c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e \u0432\u0438\u0434\u0435\u043d\u0438\u0435 NLP-\u0441\u043e\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u0430, \u0447\u0442\u043e \u0434\u0435\u043b\u0430\u0442\u044c \u0441 \u0434\u043b\u0438\u043d\u043d\u044b\u043c\u0438 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044f\u043c\u0438 \u0438 \u0434\u0438\u0441\u0442\u0430\u043d\u0442\u043d\u044b\u043c\u0438 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u044f\u043c\u0438. \u041f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 <a href=\"https:\/\/openai.com\/blog\/sparse-transformer\/\" rel=\"nofollow\">\u0440\u0430\u0437\u0440\u0435\u0436\u0435\u043d\u043d\u044b\u043c<\/a> \u0438\u043b\u0438 <a href=\"https:\/\/ai.facebook.com\/blog\/making-transformer-networks-simpler-and-more-efficient\/\" rel=\"nofollow\">\u0430\u0434\u0430\u043f\u0442\u0438\u0432\u043d\u044b\u043c<\/a> \u0432 \u043f\u043b\u0430\u043d\u0435 \u0434\u043b\u0438\u043d\u044b \u0432\u0445\u043e\u0434\u0430, \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c <a href=\"https:\/\/ai.googleblog.com\/2019\/01\/transformer-xl-unleashing-potential-of.html\" rel=\"nofollow\">\u0440\u0435\u043a\u0443\u0440\u0440\u0435\u043d\u0442\u043d\u043e\u0441\u0442\u044c<\/a> \u0438\u043b\u0438 <a href=\"https:\/\/deepmind.com\/blog\/article\/A_new_model_and_dataset_for_long-range_memory\" rel=\"nofollow\">&quot;\u0441\u0436\u0430\u0442\u0438\u0435&quot;<\/a> \u0432 \u043a\u0430\u0436\u0434\u044b\u0439 \u0441\u043b\u043e\u0439 \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <a href=\"https:\/\/www.pragmatic.ml\/reformer-deep-dive\/\" rel=\"nofollow\">LSH (Locality-Sensitive Hashing)<\/a> \u0434\u043b\u044f \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u044f. \u0412\u0441\u0435 \u044d\u0442\u0438 \u0438\u0434\u0435\u0438 \u0432\u044b\u0433\u043b\u044f\u0434\u044f\u0442 \u043c\u043d\u043e\u0433\u043e\u043e\u0431\u0435\u0449\u0430\u044e\u0449\u0438\u043c\u0438 \u0441\u043f\u043e\u0441\u043e\u0431\u0430\u043c\u0438 \u0443\u043b\u0443\u0447\u0448\u0438\u0442\u044c \u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0435\u0440\u044b.<\/p>\n<p>  <\/p>\n<p>\u0411\u044b\u043b\u043e \u0431\u044b \u0437\u0434\u043e\u0440\u043e\u0432\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0438 \u0447\u0442\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0441\u044f, \u0435\u0441\u043b\u0438 \u0432 \u0445\u043e\u0434 \u043f\u043e\u0439\u0434\u0443\u0442 \u0438 \u0438\u0434\u0435\u0438 \u043e\u0442 \u0442\u0435\u0445, \u043a\u0442\u043e \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442\u0441\u044f GNN. \u041a \u043f\u0440\u0438\u043c\u0435\u0440\u0443, \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e \u0431\u044b\u043b\u043e \u0431\u044b \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c <a href=\"https:\/\/arxiv.org\/abs\/1911.04070\" rel=\"nofollow\">\u0434\u0432\u043e\u0438\u0447\u043d\u043e\u0435 \u0440\u0430\u0437\u0431\u0438\u0435\u043d\u0438\u0435<\/a> (Binary Partitioning) \u0434\u043b\u044f <strong>\u043f\u0440\u043e\u0440\u0435\u0436\u0438\u0432\u0430\u043d\u0438\u044f &quot;\u0433\u0440\u0430\u0444\u0430<\/strong> \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u044f&quot;.<\/p>\n<p>  <\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/tx\/wx\/n2\/txwxn2sks7n9o8vfbcxnmakaoxu.png\" width=\"600\"><\/div>\n<p>  <\/p>\n<h3 id=\"ponimayut-li-transformery-neyronnyy-sintaksis\">\u041f\u043e\u043d\u0438\u043c\u0430\u044e\u0442 \u043b\u0438 \u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0435\u0440\u044b &quot;\u043d\u0435\u0439\u0440\u043e\u043d\u043d\u044b\u0439 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441&quot;?<\/h3>\n<p>  <\/p>\n<p>\u0412 NLP-\u043c\u0438\u0440\u0435 \u0432\u044b\u0448\u043b\u043e <a href=\"https:\/\/pair-code.github.io\/interpretability\/bert-tree\/\" rel=\"nofollow\">\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e<\/a> <a href=\"https:\/\/arxiv.org\/abs\/1905.05950\" rel=\"nofollow\">\u043b\u044e\u0431\u043e\u043f\u044b\u0442\u043d\u044b\u0445<\/a> <a href=\"https:\/\/arxiv.org\/abs\/1906.04341\" rel=\"nofollow\">\u0441\u0442\u0430\u0442\u0435\u0439<\/a> \u043e \u0442\u043e\u043c, \u0447\u0442\u043e, \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u0432\u044b\u0443\u0447\u0438\u0432\u0430\u044e\u0442 \u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0435\u0440\u044b. \u041e\u0441\u043d\u043e\u0432\u043d\u0430\u044f \u043f\u0440\u0435\u0434\u043f\u043e\u0441\u044b\u043b\u043a\u0430 \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u044f \u043a\u043e \u0432\u0441\u0435\u043c \u043f\u0430\u0440\u0430\u043c \u0441\u043b\u043e\u0432 \u0432 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0438 \u2014 \u0447\u0442\u043e\u0431\u044b \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c, \u043a\u0430\u043a\u0438\u0435 \u0438\u0437 \u043d\u0438\u0445 \u043d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u0446\u0435\u043d\u043d\u044b, \u2014 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0435\u0440\u0430\u043c \u0432\u044b\u0443\u0447\u0438\u0432\u0430\u0442\u044c \u0447\u0442\u043e-\u0442\u043e \u0432\u0440\u043e\u0434\u0435 \u043e\u0441\u043e\u0431\u043e\u0433\u043e &quot;\u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441\u0430 <strong>\u043f\u043e\u0434 \u0446\u0435\u043b\u0435\u0432\u0443\u044e \u0437\u0430\u0434\u0430\u0447\u0443<\/strong>&quot;.<\/p>\n<p>  <\/p>\n<p>\u0418, \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e, \u0440\u0430\u0437\u043d\u044b\u0435 \u0433\u043e\u043b\u043e\u0432\u044b \u0432 \u043c\u043d\u043e\u0433\u043e\u0433\u043e\u043b\u043e\u0432\u043e\u043c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0438 \u0441\u043c\u043e\u0442\u0440\u044f\u0442 \u043d\u0430 \u0440\u0430\u0437\u043d\u044b\u0435 &quot;\u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430&quot;.<\/p>\n<p>  <\/p>\n<p>\u0415\u0441\u043b\u0438 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0438\u0442\u044c \u043d\u0430 &quot;\u0433\u0440\u0430\u0444\u043e\u0432\u044b\u0439&quot; \u044f\u0437\u044b\u043a \u2014 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f GNN \u043d\u0430 \u043f\u043e\u043b\u043d\u044b\u0445 \u0433\u0440\u0430\u0444\u0430\u0445, \u043c\u043e\u0436\u0435\u043c \u043b\u0438 \u043c\u044b \u0432\u044b\u0434\u0435\u043b\u0438\u0442\u044c \u043d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u0432\u0430\u0436\u043d\u044b\u0435 \u0440\u0451\u0431\u0440\u0430 (\u0430 \u0441 \u043d\u0438\u043c\u0438 \u0438 \u0441\u0432\u044f\u0437\u0438, \u0437\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043e\u043d\u0438 \u043e\u0442\u0432\u0435\u0447\u0430\u044e\u0442) \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a GNN \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u044e\u0442 \u0430\u0433\u0440\u0435\u0433\u0430\u0446\u0438\u044e \u043d\u0430 \u043a\u0430\u0436\u0434\u043e\u043c \u0438\u0437 \u0441\u043b\u043e\u0451\u0432? \u041f\u043e\u043a\u0430 \u0447\u0442\u043e \u043c\u0435\u043d\u044f \u0432 \u044d\u0442\u043e\u043c <a href=\"https:\/\/arxiv.org\/abs\/1909.07913\" rel=\"nofollow\">\u043d\u0435 \u0443\u0431\u0435\u0434\u0438\u043b\u0438<\/a>.<\/p>\n<p>  <\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/lb\/ud\/tv\/lbudtvn3447u6zya3f7owst2z9e.png\" width=\"600\"><\/div>\n<p>  <\/p>\n<h3 id=\"pochemu-golov-vnimaniya-neskolko-zachem-voobsche-nuzhno-vnimanie\">\u041f\u043e\u0447\u0435\u043c\u0443 \u0433\u043e\u043b\u043e\u0432 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u044f \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e? \u0417\u0430\u0447\u0435\u043c \u0432\u043e\u043e\u0431\u0449\u0435 \u043d\u0443\u0436\u043d\u043e \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435?<\/h3>\n<p>  <\/p>\n<p>\u041c\u043d\u0435 \u0431\u043e\u043b\u044c\u0448\u0435 \u043d\u0440\u0430\u0432\u0438\u0442\u0441\u044f \u0432\u043e\u0441\u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0442\u044c \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c \u043c\u043d\u043e\u0433\u043e\u0433\u043e\u043b\u043e\u0432\u043e\u0433\u043e \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u044f \u043a\u0430\u043a \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u043e\u043d\u043d\u0443\u044e \u0437\u0430\u0434\u0430\u0447\u0443. \u0421 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u043c\u0438 \u0433\u043e\u043b\u043e\u0432\u0430\u043c\u0438 <strong>\u043e\u0431\u0443\u0447\u0435\u043d\u0438\u0435 \u0438\u0434\u0451\u0442 \u043b\u0443\u0447\u0448\u0435<\/strong>, \u0438 \u043f\u0440\u0435\u043e\u0434\u043e\u043b\u0435\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b, \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u044e\u0449\u0438\u0435 \u0438\u0437-\u0437\u0430 <strong>&quot;\u043d\u0435\u0443\u0434\u0430\u0447\u043d\u043e\u0439&quot; \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438<\/strong>. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432 <a href=\"https:\/\/lena-voita.github.io\/posts\/acl19_heads.html\" rel=\"nofollow\">\u044d\u0442\u0438\u0445<\/a> <a href=\"https:\/\/arxiv.org\/abs\/1905.10650\" rel=\"nofollow\">\u0440\u0430\u0431\u043e\u0442\u0430\u0445<\/a> \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u043e, \u0447\u0442\u043e \u0447\u0430\u0441\u0442\u044c \u0433\u043e\u043b\u043e\u0432 \u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0435\u0440\u043e\u0432 \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043a\u043b\u044e\u0447\u0438\u0442\u044c <em>\u043f\u043e\u0441\u043b\u0435<\/em> \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f \u0431\u0435\u0437 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0433\u043e \u0432\u043b\u0438\u044f\u043d\u0438\u044f \u043d\u0430 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u0430\u043d\u0438\u0439.<\/p>\n<p>  <\/p>\n<p>\u041c\u0435\u0445\u0430\u043d\u0438\u0437\u043c\u044b &quot;\u043c\u043d\u043e\u0433\u043e\u0433\u043e\u043b\u043e\u0432\u043e\u0439&quot; \u0430\u0433\u0440\u0435\u0433\u0430\u0446\u0438\u0438 \u0441\u043e\u0441\u0435\u0434\u0435\u0439 \u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0438\u0440\u0443\u044e\u0442 \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u044c \u0438 \u0432 GNN, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 GAT \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u043c\u043d\u043e\u0433\u043e\u0433\u043e\u043b\u043e\u0432\u043e\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u0430 <a href=\"https:\/\/arxiv.org\/abs\/1611.08402\" rel=\"nofollow\">MoNet<\/a> \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e <em>\u0433\u0430\u0443\u0441\u0441\u043e\u0432\u0441\u043a\u0438\u0445 \u044f\u0434\u0435\u0440<\/em> (Gaussian kernels) \u0434\u043b\u044f \u0430\u0433\u0440\u0435\u0433\u0430\u0446\u0438\u0438 \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u043e\u0432. \u041f\u043e\u0434\u0445\u043e\u0434 \u0441 \u0434\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435\u043c \u043c\u043e\u0434\u0435\u043b\u0438 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u043c\u0438 \u0433\u043e\u043b\u043e\u0432\u0430\u043c\u0438 \u0431\u044b\u043b \u043f\u0440\u0438\u0434\u0443\u043c\u0430\u043d \u0434\u043b\u044f \u0441\u0442\u0430\u0431\u0438\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c\u043e\u0432 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u044f. \u0421\u0442\u0430\u043d\u0435\u0442 \u043b\u0438 \u043e\u043d \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u043c \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u043c &quot;\u0432\u044b\u0436\u0430\u0442\u044c&quot; \u0438\u0437 \u043c\u043e\u0434\u0435\u043b\u0438 \u0435\u0449\u0451 \u043d\u0435\u043c\u043d\u043e\u0433\u043e?<\/p>\n<p>  <\/p>\n<p>\u0412\u043e\u043f\u0440\u0435\u043a\u0438 \u043e\u0436\u0438\u0434\u0430\u043d\u0438\u044f\u043c, GNN \u0441 \u043a\u0443\u0434\u0430 \u0431\u043e\u043b\u0435\u0435 \u043f\u0440\u043e\u0441\u0442\u044b\u043c\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u043c\u0438 \u0430\u0433\u0440\u0435\u0433\u0430\u0446\u0438\u0438 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0441\u0443\u043c\u043c\u0430 \u0438\u043b\u0438 \u043c\u0430\u043a\u0441\u0438\u043c\u0443\u043c) \u043d\u0435 \u043d\u0443\u0436\u0434\u0430\u044e\u0442\u0441\u044f \u0432 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0433\u043e\u043b\u043e\u0432\u0430\u0445 \u0434\u043b\u044f \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e\u0433\u043e \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f. \u0412\u043e\u0442 \u0431\u044b \u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0435\u0440\u0430\u043c \u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0432\u044b\u0447\u0438\u0441\u043b\u044f\u0442\u044c &quot;\u0432\u0435\u043b\u0438\u0447\u0438\u043d\u044b \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u043e\u0441\u0442\u0438&quot; \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0439 \u043f\u0430\u0440\u044b \u0441\u043b\u043e\u0432 \u0432 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0438!<\/p>\n<p>  <\/p>\n<p>\u041c\u043e\u0433\u0443\u0442 \u043b\u0438 \u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0435\u0440\u044b \u0447\u0442\u043e-\u0442\u043e \u043f\u0440\u0438\u043e\u0431\u0440\u0435\u0441\u0442\u0438, \u0438\u0437\u0431\u0430\u0432\u0438\u0432\u0448\u0438\u0441\u044c \u043e\u0442 \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c\u0430 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u044f? \u0412 <a href=\"https:\/\/arxiv.org\/abs\/1705.03122\" rel=\"nofollow\">\u043d\u0435\u0434\u0430\u0432\u043d\u0435\u0439<\/a> <a href=\"https:\/\/arxiv.org\/abs\/1901.10430\" rel=\"nofollow\">\u0440\u0430\u0431\u043e\u0442\u0435<\/a> Yann Dauphin \u0438 \u0435\u0433\u043e \u043a\u043e\u043b\u043b\u0435\u0433 \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u043d\u0430\u044f \u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0435\u0440\u0443 <strong>\u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0430 \u043d\u0430 \u0441\u0432\u0451\u0440\u0442\u043e\u0447\u043d\u044b\u0445 \u0441\u0435\u0442\u044f\u0445<\/strong> (ConvNet). \u0412 \u043a\u043e\u043d\u0435\u0447\u043d\u043e\u043c \u0438\u0442\u043e\u0433\u0435, \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0435\u0440\u044b \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442 <a href=\"http:\/\/jbcordonnier.com\/posts\/attention-cnn\/\" rel=\"nofollow\">\u043f\u043e\u0445\u043e\u0436\u0438\u043c<\/a> \u0438 <a href=\"https:\/\/twitter.com\/ChrSzegedy\/status\/1232148457810538496\" rel=\"nofollow\">\u0441\u043e \u0441\u0432\u0451\u0440\u0442\u043e\u0447\u043d\u044b\u043c\u0438 \u0441\u0435\u0442\u044f\u043c\u0438 \u043e\u0431\u0440\u0430\u0437\u043e\u043c<\/a>!<\/p>\n<p>  <\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/z5\/l_\/rq\/z5l_rqfahpeacbawxjhskwsbbyg.png\"><\/div>\n<p>  <\/p>\n<h3 id=\"pochemu-tak-trudno-obuchat-transformery\">\u041f\u043e\u0447\u0435\u043c\u0443 \u0442\u0430\u043a \u0442\u0440\u0443\u0434\u043d\u043e \u043e\u0431\u0443\u0447\u0430\u0442\u044c \u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0435\u0440\u044b?<\/h3>\n<p>  <\/p>\n<p>\u0427\u0438\u0442\u0430\u044f \u0441\u0432\u0435\u0436\u0438\u0435 \u0441\u0442\u0430\u0442\u044c\u0438 \u043e \u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0435\u0440\u0430\u0445, \u043d\u0435 \u043c\u043e\u0433\u0443 \u043e\u0442\u0434\u0435\u043b\u0430\u0442\u044c\u0441\u044f \u043e\u0442 \u043e\u0449\u0443\u0449\u0435\u043d\u0438\u044f, \u0447\u0442\u043e \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u0435 \u044d\u0442\u0438\u0445 \u043c\u043e\u0434\u0435\u043b\u0435\u0439 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u043d\u0430\u0432\u044b\u043a\u043e\u0432, \u0431\u043b\u0438\u0437\u043a\u0438\u0445 \u043a <em>\u0447\u0451\u0440\u043d\u043e\u0439 \u043c\u0430\u0433\u0438\u0438<\/em>, \u043a\u043e\u0433\u0434\u0430 \u0434\u0435\u043b\u043e \u0434\u043e\u0445\u043e\u0434\u0438\u0442 \u0434\u043e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f <strong>\u043b\u0443\u0447\u0448\u0435\u0433\u043e \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438 \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f<\/strong> (learning rate schedule), <strong>\u0441\u043f\u043e\u0441\u043e\u0431\u0430 &quot;\u0440\u0430\u0437\u043e\u0433\u0440\u0435\u0432\u0430&quot;<\/strong> (warmup strategy) \u0438 <strong>\u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a \u0437\u0430\u0442\u0443\u0445\u0430\u043d\u0438\u044f<\/strong> (decay settings). \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u044d\u0442\u043e \u043e\u0442 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u043c\u043e\u0434\u0435\u043b\u0438 \u2014 \u0433\u0438\u0433\u0430\u043d\u0442\u0441\u043a\u0438\u0435, \u0430 \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0435\u043c\u044b\u0435 \u0437\u0430\u0434\u0430\u0447\u0438 \u2014 \u043d\u0435 \u0438\u0437 \u0447\u0438\u0441\u043b\u0430 \u043f\u0440\u043e\u0441\u0442\u044b\u0445.<\/p>\n<p>  <\/p>\n<p>\u041d\u043e \u0432\u043e\u0442 <a href=\"https:\/\/arxiv.org\/abs\/1906.01787\" rel=\"nofollow\">\u043d\u0435\u0434\u0430\u0432\u043d\u0438\u0435<\/a> <a href=\"https:\/\/arxiv.org\/abs\/1910.06764\" rel=\"nofollow\">\u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b<\/a> <a href=\"https:\/\/arxiv.org\/abs\/2002.04745\" rel=\"nofollow\">\u0433\u043e\u0432\u043e\u0440\u044f\u0442<\/a> \u043e \u0442\u043e\u043c, \u0447\u0442\u043e, \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c, \u0434\u0435\u043b\u043e \u0432 \u043e\u0441\u043e\u0431\u044b\u0445 \u043f\u0435\u0440\u0435\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430\u0445 \u043d\u043e\u0440\u043c\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0438 \u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u044b\u0445 \u0441\u0432\u044f\u0437\u0435\u0439 \u0432\u043d\u0443\u0442\u0440\u0438 \u0441\u0430\u043c\u043e\u0439 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u044b.<\/p>\n<p>  <\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/yv\/fe\/su\/yvfesur7gy_x0c-2k4otqqikoh8.jpeg\" width=\"450\"><\/div>\n<p>  <\/p>\n<blockquote><p>\u041f\u043e\u043b\u0443\u0447\u0438\u043b \u0443\u0434\u043e\u0432\u043e\u043b\u044c\u0441\u0442\u0432\u0438\u0435 \u043e\u0442 \u0447\u0442\u0435\u043d\u0438\u044f \u043d\u043e\u0432\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0438 \u043f\u0440\u043e DeepMind-\u043e\u0432\u0441\u043a\u0438\u0439 \u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0435\u0440, \u043d\u043e \u043f\u043e\u0447\u0435\u043c\u0443 \u0432\u0441\u0451-\u0442\u0430\u043a\u0438 \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u0435 \u044d\u0442\u0438\u0445 \u043c\u043e\u0434\u0435\u043b\u0435\u0439 \u0442\u0430\u043a\u0430\u044f \u0442\u0435\u043c\u043d\u0430\u044f \u043c\u0430\u0433\u0438\u044f? &quot;\u0414\u043b\u044f \u044f\u0437\u044b\u043a\u043e\u0432\u043e\u0433\u043e \u043c\u043e\u0434\u0435\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043d\u0430 \u0443\u0440\u043e\u0432\u043d\u0435 \u0441\u043b\u043e\u0432 \u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438 16 000 \u0448\u0430\u0433\u043e\u0432 &quot;\u0440\u0430\u0437\u043e\u0433\u0440\u0435\u0432\u0430&quot; (warmup), 500 000 \u0448\u0430\u0433\u043e\u0432 &quot;\u0437\u0430\u0442\u0443\u0445\u0430\u043d\u0438\u044f&quot; (decay), \u0430 \u0442\u0430\u043a\u0436\u0435 \u043f\u0440\u0438\u043d\u0435\u0441\u043b\u0438 \u0432 \u0436\u0435\u0440\u0442\u0432\u0443 9 000 \u043a\u043e\u0437&quot;.<\/p><\/blockquote>\n<p>\u0412 \u0442\u0432\u0438\u0442\u0435 \u044f, \u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u043f\u0440\u043e\u0441\u0442\u043e \u0432\u043e\u0440\u0447\u0443, \u043d\u043e \u0432\u043e\u0442 \u0447\u0442\u043e \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442 \u043c\u043e\u0439 \u0441\u043a\u0435\u043f\u0441\u0438\u0441: \u043d\u0435\u0443\u0436\u0435\u043b\u0438 \u043d\u0430\u043c \u0438 \u043f\u0440\u0430\u0432\u0434\u0430 \u0442\u0430\u043a \u043d\u0443\u0436\u043d\u044b \u0432\u0441\u0435 \u044d\u0442\u0438 \u0433\u043e\u043b\u043e\u0432\u044b \u0432\u044b\u0447\u0438\u0441\u043b\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0434\u043e\u0440\u043e\u0433\u043e\u0433\u043e \u043f\u043e\u043f\u0430\u0440\u043d\u043e\u0433\u043e \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u044f, \u043d\u0430\u0434\u0435\u043b\u0451\u043d\u043d\u044b\u0435 \u0447\u0440\u0435\u0437\u043c\u0435\u0440\u043d\u043e \u0431\u043e\u043b\u044c\u0448\u0438\u043c \u0447\u0438\u0441\u043b\u043e\u043c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 &quot;\u043f\u0435\u0440\u0446\u0435\u043f\u0442\u0440\u043e\u043d\u043d\u044b\u0435 \u043f\u043e\u0434\u0441\u043b\u043e\u0438&quot; \u0438 \u0445\u0438\u0442\u0440\u043e\u0443\u043c\u043d\u044b\u0435 \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f?<\/p>\n<p>  <\/p>\n<p>\u041d\u0435\u0443\u0436\u0435\u043b\u0438 \u043d\u0430\u043c \u043d\u0430\u0441\u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b \u043e\u0433\u0440\u043e\u043c\u043d\u044b\u0435 \u043c\u043e\u0434\u0435\u043b\u0438 \u0441 \u0432\u043d\u0443\u0448\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u043c <a href=\"https:\/\/www.technologyreview.com\/s\/613630\/training-a-single-ai-model-can-emit-as-much-carbon-as-five-cars-in-their-lifetimes\/\" rel=\"nofollow\">&quot;\u0443\u0433\u043b\u0435\u0440\u043e\u0434\u043d\u044b\u043c \u0441\u043b\u0435\u0434\u043e\u043c&quot;<\/a>?<\/p>\n<p>  <\/p>\n<p>\u041c\u043e\u0436\u0435\u0442, \u0441\u0435\u0442\u0438 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u043e\u0449\u0435 \u043e\u0431\u0443\u0447\u0438\u0442\u044c, \u0435\u0441\u043b\u0438 \u043c\u044b \u0432 \u0438\u0445 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u044b \u043d\u0430\u043c\u0435\u0440\u0435\u043d\u043d\u043e \u0432\u043d\u0435\u0441\u0451\u043c <a href=\"https:\/\/arxiv.org\/abs\/1806.01261\" rel=\"nofollow\">\u0440\u0430\u0437\u0443\u043c\u043d\u044b\u0435 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0435 \u0434\u043e\u043f\u0443\u0449\u0435\u043d\u0438\u044f<\/a> (inductive bias), \u043f\u043e\u0434\u043e\u0431\u0440\u0430\u043d\u043d\u044b\u0435 \u043f\u043e\u0434 \u0446\u0435\u043b\u0435\u0432\u0443\u044e \u0437\u0430\u0434\u0430\u0447\u0443?<\/p>\n<p>  <\/p>\n<h2 id=\"chto-eschyo-pochitat\">\u0427\u0442\u043e \u0435\u0449\u0451 \u043f\u043e\u0447\u0438\u0442\u0430\u0442\u044c<\/h2>\n<p>  <\/p>\n<p>\u0415\u0441\u043b\u0438 \u0445\u043e\u0442\u0438\u0442\u0435 \u043f\u043e\u043b\u0443\u0447\u0448\u0435 \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u0442\u044c\u0441\u044f \u0432 \u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0435\u0440\u0430\u0445 \u0441 \u0442\u043e\u0447\u043a\u0438 \u0437\u0440\u0435\u043d\u0438\u044f \u0437\u0430\u0434\u0430\u0447 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u044f\u0437\u044b\u043a\u0430, \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u044e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432\u043e\u0442 \u044d\u0442\u0438 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0433\u0440\u0430\u043c\u043e\u0442\u043d\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0435 \u043f\u043e\u0441\u0442\u044b: <a href=\"http:\/\/jalammar.github.io\/illustrated-transformer\/\" rel=\"nofollow\">The Illustrated Transformer<\/a> \u0438 <a href=\"http:\/\/nlp.seas.harvard.edu\/2018\/04\/03\/attention.html\" rel=\"nofollow\">The Annotated Transformer<\/a>.<\/p>\n<p>  <\/p>\n<p>\u041c\u044b \u043d\u0435 \u043f\u0435\u0440\u0432\u044b\u0435 \u0441\u0432\u044f\u0437\u044b\u0432\u0430\u0435\u043c GNN \u0441 \u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0435\u0440\u0430\u043c\u0438: \u0435\u0441\u0442\u044c <a href=\"https:\/\/ipam.wistia.com\/medias\/1zgl4lq6nh\" rel=\"nofollow\">\u043f\u0440\u0435\u0432\u043e\u0441\u0445\u043e\u0434\u043d\u0430\u044f \u043b\u0435\u043a\u0446\u0438\u044f<\/a> Arthur Szlam \u043e\u0431 \u0438\u0441\u0442\u043e\u0440\u0438\u0438 \u0438 \u0441\u0432\u044f\u0437\u044f\u043c\u0438 \u043c\u0435\u0436\u0434\u0443 Attention\/Memory Networks, GNN \u0438 \u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0435\u0440\u0430\u043c\u0438. \u0415\u0441\u0442\u044c \u0442\u0430\u043a\u0436\u0435 <a href=\"https:\/\/arxiv.org\/abs\/1806.01261\" rel=\"nofollow\">\u0441\u0442\u0430\u0442\u044c\u044f-\u043c\u043d\u0435\u043d\u0438\u0435 (position paper) \u043e\u0442 DeepMind<\/a>, \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0430\u0432\u0442\u043e\u0440\u044b \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u2014 \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0438\u0435 \u0437\u043d\u0430\u043c\u0435\u043d\u0438\u0442\u043e\u0441\u0442\u0438 \u0438 \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0432\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u044f\u044e\u0449\u0438\u0439 \u0432\u0441\u0435 \u044d\u0442\u0438 \u0438\u0434\u0435\u0438 &quot;\u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a&quot; \u2014 <em>\u0433\u0440\u0430\u0444\u043e\u0432\u044b\u0435 \u0441\u0435\u0442\u0438<\/em>. \u0410 \u0432 \u043a\u043e\u0434 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432 \u0445\u043e\u0440\u043e\u0448\u0435\u043c <a href=\"https:\/\/docs.dgl.ai\/en\/latest\/tutorials\/models\/4_old_wines\/7_transformer.html\" rel=\"nofollow\">\u0442\u044c\u044e\u0442\u043e\u0440\u0438\u0430\u043b\u0435 \u043e\u0442 DGL<\/a>. \u0422\u0430\u043c \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u044e\u0442 seq2seq \u043a\u0430\u043a \u0437\u0430\u0434\u0430\u0447\u0443 \u0434\u043b\u044f &quot;\u0433\u0440\u0430\u0444\u043e\u0432\u044b\u0445&quot; \u043c\u0435\u0442\u043e\u0434\u043e\u0432 \u0438 &quot;\u0441\u0442\u0440\u043e\u044f\u0442&quot; \u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0435\u0440\u044b \u043a\u0430\u043a GNN.<\/p>\n<p>  <\/p>\n<p>\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c \u043f\u043e\u0441\u0442\u0435 \u043c\u044b, \u043d\u0430\u043e\u0431\u043e\u0440\u043e\u0442, \u0431\u0443\u0434\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c GNN \u043a\u0430\u043a \u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0435\u0440\u044b \u0434\u043b\u044f NLP (\u0432\u043e\u0437\u044c\u043c\u0451\u043c \u0437\u0430 \u043e\u0441\u043d\u043e\u0432\u0443 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443 HuggingFace: <a href=\"https:\/\/github.com\/huggingface\/transformers\" rel=\"nofollow\">Transformers<\/a>).<\/p>\n<p>  <\/p>\n<p>\u0418, \u043d\u0430\u043a\u043e\u043d\u0435\u0446, \u043c\u044b \u043d\u0435\u0434\u0430\u0432\u043d\u043e <a href=\"https:\/\/graphdeeplearning.github.io\/publication\/xu-2019-multi\/\" rel=\"nofollow\">\u043d\u0430\u043f\u0438\u0441\u0430\u043b\u0438 \u0441\u0442\u0430\u0442\u044c\u044e<\/a>, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0435\u043c \u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0435\u0440\u044b \u043a \u0434\u0430\u0442\u0430\u0441\u0435\u0442\u0443 \u0441 \u044d\u0441\u043a\u0438\u0437\u0430\u043c\u0438 <a href=\"https:\/\/quickdraw.withgoogle.com\/#\" rel=\"nofollow\">QuickDraw<\/a>. \u0417\u0430\u0446\u0435\u043d\u0438\u0442\u0435!<\/p>\n<p>  <\/p>\n<h3 id=\"dopolnenie\">\u0414\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435<\/h3>\n<p>  <\/p>\n<p>\u041f\u043e\u0441\u0442 \u0431\u044b\u043b \u0442\u0430\u043a\u0436\u0435 \u043f\u0435\u0440\u0435\u0432\u0435\u0434\u0451\u043d \u043d\u0430 <a href=\"https:\/\/mp.weixin.qq.com\/s\/DABEcNf1hHahlZFMttiT2g\" rel=\"nofollow\">\u043a\u0438\u0442\u0430\u0439\u0441\u043a\u0438\u0439<\/a>. \u041f\u0440\u0438\u0441\u043e\u0435\u0434\u0438\u043d\u044f\u0439\u0442\u0435\u0441\u044c \u043a \u0435\u0433\u043e \u043e\u0431\u0441\u0443\u0436\u0434\u0435\u043d\u0438\u044e \u043d\u0430 <a href=\"https:\/\/www.reddit.com\/r\/MachineLearning\/comments\/fb86mo\/d_transformers_are_graph_neural_networks_blog\/\" rel=\"nofollow\">\u0440\u0435\u0434\u0434\u0438\u0442\u0435<\/a> \u0438 \u0432 <a href=\"https:\/\/twitter.com\/chaitjo\/status\/1233220586358181888?s=20\" rel=\"nofollow\">\u0442\u0432\u0438\u0442\u0442\u0435\u0440\u0435<\/a>!<\/p>\n<p>  <\/p>\n<blockquote><p>\u041f\u0435\u0440\u0435\u0432\u043e\u0434 \u0441 \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u043e\u0433\u043e \u044f\u0437\u044b\u043a\u0430: \u0410\u043d\u0442\u043e\u043d \u0410\u043b\u0435\u043a\u0441\u0435\u0435\u0432<br \/>  (\u043b\u0430\u0431. \u0438\u0441\u043a\u0443\u0441\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u043b\u043b\u0435\u043a\u0442\u0430, \u041f\u041e\u041c\u0418 \u0420\u0410\u041d \u0438\u043c. \u0412.\u0410. \u0421\u0442\u0435\u043a\u043b\u043e\u0432\u0430)<\/p>\n<p>  \u0417\u0430 \u0446\u0435\u043d\u043d\u044b\u0435 \u0437\u0430\u043c\u0435\u0447\u0430\u043d\u0438\u044f \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0447\u0438\u043a \u0431\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u0438\u0442 \u0414\u0435\u043d\u0438\u0441\u0430 \u041a\u0438\u0440\u044c\u044f\u043d\u043e\u0432\u0430 <a href=\"https:\/\/habr.com\/ru\/users\/kirdin\/\" class=\"user_link\">kirdin<\/a> \u0438 \u041c\u0438\u0445\u0430\u0438\u043b\u0430 \u0415\u0432\u0442\u0438\u0445\u0438\u0435\u0432\u0430 <a href=\"https:\/\/habr.com\/ru\/users\/aspr_spb\/\" class=\"user_link\">aspr_spb<\/a>.<\/p><\/blockquote>\n<\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/491576\/\"> https:\/\/habr.com\/ru\/post\/491576\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/491576\/\">\n<blockquote><p><strong>TL;DR<\/strong>: \u043f\u0435\u0440\u0435\u0432\u043e\u0434 \u043f\u043e\u0441\u0442\u0430 <strong>Chaitanya Joshi<\/strong> &quot;<a href=\"https:\/\/graphdeeplearning.github.io\/post\/transformers-are-gnns\/\" rel=\"nofollow\">Transformers are Graph Neural Networks<\/a>&quot;: \u0441\u0445\u0435\u043c\u044b, \u0444\u043e\u0440\u043c\u0443\u043b\u044b, \u0438\u0434\u0435\u0438, \u0432\u0430\u0436\u043d\u044b\u0435 \u0441\u0441\u044b\u043b\u043a\u0438. \u041f\u0443\u0431\u043b\u0438\u043a\u0443\u0435\u0442\u0441\u044f \u0441 \u043b\u044e\u0431\u0435\u0437\u043d\u043e\u0433\u043e \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0430\u0432\u0442\u043e\u0440\u0430.<\/p><\/blockquote>\n<p>\u0414\u0440\u0443\u0437\u044c\u044f-\u0434\u0430\u0442\u0430\u0441\u0430\u0435\u043d\u0442\u0438\u0441\u0442\u044b \u0447\u0430\u0441\u0442\u043e \u0437\u0430\u0434\u0430\u044e\u0442 \u043e\u0434\u0438\u043d \u0438 \u0442\u043e\u0442 \u0436\u0435 \u0432\u043e\u043f\u0440\u043e\u0441: \u0433\u0440\u0430\u0444\u043e\u0432\u044b\u0435 \u043d\u0435\u0439\u0440\u043e\u043d\u043d\u044b\u0435 \u0441\u0435\u0442\u0438 (Graph Neural Networks) \u2014 \u043f\u0440\u0435\u043a\u0440\u0430\u0441\u043d\u0430\u044f \u0438\u0434\u0435\u044f, \u043d\u043e \u0431\u044b\u043b\u0438 \u043b\u0438 \u0443 \u043d\u0438\u0445 \u0445\u043e\u0442\u044c \u043a\u0430\u043a\u0438\u0435-\u0442\u043e \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0438\u0435 \u0438\u0441\u0442\u043e\u0440\u0438\u0438 \u0443\u0441\u043f\u0435\u0445\u0430? \u0415\u0441\u0442\u044c \u043b\u0438 \u0443 \u043d\u0438\u0445 \u043a\u0430\u043a\u0438\u0435-\u043d\u0438\u0431\u0443\u0434\u044c \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0435 \u043d\u0430 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f?<\/p>\n<p>  <\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/-j\/aw\/9t\/-jaw9ttpo2rfmyw-uthuzemadl8.png\"><\/div>\n<p>  <\/p>\n<p>\u041c\u043e\u0436\u043d\u043e \u043f\u0440\u0438\u0432\u0435\u0441\u0442\u0438 \u0432 \u043f\u0440\u0438\u043c\u0435\u0440 \u0438 \u0431\u0435\u0437 \u0442\u043e\u0433\u043e \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0435 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b \u2014 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0432 <a href=\"https:\/\/medium.com\/pinterest-engineering\/pinsage-a-new-graph-convolutional-neural-network-for-web-scale-recommender-systems-88795a107f48\" rel=\"nofollow\">Pinterest<\/a>, <a href=\"https:\/\/arxiv.org\/abs\/1902.08730\" rel=\"nofollow\">Alibaba<\/a> \u0438 <a href=\"https:\/\/blog.twitter.com\/en_us\/topics\/company\/2019\/Twitter-acquires-Fabula-AI.html\" rel=\"nofollow\">Twitter<\/a>. \u041d\u043e \u0435\u0441\u0442\u044c \u0438 \u0431\u043e\u043b\u0435\u0435 \u0445\u0438\u0442\u0440\u0430\u044f \u0438\u0441\u0442\u043e\u0440\u0438\u044f \u0443\u0441\u043f\u0435\u0445\u0430: <a href=\"https:\/\/openai.com\/blog\/better-language-models\/\" rel=\"nofollow\">\u0448\u0442\u0443\u0440\u043c\u043e\u043c<\/a> <a href=\"https:\/\/www.blog.google\/products\/search\/search-language-understanding-bert\/\" rel=\"nofollow\">\u0432\u0437\u044f\u0432\u0448\u0430\u044f<\/a> <a href=\"https:\/\/www.microsoft.com\/en-us\/research\/project\/large-scale-pretraining-for-response-generation\/\" rel=\"nofollow\">\u043f\u0440\u043e\u043c\u044b\u0448\u043b\u0435\u043d\u043d\u0443\u044e<\/a> <a href=\"https:\/\/ai.facebook.com\/blog\/roberta-an-optimized-method-for-pretraining-self-supervised-nlp-systems\/\" rel=\"nofollow\">\u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0443<\/a> <a href=\"https:\/\/blog.einstein.ai\/introducing-a-conditional-transformer-language-model-for-controllable-generation\/\" rel=\"nofollow\">\u0435\u0441\u0442\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0433\u043e<\/a> <a href=\"https:\/\/nv-adlr.github.io\/MegatronLM\" rel=\"nofollow\">\u044f\u0437\u044b\u043a\u0430<\/a> \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0430 <a href=\"https:\/\/arxiv.org\/abs\/1706.03762\" rel=\"nofollow\">Transformer<\/a>.<\/p>\n<p>  <\/p>\n<p>\u0412 \u044d\u0442\u043e\u043c \u043f\u043e\u0441\u0442\u0435 \u043c\u043d\u0435 \u0431\u044b \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0441\u0432\u044f\u0437\u0438 \u043c\u0435\u0436\u0434\u0443 <a href=\"https:\/\/graphdeeplearning.github.io\/project\/spatial-convnets\/\" rel=\"nofollow\">\u0433\u0440\u0430\u0444\u043e\u0432\u044b\u043c\u0438 \u043d\u0435\u0439\u0440\u043e\u043d\u043d\u044b\u043c\u0438 \u0441\u0435\u0442\u044f\u043c\u0438<\/a> \u0438 \u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0435\u0440\u0430\u043c\u0438 (Transformers). \u041c\u044b \u043f\u043e\u0433\u043e\u0432\u043e\u0440\u0438\u043c \u043e\u0431 \u0438\u043d\u0442\u0443\u0438\u0442\u0438\u0432\u043d\u043e\u043c \u043e\u0431\u043e\u0441\u043d\u043e\u0432\u0430\u043d\u0438\u0438 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440 \u043c\u043e\u0434\u0435\u043b\u0435\u0439 \u0432 NLP- \u0438 GNN-\u0441\u043e\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u0430\u0445, \u043f\u043e\u043a\u0430\u0436\u0435\u043c \u0438\u0445 \u0441\u0432\u044f\u0437\u044c \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 \u0444\u043e\u0440\u043c\u0443\u043b \u0438 \u0443\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0439 \u0438 \u043f\u043e\u0440\u0430\u0441\u0441\u0443\u0436\u0434\u0430\u0435\u043c, \u043a\u0430\u043a \u043e\u0431\u0430 &quot;\u043c\u0438\u0440\u0430&quot; \u043c\u043e\u0433\u0443\u0442 \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0438\u0442\u044c \u0443\u0441\u0438\u043b\u0438\u044f, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0434\u0432\u0438\u043d\u0443\u0442\u044c \u043f\u0440\u043e\u0433\u0440\u0435\u0441\u0441.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-299974","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/299974","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=299974"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/299974\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=299974"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=299974"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=299974"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}