[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-492618-105":59,"doc-detail-492618-en":131},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":124,"head_meta":126,"extra_data":128,"updated_unix":130},105,"en","supervised-word-movers-distance-paper","Supervised Word Mover's Distance - Paper","","Supervised Word Mover's Distance (S-WMD) improves the Word Mover's Distance (WMD) metric for text classification by adding supervised learning. WMD compares documents through optimal transport between embedded words, but its distances are unsupervised and cannot use available labels. S-WMD learns an affine transformation of the word embedding space and word-importance weights by minimizing a stochastic leave-one-out nearest-neighbor classification error, using an efficient approximation of the transport problem. Experiments on eight real-world text classification tasks show consistent gains over competitive baselines.",{"@graph":69,"@context":123},[70,84,106],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":40,"@type":76,"position":81},"https://docshare.wps.com/document/research-report/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/supervised-word-movers-distance-paper/492618/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/supervised-word-movers-distance-paper/492618.png","ImageObject",300,407,{"name":92,"@type":93},"pop out","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-27","2026-10-01",true,{"@type":102,"interactionType":103,"userInteractionCount":105},"InteractionCounter",{"@type":104},"ViewAction",13,{"@type":107,"mainEntity":108},"FAQPage",[109,115,119],{"name":110,"@type":111,"acceptedAnswer":112},"What is the Word Mover's Distance (WMD) used for?","Question",{"text":113,"@type":114},"WMD measures the distance between two text documents by computing the optimal transport cost of moving embedded words from one document to the other in the word embedding space. It is commonly used for kNN-based document classification.","Answer",{"name":116,"@type":111,"acceptedAnswer":117},"How does Supervised-WMD (S-WMD) incorporate supervision?",{"text":118,"@type":114},"S-WMD learns an affine transformation of the word embedding space and a word-importance weight vector. It minimizes a stochastic leave-one-out nearest-neighbor classification error using label information, rather than relying on unsupervised distances.",{"name":120,"@type":111,"acceptedAnswer":121},"Why is supervision computationally challenging for WMD, and how is it addressed?",{"text":122,"@type":114},"The paper notes that incorporating supervision could be computationally prohibitive because WMD computations scale cubically with the document’s sparse dimensionality. S-WMD uses an efficient technique based on a relaxed optimal-transport formulation (Sinkhorn distance) and applies probabilistic filtering to reduce runtime.","https://schema.org",{"og:url":83,"og:type":125,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":127,"canonical":83},"index,follow",{"doc_id":129,"site_id":62},492618,1790941593,{"code":4,"msg":5,"data":132},{"doc_id":129,"user_id":133,"nickname":92,"user_avatar":134,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":135,"file_id":136,"file_url":137,"file_type":138,"file_size":139,"view_count":105,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":44,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":144,"read_time":145,"preview_page_count":19,"preview_urls":146},962090760408,"https://ap-avatar.wpscdn.com/davatar_085a072bc5b1113ac321206ff7593b45","Supervised Word Mover's Distance  \nGao Huang􀀃 , Chuan Guo􀀃  \nCornell University fgh349,[cg563](cg563g@cornell.edu)[g](cg563g@cornell.edu)[@cornell.edu](cg563g@cornell.edu)  \nYu Sun, Kilian Q. Weinberger  \nCornell University fys646,[kqw4](kqw4g@cornell.edu)[g](kqw4g@cornell.edu)[@cornell.edu](kqw4g@cornell.edu)  \nMatt J. Kusnery  \nAlan Turing Institute, University of Warwick [mkusner@turing.ac.uk](mkusner@turing.ac.uk)  \nFei Sha  \nUniversity of California, Los Angeles [feisha@cs.ucla.edu](feisha@cs.ucla.edu)  \nAbstract  \nRecently, a new document metric called the word mover's distance (WMD) has been proposed with unprecedented results on kNN-based document classiﬁcation.  \nThe WMD elevates high-quality word embeddings to a document metric by formulating the distance between two documents as an optimal transport problem between the embedded words. However, the document distances are entirely unsupervised and lack a mechanism to incorporate supervision when available. In this paper we propose an efﬁcient technique to learn a supervised metric, which we call the Supervised-WMD (S-WMD) metric. The supervised training minimizes the stochastic leave-one-out nearest neighbor classiﬁcation error on a perdocument level by updating an afﬁne transformation of the underlying word embedding space and a word-imporance weight vector. As the gradient of the original WMD distance would result in an inefﬁcient nested optimization problem, we provide an arbitrarily close approximation that results in a practical and efﬁcient update rule. We evaluate S-WMD on eight real-world text classiﬁcation tasks on which it consistently outperforms almost all of our 26 competitive baselines.  \n1 Introduction  \nDocument distances are a key component of many text retrieval tasks such as web-search ranking [24], book recommendation [16], and news categorization [25] . Because of the variety of potential applications, there has been a wealth of work towards developing accurate document distances [2, 4, 11, 27] . In large part, prior work focused on extracting meaningful document representations, starting with the classical bag of words (BOW) and term frequency-inverse document frequency (TF-IDF) representations [30] . These sparse, high-dimensional representations are frequently nearly orthogonal [17] and a pair of similar documents may therefore have nearly the same distance as a pair that are very different. It is possible to design more meaningful representations through eigendecomposing the BOW space with Latent Semantic Indexing (LSI) [11], or learning a probabilistic clustering of BOW vectors with Latent Dirichlet Allocation (LDA) [2] . Other work generalizes LDA [27] or uses denoising autoencoders [4] to learn a suitable document representation.  \nRecently, Kusner et al. [19] proposed the Word Mover's Distance (WMD), a new distance for text documents that leverages word embeddings [22] . Given these high-quality embeddings, the WMD deﬁnes the distances between two documents as the optimal transport cost of moving all words from one document to another within the word embedding space. This approach was shown to lead to state-of-the-art error rates in k-nearest neighbor (kNN) document classiﬁcation.  \n􀀃 Authors contributing equally  \nyThis work was done while the author was a student at Washington University in St. Louis  \n30th Conference on Neural Information Processing Systems (NIPS 2016), Barcelona, Spain.  \nImportantly, these prior works are entirely unsupervised and not learned explicitly for any particular task. For example, text documents could be classiﬁed by topic or by author, which would lead to very different measures of dissimilarity. Lately, there has been a vast amount of work on metric learning [10, 15, 36, 37], most of which focuses on learning a generalized linear Euclidean metric. These methods often scale quadratically with the input dimensionality, and can only be applied to high-dimensional text documents after dimensionality reduction ","cbCaif5fTlwxM0fW","https://ap.wps.com/l/cbCaif5fTlwxM0fW","pdf",1358317,"English","# Abstract\n# 1 Introduction\n# 2 Background","[{\"question\":\"What is the Word Mover's Distance (WMD) used for?\",\"answer\":\"WMD measures the distance between two text documents by computing the optimal transport cost of moving embedded words from one document to the other in the word embedding space. It is commonly used for kNN-based document classification.\"},{\"question\":\"How does Supervised-WMD (S-WMD) incorporate supervision?\",\"answer\":\"S-WMD learns an affine transformation of the word embedding space and a word-importance weight vector. It minimizes a stochastic leave-one-out nearest-neighbor classification error using label information, rather than relying on unsupervised distances.\"},{\"question\":\"Why is supervision computationally challenging for WMD, and how is it addressed?\",\"answer\":\"The paper notes that incorporating supervision could be computationally prohibitive because WMD computations scale cubically with the document’s sparse dimensionality. S-WMD uses an efficient technique based on a relaxed optimal-transport formulation (Sinkhorn distance) and applies probabilistic filtering to reduce runtime.\"}]","Supervised Word Mover's Distance - Paper | PDF",1790867607,23,[147,151,155,159],{"page_no":8,"url":148,"width":149,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/204f6e646bc93b7247b1a167e6e4e380.webp",983,1272,{"page_no":14,"url":152,"width":153,"height":154},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/3d86bb15803fff19600b33826f81e389.webp",982,1270,{"page_no":81,"url":156,"width":157,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/c2040cc8aa36ab8c037efaa64bee35ef.webp",981,1269,{"page_no":19,"url":160,"width":161,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/5d1c414805b042b81f77be8cfe887aa0.webp",980,1268]