[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-273588-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-273588-en":131,"doc-similar-273588":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":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","learning-what-to-fail-on-failure-mode-contextual-bandits-for-adversarial-data-curation-abstract","Learning What to Fail On - Failure-Mode Contextual Bandits for Adversarial Data Curation - Abstract","","A failure-aware adversarial retrieval-augmented framework improves robustness in natural language understanding by treating adversarial data curation as a failure-mode contextual bandit. Candidate examples are produced via retrieval-augmented prompting, filtered by the current target model to keep incorrect predictions, and validated by an LLM judge ensemble. Validated failures are clustered into recurring failure modes, then a stochastic contextual-bandit policy selects modes for retraining using reward that balances robustness gains, forgetting, and data cost. Experiments improve RoBERTa-base and RoBERTa-large on NLI and transfer to FEVER with no extra human annotation.",{"@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/learning-what-to-fail-on-failure-mode-contextual-bandits-for-adversarial-data-curation-abstract/273588/",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/learning-what-to-fail-on-failure-mode-contextual-bandits-for-adversarial-data-curation-abstract/273588.png","ImageObject",300,407,{"name":42,"@type":43},"Oliver","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-30","2026-09-15",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",17,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"What problem does the framework address in adversarial data curation?","Question",{"text":63,"@type":64},"It addresses the challenge that existing pipelines use static or heuristic selection and fail to learn which failure types should be prioritized as the target model evolves.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"How are candidate adversarial examples generated and filtered?",{"text":68,"@type":64},"The method retrieves label-balanced few-shot contexts and uses them in LLM prompts to generate candidate hypotheses. Candidates are evaluated by the current target model and only incorrect predictions are retained for further validation.",{"name":70,"@type":61,"acceptedAnswer":71},"How does the system decide which failure modes to sample for retraining?",{"text":72,"@type":64},"Validated failures are clustered into recurring failure modes, and a stochastic contextual-bandit policy selects which modes to sample. The policy is updated using validation-based reward balancing robustness gains, forgetting, and data cost.","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},273588,1789472212,{"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":109,"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":80,"read_time":144,"preview_page_count":33,"preview_urls":145},8796095461610,"https://ap-avatar.wpscdn.com/davatar_276721f389ce27ea32af1340a28f341c","arXiv : 2608 . 1868 1v 1 [cs .CL] 19 Aug 2026  \nLearning What to Fail On: Failure-Mode Contextual Bandits for Adversarial Data Curation  \nRoie Kazoom 1∗ Ofir Cohen2∗ Rami Puzis2 Asaf Shabtai2 Ofer Hadar 1  \n1 Electrical and Computers Engineering, Ben Gurion University of The Negev  \n2 Software and Information Systems Engineering, Ben Gurion University of The Negev  \n[roieka@post. bgu. ac.il](roieka@post. bgu. ac.il)[ ](roieka@post. bgu. ac.il)[cofir@post. bgu. ac.il](cofir@post. bgu. ac.il)[puzis@bgu. ac.il](puzis@bgu. ac.il)[ ](puzis@bgu. ac.il)[shabtaia@bgu. ac.il](shabtaia@bgu. ac.il)[ ](shabtaia@bgu. ac.il)[hadar@bgu. ac.il](hadar@bgu. ac.il)  \nReviewed on OpenReview: [https: // openreview. net/ forum? id= DSpKdN6whZ](https: // openreview. net/ forum? id= DSpKdN6whZ)  \n􀜧􀝒􀜽􀝈 􀜸􀜽􀝈􀝅􀝀􀜽􀝐􀝅􀝋􀝊 􀜵􀝁􀝐 → 􀝎􀝁􀝓􀜽􀝎􀝀 􀜩 􀯧; 􀜷􀝌􀝀􀜽􀝐􀝁 􀟨 􀣂 and R􀰝  \n⊕  \n􀝂􀰏 → {􀝋  \n􀯞 }􀯄􀯞=1  \n􀜴􀝁􀝏􀝌􀝋􀝊􀝏􀝁0  \n􀜴􀝁􀝏􀝌􀝋􀝊􀝏􀝁1  \n􀜴􀝁􀝏􀝌􀝋􀝊􀝏􀝁􀯞  \nText DB  \nFew Shot context 􀜿  \n􀜶􀜽􀝎􀝃􀝁􀝐 􀜯􀝋􀝀􀝁􀝈 􀝂􀰅  \nCorrect Prediction  \nDiscard  \nIncorrect Prediction  \nContextual Bandit Policy 􀟨 􀣂  \n􀜯􀝅􀝔􀝁􀝀 􀝓􀝅􀝐ℎ 􀜱􀝎􀝅􀝃􀝅􀝊􀜽􀝈 􀜦􀜽􀝐􀜽  \n⊕  \n􀜵􀝁􀝈􀝁􀜿􀝐􀝁􀝀 􀜨􀜽􀝅􀝈􀝑􀝎􀝁 􀜯􀝋􀝀􀝁􀝏 􀜽 {􀯧,􀯞}  \n􀜴􀝁􀝐􀝎􀜽􀝅􀝊 􀜶􀜽􀝎􀝃􀝁􀝐 􀜯􀝋􀝀􀝁􀝈  \nFigure 1: Overview of the proposed failure-mode contextual bandit curation framework. Given an input-label pair, retrieval-augmented prompting generates candidate outputs. The target model filters candidates by retaining only incorrect predictions, which are then automatically validated by an LLM judge ensemble and clustered into recurring failure modes. A contextual-bandit policy selects failure modes under an adversarial budget, and selected examples are mixed with original data to retrain the target model. Validation feedback provides reward Gt for updating the policy πθ and critic Rϕ , enabling adaptive selection of high-impact failure modes across rounds.  \nAbstract  \nWe introduce a failure-aware adversarial retrieval-augmented framework for improving robustness in natural language understanding. Rather than selecting synthetic examples with a fixed reward threshold, our method formulates adversarial data curation as a failure-mode contextual bandit problem. Candidate examples are generated with retrieval-augmented prompting, filtered by the current target model, automatically validated by an LLM judge ensemble, and clustered into recurring failure modes. A stochastic policy then selects which failure modes to sample for retraining, and is updated using validation-based reward that balances robustness gains, forgetting, and data cost. This makes the data curator itself the learning agent, enabling adaptive selection of the most useful model failures across training rounds. On standard benchmarks, our approach improves RoBERTa-base accuracy from  \n88.48% to 92.60% on SNLI, from 75.04% to 80.95% on ANLI, and from 54.67% to 71.99% on MultiNLI, while consistently outperforming prior adversarial augmentation methods. We further demonstrate transfer to FEVER fact verification, achieving up to 79.86% FEVER score and 82 .45% accuracy with RoBERTa-large. Finally, we provide a theoretical interpretation showing that, under stated assumptions, failure-mode sampling can reduce shortcutaligned gradient contributions while inducing bounded distributional drift. By combining retrieval, automated validation, contextual-bandit failure selection, and controlled adversarial retraining, our framework enables scalable robustness improvement without additional human annotation.  \n1 Introduction  \nNatural Language Inference (NLI), the task of determining whether a hypothesis is entailed by, contradicted by, or neutral with respect to a given premise, is a central component of many natural language understanding problems, including question answering, summarization, dialogue systems, and fact verification. More broadly, many supervised NLP tasks suffer from similar robustness limitations when confronted with adversarial or out-of-domain examples. Despite rapid progress, even state-of-the-art models remain brittle, often relying on spurious lexical ","cbCailFdSPnYPtY7","https://ap.wps.com/l/cbCailFdSPnYPtY7","pdf",1881578,"English","# Introduction\n## Failure-aware contextual bandit formulation\n## Retrieval, candidate filtering, and LLM validation\n## Clustering recurring failure modes\n## Policy-driven retraining and reward design","[{\"question\":\"What problem does the framework address in adversarial data curation?\",\"answer\":\"It addresses the challenge that existing pipelines use static or heuristic selection and fail to learn which failure types should be prioritized as the target model evolves.\"},{\"question\":\"How are candidate adversarial examples generated and filtered?\",\"answer\":\"The method retrieves label-balanced few-shot contexts and uses them in LLM prompts to generate candidate hypotheses. Candidates are evaluated by the current target model and only incorrect predictions are retained for further validation.\"},{\"question\":\"How does the system decide which failure modes to sample for retraining?\",\"answer\":\"Validated failures are clustered into recurring failure modes, and a stochastic contextual-bandit policy selects which modes to sample. The policy is updated using validation-based reward balancing robustness gains, forgetting, and data cost.\"}]","Learning What to Fail On - Failure-Mode Contextual Bandits for Adversarial Data Curation - Abstract | PDF",101,[146,150,154,158],{"page_no":22,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/234086f5f241270b9ff622819288c7fb.webp",983,1272,{"page_no":26,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/70b8e27af0af74c00c27f2920a66bc5f.webp",982,1270,{"page_no":30,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/5c33e2686269f6c3bb13f00f03ad9cba.webp",981,1269,{"page_no":33,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/4da1e025eb9183dd081533bb3979add2.webp",980,1268,{"list":163,"token":11},[164,171,178,185,192,199,206,213,220,227],{"doc_id":165,"doc_title":166,"file_type":138,"home_preview_img_url":167,"slug":168,"view_count":169,"category_name":29,"create_tm":170},83723,"SentAttack: 密集检索模型的句子级黑盒对抗攻击方法","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809088117/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111759&Signature=5mhKvBqRSx8m1MPwjQgxBcpG8HE%3D","sentattack-sentence-level-black-box-adversarial-attack-method-for-dense-retrieval-models",31,1784189979,{"doc_id":172,"doc_title":173,"file_type":138,"home_preview_img_url":174,"slug":175,"view_count":176,"category_name":29,"create_tm":177},83803,"Knowledge Base Poisoning Attacks and Defense for Policy-Aware LLM-RAG Framework","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809098054/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111759&Signature=uEZenUYvkP0%2B6yxrJCgqGDDnlUE%3D","knowledge-base-poisoning-attacks-and-defense-for-policy-aware-llm-rag-framework",36,1784190518,{"doc_id":179,"doc_title":180,"file_type":138,"home_preview_img_url":181,"slug":182,"view_count":183,"category_name":29,"create_tm":184},84673,"Rank Order N of M Codes for Sparse Distributed Memory","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809195701/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111759&Signature=6tpxpLOpJfrXuIUA6slqGjdVazs%3D","rank-order-n-of-m-codes-for-sparse-distributed-memory",22,1784197589,{"doc_id":186,"doc_title":187,"file_type":138,"home_preview_img_url":188,"slug":189,"view_count":190,"category_name":29,"create_tm":191},85152,"Distributionally Robust Multi-agent Reinforcement Learning Framework for Intelligent Intersection Control","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809246463/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111759&Signature=Z951U5WD1qKy8WDQnMQ7bLZlKkY%3D","distributionally-robust-multi-agent-reinforcement-learning-framework-for-intelligent-intersection-control",39,1784201416,{"doc_id":193,"doc_title":194,"file_type":138,"home_preview_img_url":195,"slug":196,"view_count":197,"category_name":29,"create_tm":198},328092,"RoME: Robust Mixture of Low-Rank Experts against Multiple Adversarial Perturbations","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809015203/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111759&Signature=5W6jwol51uePf7wr3y%2FlJZjcplk%3D","rome-robust-mixture-of-low-rank-experts-against-multiple-adversarial-perturbations",15,1789978633,{"doc_id":200,"doc_title":201,"file_type":138,"home_preview_img_url":202,"slug":203,"view_count":204,"category_name":29,"create_tm":205},82356,"Robustifying Vision-Language Models via Test-Time Prompt Adaptation","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808734771/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111759&Signature=cuf58dFwHTWOfT%2B4oKOMb07bmBM%3D","robustifying-vision-language-models-via-test-time-prompt-adaptation",33,1784179847,{"doc_id":207,"doc_title":208,"file_type":138,"home_preview_img_url":209,"slug":210,"view_count":211,"category_name":29,"create_tm":212},273366,"MedRAGChecker - Claim-Level Verification for Biomedical Retrieval-Augmented Generation","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229899930500/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111759&Signature=yrjSJ5GCnc9eA3ZLyQ7DgbSyU8c%3D","medragchecker-claim-level-verification-for-biomedical-retrieval-augmented-generation",24,1789471083,{"doc_id":214,"doc_title":215,"file_type":138,"home_preview_img_url":216,"slug":217,"view_count":218,"category_name":29,"create_tm":219},122984,"Towards Sustainable SecureML - Quantifying Carbon Footprint of Adversarial Machine Learning","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229836964613/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111759&Signature=c7DgC9UHeXJz3lV88CkDNqYgE58%3D","towards-sustainable-secureml-quantifying-carbon-footprint-of-adversarial-machine-learning",38,1785814022,{"doc_id":221,"doc_title":222,"file_type":138,"home_preview_img_url":223,"slug":224,"view_count":225,"category_name":29,"create_tm":226},82895,"MIRAGE：Defending Long-Form RAG Against Misinformation Pollution","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808801865/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111759&Signature=pXoV8zUCS1f4iL7lB6eJYy2fUJs%3D","mirage-defending-long-form-rag-against-misinformation-pollution",34,1784183769,{"doc_id":228,"doc_title":229,"file_type":138,"home_preview_img_url":230,"slug":231,"view_count":232,"category_name":29,"create_tm":233},82147,"Correlation-Aware Contextual Bandits with Surrogate Rewards for LLM Routing","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808715477/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111759&Signature=gS%2Fw0uR%2FTr28HZGBnrH95QEOWVw%3D","correlation-aware-contextual-bandits-with-surrogate-rewards-for-llm-routing",26,1784178442]