[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-422697-105":59,"doc-detail-422697-en":131,"doc-similar-422697":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","how-effective-is-byte-pair-encoding-for-out-of-vocabulary-words-in-neural-machine-translation","How Effective is Byte Pair Encoding for Out-Of-Vocabulary Words in Neural Machine Translation?","","Neural Machine Translation confronts an open-vocabulary problem: out-of-vocabulary (OOV) words that do not appear during training. Byte Pair Encoding (BPE) mitigates this by splitting words into sub-word segments, and it is widely used with strong automatic evaluation scores. This work directly measures BPE’s effectiveness for OOV words at the word level. Translation quality is analyzed by OOV word type, number of segments, cross-attention weights, and training-data segment n-gram frequencies.",{"@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/how-effective-is-byte-pair-encoding-for-out-of-vocabulary-words-in-neural-machine-translation/422697/",{"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/how-effective-is-byte-pair-encoding-for-out-of-vocabulary-words-in-neural-machine-translation/422697.png","ImageObject",300,407,{"name":92,"@type":93},"asba","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",15,{"@type":107,"mainEntity":108},"FAQPage",[109,115,119],{"name":110,"@type":111,"acceptedAnswer":112},"Why are out-of-vocabulary (OOV) words a problem in neural machine translation?","Question",{"text":113,"@type":114},"Neural machine translation suffers from vocabulary sparsity, so some test sentences contain words not seen in training. This degrades translation quality even when training data is large.","Answer",{"name":116,"@type":111,"acceptedAnswer":117},"What is Byte Pair Encoding (BPE) and how does it help with OOV words?",{"text":118,"@type":114},"BPE splits words into sub-word segments by incrementally merging frequent bigrams while splitting rarer words. OOV words can then be represented as sequences of subword units.",{"name":120,"@type":111,"acceptedAnswer":121},"How is BPE effectiveness evaluated for OOV words in this paper?",{"text":122,"@type":114},"The study measures translation quality at the word level, using factors such as OOV word type, number of segments, cross-attention weights, and the frequency of segment n-grams in the training data.","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},422697,1790704054,{"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},3985747872567,"https://ap-avatar.wpscdn.com/davatar_276721f389ce27ea32af1340a28f341c","How Effective is Byte Pair Encoding for Out-Of-Vocabulary Words in Neural Machine Translation?  \nAli Araabi [a.araabi@uva.nl](a.araabi@uva.nl)  \nChristof Monz [c.monz@uva.nl](c.monz@uva.nl)  \nVlad Niculae [v.niculae@uva.nl](v.niculae@uva.nl)  \nInformatics Institute, University of Amsterdam, Amsterdam, The Netherlands  \nAbstract  \nNeural Machine Translation (NMT) is an open vocabulary problem. As a result, dealing with the words not occurring during training (a.k.a. out-of-vocabulary (OOV) words) have long been a fundamental challenge for NMT systems. The predominant method to tackle this problem is Byte Pair Encoding (BPE) which splits words, including OOV words, into sub-word segments.  \nBPE has achieved impressive results for a wide range of translation tasks in terms of automatic evaluation metrics. While it is often assumed that by using BPE, NMT systems are capable of handling OOV words, the effectiveness of BPE in translating OOV words has not been explicitly measured. In this paper, we study to what extent BPE is successful in translating OOV words atthe word-level. We analyze the translation quality of OOV words based on word type, number of segments, cross-attention weights, and the frequency of segment n-grams in the training data.  \nOur experiments show that while careful BPE settings seem to be fairly useful in translating OOV words across datasets, a considerable percentage of OOV words are translated incorrectly.  \nFurthermore, we highlight the slightly higher effectiveness of BPE in translating OOV words for special cases, such as named-entities and when the languages involved are linguistically close to each other.  \n1 Introduction  \nOne of the key challenges of neural machine translation (NMT) (Sutskever et al., 2014; Bahdanau et al., 2015) is vocabulary sparsity; irrespective of the amount of data available for training. As a consequence, all NMT models suffer from out-of-vocabulary (OOV) words. Accordingly, a significant proportion of sentences in the test set have OOV words. Even with millions of sentence pairs in training data, 1 15% of test sentences contain OOV words, while with limited training data,2 OOV words appear in more than 60% of the test sentences.  \nEarlier approaches to tackling the OOV problem include using a very large vocabulary (Jean et al., 2015), backing off to a dictionary look-up (Luong et al., 2015), and copying OOV words from source to the target sentence (Gülçehre et al., 2016) . However, most recent approaches are based on splitting the words into smaller units and can be divided into: language-specific approaches (Smit et al., 2014; Huck et al., 2017), language-agnostic approaches (Sennrich et al.,  \n1Russian-English from WMT  \n2 Kazakh-English from WMT  \n2016; Kudo, 2018; Kudo and Richardson, 2018; Costa-jussà and Fonollosa, 2016; Cherry et al., 2018), and hybrid approaches (Huck et al., 2017; Banerjee and Bhattacharyya, 2018; Pan et al., 2020) which inject linguistic information into language-agnostic methods.  \nNowadays, the mainstream approach to address the open-vocabulary challenge in the context of NMT is Byte Pair Encoding (BPE Sennrich et al., 2016), due to its simplicity, applicability to a wide range of languages, and high performance in terms of automatic evaluation metrics. BPE incrementally merges the frequent bigrams such that it keeps the most frequent words intact while splitting the rare ones into multiple segments and the granularity of these subword units is controlled by a hyperparameter. It is often assumed that by using BPE, NMT systems are capable of handling OOV words 3 , since it represents them as a sequence of subword units (Sennrich et al., 2016; Wu et al., 2016) and as a result there are very few unseen tokens in the test set thereby implying that the OOV problem has been almost solved (Huck et al., 2017; Banerjee and Bhattacharyya, 2018; Liu et al., 2019; Luo et al., 2019; Hu et al., 2020) .  \nPrevious approaches only analyze and compare BPE and/or ","cbCaisx7iOVYIR8X","https://ap.wps.com/l/cbCaisx7iOVYIR8X","pdf",1106360,14,"English","# Abstract\n# 1 Introduction\n## Vocabulary sparsity and the OOV problem\n## Prior approaches to OOV handling\n## Mainstream BPE approach\n## Study goals and contributions\n# 2 Experimental setup\n## Datasets and language pairs","[{\"question\":\"Why are out-of-vocabulary (OOV) words a problem in neural machine translation?\",\"answer\":\"Neural machine translation suffers from vocabulary sparsity, so some test sentences contain words not seen in training. This degrades translation quality even when training data is large.\"},{\"question\":\"What is Byte Pair Encoding (BPE) and how does it help with OOV words?\",\"answer\":\"BPE splits words into sub-word segments by incrementally merging frequent bigrams while splitting rarer words. OOV words can then be represented as sequences of subword units.\"},{\"question\":\"How is BPE effectiveness evaluated for OOV words in this paper?\",\"answer\":\"The study measures translation quality at the word level, using factors such as OOV word type, number of segments, cross-attention weights, and the frequency of segment n-grams in the training data.\"}]","How Effective is Byte Pair Encoding for Out-Of-Vocabulary Words in Neural Machine Translation? | PDF",1790628462,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/1dd879c555108feef1fabe5a8408b4ac.webp",983,1272,{"page_no":14,"url":153,"width":154,"height":155},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/f59817c8af111dbef26d60093753701c.webp",982,1270,{"page_no":81,"url":157,"width":158,"height":159},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/ad2e4126a3bb9b553e6b297c6ee51a03.webp",981,1269,{"page_no":19,"url":161,"width":162,"height":163},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/2e00a049b46b51316ad0b285672d968c.webp",980,1268,{"list":165,"token":66},[166,173,179,185,192,198,205,211,218,224],{"doc_id":167,"doc_title":168,"file_type":138,"home_preview_img_url":169,"slug":170,"view_count":171,"category_name":40,"create_tm":172},492508,"VerChol - Grammar-First Tokenization for Agglutinative Languages - A Morphological Alternative to Statistical Subword Tokenization, with Full Tamil Wikipedia Evaluation","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229928642857/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796234699&Signature=MjcChYFQOU%2FSlOxIw4umNjbTf0g%3D","verchol-grammar-first-tokenization-for-agglutinative-languages-a-morphological-alternative-to-statistical-subword-tokenization-with-full-tamil-wikipedia-evaluation",11,1790864843,{"doc_id":174,"doc_title":175,"file_type":138,"home_preview_img_url":176,"slug":177,"view_count":171,"category_name":40,"create_tm":178},489975,"An Optimized Approach for Handling Limited Vocabulary Constraints and Word Order Divergence in English-Urdu Neural Machine Translation","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229927606068/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796234699&Signature=i25Pso%2BjxXIcEnrL7RsepbSr8hg%3D","an-optimized-approach-for-handling-limited-vocabulary-constraints-and-word-order-divergence-in-english-urdu-neural-machine-translation",1790830820,{"doc_id":180,"doc_title":181,"file_type":138,"home_preview_img_url":182,"slug":183,"view_count":105,"category_name":40,"create_tm":184},492161,"Neural Machine Translation for English-Tamil","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229928079996/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796234699&Signature=uWX3XFMSzKBGxRiCiq%2FIsBMiSgY%3D","neural-machine-translation-for-english-tamil",1790858995,{"doc_id":186,"doc_title":187,"file_type":138,"home_preview_img_url":188,"slug":189,"view_count":190,"category_name":40,"create_tm":191},425926,"Addressing the Rare Word Problem in Neural Machine Translation","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229922652718/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796234699&Signature=nQlZSDuPAjKMZsvKdINVN0HlG6o%3D","addressing-the-rare-word-problem-in-neural-machine-translation",12,1790638793,{"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},423211,"A Category Based Approach for Recognition of Out-of-Vocabulary Words - Paper","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229922614313/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796234699&Signature=aQuOegte1XblV3vFraGYnV4mgcg%3D","a-category-based-approach-for-recognition-of-out-of-vocabulary-words-paper",1790630507,{"doc_id":199,"doc_title":200,"file_type":138,"home_preview_img_url":201,"slug":202,"view_count":203,"category_name":40,"create_tm":204},140919,"Evaluating Subword Tokenization - Alien Subword Composition and OOV Generalization Challenge","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229866675367/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796234699&Signature=GlhWtFKlzVmV8N7GMlhMNaTlphA%3D","evaluating-subword-tokenization-alien-subword-composition-and-oov-generalization-challenge",29,1787646154,{"doc_id":206,"doc_title":207,"file_type":138,"home_preview_img_url":208,"slug":209,"view_count":171,"category_name":40,"create_tm":210},489694,"Augmenting Statistical Machine Translation with Subword Translation of Out-of-Vocabulary Words - Abstract and Introduction","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229927057939/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796234699&Signature=5O26xCnc0XEOkcBzBFpKSlKkKVU%3D","augmenting-statistical-machine-translation-with-subword-translation-of-out-of-vocabulary-words-abstract-and-introduction",1790826357,{"doc_id":212,"doc_title":213,"file_type":138,"home_preview_img_url":214,"slug":215,"view_count":216,"category_name":40,"create_tm":217},82983,"Where to cut, how deep: BPE and Unigram-LM on chemistry SMILES","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808811153/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796234699&Signature=m6w%2FN5V%2BI0b1oyoOxxIa%2FsZdqbs%3D","where-to-cut-how-deep-bpe-and-unigram-lm-on-chemistry-smiles",32,1784184445,{"doc_id":219,"doc_title":220,"file_type":138,"home_preview_img_url":221,"slug":222,"view_count":52,"category_name":40,"create_tm":223},490155,"Assamese to English Statistical Machine Translation Integrated with a Transliteration Module","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229927664706/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796234699&Signature=vVDI9Leic9CSN0Fa7UHhSkGX5Dc%3D","assamese-to-english-statistical-machine-translation-integrated-with-a-transliteration-module",1790833763,{"doc_id":225,"doc_title":226,"file_type":138,"home_preview_img_url":227,"slug":228,"view_count":229,"category_name":40,"create_tm":230},327268,"Breaking Safety at the Token Boundary - How BPE Tokenization Creates Exploitable Gaps in LLM Alignment","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229909314734/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796234699&Signature=LwzbemD%2FXhU8GTA7xm2pjrZe89U%3D","breaking-safety-at-the-token-boundary-how-bpe-tokenization-creates-exploitable-gaps-in-llm-alignment",16,1789976856]