[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-711206-105":3,"detail-sidebar-cat-0-en-105":80,"doc-detail-711206-en":130,"doc-similar-711206":162},{"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":73,"head_meta":75,"extra_data":77,"updated_unix":79},105,"en","dynamic-prompt-learning-via-policy-gradient-for-semi-structured-mathematical-reasoning","DYNAMIC PROMPT LEARNING VIA POLICY GRADIENT FOR SEMI-STRUCTURED MATHEMATICAL REASONING","","Mathematical reasoning is central to human intelligence but remains challenging for machines, especially when problems require abstract logical thinking beyond plain text. While large pre-trained language models such as GPT-3 show progress on text-based math word problems, it is unclear whether they can handle more complex tasks that integrate heterogeneous information like tables. This work introduces Tabular Math Word Problems (TABMWP), a dataset of 38,431 grade-level problems combining text and tabular context, with annotated multi-step gold solutions.",{"@graph":14,"@context":72},[15,34,55],{"@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/dynamic-prompt-learning-via-policy-gradient-for-semi-structured-mathematical-reasoning/711206/",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/dynamic-prompt-learning-via-policy-gradient-for-semi-structured-mathematical-reasoning/711206.png","ImageObject",300,407,{"name":42,"@type":43},"notyourbestiee","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-21","2026-11-15",true,{"@type":52,"interactionType":53,"userInteractionCount":26},"InteractionCounter",{"@type":54},"ViewAction",{"@type":56,"mainEntity":57},"FAQPage",[58,64,68],{"name":59,"@type":60,"acceptedAnswer":61},"What problem does this work address in mathematical reasoning models?","Question",{"text":62,"@type":63},"It targets the gap in handling mathematical word problems that require reasoning over heterogeneous tabular information, not just unstructured text.","Answer",{"name":65,"@type":60,"acceptedAnswer":66},"What is TABMWP and what does each problem include?",{"text":67,"@type":63},"TABMWP is a dataset of 38,431 grade-level problems where each question is aligned with tabular context provided as an image, semi-structured text, and a structured table, and is annotated with detailed multi-step solutions.",{"name":69,"@type":60,"acceptedAnswer":70},"How does PROMPTPG improve over random in-context example selection?",{"text":71,"@type":63},"PROMPTPG uses policy gradient to learn to select in-context examples from a small amount of training data and constructs prompts for test examples, yielding higher accuracy and reduced prediction variance versus random selection.","https://schema.org",{"og:url":32,"og:type":74,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":76,"canonical":32},"index,follow",{"doc_id":78,"site_id":7},711206,1794783750,{"code":4,"msg":81,"data":82},"success",[83,87,91,95,100,105,110,114,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":84,"show_sort_weight":85,"slug":86},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":88,"show_sort_weight":89,"slug":90},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":92,"show_sort_weight":93,"slug":94},"Exam",70,"exam",{"id":96,"doc_module":4,"doc_module_name":25,"category_name":97,"show_sort_weight":98,"slug":99},5,"Comic",60,"comic",{"id":101,"doc_module":4,"doc_module_name":25,"category_name":102,"show_sort_weight":103,"slug":104},6,"Technology",50,"technology",{"id":106,"doc_module":4,"doc_module_name":25,"category_name":107,"show_sort_weight":108,"slug":109},7,"Healthcare",40,"healthcare",{"id":111,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":112,"slug":113},8,30,"research-report",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},9,"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":96,"slug":129},19,"General","general",{"code":4,"msg":81,"data":131},{"doc_id":78,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":111,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":26,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":139,"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":79,"read_time":144,"preview_page_count":33,"preview_urls":145},962094243716,"https://ap-avatar.wpscdn.com/davatar_29158cc5080c5b710cf443261637dec0","DYNAMIC PROMPT LEARNING VIA POLICY GRADIENT FOR SEMI-STRUCTURED MATHEMATICAL REASONING  \nPan Lu 1 ,3 , Liang Qiu 1 , Kai-Wei Chang 1 , Ying Nian Wu 1 , Song-Chun Zhu 1 , Tanmay Rajpurohit2 , Peter Clark3 , Ashwin Kalyan3  \n1University of California, Los Angeles, 2 Georgia Institute of Technology, 3Allen Institute for AI  \nABSTRACT  \nMathematical reasoning, a core ability of human intelligence, presents unique challenges for machines in abstract thinking and logical reasoning. Recent large pre-trained language models such as GPT-3 have achieved remarkable progress on mathematical reasoning tasks written in text form, such as math word problems (MWP) . However, it is unknown if the models can handle more complex problems that involve math reasoning over heterogeneous information, such as tabular data. To fill the gap, we present Tabular Math Word Problems (TABMWP), a new dataset containing 38,431 open-domain grade-level problems that require mathematical reasoning on both textual and tabular data. Each question in TABMWP is aligned with a tabular context, which is presented as an image, semi-structured text, and a structured table. There are two types of questions: free-text and multichoice, and each problem is annotated with gold solutions to reveal the multi-step reasoning process. We evaluate different pre-trained models on TABMWP, including the GPT-3 model in a few-shot setting. As earlier studies suggest, since few-shot GPT-3 relies on the selection of in-context examples, its performance is unstable and can degrade to near chance. The unstable issue is more severe when handling complex problems like TABMWP. To mitigate this, we further propose a novel approach, PROMPTPG, which utilizes policy gradient to learn to select in-context examples from a small amount of training data and then constructs the corresponding prompt for the test example. Experimental results show that our method outperforms the best baseline by 5.31% on the accuracy metric and reduces the prediction variance significantly compared to random selection, which verifies its effectiveness in the selection of in-context examples.1  \n1 INTRODUCTION  \nDeveloping machines equipped with mathematical reasoning capabilities is one of the long-standing goals of artificial intelligence. Solving math word problems (MWPs) is a well-defined task to diagnose the ability of intelligent systems to perform numerical reasoning and problem-solving as humans. A surge of datasets has been proposed to facilitate the research in this domain (Upadhyay & Chang, 2017 ; Amini et al., 2019 ; Miao et al., 2020 ; Cobbe et al., 2021) . However, most existing MWP datasets focus on textual math word problems only. Tables, widely distributed in different documents such as invoices, health records, and financial reports, contain rich structured information different from unstructured text. Solving math word problems in such a tabular context is much more challenging than existing MWP benchmarks since the system needs to make cell selectionsand align heterogeneous information before performing further numerical reasoning.  \nTo fill this gap, we propose Tabular Math Word Problems (TABMWP), a new large-scale dataset that contains 38,431 math word problems with tabular context, taken from grade-level math curricula. There are two question types: free-text questions in which the answer is an integer or decimal number, and multi-choice questions where the answer is a text span chosen from option candidates. Different from existing MWP datasets, each problem in TABMWP is accompanied by a tabular context, which is represented in three formats: an image, a semi-structured text, and a structured  \n1The data and code are available at [https://promptpg.github.io](https://promptpg.github.io).  \nWork was partially done while Pan Lu was an intern at Allen Institute for AI (AI2) .  \nQuestion: If Tracy buys 5 kilograms of spherical beads, 4 kilograms of star-shaped beads, and 3 kilograms offlower-shaped bea","cbCaicNZgSidqOkb","https://ap.wps.com/l/cbCaicNZgSidqOkb","pdf",2585072,26,"English","# Abstract\n# Introduction\n## Tabular math word problems (TABMWP) dataset\n## Question formats and annotations\n## Few-shot GPT-3 limitations","[{\"question\":\"What problem does this work address in mathematical reasoning models?\",\"answer\":\"It targets the gap in handling mathematical word problems that require reasoning over heterogeneous tabular information, not just unstructured text.\"},{\"question\":\"What is TABMWP and what does each problem include?\",\"answer\":\"TABMWP is a dataset of 38,431 grade-level problems where each question is aligned with tabular context provided as an image, semi-structured text, and a structured table, and is annotated with detailed multi-step solutions.\"},{\"question\":\"How does PROMPTPG improve over random in-context example selection?\",\"answer\":\"PROMPTPG uses policy gradient to learn to select in-context examples from a small amount of training data and constructs prompts for test examples, yielding higher accuracy and reduced prediction variance versus random selection.\"}]","DYNAMIC PROMPT LEARNING VIA POLICY GRADIENT FOR SEMI-STRUCTURED MATHEMATICAL REASONING | PDF",66,[146,150,154,158],{"page_no":22,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-15/f46f19154f1761416071f175ff15d034.webp",983,1272,{"page_no":26,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-15/431c8057ec466fe8e3ce0cb02d9bb085.webp",982,1270,{"page_no":30,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-15/c521fa048babfa267a9bf76b28123eba.webp",981,1269,{"page_no":33,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-15/c7a15023b23e972bee1df6bec88a5228.webp",980,1268,{"list":163,"token":11},[164,171,178,184,190,196,203,209,215,222],{"doc_id":165,"doc_title":166,"file_type":137,"home_preview_img_url":167,"slug":168,"view_count":169,"category_name":29,"create_tm":170},419576,"The benefits of abstract word training on productive vocabulary knowledge among second language learners","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229922556147/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110739&Signature=cQiyQvLY%2BQ6AV%2BupqPsaq4U%2FfM4%3D","the-benefits-of-abstract-word-training-on-productive-vocabulary-knowledge-among-second-language-learners",11,1790617575,{"doc_id":172,"doc_title":173,"file_type":137,"home_preview_img_url":174,"slug":175,"view_count":176,"category_name":29,"create_tm":177},441573,"Large language models robustness against perturbation - read online free","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229924302921/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110739&Signature=ZW7aCPCTXMMZW1RzIX6ureaCJk0%3D","large-language-models-robustness-against-perturbation-read-online-free",13,1790696639,{"doc_id":179,"doc_title":180,"file_type":137,"home_preview_img_url":181,"slug":182,"view_count":176,"category_name":29,"create_tm":183},422783,"Korean L2 Vocabulary Prediction - Can a Large Annotated Corpus be Used to Train Better Models for Predicting Unknown Words?","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229922606451/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110739&Signature=ksXZ44hQUwgXE8ZIXfIpPQLzAKU%3D","korean-l2-vocabulary-prediction-can-a-large-annotated-corpus-be-used-to-train-better-models-for-predicting-unknown-words",1790628810,{"doc_id":185,"doc_title":186,"file_type":137,"home_preview_img_url":187,"slug":188,"view_count":123,"category_name":29,"create_tm":189},327426,"A2utoLPBench - An Auto-Generated, Agent-Friendly LP Benchmark via Inverse-KKT Construction","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229909322813/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110739&Signature=2cVhY2MT45dHD1yb9h93VV9FTMA%3D","a2utolpbench-an-auto-generated-agent-friendly-lp-benchmark-via-inverse-kkt-construction",1789977174,{"doc_id":191,"doc_title":192,"file_type":137,"home_preview_img_url":193,"slug":194,"view_count":117,"category_name":29,"create_tm":195},122478,"Machine Learning and Deep Learning Models for Automated Protocoling of Emergency Brain MRI Using Text from Clinical Referrals","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229836771244/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110739&Signature=Y%2BfIg9CWfvgQ%2BV%2Bij%2FL84NV%2B1U0%3D","machine-learning-and-deep-learning-models-for-automated-protocoling-of-emergency-brain-mri-using-text-from-clinical-referrals",1785810862,{"doc_id":197,"doc_title":198,"file_type":137,"home_preview_img_url":199,"slug":200,"view_count":201,"category_name":29,"create_tm":202},125398,"Early Risk Assessment Model for ICA Timing Strategy in Unstable Angina Patients Using Multi-Modal Machine Learning","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229838439081/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110739&Signature=X7QrzWT0FtbsLZOZlaqnxqpXRI8%3D","early-risk-assessment-model-for-ica-timing-strategy-in-unstable-angina-patients-using-multi-modal-machine-learning",21,1785898664,{"doc_id":204,"doc_title":205,"file_type":137,"home_preview_img_url":206,"slug":207,"view_count":123,"category_name":29,"create_tm":208},419623,"FKG-MM - A multi-modal fuzzy knowledge graph with data integration in healthcare - Abstract","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229922557410/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110739&Signature=7ns%2F4QJCksuS9xIg7iJZ2X7XPrs%3D","fkg-mm-a-multi-modal-fuzzy-knowledge-graph-with-data-integration-in-healthcare-abstract",1790617782,{"doc_id":210,"doc_title":211,"file_type":137,"home_preview_img_url":212,"slug":213,"view_count":112,"category_name":29,"create_tm":214},122083,"Sentimental Analysis of Movie Tweet Reviews Using Machine Learning Algorithms - 57th Hawaii International Conference on System Sciences","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229836670115/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110739&Signature=hDVQAtFrHDF2qnpKpRy4fIKze8g%3D","sentimental-analysis-of-movie-tweet-reviews-using-machine-learning-algorithms-57th-hawaii-international-conference-on-system-sciences",1785808740,{"doc_id":216,"doc_title":217,"file_type":137,"home_preview_img_url":218,"slug":219,"view_count":220,"category_name":29,"create_tm":221},121267,"Text Serialization and Their Relationship with the Conventional Paradigms of Tabular Machine Learning - Abstract","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229835411684/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110739&Signature=XqNm32tAQZZ9qjtJl38ZWhDkVNk%3D","text-serialization-and-their-relationship-with-the-conventional-paradigms-of-tabular-machine-learning-abstract",12,1785734789,{"doc_id":223,"doc_title":224,"file_type":137,"home_preview_img_url":225,"slug":226,"view_count":169,"category_name":29,"create_tm":227},344244,"Diagnosis and typing of leukemia using a single peripheral blood cell through deep learning","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229910810193/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110739&Signature=9I6yTX6ttYmNpUDqp8W8wy825wo%3D","diagnosis-and-typing-of-leukemia-using-a-single-peripheral-blood-cell-through-deep-learning",1790053283]