{"id":462373,"date":"2025-06-08T15:00:18","date_gmt":"2025-06-08T15:00:18","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=462373"},"modified":"-0001-11-30T00:00:00","modified_gmt":"2025-06-08T15:00:18","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=462373","title":{"rendered":"<span>RecSys + DSSM + FPSLoss is all you need<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/6s\/dd\/mg\/6sddmgfkwzii1vn3gkwkzqo38uk.jpeg\" sizes=\"(max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/webt\/6s\/dd\/mg\/6sddmgfkwzii1vn3gkwkzqo38uk.jpeg 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/webt\/6s\/dd\/mg\/6sddmgfkwzii1vn3gkwkzqo38uk.jpeg 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>\u0423\u043f\u0440\u043e\u0449\u0430\u0442\u044c \u0438 \u0438\u0441\u043a\u0430\u0442\u044c \u043f\u043e\u0445\u043e\u0436\u0438\u0435 \u0434\u0435\u0442\u0430\u043b\u0438, \u043e\u0447\u0435\u043d\u044c \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0439 \u043d\u0430\u0432\u044b\u043a! \u041f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u044e \u0431\u044b\u0441\u0442\u0440\u043e \u043f\u0440\u043e\u0431\u0435\u0436\u0430\u0442\u044c\u0441\u044f \u0438 \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u043d\u0430\u0439\u0442\u0438 \u0442\u0443 \u0441\u0430\u043c\u0443\u044e \u0441\u0435\u0440\u0435\u0431\u0440\u044f\u043d\u0443\u044e \u043f\u0443\u043b\u044e \u0432 <strong>RecSys<\/strong> !<\/p>\n<h3>\u0412\u0432\u0435\u0434\u0435\u043d\u0438\u0435<\/h3>\n<p>\u041f\u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0437\u0430\u0434\u0430\u0447\u0438 \u043e\u0431\u044b\u0447\u043d\u043e \u0442\u0430\u043a\u043e\u0432\u0430: \u0443 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c \u0437\u0430\u043f\u0440\u043e\u0441 \u0438 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u043e\u0432, \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043d\u0443\u0436\u043d\u043e \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u043d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u0440\u0435\u043b\u0435\u0432\u0430\u043d\u0442\u043d\u044b\u0439. \u042d\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0438 \u043c\u0443\u0437\u044b\u043a\u0430\u043b\u044c\u043d\u044b\u0439 \u0442\u0440\u0435\u043a, \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u0439 \u0437\u0430\u043f\u0440\u043e\u0441 \u0438 \u0440\u0435\u043a\u043b\u0430\u043c\u043d\u044b\u0439 \u0431\u0430\u043d\u043d\u0435\u0440 \u0438\u043b\u0438 \u0434\u0430\u0436\u0435 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u044b \u0438\u0437 \u043e\u0434\u043d\u043e\u0433\u043e \u0434\u043e\u043c\u0435\u043d\u0430.<\/p>\n<p>\u0412 \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445 \u0447\u0430\u0449\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u043c\u043e\u0434\u0435\u043b\u0438 \u0441 \u043f\u043e\u0437\u0434\u043d\u0438\u043c \u0441\u0432\u044f\u0437\u044b\u0432\u0430\u043d\u0438\u0435\u043c (<strong>late interaction<\/strong>): \u0435\u0441\u0442\u044c \u0434\u0432\u0435 \u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u044b\u0435 \u0431\u0430\u0448\u043d\u0438 \u0434\u043b\u044f <strong>query<\/strong> \u0438 <strong>doc<\/strong>, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u0443\u044e\u0442 \u0438\u0445 \u0432 \u0432\u0435\u043a\u0442\u043e\u0440\u0430. \u0414\u0430\u043b\u0435\u0435 \u0440\u0435\u043b\u0435\u0432\u0430\u043d\u0442\u043d\u043e\u0441\u0442\u044c \u0430\u043f\u043f\u0440\u043e\u043a\u0441\u0438\u043c\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0447\u0435\u0440\u0435\u0437 \u0441\u043a\u0430\u043b\u044f\u0440\u043d\u043e\u0435 \u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435: <img decoding=\"async\" class=\"formula inline\" source=\"\\text{dotproduct}(\\text{vec}_q, \\text{vec}_d) \\to \\text{relevant}_{score}\" alt=\"\\text{dotproduct}(\\text{vec}_q, \\text{vec}_d) \\to \\text{relevant}_{score}\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/5\/5e\/5eb\/5eb155d8fff24af1b22e2b4a3ea530bb.svg\" width=\"auto\" height=\"auto\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/5\/5e\/5eb\/5eb155d8fff24af1b22e2b4a3ea530bb.svg 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/formulas\/5\/5e\/5eb\/5eb155d8fff24af1b22e2b4a3ea530bb.svg 781w\" loading=\"lazy\" decode=\"async\"\/>. \u042d\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043a\u043b\u0438\u043a\/\u043d\u0435 \u043a\u043b\u0438\u043a \u0438\u043b\u0438 \u0440\u0443\u0447\u043d\u0430\u044f \u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0430.<\/p>\n<blockquote>\n<p><strong>\u0412\u0430\u0436\u043d\u043e<\/strong>: \u0441\u043a\u0430\u043b\u044f\u0440\u043d\u043e\u0435 \u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u043d\u0435 \u043d\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u043e, \u0442\u0430\u043a \u043a\u0430\u043a \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u043e \u0432\u044b\u0448\u0435, \u0435\u0441\u043b\u0438 \u043c\u043e\u0434\u0435\u043b\u044c \u0441\u0430\u043c\u0430 \u0443\u0447\u0438\u0442 \u0440\u0435\u0433\u0443\u043b\u0438\u0437\u0430\u0446\u0438\u044e. \u0415\u0441\u043b\u0438 \u0433\u0440\u0430\u043c\u043e\u0442\u043d\u043e\u0439 \u0440\u0435\u0433\u0443\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043d\u0435\u0442 \u2014 \u043b\u0443\u0447\u0448\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043d\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u044b\u0435 \u0432\u0435\u043a\u0442\u043e\u0440\u0430(aka \u043a\u043e\u0441\u0438\u043d\u0443\u0441\u043d\u0430\u044f \u043c\u0435\u0440\u0430).<\/p>\n<\/blockquote>\n<p><strong>\u041f\u043e\u0447\u0435\u043c\u0443 \u044d\u0442\u043e \u0443\u0434\u043e\u0431\u043d\u043e?<\/strong><\/p>\n<ul>\n<li>\n<p>\u041c\u043e\u0436\u043d\u043e \u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e \u0432 \u043e\u0444\u0444\u043b\u0430\u0439\u043d\u0435 \u043f\u0435\u0440\u0435\u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0442\u044c \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u044b, \u043d\u0435 \u0437\u0430\u0432\u0438\u0441\u0435\u0442\u044c \u043e\u0442 \u0440\u0430\u043d\u0442\u0430\u0439\u043c\u0430.<\/p>\n<\/li>\n<li>\n<p>\u041d\u0435 \u043d\u0443\u0436\u043d\u043e \u043a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437 \u043f\u0435\u0440\u0435\u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0442\u044c \u0434\u0435\u043a\u0430\u0440\u0442\u043e\u0432\u043e \u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435 (doc, query) \u0432\u0435\u043a\u0442\u043e\u0440\u043e\u0432.<\/p>\n<\/li>\n<li>\n<p>\u041c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u0442\u0440\u043e\u0438\u0442\u044c KNN \u0438 \u0438\u0441\u043a\u0430\u0442\u044c \u0431\u044b\u0441\u0442\u0440\u043e!<\/p>\n<\/li>\n<li>\n<p>\u0423\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u044b\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441, \u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0449\u0438\u0439 \u0434\u043b\u044f \u043c\u043d\u043e\u0433\u0438\u0445 \u0437\u0430\u0434\u0430\u0447.<\/p>\n<\/li>\n<li>\n<p>\u041c\u043e\u0436\u043d\u043e \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u043e \u0441\u0447\u0438\u0442\u0430\u0442\u044c FPS (Full Product Softmax) \u2014 \u0440\u0430\u043d\u0435\u0435 \u0441\u0432\u044f\u0437\u044b\u0432\u0430\u043d\u0438\u0435 + \u043f\u0440\u0435\u0442\u0440\u0430\u0438\u043d FPS + SFT \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u0435\u0435, \u0447\u0435\u043c \u043f\u043e\u0437\u0434\u043d\u0435\u0435 \u0441\u0432\u044f\u0437\u044b\u0432\u0430\u043d\u0438\u0435 \u0431\u0435\u0437 FPS \u043f\u0440\u0435\u0442\u0440\u0430\u0438\u043d\u0430.<\/p>\n<\/li>\n<\/ul>\n<h3>\u0427\u0442\u043e \u0442\u0430\u043a\u043e\u0435 DSSM? \u0417\u0432\u0443\u0447\u0438\u0442 \u043c\u043e\u0449\u043d\u043e, \u043d\u0435 \u0442\u0430\u043a \u043b\u0438?<\/h3>\n<p>\u0412 2008 \u0433\u043e\u0434\u0443 Microsoft \u0432\u044b\u043f\u0443\u0441\u0442\u0438\u043b\u0438 \u0441\u0442\u0430\u0442\u044c\u044e <a href=\"https:\/\/www.microsoft.com\/en-us\/research\/wp-content\/uploads\/2016\/02\/cikm2013_DSSM_fullversion.pdf\" rel=\"noopener noreferrer nofollow\">Learning Deep Structured Semantic Models for Web Search using Clickthrough Data<\/a>, \u0433\u0434\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u043b\u0438 DSSM (Deep Semantic Similarity Model): \u0434\u0432\u0435 \u0431\u0430\u0448\u043d\u0438 (query, doc) \u0438 \u0432 \u0442\u0430\u0440\u0433\u0435\u0442\u0435 \u043a\u043b\u0438\u043a! \u0421 \u0442\u0435\u0445 \u043f\u043e\u0440 \u044d\u0442\u043e \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0437\u0430\u043a\u0440\u0435\u043f\u0438\u043b\u043e\u0441\u044c \u0437\u0430 \u0442\u0430\u043a\u0438\u043c \u0434\u0438\u0437\u0430\u0439\u043d\u043e\u043c \u043c\u043e\u0434\u0435\u043b\u0435\u0439.<\/p>\n<blockquote>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0442\u044b \u0437\u043d\u0430\u0435\u0448\u044c, \u0447\u0442\u043e \u0437\u043d\u0430\u0447\u0438\u0442 \u044d\u0442\u043e \u0441\u043e\u043a\u0440\u0430\u0449\u0435\u043d\u0438\u0435 \u0437\u0430\u0445\u0432\u0430\u0442\u0438\u0432\u0448\u0435\u0435 \u0432\u0441\u0435 \u043f\u0440\u043e\u0434\u0430\u043a\u0448\u0435\u043d\u044b \u0431\u0438\u0433\u0442\u0435\u0445\u043e\u0432 \u0442\u0430\u043c \u0433\u0434\u0435 \u0435\u0441\u0442\u044c DL \ud83d\ude00<\/p>\n<\/blockquote>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/pr\/gz\/vc\/prgzvclcskwe47q5ilio5wsekl0.png\" sizes=\"(max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/webt\/pr\/gz\/vc\/prgzvclcskwe47q5ilio5wsekl0.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/webt\/pr\/gz\/vc\/prgzvclcskwe47q5ilio5wsekl0.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>\u0417\u0430\u043f\u0440\u043e\u0441\u043d\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u043e\u0431\u044b\u0447\u043d\u043e \u0441\u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044f \u0432 \u0440\u0430\u043d\u0442\u0430\u0439\u043c\u0435, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0435\u0451 \u0434\u0435\u043b\u0430\u044e\u0442 \u043b\u0435\u0433\u0447\u0435, \u0447\u0435\u043c \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u043d\u0443\u044e. \u0415\u0441\u0442\u044c \u0442\u0440\u044e\u043a\u0438 \u0434\u043b\u044f \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0438 \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0438: \u043a\u0435\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435, \u0433\u043e\u0440\u0438\u0437\u043e\u043d\u0442\u0430\u043b\u044c\u043d\u044b\u0439 \u0440\u043e\u0441\u0442 \u0438 \u0434\u0440.<\/p>\n<p>\u041a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043f\u0440\u0438\u043c\u0435\u0440 \u0431\u0430\u0448\u0435\u043d \u2014 \u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0435\u0440\u044b \u043d\u0430\u0434 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044f\u043c\u0438 + MLP (\u0434\u043b\u044f \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0430\u043b\u044c\u043d\u044b\u0445\/\u0432\u0435\u0449\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0445 \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u043e\u0432 \u0438 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430 \u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0435\u0440\u0430).<\/p>\n<h3>\u0420\u0430\u043d\u0436\u0438\u0440\u0443\u044e\u0449\u0438\u0435 \u043b\u043e\u0441\u0441\u044b<\/h3>\n<p>\u0412 \u043f\u043e\u0438\u0441\u043a\u0435 \u0441\u0430\u043c\u043e\u0433\u043e \u0440\u0435\u043b\u0435\u0432\u0430\u043d\u0442\u043d\u043e\u0433\u043e \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430 \u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u044b\u0435 \u0441\u043a\u043e\u0440\u044b \u043d\u0435 \u0432\u0430\u0436\u043d\u044b \u2014 \u0432\u0430\u0436\u0435\u043d \u043f\u043e\u0440\u044f\u0434\u043e\u043a! \u0417\u0434\u0435\u0441\u044c \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u043e \u0434\u043b\u044f <strong>\u0440\u0430\u043d\u0436\u0438\u0440\u0443\u044e\u0449\u0438\u0445 \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u043e\u0448\u0438\u0431\u043e\u043a<\/strong>.<\/p>\n<blockquote>\n<p><a href=\"https:\/\/education.yandex.ru\/handbook\/ml\/article\/kontentnye-rekomendacii\" rel=\"noopener noreferrer nofollow\">\u0412 \u0442\u0435\u0447\u0435\u043d\u0438\u0438 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u043d\u0430\u0442\u043a\u043d\u0443\u043b\u0441\u044f \u043d\u0430 \u043e\u0444\u0438\u0433\u0435\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0445\u0435\u043d\u0434\u0431\u0443\u043a \u042f\u043d\u0434\u0435\u043a\u0441\u0430 \u043f\u043e \u0440\u0435\u043a\u0441\u0438\u0441\u0443. \u041c\u043d\u043e\u0433\u043e\u0435 \u0431\u0443\u0434\u0443 \u0431\u0440\u0430\u0442\u044c \u043e\u0442 \u0442\u0443\u0434\u0430<\/a><\/p>\n<\/blockquote>\n<p><strong>\u0412\u0430\u0436\u043d\u043e\u0435 \u043d\u0430\u0431\u043b\u044e\u0434\u0435\u043d\u0438\u0435:<\/strong><\/p>\n<blockquote>\n<p>\u041d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0430\u0432\u0442\u043e\u0440\u044b \u043f\u044b\u0442\u0430\u043b\u0438\u0441\u044c \u0432\u043c\u0435\u0441\u0442\u043e \u043a\u043e\u0441\u0438\u043d\u0443\u0441\u043d\u043e\u0439 \u043c\u0435\u0440\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043e\u0431\u0443\u0447\u0430\u0435\u043c\u044b\u0439 MLP, \u043d\u043e \u044d\u0442\u043e \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u043d\u0435\u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u043e.<\/p>\n<\/blockquote>\n<h4>\u041e\u0431\u043e\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f<\/h4>\n<ul>\n<li>\n<p><img decoding=\"async\" class=\"formula inline\" source=\"q\" alt=\"q\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/7\/76\/769\/7694f4a66316e53c8cdd9d9954bd611d.svg\" width=\"auto\" height=\"auto\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/7\/76\/769\/7694f4a66316e53c8cdd9d9954bd611d.svg 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/formulas\/7\/76\/769\/7694f4a66316e53c8cdd9d9954bd611d.svg 781w\" loading=\"lazy\" decode=\"async\"\/> , <img decoding=\"async\" class=\"formula inline\" source=\"d\" alt=\"d\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/8\/82\/827\/8277e0910d750195b448797616e091ad.svg\" width=\"auto\" height=\"auto\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/8\/82\/827\/8277e0910d750195b448797616e091ad.svg 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/formulas\/8\/82\/827\/8277e0910d750195b448797616e091ad.svg 781w\" loading=\"lazy\" decode=\"async\"\/> \u2014 \u044d\u043c\u0431\u0435\u0434\u0434\u0438\u043d\u0433\u0438 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432<\/p>\n<\/li>\n<li>\n<p><img decoding=\"async\" class=\"formula inline\" source=\"R(q, d) = \\text{dotproduct}(q, d)\" alt=\"R(q, d) = \\text{dotproduct}(q, d)\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/a\/a0\/a00\/a004988231f585cce536b11b63682235.svg\" width=\"auto\" height=\"auto\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/a\/a0\/a00\/a004988231f585cce536b11b63682235.svg 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/formulas\/a\/a0\/a00\/a004988231f585cce536b11b63682235.svg 781w\" loading=\"lazy\" decode=\"async\"\/> \u2014 \u0440\u0435\u043b\u0435\u0432\u0430\u043d\u0442\u043d\u043e\u0441\u0442\u044c (\u043f\u043e\u043c\u043d\u0438\u043c, \u043f\u0440\u0438 \u043d\u043e\u0440\u043c\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0432\u0435\u043a\u0442\u043e\u0440\u043e\u0432)<\/p>\n<\/li>\n<\/ul>\n<hr\/>\n<p>\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u0442\u0440\u044e\u043a \u0432 \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u0438 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c \u2014 \u0441\u0431\u043e\u0440 \u0441\u044d\u043c\u043f\u043b\u043e\u0432 \u0438\u0437 \u043a\u043b\u0438\u043a\u0430 (\u043e\u0431\u044b\u0447\u043d\u043e \u043e\u0434\u043d\u043e\u0433\u043e) \u0438 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u0430 \u043d\u0435\u0433\u0430\u0442\u0438\u0432\u043e\u0432 (\u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043b\u044e\u0431\u043e\u0439 \u0434\u0440\u0443\u0433\u043e\u0439 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442). \u041d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u043c\u043d\u043e\u0433\u043e \u043d\u0435\u0433\u0430\u0442\u0438\u0432\u043e\u0432 \u043d\u0435\u0440\u0430\u0437\u0443\u043c\u043d\u043e! \u0417\u0434\u0435\u0441\u044c \u043f\u043e\u043c\u043e\u0433\u0430\u0435\u0442 <strong>negative sampling<\/strong> (\u0435\u0449\u0451 \u0438\u0437 <a href=\"https:\/\/arxiv.org\/pdf\/1402.3722\" rel=\"noopener noreferrer nofollow\">Word2Vec<\/a>). \u041e\u0431\u044b\u0447\u043d\u043e \u0431\u0435\u0440\u0451\u043c 1 \u043f\u043e\u0437\u0438\u0442\u0438\u0432 (<img decoding=\"async\" class=\"formula inline\" source=\"d^{+}\" alt=\"d^{+}\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/d\/d2\/d27\/d2763602846f040d37c6a085cf0be186.svg\" width=\"auto\" height=\"auto\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/d\/d2\/d27\/d2763602846f040d37c6a085cf0be186.svg 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/formulas\/d\/d2\/d27\/d2763602846f040d37c6a085cf0be186.svg 781w\" loading=\"lazy\" decode=\"async\"\/>) \u0438 <img decoding=\"async\" class=\"formula inline\" source=\"n \\approx 5\" alt=\"n \\approx 5\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/a\/a1\/a16\/a16d1864224633da34f70e9c78c3ab75.svg\" width=\"auto\" height=\"auto\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/a\/a1\/a16\/a16d1864224633da34f70e9c78c3ab75.svg 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/formulas\/a\/a1\/a16\/a16d1864224633da34f70e9c78c3ab75.svg 781w\" loading=\"lazy\" decode=\"async\"\/>\u201320 \u043d\u0435\u0433\u0430\u0442\u0438\u0432\u043e\u0432 (<img decoding=\"async\" class=\"formula inline\" source=\"d_i^{-}\" alt=\"d_i^{-}\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/c\/c8\/c89\/c89555517f365ff168d3b4ad45f3fadc.svg\" width=\"auto\" height=\"auto\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/c\/c8\/c89\/c89555517f365ff168d3b4ad45f3fadc.svg 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/formulas\/c\/c8\/c89\/c89555517f365ff168d3b4ad45f3fadc.svg 781w\" loading=\"lazy\" decode=\"async\"\/>).<\/p>\n<h4>PointWise | Softmax Loss<\/h4>\n<p>\u041a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u2014 \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u0443\u044e \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u044c:<\/p>\n<p><img decoding=\"async\" class=\"formula\" source=\"P(d \\mid q) = \\frac{\\exp(R(q, d))}{\\sum_{i=1}^{D} \\exp(R(q, d_i))}\" alt=\"P(d \\mid q) = \\frac{\\exp(R(q, d))}{\\sum_{i=1}^{D} \\exp(R(q, d_i))}\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/6\/6a\/6ad\/6ad2d23c05d7aefb483fc5da14d7321e.svg\" width=\"auto\" height=\"auto\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/6\/6a\/6ad\/6ad2d23c05d7aefb483fc5da14d7321e.svg 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/formulas\/6\/6a\/6ad\/6ad2d23c05d7aefb483fc5da14d7321e.svg 781w\" loading=\"lazy\" decode=\"async\"\/><img decoding=\"async\" class=\"formula\" source=\"\\mathcal{L}(q, d^{+}) = -\\log(P(d^{+} \\mid q))\" alt=\"\\mathcal{L}(q, d^{+}) = -\\log(P(d^{+} \\mid q))\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/e\/e1\/e1e\/e1e46283518622a07ab92ae5998d0491.svg\" width=\"auto\" height=\"auto\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/e\/e1\/e1e\/e1e46283518622a07ab92ae5998d0491.svg 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/formulas\/e\/e1\/e1e\/e1e46283518622a07ab92ae5998d0491.svg 781w\" loading=\"lazy\" decode=\"async\"\/><\/p>\n<h4>Pairwise loss | PairCE + TripletLoss<\/h4>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0432\u0430\u0436\u043d\u043e \u043b\u0438\u0448\u044c, \u0447\u0442\u043e <img decoding=\"async\" class=\"formula inline\" source=\"d^{+}\" alt=\"d^{+}\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/d\/d2\/d27\/d2763602846f040d37c6a085cf0be186.svg\" width=\"auto\" height=\"auto\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/d\/d2\/d27\/d2763602846f040d37c6a085cf0be186.svg 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/formulas\/d\/d2\/d27\/d2763602846f040d37c6a085cf0be186.svg 781w\" loading=\"lazy\" decode=\"async\"\/> \u0440\u0435\u043b\u0435\u0432\u0430\u043d\u0442\u043d\u0435\u0435 <img decoding=\"async\" class=\"formula inline\" source=\"d^{-}\" alt=\"d^{-}\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/2\/2d\/2d6\/2d6ee701057d50ba4c04a317e86945f6.svg\" width=\"auto\" height=\"auto\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/2\/2d\/2d6\/2d6ee701057d50ba4c04a317e86945f6.svg 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/formulas\/2\/2d\/2d6\/2d6ee701057d50ba4c04a317e86945f6.svg 781w\" loading=\"lazy\" decode=\"async\"\/>.<\/p>\n<p><strong>Pair Cross-Entropy loss (PairCE):<\/strong><\/p>\n<p><img decoding=\"async\" class=\"formula\" source=\"\\mathcal{L}(R(q, d_+), R(q, d_-)) = \\mathrm{CrossEntropy}(1.0, \\sigma(R(q, d_+) - R(q, d_-)))\" alt=\"\\mathcal{L}(R(q, d_+), R(q, d_-)) = \\mathrm{CrossEntropy}(1.0, \\sigma(R(q, d_+) - R(q, d_-)))\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/4\/49\/49d\/49dd0b3d3a880e3a2a1fae1bae14bb32.svg\" width=\"auto\" height=\"auto\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/4\/49\/49d\/49dd0b3d3a880e3a2a1fae1bae14bb32.svg 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/formulas\/4\/49\/49d\/49dd0b3d3a880e3a2a1fae1bae14bb32.svg 781w\" loading=\"lazy\" decode=\"async\"\/><\/p>\n<p><strong>Triplet loss:<\/strong><\/p>\n<p><img decoding=\"async\" class=\"formula\" source=\"\\mathcal{L}(R(q, d_+), R(q, d_-)) = \\max(0, \\alpha - R(q, d_+) + R(q, d_-))\" alt=\"\\mathcal{L}(R(q, d_+), R(q, d_-)) = \\max(0, \\alpha - R(q, d_+) + R(q, d_-))\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/b\/bd\/bde\/bdee6d403565df2da299b406369af854.svg\" width=\"auto\" height=\"auto\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/b\/bd\/bde\/bdee6d403565df2da299b406369af854.svg 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/formulas\/b\/bd\/bde\/bdee6d403565df2da299b406369af854.svg 781w\" loading=\"lazy\" decode=\"async\"\/><\/p>\n<p>\u0412\u0441\u0435 \u044d\u0442\u0438 \u043b\u043e\u0441\u0441\u044b \u0443\u0447\u0430\u0442 \u043e\u0442\u0442\u0430\u043b\u043a\u0438\u0432\u0430\u0442\u044c \u0440\u0430\u0437\u043d\u043e\u0440\u0435\u043b\u0435\u0432\u0430\u043d\u0442\u043d\u044b\u0435 \u043f\u0430\u0440\u044b. Softmax Loss \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0443\u0447\u0438\u0442 \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u044c, \u0447\u0442\u043e \u0443\u0441\u043b\u043e\u0436\u043d\u044f\u0435\u0442 \u0437\u0430\u0434\u0430\u0447\u0443 \u0434\u043b\u044f \u0441\u0435\u0442\u043a\u0438, \u0432\u0435\u0434\u044c \u0434\u043b\u044f \u0440\u0430\u043d\u0436\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u044d\u0442\u043e \u0438\u0437\u0431\u044b\u0442\u043e\u0447\u043d\u043e.<\/p>\n<h4>ListWise | FPSLoss<\/h4>\n<p>\u0427\u0430\u0441\u0442\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 PairCE\/TripletLoss \u0441 \u043e\u0434\u043d\u0438\u043c \u043a\u043b\u0438\u043a\u043e\u043c \u0438 \u043a\u0443\u0447\u0435\u0439 \u043d\u0435\u0433\u0430\u0442\u0438\u0432\u043e\u0432 \u2014 \u044d\u0442\u043e \u043f\u043e\u0445\u043e\u0436\u0435 \u043d\u0430 ListWise, \u043d\u043e \u043c\u043e\u0436\u043d\u043e \u043b\u0438 \u043f\u0440\u0438\u0434\u0443\u043c\u0430\u0442\u044c \u0447\u0442\u043e-\u0442\u043e \u043d\u043e\u0432\u043e\u0435? \u0414\u0430! \u0412 \u0438\u0433\u0440\u0443 \u043c\u043e\u0449\u043d\u043e \u0432\u0440\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u2014 <a href=\"https:\/\/github.com\/OpenAI\/CLIP?tab=readme-ov-file\" rel=\"noopener noreferrer nofollow\">CLIP<\/a> (2021), \u0440\u0435\u0448\u0430\u0435\u0442 \u0437\u0430\u0434\u0430\u0447\u0443 \u2014 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0441\u0435\u043c\u0430\u043d\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0431\u043b\u0438\u0437\u043e\u0441\u0442\u0438 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0438 \u0438 \u0442\u0435\u043a\u0441\u0442\u0430, \u0433\u0434\u0435 \u043d\u0430\u0439\u0434\u0435\u043d \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u043d\u0435\u0433\u0430\u0442\u0438\u0432\u043e\u0432.<\/p>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/hx\/ph\/b-\/hxphb-v3o2w4f_psd_ogetlxemw.png\" sizes=\"(max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/webt\/hx\/ph\/b-\/hxphb-v3o2w4f_psd_ogetlxemw.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/webt\/hx\/ph\/b-\/hxphb-v3o2w4f_psd_ogetlxemw.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p><strong>Full Product Softmax loss (FPSLoss):<\/strong><\/p>\n<p>\u0421\u043e\u0431\u0438\u0440\u0430\u0435\u043c \u0431\u0430\u0442\u0447 \u0440\u0430\u0437\u043c\u0435\u0440\u0430 <img decoding=\"async\" class=\"formula inline\" source=\"M\" alt=\"M\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/6\/69\/696\/69691c7bdcc3ce6d5d8a1361f22d04ac.svg\" width=\"auto\" height=\"auto\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/6\/69\/696\/69691c7bdcc3ce6d5d8a1361f22d04ac.svg 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/formulas\/6\/69\/696\/69691c7bdcc3ce6d5d8a1361f22d04ac.svg 781w\" loading=\"lazy\" decode=\"async\"\/>: <img decoding=\"async\" class=\"formula inline\" source=\"(q_1, d_1, r_1), \\ldots, (q_m, d_m, r_m)\" alt=\"(q_1, d_1, r_1), \\ldots, (q_m, d_m, r_m)\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/6\/69\/692\/692cd5fa8d8a695039a16865b9ecbd19.svg\" width=\"auto\" height=\"auto\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/6\/69\/692\/692cd5fa8d8a695039a16865b9ecbd19.svg 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/formulas\/6\/69\/692\/692cd5fa8d8a695039a16865b9ecbd19.svg 781w\" loading=\"lazy\" decode=\"async\"\/>, \u0433\u0434\u0435 <img decoding=\"async\" class=\"formula inline\" source=\"q\" alt=\"q\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/7\/76\/769\/7694f4a66316e53c8cdd9d9954bd611d.svg\" width=\"auto\" height=\"auto\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/7\/76\/769\/7694f4a66316e53c8cdd9d9954bd611d.svg 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/formulas\/7\/76\/769\/7694f4a66316e53c8cdd9d9954bd611d.svg 781w\" loading=\"lazy\" decode=\"async\"\/> \u2014 \u0437\u0430\u043f\u0440\u043e\u0441, <img decoding=\"async\" class=\"formula inline\" source=\"d\" alt=\"d\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/8\/82\/827\/8277e0910d750195b448797616e091ad.svg\" width=\"auto\" height=\"auto\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/8\/82\/827\/8277e0910d750195b448797616e091ad.svg 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/formulas\/8\/82\/827\/8277e0910d750195b448797616e091ad.svg 781w\" loading=\"lazy\" decode=\"async\"\/> \u2014 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442, <img decoding=\"async\" class=\"formula inline\" source=\"r\" alt=\"r\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/4\/4b\/4b4\/4b43b0aee35624cd95b910189b3dc231.svg\" width=\"auto\" height=\"auto\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/4\/4b\/4b4\/4b43b0aee35624cd95b910189b3dc231.svg 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/formulas\/4\/4b\/4b4\/4b43b0aee35624cd95b910189b3dc231.svg 781w\" loading=\"lazy\" decode=\"async\"\/> \u2014 \u0440\u0435\u043b\u0435\u0432\u0430\u043d\u0442\u043d\u043e\u0441\u0442\u044c (\u043e\u0431\u044b\u0447\u043d\u043e \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u0430\u044f, \u0447\u0430\u0441\u0442\u043e \u043a\u043b\u0438\u043a \u0438 \u0440\u0430\u0432\u0435\u043d 1).<\/p>\n<p>\u0421\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u043c\u0430\u0442\u0440\u0438\u0446\u0443 \u044d\u043c\u0431\u0435\u0434\u0434\u0438\u043d\u0433\u043e\u0432 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 <img decoding=\"async\" class=\"formula inline\" source=\"U\" alt=\"U\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/4\/4c\/4c6\/4c614360da93c0a041b22e537de151eb.svg\" width=\"auto\" height=\"auto\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/4\/4c\/4c6\/4c614360da93c0a041b22e537de151eb.svg 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/formulas\/4\/4c\/4c6\/4c614360da93c0a041b22e537de151eb.svg 781w\" loading=\"lazy\" decode=\"async\"\/>, \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u043e\u0432 <img decoding=\"async\" class=\"formula inline\" source=\"W\" alt=\"W\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/6\/61\/61e\/61e9c06ea9a85a5088a499df6458d276.svg\" width=\"auto\" height=\"auto\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/6\/61\/61e\/61e9c06ea9a85a5088a499df6458d276.svg 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/formulas\/6\/61\/61e\/61e9c06ea9a85a5088a499df6458d276.svg 781w\" loading=\"lazy\" decode=\"async\"\/> \u0438 \u0432\u0435\u043a\u0442\u043e\u0440 \u0442\u0430\u0440\u0433\u0435\u0442\u043e\u0432 <img decoding=\"async\" class=\"formula inline\" source=\"r\" alt=\"r\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/4\/4b\/4b4\/4b43b0aee35624cd95b910189b3dc231.svg\" width=\"auto\" height=\"auto\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/4\/4b\/4b4\/4b43b0aee35624cd95b910189b3dc231.svg 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/formulas\/4\/4b\/4b4\/4b43b0aee35624cd95b910189b3dc231.svg 781w\" loading=\"lazy\" decode=\"async\"\/>.<\/p>\n<p>\u0422\u043e\u0433\u0434\u0430 \u043f\u0435\u0440\u0435\u043c\u043d\u043e\u0436\u0435\u043d\u0438\u0435 \u043c\u0430\u0442\u0440\u0438\u0446 \u2014 \u044d\u0442\u043e \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u044b\u0439 \u043f\u043e\u0434\u0441\u0447\u0451\u0442 dotproduct, \u0430 \u0434\u0430\u043b\u0435\u0435 \u0438 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u0435\u0439:<\/p>\n<p><img decoding=\"async\" class=\"formula\" source=\"\\mathrm{softmax}(\\alpha U W^{T} + \\beta), \\quad U W^{T} \\in \\mathbb{R}^{M \\times M},\" alt=\"\\mathrm{softmax}(\\alpha U W^{T} + \\beta), \\quad U W^{T} \\in \\mathbb{R}^{M \\times M},\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/a\/a5\/a5c\/a5ce5c653304bfe96d9fa044d731b70a.svg\" width=\"auto\" height=\"auto\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/a\/a5\/a5c\/a5ce5c653304bfe96d9fa044d731b70a.svg 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/formulas\/a\/a5\/a5c\/a5ce5c653304bfe96d9fa044d731b70a.svg 781w\" loading=\"lazy\" decode=\"async\"\/><\/p>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/za\/ql\/u3\/zaqlu3dryqe_ceds7kkejoa2ddu.png\" sizes=\"(max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/webt\/za\/ql\/u3\/zaqlu3dryqe_ceds7kkejoa2ddu.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/webt\/za\/ql\/u3\/zaqlu3dryqe_ceds7kkejoa2ddu.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>\u041e\u0441\u0442\u0430\u0451\u0442\u0441\u044f, \u043a\u0430\u043a \u0438 \u0432 Softmax, \u0432\u0437\u044f\u0442\u044c \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u0442\u043e\u043b\u044c\u043a\u043e \u0441 \u0434\u0438\u0430\u0433\u043e\u043d\u0430\u043b\u0438:<\/p>\n<p><img decoding=\"async\" class=\"formula\" source=\"L = -\\mathbb{I}\\{r &gt; 0\\}^{T} \\cdot \\log\\left(\\mathrm{diag}\\left(\\mathrm{softmax}(\\alpha U W^{T} + \\beta)\\right)\\right)\" alt=\"L = -\\mathbb{I}\\{r &gt; 0\\}^{T} \\cdot \\log\\left(\\mathrm{diag}\\left(\\mathrm{softmax}(\\alpha U W^{T} + \\beta)\\right)\\right)\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/b\/b6\/b60\/b601292e028773a2fbab3fed47a08d16.svg\" width=\"auto\" height=\"auto\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/b\/b6\/b60\/b601292e028773a2fbab3fed47a08d16.svg 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/formulas\/b\/b6\/b60\/b601292e028773a2fbab3fed47a08d16.svg 781w\" loading=\"lazy\" decode=\"async\"\/><\/p>\n<p>\u0418\u043d\u0442\u0443\u0438\u0442\u0438\u0432\u043d\u043e \u043f\u043e\u043d\u044f\u0442\u043d\u043e, \u0447\u0442\u043e \u0443\u0447\u0438\u0442\u0441\u044f \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u044c \u043f\u0440\u0438 \u0443\u0441\u043b\u043e\u0432\u0438\u0438 query <img decoding=\"async\" class=\"formula inline\" source=\"\\frac{p(\\text{query}|\\text{doc})}{p(\\text{query})}\" alt=\"\\frac{p(\\text{query}|\\text{doc})}{p(\\text{query})}\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/c\/c4\/c41\/c4198f172d8cba1e6936ce1660e5bfae.svg\" width=\"auto\" height=\"auto\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/c\/c4\/c41\/c4198f172d8cba1e6936ce1660e5bfae.svg 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/formulas\/c\/c4\/c41\/c4198f172d8cba1e6936ce1660e5bfae.svg 781w\" loading=\"lazy\" decode=\"async\"\/>. \u041e\u0431\u0440\u0430\u0449\u0443 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u0447\u0442\u043e \u043b\u0435\u0433\u043a\u043e \u043c\u043e\u0436\u043d\u043e \u0434\u043e\u0431\u0438\u0442\u044c\u0441\u044f  \u0441\u043c\u0435\u043d\u0443 \u043c\u0435\u0441\u0442\u0430\u043c\u0438 query \u0438 doc.<\/p>\n<p>\u0422\u0430\u043a\u0436\u0435 \u0437\u0430\u043c\u0435\u0442\u0438\u043c, \u043a\u0430\u043a \u0445\u0438\u0442\u0440\u043e \u0438 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0442\u0435\u043f\u0435\u0440\u044c \u043d\u0435\u0433\u0430\u0442\u0438\u0432\u044b \u0441\u043e\u0431\u0438\u0440\u0430\u044e\u0442\u0441\u044f!<\/p>\n<h3>\u0410 \u0447\u0442\u043e \u0441 \u044d\u0442\u0438\u043c \u0434\u0435\u043b\u0430\u0442\u044c?<\/h3>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/ux\/rt\/bl\/uxrtbltfaxbpo-mn0wqiencqcyi.jpeg\" sizes=\"(max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/webt\/ux\/rt\/bl\/uxrtbltfaxbpo-mn0wqiencqcyi.jpeg 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/webt\/ux\/rt\/bl\/uxrtbltfaxbpo-mn0wqiencqcyi.jpeg 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>\u041f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435:<\/p>\n<ul>\n<li>\n<p>\u041e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u044b \u0431\u0430\u0448\u0435\u043d: \u043d\u0430\u0432\u0435\u0440\u043d\u044f\u043a\u0430 \u044d\u0442\u043e \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c \u043a\u043e\u043c\u0431\u0438\u043d\u0430\u0446\u0438\u0438 <a href=\"https:\/\/arxiv.org\/pdf\/1810.04805\" rel=\"noopener noreferrer nofollow\">BERT<\/a> + MLP<\/p>\n<\/li>\n<li>\n<p>\u0421\u043e\u0431\u0440\u0430\u0442\u044c \u043e\u0447\u0435\u043d\u044c \u043c\u043d\u043e\u0433\u043e \u0434\u0430\u043d\u043d\u044b\u0445 \u0434\u043b\u044f FPS \u043b\u043e\u0441\u0441\u0430 (\u043e\u0431\u044b\u0447\u043d\u043e \u044f\u0440\u043a\u0438\u0439 \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0444\u0438\u0434\u0431\u0435\u043a \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f)<\/p>\n<\/li>\n<li>\n<p>\u0421\u0434\u0435\u043b\u0430\u0442\u044c \u0434\u043e\u043b\u0433\u0438\u0439 \u043f\u0440\u0435\u0442\u0440\u0430\u0438\u043d \u043d\u0430 FPS<\/p>\n<\/li>\n<li>\n<p>\u0414\u043e\u0444\u0430\u0439\u043d\u0442\u044e\u043d\u0438\u0442\u044c\u0441\u044f \u043d\u0430 \u0441\u0432\u043e\u044e \u0437\u0430\u0434\u0430\u0447\u0443, \u0435\u0441\u043b\u0438 \u043d\u0443\u0436\u043d\u043e<\/p>\n<\/li>\n<\/ul>\n<h3>\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/h3>\n<p>\u042d\u0442\u0438\u043c \u0445\u043e\u0442\u0435\u043b \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c, \u043e\u0431\u0449\u0438\u0439 \u0432\u0438\u0434 DL RecSys \u0438 \u043d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u0432\u0441\u0435 \u043a\u0440\u043e\u0435\u0442\u0441\u044f \u0432 \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0445 \u0434\u0435\u0442\u0430\u043b\u044f\u0445. \u0410\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u043e \u0442\u043e\u0447\u043d\u043e, \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0438 \u043d\u0443\u0436\u043d\u043e \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u044c\u0441\u044f \u043a\u0440\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0438 \u0437\u0430\u043c\u0435\u0440\u044f\u0442\u044c \u043f\u0440\u043e\u0444\u0438\u0442 \u043e\u0442 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f, \u0447\u0442\u043e \u0432 \u0440\u0435\u043a\u0441\u0438\u0441\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043e\u0447\u0435\u043d\u044c \u043d\u0435 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0435\u0439!<\/p>\n<hr\/>\n<p><em>\u0415\u0441\u043b\u0438 \u0441\u0442\u0430\u0442\u044c\u044f \u0431\u044b\u043b\u0430 \u043f\u043e\u043b\u0435\u0437\u043d\u0430 \u2014 \u0441\u0442\u0430\u0432\u044c\u0442\u0435 \u043b\u0430\u0439\u043a, \u043f\u043e\u0434\u043f\u0438\u0441\u044b\u0432\u0430\u0439\u0442\u0435\u0441\u044c \u0438 \u0434\u0435\u043b\u0438\u0442\u0435\u0441\u044c \u0441\u0432\u043e\u0438\u043c \u043e\u043f\u044b\u0442\u043e\u043c \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445!<\/em><\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \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\/articles\/916632\/\"> https:\/\/habr.com\/ru\/articles\/916632\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<figure class=\"\"><\/figure>\n<p>\u0423\u043f\u0440\u043e\u0449\u0430\u0442\u044c \u0438 \u0438\u0441\u043a\u0430\u0442\u044c \u043f\u043e\u0445\u043e\u0436\u0438\u0435 \u0434\u0435\u0442\u0430\u043b\u0438, \u043e\u0447\u0435\u043d\u044c \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0439 \u043d\u0430\u0432\u044b\u043a! \u041f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u044e \u0431\u044b\u0441\u0442\u0440\u043e \u043f\u0440\u043e\u0431\u0435\u0436\u0430\u0442\u044c\u0441\u044f \u0438 \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u043d\u0430\u0439\u0442\u0438 \u0442\u0443 \u0441\u0430\u043c\u0443\u044e \u0441\u0435\u0440\u0435\u0431\u0440\u044f\u043d\u0443\u044e \u043f\u0443\u043b\u044e \u0432 <strong>RecSys<\/strong> !<\/p>\n<h3>\u0412\u0432\u0435\u0434\u0435\u043d\u0438\u0435<\/h3>\n<p>\u041f\u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0437\u0430\u0434\u0430\u0447\u0438 \u043e\u0431\u044b\u0447\u043d\u043e \u0442\u0430\u043a\u043e\u0432\u0430: \u0443 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c \u0437\u0430\u043f\u0440\u043e\u0441 \u0438 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u043e\u0432, \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043d\u0443\u0436\u043d\u043e \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u043d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u0440\u0435\u043b\u0435\u0432\u0430\u043d\u0442\u043d\u044b\u0439. \u042d\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0438 \u043c\u0443\u0437\u044b\u043a\u0430\u043b\u044c\u043d\u044b\u0439 \u0442\u0440\u0435\u043a, \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u0439 \u0437\u0430\u043f\u0440\u043e\u0441 \u0438 \u0440\u0435\u043a\u043b\u0430\u043c\u043d\u044b\u0439 \u0431\u0430\u043d\u043d\u0435\u0440 \u0438\u043b\u0438 \u0434\u0430\u0436\u0435 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u044b \u0438\u0437 \u043e\u0434\u043d\u043e\u0433\u043e \u0434\u043e\u043c\u0435\u043d\u0430.<\/p>\n<p>\u0412 \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445 \u0447\u0430\u0449\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u043c\u043e\u0434\u0435\u043b\u0438 \u0441 \u043f\u043e\u0437\u0434\u043d\u0438\u043c \u0441\u0432\u044f\u0437\u044b\u0432\u0430\u043d\u0438\u0435\u043c (<strong>late interaction<\/strong>): \u0435\u0441\u0442\u044c \u0434\u0432\u0435 \u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u044b\u0435 \u0431\u0430\u0448\u043d\u0438 \u0434\u043b\u044f <strong>query<\/strong> \u0438 <strong>doc<\/strong>, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u0443\u044e\u0442 \u0438\u0445 \u0432 \u0432\u0435\u043a\u0442\u043e\u0440\u0430. \u0414\u0430\u043b\u0435\u0435 \u0440\u0435\u043b\u0435\u0432\u0430\u043d\u0442\u043d\u043e\u0441\u0442\u044c \u0430\u043f\u043f\u0440\u043e\u043a\u0441\u0438\u043c\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0447\u0435\u0440\u0435\u0437 \u0441\u043a\u0430\u043b\u044f\u0440\u043d\u043e\u0435 \u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435: . \u042d\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043a\u043b\u0438\u043a\/\u043d\u0435 \u043a\u043b\u0438\u043a \u0438\u043b\u0438 \u0440\u0443\u0447\u043d\u0430\u044f \u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0430.<\/p>\n<blockquote>\n<p><strong>\u0412\u0430\u0436\u043d\u043e<\/strong>: \u0441\u043a\u0430\u043b\u044f\u0440\u043d\u043e\u0435 \u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u043d\u0435 \u043d\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u043e, \u0442\u0430\u043a \u043a\u0430\u043a \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u043e \u0432\u044b\u0448\u0435, \u0435\u0441\u043b\u0438 \u043c\u043e\u0434\u0435\u043b\u044c \u0441\u0430\u043c\u0430 \u0443\u0447\u0438\u0442 \u0440\u0435\u0433\u0443\u043b\u0438\u0437\u0430\u0446\u0438\u044e. \u0415\u0441\u043b\u0438 \u0433\u0440\u0430\u043c\u043e\u0442\u043d\u043e\u0439 \u0440\u0435\u0433\u0443\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043d\u0435\u0442 \u2014 \u043b\u0443\u0447\u0448\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043d\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u044b\u0435 \u0432\u0435\u043a\u0442\u043e\u0440\u0430(aka \u043a\u043e\u0441\u0438\u043d\u0443\u0441\u043d\u0430\u044f \u043c\u0435\u0440\u0430).<\/p>\n<\/blockquote>\n<p><strong>\u041f\u043e\u0447\u0435\u043c\u0443 \u044d\u0442\u043e \u0443\u0434\u043e\u0431\u043d\u043e?<\/strong><\/p>\n<ul>\n<li>\n<p>\u041c\u043e\u0436\u043d\u043e \u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e \u0432 \u043e\u0444\u0444\u043b\u0430\u0439\u043d\u0435 \u043f\u0435\u0440\u0435\u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0442\u044c \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u044b, \u043d\u0435 \u0437\u0430\u0432\u0438\u0441\u0435\u0442\u044c \u043e\u0442 \u0440\u0430\u043d\u0442\u0430\u0439\u043c\u0430.<\/p>\n<\/li>\n<li>\n<p>\u041d\u0435 \u043d\u0443\u0436\u043d\u043e \u043a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437 \u043f\u0435\u0440\u0435\u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0442\u044c \u0434\u0435\u043a\u0430\u0440\u0442\u043e\u0432\u043e \u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435 (doc, query) \u0432\u0435\u043a\u0442\u043e\u0440\u043e\u0432.<\/p>\n<\/li>\n<li>\n<p>\u041c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u0442\u0440\u043e\u0438\u0442\u044c KNN \u0438 \u0438\u0441\u043a\u0430\u0442\u044c \u0431\u044b\u0441\u0442\u0440\u043e!<\/p>\n<\/li>\n<li>\n<p>\u0423\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u044b\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441, \u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0449\u0438\u0439 \u0434\u043b\u044f \u043c\u043d\u043e\u0433\u0438\u0445 \u0437\u0430\u0434\u0430\u0447.<\/p>\n<\/li>\n<li>\n<p>\u041c\u043e\u0436\u043d\u043e \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u043e \u0441\u0447\u0438\u0442\u0430\u0442\u044c FPS (Full Product Softmax) \u2014 \u0440\u0430\u043d\u0435\u0435 \u0441\u0432\u044f\u0437\u044b\u0432\u0430\u043d\u0438\u0435 + \u043f\u0440\u0435\u0442\u0440\u0430\u0438\u043d FPS + SFT \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u0435\u0435, \u0447\u0435\u043c \u043f\u043e\u0437\u0434\u043d\u0435\u0435 \u0441\u0432\u044f\u0437\u044b\u0432\u0430\u043d\u0438\u0435 \u0431\u0435\u0437 FPS \u043f\u0440\u0435\u0442\u0440\u0430\u0438\u043d\u0430.<\/p>\n<\/li>\n<\/ul>\n<h3>\u0427\u0442\u043e \u0442\u0430\u043a\u043e\u0435 DSSM? \u0417\u0432\u0443\u0447\u0438\u0442 \u043c\u043e\u0449\u043d\u043e, \u043d\u0435 \u0442\u0430\u043a \u043b\u0438?<\/h3>\n<p>\u0412 2008 \u0433\u043e\u0434\u0443 Microsoft \u0432\u044b\u043f\u0443\u0441\u0442\u0438\u043b\u0438 \u0441\u0442\u0430\u0442\u044c\u044e <a href=\"https:\/\/www.microsoft.com\/en-us\/research\/wp-content\/uploads\/2016\/02\/cikm2013_DSSM_fullversion.pdf\" rel=\"noopener noreferrer nofollow\">Learning Deep Structured Semantic Models for Web Search using Clickthrough Data<\/a>, \u0433\u0434\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u043b\u0438 DSSM (Deep Semantic Similarity Model): \u0434\u0432\u0435 \u0431\u0430\u0448\u043d\u0438 (query, doc) \u0438 \u0432 \u0442\u0430\u0440\u0433\u0435\u0442\u0435 \u043a\u043b\u0438\u043a! \u0421 \u0442\u0435\u0445 \u043f\u043e\u0440 \u044d\u0442\u043e \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0437\u0430\u043a\u0440\u0435\u043f\u0438\u043b\u043e\u0441\u044c \u0437\u0430 \u0442\u0430\u043a\u0438\u043c \u0434\u0438\u0437\u0430\u0439\u043d\u043e\u043c \u043c\u043e\u0434\u0435\u043b\u0435\u0439.<\/p>\n<blockquote>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0442\u044b \u0437\u043d\u0430\u0435\u0448\u044c, \u0447\u0442\u043e \u0437\u043d\u0430\u0447\u0438\u0442 \u044d\u0442\u043e \u0441\u043e\u043a\u0440\u0430\u0449\u0435\u043d\u0438\u0435 \u0437\u0430\u0445\u0432\u0430\u0442\u0438\u0432\u0448\u0435\u0435 \u0432\u0441\u0435 \u043f\u0440\u043e\u0434\u0430\u043a\u0448\u0435\u043d\u044b \u0431\u0438\u0433\u0442\u0435\u0445\u043e\u0432 \u0442\u0430\u043c \u0433\u0434\u0435 \u0435\u0441\u0442\u044c DL \ud83d\ude00<\/p>\n<\/blockquote>\n<figure class=\"\"><\/figure>\n<p>\u0417\u0430\u043f\u0440\u043e\u0441\u043d\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u043e\u0431\u044b\u0447\u043d\u043e \u0441\u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044f \u0432 \u0440\u0430\u043d\u0442\u0430\u0439\u043c\u0435, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0435\u0451 \u0434\u0435\u043b\u0430\u044e\u0442 \u043b\u0435\u0433\u0447\u0435, \u0447\u0435\u043c \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u043d\u0443\u044e. \u0415\u0441\u0442\u044c \u0442\u0440\u044e\u043a\u0438 \u0434\u043b\u044f \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0438 \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0438: \u043a\u0435\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435, \u0433\u043e\u0440\u0438\u0437\u043e\u043d\u0442\u0430\u043b\u044c\u043d\u044b\u0439 \u0440\u043e\u0441\u0442 \u0438 \u0434\u0440.<\/p>\n<p>\u041a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043f\u0440\u0438\u043c\u0435\u0440 \u0431\u0430\u0448\u0435\u043d \u2014 \u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0435\u0440\u044b \u043d\u0430\u0434 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044f\u043c\u0438 + MLP (\u0434\u043b\u044f \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0430\u043b\u044c\u043d\u044b\u0445\/\u0432\u0435\u0449\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0445 \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u043e\u0432 \u0438 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430 \u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0435\u0440\u0430).<\/p>\n<h3>\u0420\u0430\u043d\u0436\u0438\u0440\u0443\u044e\u0449\u0438\u0435 \u043b\u043e\u0441\u0441\u044b<\/h3>\n<p>\u0412 \u043f\u043e\u0438\u0441\u043a\u0435 \u0441\u0430\u043c\u043e\u0433\u043e \u0440\u0435\u043b\u0435\u0432\u0430\u043d\u0442\u043d\u043e\u0433\u043e \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430 \u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u044b\u0435 \u0441\u043a\u043e\u0440\u044b \u043d\u0435 \u0432\u0430\u0436\u043d\u044b \u2014 \u0432\u0430\u0436\u0435\u043d \u043f\u043e\u0440\u044f\u0434\u043e\u043a! \u0417\u0434\u0435\u0441\u044c \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u043e \u0434\u043b\u044f <strong>\u0440\u0430\u043d\u0436\u0438\u0440\u0443\u044e\u0449\u0438\u0445 \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u043e\u0448\u0438\u0431\u043e\u043a<\/strong>.<\/p>\n<blockquote>\n<p><a href=\"https:\/\/education.yandex.ru\/handbook\/ml\/article\/kontentnye-rekomendacii\" rel=\"noopener noreferrer nofollow\">\u0412 \u0442\u0435\u0447\u0435\u043d\u0438\u0438 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u043d\u0430\u0442\u043a\u043d\u0443\u043b\u0441\u044f \u043d\u0430 \u043e\u0444\u0438\u0433\u0435\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0445\u0435\u043d\u0434\u0431\u0443\u043a \u042f\u043d\u0434\u0435\u043a\u0441\u0430 \u043f\u043e \u0440\u0435\u043a\u0441\u0438\u0441\u0443. \u041c\u043d\u043e\u0433\u043e\u0435 \u0431\u0443\u0434\u0443 \u0431\u0440\u0430\u0442\u044c \u043e\u0442 \u0442\u0443\u0434\u0430<\/a><\/p>\n<\/blockquote>\n<p><strong>\u0412\u0430\u0436\u043d\u043e\u0435 \u043d\u0430\u0431\u043b\u044e\u0434\u0435\u043d\u0438\u0435:<\/strong><\/p>\n<blockquote>\n<p>\u041d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0430\u0432\u0442\u043e\u0440\u044b \u043f\u044b\u0442\u0430\u043b\u0438\u0441\u044c \u0432\u043c\u0435\u0441\u0442\u043e \u043a\u043e\u0441\u0438\u043d\u0443\u0441\u043d\u043e\u0439 \u043c\u0435\u0440\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043e\u0431\u0443\u0447\u0430\u0435\u043c\u044b\u0439 MLP, \u043d\u043e \u044d\u0442\u043e \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u043d\u0435\u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u043e.<\/p>\n<\/blockquote>\n<h4>\u041e\u0431\u043e\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f<\/h4>\n<ul>\n<li>\n<p> ,  \u2014 \u044d\u043c\u0431\u0435\u0434\u0434\u0438\u043d\u0433\u0438 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432<\/p>\n<\/li>\n<li>\n<p> \u2014 \u0440\u0435\u043b\u0435\u0432\u0430\u043d\u0442\u043d\u043e\u0441\u0442\u044c (\u043f\u043e\u043c\u043d\u0438\u043c, \u043f\u0440\u0438 \u043d\u043e\u0440\u043c\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0432\u0435\u043a\u0442\u043e\u0440\u043e\u0432)<\/p>\n<\/li>\n<\/ul>\n<hr\/>\n<p>\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u0442\u0440\u044e\u043a \u0432 \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u0438 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c \u2014 \u0441\u0431\u043e\u0440 \u0441\u044d\u043c\u043f\u043b\u043e\u0432 \u0438\u0437 \u043a\u043b\u0438\u043a\u0430 (\u043e\u0431\u044b\u0447\u043d\u043e \u043e\u0434\u043d\u043e\u0433\u043e) \u0438 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u0430 \u043d\u0435\u0433\u0430\u0442\u0438\u0432\u043e\u0432 (\u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043b\u044e\u0431\u043e\u0439 \u0434\u0440\u0443\u0433\u043e\u0439 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442). \u041d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u043c\u043d\u043e\u0433\u043e \u043d\u0435\u0433\u0430\u0442\u0438\u0432\u043e\u0432 \u043d\u0435\u0440\u0430\u0437\u0443\u043c\u043d\u043e! \u0417\u0434\u0435\u0441\u044c \u043f\u043e\u043c\u043e\u0433\u0430\u0435\u0442 <strong>negative sampling<\/strong> (\u0435\u0449\u0451 \u0438\u0437 <a href=\"https:\/\/arxiv.org\/pdf\/1402.3722\" rel=\"noopener noreferrer nofollow\">Word2Vec<\/a>). \u041e\u0431\u044b\u0447\u043d\u043e \u0431\u0435\u0440\u0451\u043c 1 \u043f\u043e\u0437\u0438\u0442\u0438\u0432 () \u0438 \u201320 \u043d\u0435\u0433\u0430\u0442\u0438\u0432\u043e\u0432 ().<\/p>\n<h4>PointWise | Softmax Loss<\/h4>\n<p>\u041a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u2014 \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u0443\u044e \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u044c:<\/p>\n<h4>Pairwise loss | PairCE + TripletLoss<\/h4>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0432\u0430\u0436\u043d\u043e \u043b\u0438\u0448\u044c, \u0447\u0442\u043e  \u0440\u0435\u043b\u0435\u0432\u0430\u043d\u0442\u043d\u0435\u0435 .<\/p>\n<p><strong>Pair Cross-Entropy loss (PairCE):<\/strong><\/p>\n<p><strong>Triplet loss:<\/strong><\/p>\n<p>\u0412\u0441\u0435 \u044d\u0442\u0438 \u043b\u043e\u0441\u0441\u044b \u0443\u0447\u0430\u0442 \u043e\u0442\u0442\u0430\u043b\u043a\u0438\u0432\u0430\u0442\u044c \u0440\u0430\u0437\u043d\u043e\u0440\u0435\u043b\u0435\u0432\u0430\u043d\u0442\u043d\u044b\u0435 \u043f\u0430\u0440\u044b. Softmax Loss \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0443\u0447\u0438\u0442 \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u044c, \u0447\u0442\u043e \u0443\u0441\u043b\u043e\u0436\u043d\u044f\u0435\u0442 \u0437\u0430\u0434\u0430\u0447\u0443 \u0434\u043b\u044f \u0441\u0435\u0442\u043a\u0438, \u0432\u0435\u0434\u044c \u0434\u043b\u044f \u0440\u0430\u043d\u0436\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u044d\u0442\u043e \u0438\u0437\u0431\u044b\u0442\u043e\u0447\u043d\u043e.<\/p>\n<h4>ListWise | FPSLoss<\/h4>\n<p>\u0427\u0430\u0441\u0442\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 PairCE\/TripletLoss \u0441 \u043e\u0434\u043d\u0438\u043c \u043a\u043b\u0438\u043a\u043e\u043c \u0438 \u043a\u0443\u0447\u0435\u0439 \u043d\u0435\u0433\u0430\u0442\u0438\u0432\u043e\u0432 \u2014 \u044d\u0442\u043e \u043f\u043e\u0445\u043e\u0436\u0435 \u043d\u0430 ListWise, \u043d\u043e \u043c\u043e\u0436\u043d\u043e \u043b\u0438 \u043f\u0440\u0438\u0434\u0443\u043c\u0430\u0442\u044c \u0447\u0442\u043e-\u0442\u043e \u043d\u043e\u0432\u043e\u0435? \u0414\u0430! \u0412 \u0438\u0433\u0440\u0443 \u043c\u043e\u0449\u043d\u043e \u0432\u0440\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u2014 <a href=\"https:\/\/github.com\/OpenAI\/CLIP?tab=readme-ov-file\" rel=\"noopener noreferrer nofollow\">CLIP<\/a> (2021), \u0440\u0435\u0448\u0430\u0435\u0442 \u0437\u0430\u0434\u0430\u0447\u0443 \u2014 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0441\u0435\u043c\u0430\u043d\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0431\u043b\u0438\u0437\u043e\u0441\u0442\u0438 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0438 \u0438 \u0442\u0435\u043a\u0441\u0442\u0430, \u0433\u0434\u0435 \u043d\u0430\u0439\u0434\u0435\u043d \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u043d\u0435\u0433\u0430\u0442\u0438\u0432\u043e\u0432.<\/p>\n<figure class=\"\"><\/figure>\n<p><strong>Full Product Softmax loss (FPSLoss):<\/strong><\/p>\n<p>\u0421\u043e\u0431\u0438\u0440\u0430\u0435\u043c \u0431\u0430\u0442\u0447 \u0440\u0430\u0437\u043c\u0435\u0440\u0430 : , \u0433\u0434\u0435  \u2014 \u0437\u0430\u043f\u0440\u043e\u0441,  \u2014 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442,  \u2014 \u0440\u0435\u043b\u0435\u0432\u0430\u043d\u0442\u043d\u043e\u0441\u0442\u044c (\u043e\u0431\u044b\u0447\u043d\u043e \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u0430\u044f, \u0447\u0430\u0441\u0442\u043e \u043a\u043b\u0438\u043a \u0438 \u0440\u0430\u0432\u0435\u043d 1).<\/p>\n<p>\u0421\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u043c\u0430\u0442\u0440\u0438\u0446\u0443 \u044d\u043c\u0431\u0435\u0434\u0434\u0438\u043d\u0433\u043e\u0432 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 , \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u043e\u0432  \u0438 \u0432\u0435\u043a\u0442\u043e\u0440 \u0442\u0430\u0440\u0433\u0435\u0442\u043e\u0432 .<\/p>\n<p>\u0422\u043e\u0433\u0434\u0430 \u043f\u0435\u0440\u0435\u043c\u043d\u043e\u0436\u0435\u043d\u0438\u0435 \u043c\u0430\u0442\u0440\u0438\u0446 \u2014 \u044d\u0442\u043e \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u044b\u0439 \u043f\u043e\u0434\u0441\u0447\u0451\u0442 dotproduct, \u0430 \u0434\u0430\u043b\u0435\u0435 \u0438 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u0435\u0439:<\/p>\n<figure class=\"\"><\/figure>\n<p>\u041e\u0441\u0442\u0430\u0451\u0442\u0441\u044f, \u043a\u0430\u043a \u0438 \u0432 Softmax, \u0432\u0437\u044f\u0442\u044c \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u0442\u043e\u043b\u044c\u043a\u043e \u0441 \u0434\u0438\u0430\u0433\u043e\u043d\u0430\u043b\u0438:<\/p>\n<p>\u0418\u043d\u0442\u0443\u0438\u0442\u0438\u0432\u043d\u043e \u043f\u043e\u043d\u044f\u0442\u043d\u043e, \u0447\u0442\u043e \u0443\u0447\u0438\u0442\u0441\u044f \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u044c \u043f\u0440\u0438 \u0443\u0441\u043b\u043e\u0432\u0438\u0438 query . \u041e\u0431\u0440\u0430\u0449\u0443 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u0447\u0442\u043e \u043b\u0435\u0433\u043a\u043e \u043c\u043e\u0436\u043d\u043e \u0434\u043e\u0431\u0438\u0442\u044c\u0441\u044f  \u0441\u043c\u0435\u043d\u0443 \u043c\u0435\u0441\u0442\u0430\u043c\u0438 query \u0438 doc.<\/p>\n<p>\u0422\u0430\u043a\u0436\u0435 \u0437\u0430\u043c\u0435\u0442\u0438\u043c, \u043a\u0430\u043a \u0445\u0438\u0442\u0440\u043e \u0438 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0442\u0435\u043f\u0435\u0440\u044c \u043d\u0435\u0433\u0430\u0442\u0438\u0432\u044b \u0441\u043e\u0431\u0438\u0440\u0430\u044e\u0442\u0441\u044f!<\/p>\n<h3>\u0410 \u0447\u0442\u043e \u0441 \u044d\u0442\u0438\u043c \u0434\u0435\u043b\u0430\u0442\u044c?<\/h3>\n<figure class=\"\"><\/figure>\n<p>\u041f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435:<\/p>\n<ul>\n<li>\n<p>\u041e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u044b \u0431\u0430\u0448\u0435\u043d: \u043d\u0430\u0432\u0435\u0440\u043d\u044f\u043a\u0430 \u044d\u0442\u043e \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c \u043a\u043e\u043c\u0431\u0438\u043d\u0430\u0446\u0438\u0438 <a href=\"https:\/\/arxiv.org\/pdf\/1810.04805\" rel=\"noopener noreferrer nofollow\">BERT<\/a> + MLP<\/p>\n<\/li>\n<li>\n<p>\u0421\u043e\u0431\u0440\u0430\u0442\u044c \u043e\u0447\u0435\u043d\u044c \u043c\u043d\u043e\u0433\u043e \u0434\u0430\u043d\u043d\u044b\u0445 \u0434\u043b\u044f FPS \u043b\u043e\u0441\u0441\u0430 (\u043e\u0431\u044b\u0447\u043d\u043e \u044f\u0440\u043a\u0438\u0439 \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0444\u0438\u0434\u0431\u0435\u043a \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f)<\/p>\n<\/li>\n<li>\n<p>\u0421\u0434\u0435\u043b\u0430\u0442\u044c \u0434\u043e\u043b\u0433\u0438\u0439 \u043f\u0440\u0435\u0442\u0440\u0430\u0438\u043d \u043d\u0430 FPS<\/p>\n<\/li>\n<li>\n<p>\u0414\u043e\u0444\u0430\u0439\u043d\u0442\u044e\u043d\u0438\u0442\u044c\u0441\u044f \u043d\u0430 \u0441\u0432\u043e\u044e \u0437\u0430\u0434\u0430\u0447\u0443, \u0435\u0441\u043b\u0438 \u043d\u0443\u0436\u043d\u043e<\/p>\n<\/li>\n<\/ul>\n<h3>\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/h3>\n<p>\u042d\u0442\u0438\u043c \u0445\u043e\u0442\u0435\u043b \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c, \u043e\u0431\u0449\u0438\u0439 \u0432\u0438\u0434 DL RecSys \u0438 \u043d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u0432\u0441\u0435 \u043a\u0440\u043e\u0435\u0442\u0441\u044f \u0432 \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0445 \u0434\u0435\u0442\u0430\u043b\u044f\u0445. \u0410\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u043e \u0442\u043e\u0447\u043d\u043e, \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0438 \u043d\u0443\u0436\u043d\u043e \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u044c\u0441\u044f \u043a\u0440\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0438 \u0437\u0430\u043c\u0435\u0440\u044f\u0442\u044c \u043f\u0440\u043e\u0444\u0438\u0442 \u043e\u0442 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f, \u0447\u0442\u043e \u0432 \u0440\u0435\u043a\u0441\u0438\u0441\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043e\u0447\u0435\u043d\u044c \u043d\u0435 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0435\u0439!<\/p>\n<hr\/>\n<p><em>\u0415\u0441\u043b\u0438 \u0441\u0442\u0430\u0442\u044c\u044f \u0431\u044b\u043b\u0430 \u043f\u043e\u043b\u0435\u0437\u043d\u0430 \u2014 \u0441\u0442\u0430\u0432\u044c\u0442\u0435 \u043b\u0430\u0439\u043a, \u043f\u043e\u0434\u043f\u0438\u0441\u044b\u0432\u0430\u0439\u0442\u0435\u0441\u044c \u0438 \u0434\u0435\u043b\u0438\u0442\u0435\u0441\u044c \u0441\u0432\u043e\u0438\u043c \u043e\u043f\u044b\u0442\u043e\u043c \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445!<\/em><\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \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\/articles\/916632\/\"> https:\/\/habr.com\/ru\/articles\/916632\/<\/a><br \/><\/br><\/br><\/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-462373","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/462373","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=462373"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/462373\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=462373"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=462373"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=462373"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}