[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-415450-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-415450-en":131,"doc-similar-415450":163},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","natural-language-generation-with-vocabulary-constraints-abstract-and-methodology","Natural Language Generation with Vocabulary Constraints - Abstract and methodology","","Natural language generation is studied under strict lexical constraints: every generated token must belong to a fixed vocabulary, and a specified word must appear somewhere in the produced sentence. The work introduces fast, accurate approximations to ideal rejection samplers for these constraints and compares multiple sentence-level generative language models. The best systems yield output that is frequently novel and largely error-free, validated through both human judgments and automatic evaluation.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/research-report/","Research & Report",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/natural-language-generation-with-vocabulary-constraints-abstract-and-methodology/415450/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/natural-language-generation-with-vocabulary-constraints-abstract-and-methodology/415450.png","ImageObject",300,407,{"name":42,"@type":43},"Damian","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-28","2026-09-28",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",11,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"What constraints are imposed on the generated sentences?","Question",{"text":63,"@type":64},"The model must use only words from a fixed vocabulary, and it must also include a specified word somewhere in the sentence.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"Why is rejection sampling challenging for these constraints?",{"text":68,"@type":64},"When the allowed outputs are rare—especially with the word-inclusion requirement—repeated rejection quickly becomes computationally prohibitive.",{"name":70,"@type":61,"acceptedAnswer":71},"How do the proposed models address the rejection-sampling problem?",{"text":72,"@type":64},"They define generative models that sample directly from valid outputs for each constraint, without rejection or backtracking, while closely approximating the distribution of the true rejection samplers.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},415450,1790717075,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,101,106,111,115,120,123,127],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":93,"show_sort_weight":94,"slug":95},"Exam",70,"exam",{"id":97,"doc_module":4,"doc_module_name":25,"category_name":98,"show_sort_weight":99,"slug":100},5,"Comic",60,"comic",{"id":102,"doc_module":4,"doc_module_name":25,"category_name":103,"show_sort_weight":104,"slug":105},6,"Technology",50,"technology",{"id":107,"doc_module":4,"doc_module_name":25,"category_name":108,"show_sort_weight":109,"slug":110},7,"Healthcare",40,"healthcare",{"id":112,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":113,"slug":114},8,30,"research-report",{"id":116,"doc_module":4,"doc_module_name":25,"category_name":117,"show_sort_weight":118,"slug":119},9,"Religion & Spirituality",20,"religion-spirituality",{"id":118,"doc_module":4,"doc_module_name":25,"category_name":121,"show_sort_weight":118,"slug":122},"World Cup","world-cup",{"id":124,"doc_module":4,"doc_module_name":25,"category_name":125,"show_sort_weight":124,"slug":126},10,"Lifestyle","lifestyle",{"id":128,"doc_module":4,"doc_module_name":25,"category_name":129,"show_sort_weight":97,"slug":130},19,"General","general",{"code":4,"msg":82,"data":132},{"doc_id":79,"user_id":133,"nickname":42,"user_avatar":134,"doc_module":4,"category_id":112,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":135,"file_id":136,"file_url":137,"file_type":138,"file_size":139,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":124,"language":140,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":12,"update_tm":144,"read_time":145,"preview_page_count":33,"preview_urls":146},137451208677,"https://ap-avatar.wpscdn.com/davatar_155a257f0dc6eb9ab79c44ca47cae57d","Natural Language Generation with Vocabulary Constraints  \nBen Swanson  \nBrown University Providence, RI[chonger@cs.brown.edu](chonger@cs.brown.edu)  \nElif Yamangil  \nGoogle Inc.  \nMountain View, CA[leafer@google.com](leafer@google.com)  \nEugene Charniak  \nBrown University Providence, RI[ec@cs.brown.edu](ec@cs.brown.edu)  \nAbstract  \nWe investigate data driven natural language generation under the constraints that all words must come from a ﬁxed vocabulary and a speciﬁed word must appear in the generated sentence, motivated by the possibility for automatic generation of language education exercises. We present fast and accurate approximations to the ideal rejection samplers for these constraints and compare various sentence level generative language models. Our best systems produce output that is with high frequency both novel and error free, which we validate with human and automatic evaluations.  \n1 Introduction  \nFreeform data driven Natural Language Generation (NLG) is a topic explored by academics and artists alike, but motivating its empirical study is adifﬁcult task. While many language models used in statistical NLP are generative and can easily produce sample sentences by running their “generative mode”, if all that is required is a plausible sentence one might as well pick a sentence at random from any existing corpus.  \nNLG becomes useful when constraints exist such that only certain sentences are valid. The majority of NLG applies a semantic constraint of“what to say”, producing sentences with communicative goals. Other work such as ours investigates constraints in structure; producing sentences of a certain form without concern for their speciﬁc meaning.  \nWe study two constraints concerning the words that are allowed in a sentence. The ﬁrst sets a  \nﬁxed vocabulary such that only sentences where all words are in-vocab are allowed. The second demands not only that all words are in-vocab, but also requires the inclusion of a speciﬁc word somewhere in the sentence.  \nThese constraints are natural in the construction of language education exercises, where students have small known vocabularies and exercises that reinforce the knowledge of arbitrary words are required. To provide an example, consider a Chinese teacher composing a quiz that asks students to translate sentences from English to Chinese. The teacher cannot ask students to translate words that have not been taught in class, and would like ensure that each vocabulary word from the current book chapter is included in at least one sentence. Using a system such as ours, she could easily generate a number of usable sentences that contain a given vocab word and select her favorite, repeating this process for each vocab word until the quiz is complete.  \nThe construction of such a system presents two primary technical challenges. First, while highly parameterized models trained on large corpora area good ﬁt for data driven NLG, sparsity is still an issue when constraints are introduced. Traditional smoothing techniques used for prediction based tasks are inappropriate, however, as they liberally assign probability to implausible text. We investigate smoothing techniques better suited for NLG that smooth more precisely, sharing probability only between words that have strong semantic connections.  \nThe second challenge arises from the fact that both vocabulary and word inclusion constraints are easily handled with a rejection sampler that repeatedly generates sentences until one that obeys the constraints is produced. Unfortunately, for  \n124  \nProceedings of the Ninth Workshop on Innovative Use of NLP for Building Educational Applications , pages 124–133, Baltimore, Maryland USA, June 26, 2014 . 􀀍c2014 Association for Computational Linguistics  \nmodels with a sufﬁciently wide range of outputs the computation wasted by rejection quickly becomes prohibitive, especially when the word inclusion constraint is applied. We deﬁne models that sample directly from the possi","cbCaia4Bqp9N3pD0","https://ap.wps.com/l/cbCaia4Bqp9N3pD0","pdf",402929,"English","# Abstract\n# Introduction\n# Related Work\n# Freeform Generation","[{\"question\":\"What constraints are imposed on the generated sentences?\",\"answer\":\"The model must use only words from a fixed vocabulary, and it must also include a specified word somewhere in the sentence.\"},{\"question\":\"Why is rejection sampling challenging for these constraints?\",\"answer\":\"When the allowed outputs are rare—especially with the word-inclusion requirement—repeated rejection quickly becomes computationally prohibitive.\"},{\"question\":\"How do the proposed models address the rejection-sampling problem?\",\"answer\":\"They define generative models that sample directly from valid outputs for each constraint, without rejection or backtracking, while closely approximating the distribution of the true rejection samplers.\"}]","Natural Language Generation with Vocabulary Constraints - Abstract and methodology | PDF",1790601432,25,[147,151,155,159],{"page_no":22,"url":148,"width":149,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/559a58c9df9a193fd497fae3f85f3ca6.webp",983,1390,{"page_no":26,"url":152,"width":153,"height":154},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/41ee6a0fe6f37fd4c25f0338bb509ef8.webp",982,1388,{"page_no":30,"url":156,"width":157,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/7151f4ef16c1e8912ee80def78b9cf1c.webp",981,1387,{"page_no":33,"url":160,"width":161,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/a214b25353276f5a065fb092cf44f21b.webp",980,1385,{"list":164,"token":11},[165,172,179,185,191,198,205,212,219,226],{"doc_id":166,"doc_title":167,"file_type":138,"home_preview_img_url":168,"slug":169,"view_count":170,"category_name":29,"create_tm":171},121870,"Towards Explainable Evaluation Metrics for Machine Translation - Conference Paper","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229836651297/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796208419&Signature=Wzkq0%2BHlZLh1rvzivmG80NLlMto%3D","towards-explainable-evaluation-metrics-for-machine-translation-conference-paper",26,1785807350,{"doc_id":173,"doc_title":174,"file_type":138,"home_preview_img_url":175,"slug":176,"view_count":177,"category_name":29,"create_tm":178},273656,"When Machines Speak - A Unified Generative Framework for Integrating Machine-Native Symbols into Pretrained Large Language Models","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229899956642/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796208419&Signature=rv0%2BHX6i9k8FSxgIEIo36f5gd%2Fw%3D","when-machines-speak-a-unified-generative-framework-for-integrating-machine-native-symbols-into-pretrained-large-language-models",18,1789472384,{"doc_id":180,"doc_title":181,"file_type":138,"home_preview_img_url":182,"slug":183,"view_count":124,"category_name":29,"create_tm":184},600759,"DINAMIKA ILMU - Lexical Features of Teacher Talk in English Classrooms in Senior High Schools","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229955383556/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796208419&Signature=gj8fAv3LUsdy4qA8aKCSs%2BKl%2B6U%3D","dinamika-ilmu-lexical-features-of-teacher-talk-in-english-classrooms-in-senior-high-schools",1792091327,{"doc_id":186,"doc_title":187,"file_type":138,"home_preview_img_url":188,"slug":189,"view_count":55,"category_name":29,"create_tm":190},290240,"Progressive Tempering Sampler with Diffusion","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229903048136/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796208419&Signature=aKyqePZ2frQFItpvd%2FVlMxA1lpw%3D","progressive-tempering-sampler-with-diffusion",1789641054,{"doc_id":192,"doc_title":193,"file_type":138,"home_preview_img_url":194,"slug":195,"view_count":196,"category_name":29,"create_tm":197},417519,"Lexical properties in the writing of foreign language learners over eight years of study - single words and collocations","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229921857210/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796208419&Signature=ouElfT8%2FqwZFBz9dpKCYksvEwnU%3D","lexical-properties-in-the-writing-of-foreign-language-learners-over-eight-years-of-study-single-words-and-collocations",16,1790609464,{"doc_id":199,"doc_title":200,"file_type":138,"home_preview_img_url":201,"slug":202,"view_count":203,"category_name":29,"create_tm":204},507098,"Controlling Difficulty of Generated Text for AI-Assisted Language Learning - Paper","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229933457197/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796208419&Signature=9J5I%2BOFTyDB8K3xbHVztyQaP4io%3D","controlling-difficulty-of-generated-text-for-ai-assisted-language-learning-paper",12,1791173269,{"doc_id":206,"doc_title":207,"file_type":138,"home_preview_img_url":208,"slug":209,"view_count":210,"category_name":29,"create_tm":211},135108,"Women’s Language in Comics Translation - Analyzing Female Characters’ Speech Patterns Across Three Japanese Versions of X-Men’s Dark Phoenix Saga","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229861433749/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796208419&Signature=opF1ndAT25biY9503KIYDf7XovM%3D","womens-language-in-comics-translation-analyzing-female-characters-speech-patterns-across-three-japanese-versions-of-x-mens-dark-phoenix-saga",24,1787305057,{"doc_id":213,"doc_title":214,"file_type":138,"home_preview_img_url":215,"slug":216,"view_count":217,"category_name":29,"create_tm":218},578094,"Google Gemini-assisted writing and lexical appropriateness in EFL Paragraph Writing - Evidence of stability across tasks","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229953210343/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796208419&Signature=kaxDlsNObP4C9E%2BPwCWvXMVII54%3D","google-gemini-assisted-writing-and-lexical-appropriateness-in-efl-paragraph-writing-evidence-of-stability-across-tasks",13,1792033076,{"doc_id":220,"doc_title":221,"file_type":138,"home_preview_img_url":222,"slug":223,"view_count":224,"category_name":29,"create_tm":225},395266,"Beyond Tokens - Part 1 - A Survey on Decoding Methods for Large Language Models and Large Vision-Language Models","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229918623728/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796208419&Signature=lUGYaouJ6ptzDja%2FzEM8gLK%2FV98%3D","beyond-tokens-part-1-a-survey-on-decoding-methods-for-large-language-models-and-large-vision-language-models",14,1790417402,{"doc_id":227,"doc_title":228,"file_type":138,"home_preview_img_url":229,"slug":230,"view_count":231,"category_name":29,"create_tm":232},125459,"Multivariate Latent Recalibration for Conditional Normalizing Flows - Research","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229838446493/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796208419&Signature=zHGAAOjuQeG%2B59igTQFA%2F5yOYBs%3D","multivariate-latent-recalibration-for-conditional-normalizing-flows-research",41,1785899125]