[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-417846-105":59,"doc-detail-417846-en":131,"doc-similar-417846":164},{"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","the-devil-is-in-the-details-on-the-pitfalls-of-vocabulary-selection-in-neural-machine-translation","The Devil is in the Details: On the Pitfalls of Vocabulary Selection in Neural Machine Translation","","Vocabulary selection, or lexical shortlisting, speeds up Neural Machine Translation by restricting allowable output words during inference, typically using separately trained alignment model parameters that ignore source-sentence context. Although prior work reports strong automatic metric results, this work shows failures when the restricted set omits key words for semantically non-compositional phenomena like idioms, lowering human-perceived translation quality. It introduces a neural vocabulary selection model integrated with the translation system that predicts allowed words from contextualized encoder representations, restoring unconstrained quality while keeping competitive inference latency and removing dependence on alignment models.",{"@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/the-devil-is-in-the-details-on-the-pitfalls-of-vocabulary-selection-in-neural-machine-translation/417846/",{"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/the-devil-is-in-the-details-on-the-pitfalls-of-vocabulary-selection-in-neural-machine-translation/417846.png","ImageObject",300,407,{"name":92,"@type":93},"Margaret","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-29","2026-09-28",true,{"@type":102,"interactionType":103,"userInteractionCount":105},"InteractionCounter",{"@type":104},"ViewAction",12,{"@type":107,"mainEntity":108},"FAQPage",[109,115,119],{"name":110,"@type":111,"acceptedAnswer":112},"什么是词汇选择（vocabulary selection）在神经机器翻译中的作用？","Question",{"text":113,"@type":114},"它通过在推理阶段限制允许输出的词汇集合来降低延迟。通常该集合由对齐模型参数决定，并在推理时与源句上下文解耦。","Answer",{"name":116,"@type":111,"acceptedAnswer":117},"词汇选择在自动指标上看起来有效，但为什么仍可能降低翻译质量？",{"text":118,"@type":114},"当被允许的输出集合遗漏了翻译习语等语义不可组合现象所需的关键词时，翻译质量会下降，而且这种问题未必能被 BLEU 等自动指标充分捕捉到。",{"name":120,"@type":111,"acceptedAnswer":121},"作者提出的神经词汇选择模型（NVS）如何改进这一问题？",{"text":122,"@type":114},"NVS 与翻译模型联合训练，并从上下文化的编码器表示中预测允许输出词集合，从而在保持词汇选择带来的低延迟优势的同时，将质量恢复到无约束基线水平，并减少对单独训练对齐模型的依赖。","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},417846,1790913613,{"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":140,"language":141,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":142,"faqs":143,"seo_title":144,"seo_description":67,"update_tm":145,"read_time":146,"preview_page_count":19,"preview_urls":147},137451207643,"https://ap-avatar.wpscdn.com/davatar_3d24733baf745e90a7e4bdd5f77d97b2","The Devil is in the Details:  \nOn the Pitfalls of Vocabulary Selection in Neural Machine Translation  \nTobias Domhan􀀃 Eva Hasler􀀃 Ke Tran Sony Trenous Bill Byrne Felix Hieber  \nAmazon AI Translate  \nBerlin, Germany  \n{domhant,ehasler,trnke,trenous,willbyrn, [fhieber}@amazon.com](fhieber}@amazon.com)  \nAbstract  \nVocabulary selection, or lexical shortlisting, is a well-known technique to improve latency of Neural Machine Translation models by constraining the set of allowed output words during inference. The chosen set is typically determined by separately trained alignment model parameters, independent of the sourcesentence context at inference time. While vocabulary selection appears competitive with respect to automatic quality metrics in prior work, we show that it can fail to select the right set of output words, particularly for semantically non-compositional linguistic phenomena such as idiomatic expressions, leading to reduced translation quality as perceived by humans. Trading off latency for quality by increasing the size of the allowed set is often not an option in real-world scenarios. We propose a model of vocabulary selection, integrated into the neural translation model, that predicts the set of allowed output words from contextualized encoder representations. This restores translation quality of an unconstrained system, as measured by human evaluations on WMT newstest2020 and idiomatic expressions, at an inference latency competitive with alignment-based selection using aggressive thresholds, thereby removing the dependency on separately trained alignment models.  \n1 Introduction  \nNeural Machine Translation (NMT) has achieved great improvements in translation quality, largely thanks to the introduction of Transformer models (Vaswani et al., 2017) . However, increasingly larger models (Aharoni et al., 2019 ; Arivazhagan et al., 2019) lead to prohibitively slow inference when deployed in industrial settings. Especially for real-time applications, low latency is key. A number of inference optimization speedups have been proposed and are used in practice:  \n􀀃 Equal contributions.  \nEN: to swal  low the bitter pill  \nDE: in den sau  ren ap  fel bei  ßen  \nGL: to bite into the sour apple  \n\n| EN: by ho  ok or cro  ok\u003Cbr>DE: auf biegen und brechen\u003Cbr>GL: by bending and breaking |  |  |\n| --- | --- | --- |\n| EN: to buy a p   ig in a po  ke\u003Cbr>DE: die kat   ze im sack kaufen\u003Cbr>GL: to buy the cat in the bag |  |  |\n| EN: to swe  at blood\u003Cbr>DE: blu   t und wasser sch \u003Cbr>GL: to sweat blood and water | wit  | zen |\n\nEN: make yourself at home !  \nDE: machen sie es sich bequem !  \nGL: make yourself comfortable !  \nFigure 1: Examples of subword-segmented idiomatic expressions (EN) and their German correspondences (DE) as well as an English gloss (GL) of the German expression. Alignment-based vocabulary selection: output tokens missing from the allowed set of top-k output tokens are marked in orange/bold (red/italic) for k=200 (k=1000) .  \nreduced precision (Aji and Heaﬁeld, 2020), replacing self-attention with Average Attention Networks (AANs) (Zhang et al., 2018), Simpler Simple Recurrent Units (SSRUs) (Kim et al., 2019), or model pruning (Behnke and Heaﬁeld, 2020 ; Behnke et al., 2021) .  \nAnother technique that is very common in practice is vocabulary selection (Jean et al., 2015) which usually provides a good tradeoff between latency and automatic metric scores (BLEU) and reduced inference cost is often preferred over the loss of 􀀘 0:1 BLEU. Vocabulary selection is effective because latency is dominated by expensive, repeated decoder steps, where the ﬁnal projection to the output vocabulary size contributes to a large portion of time spent (Bérard et al., 2021) . Despite  \n1861  \nProceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics:  \nHuman Language Technologies, pages 1861-1874  \nJuly 10-15, 2022 ©2022 Association for Computational Linguistics  \nhigh parallel","cbCaisohVHXVqx5g","https://ap.wps.com/l/cbCaisohVHXVqx5g","pdf",571602,14,"English","# Abstract\n# Introduction\n# Pitfalls of vocabulary selection\n## Vocabulary selection technique\n## Shortcomings and quality degradation","[{\"question\":\"什么是词汇选择（vocabulary selection）在神经机器翻译中的作用？\",\"answer\":\"它通过在推理阶段限制允许输出的词汇集合来降低延迟。通常该集合由对齐模型参数决定，并在推理时与源句上下文解耦。\"},{\"question\":\"词汇选择在自动指标上看起来有效，但为什么仍可能降低翻译质量？\",\"answer\":\"当被允许的输出集合遗漏了翻译习语等语义不可组合现象所需的关键词时，翻译质量会下降，而且这种问题未必能被 BLEU 等自动指标充分捕捉到。\"},{\"question\":\"作者提出的神经词汇选择模型（NVS）如何改进这一问题？\",\"answer\":\"NVS 与翻译模型联合训练，并从上下文化的编码器表示中预测允许输出词集合，从而在保持词汇选择带来的低延迟优势的同时，将质量恢复到无约束基线水平，并减少对单独训练对齐模型的依赖。\"}]","The Devil is in the Details: On the Pitfalls of Vocabulary Selection in Neural Machine Translation | PDF",1790610856,35,[148,152,156,160],{"page_no":8,"url":149,"width":150,"height":151},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/6d312f09b959b2577df92661334a68e9.webp",983,1390,{"page_no":14,"url":153,"width":154,"height":155},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/0f5f50d777cac68f66bb4d71903f2cfa.webp",982,1388,{"page_no":81,"url":157,"width":158,"height":159},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/3aa52ed2e470de60b13943b22f21312c.webp",981,1387,{"page_no":19,"url":161,"width":162,"height":163},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/6514f9c3f48d2309d08b63a024bffea8.webp",980,1385,{"list":165,"token":66},[166,172,179,186,192,198,204,211,217,223],{"doc_id":167,"doc_title":168,"file_type":138,"home_preview_img_url":169,"slug":170,"view_count":105,"category_name":40,"create_tm":171},420105,"Revisiting Locality Sensitive Hashing for Vocabulary Selection in Fast Neural Machine Translation","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229922317844/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796242199&Signature=FPk%2FhOVOuxoBtK4oEZR7XuQbnio%3D","revisiting-locality-sensitive-hashing-for-vocabulary-selection-in-fast-neural-machine-translation",1790619516,{"doc_id":173,"doc_title":174,"file_type":138,"home_preview_img_url":175,"slug":176,"view_count":177,"category_name":40,"create_tm":178},489666,"English to Bangla Machine Translation Using Recurrent Neural Network - Architecture and Activation-Function Performance Study","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229927501915/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796242199&Signature=Wwk6xU4bzL%2ByHiA97GCLqDtAZjo%3D","english-to-bangla-machine-translation-using-recurrent-neural-network-architecture-and-activation-function-performance-study",15,1790826014,{"doc_id":180,"doc_title":181,"file_type":138,"home_preview_img_url":182,"slug":183,"view_count":184,"category_name":40,"create_tm":185},327717,"Efficient bias mitigation in T2I diffusion models using - Concept Graphs","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229909342730/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796242199&Signature=7Us%2BfukTmvI7rX8LBQvYQ%2BIHgDw%3D","efficient-bias-mitigation-in-t2i-diffusion-models-using-concept-graphs",11,1789977902,{"doc_id":187,"doc_title":188,"file_type":138,"home_preview_img_url":189,"slug":190,"view_count":177,"category_name":40,"create_tm":191},422697,"How Effective is Byte Pair Encoding for Out-Of-Vocabulary Words in Neural Machine Translation?","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229922604082/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796242199&Signature=qUJZ8ypaTGLdRBoC69Zn5W7jYgo%3D","how-effective-is-byte-pair-encoding-for-out-of-vocabulary-words-in-neural-machine-translation",1790628462,{"doc_id":193,"doc_title":194,"file_type":138,"home_preview_img_url":195,"slug":196,"view_count":140,"category_name":40,"create_tm":197},273852,"Scaling Unsupervised Word Alignment to Documents via Structural Constraints","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229899558692/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796242199&Signature=ZJZVaoYyEdl1HTefoP4wSzDrODY%3D","scaling-unsupervised-word-alignment-to-documents-via-structural-constraints",1789472988,{"doc_id":199,"doc_title":200,"file_type":138,"home_preview_img_url":201,"slug":202,"view_count":81,"category_name":40,"create_tm":203},589560,"The Impacts of Presenting New Words in Semantically-Related Sets on Vocabulary Learning","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229954705147/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796242199&Signature=LW4nmheiy89Z4V2LcapF91fhrxY%3D","the-impacts-of-presenting-new-words-in-semantically-related-sets-on-vocabulary-learning",1792067623,{"doc_id":205,"doc_title":206,"file_type":138,"home_preview_img_url":207,"slug":208,"view_count":209,"category_name":40,"create_tm":210},490157,"Improving neural machine translation by integrating transliteration for low-resource English–Assamese language","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229927361947/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796242199&Signature=sQCyp8hY1FIP4x43vwE0s%2F7c1Es%3D","improving-neural-machine-translation-by-integrating-transliteration-for-low-resource-englishassamese-language",16,1790833768,{"doc_id":212,"doc_title":213,"file_type":138,"home_preview_img_url":214,"slug":215,"view_count":52,"category_name":40,"create_tm":216},417200,"Vocabulary Manipulation for Neural Machine Translation","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229922268257/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796242199&Signature=sjKK28ImQET5u76JTvDcfnMotA4%3D","vocabulary-manipulation-for-neural-machine-translation",1790608391,{"doc_id":218,"doc_title":219,"file_type":138,"home_preview_img_url":220,"slug":221,"view_count":52,"category_name":40,"create_tm":222},327427,"Dynamic Neural Graph Encoding of Inference Processes in Deep Weight Space","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229909085719/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796242199&Signature=cW34LufCusJQPRXRRxBW%2FUzwf6o%3D","dynamic-neural-graph-encoding-of-inference-processes-in-deep-weight-space",1789977180,{"doc_id":224,"doc_title":225,"file_type":138,"home_preview_img_url":226,"slug":227,"view_count":52,"category_name":40,"create_tm":228},416003,"Deciphering and Characterizing Out-of-Vocabulary Words for Morphologically Rich Languages","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229921795068/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796242199&Signature=f8U1HsSDLlQFvfdB2ZVjB4OCTfE%3D","deciphering-and-characterizing-out-of-vocabulary-words-for-morphologically-rich-languages",1790603810]