[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-273444-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-273444-en":130,"doc-similar-273444":161},{"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","from-sequence-to-structure-relational-uncertainty-propagation-for-llm-agents","From Sequence to Structure: Relational Uncertainty Propagation for LLM Agents","","Reliable uncertainty quantification (UQ) is vital for deploying large language model (LLM) agents in complex interactive settings. Existing UQ approaches mainly rely on local signals such as token probabilities, predictive entropy, or per-step confidence, which neglect long-range dependencies where errors accumulate across execution trajectories. RUPA models an execution history as a directed trajectory graph and propagates uncertainty over temporal and semantic dependencies, combining it with trajectory features and goal alignment to estimate trajectory-level confidence.",{"@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/from-sequence-to-structure-relational-uncertainty-propagation-for-llm-agents/273444/",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/from-sequence-to-structure-relational-uncertainty-propagation-for-llm-agents/273444.png","ImageObject",300,407,{"name":42,"@type":43},"Olivia Brown","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-18","2026-09-15",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",19,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"Why do existing uncertainty quantification methods struggle with LLM agent reliability?","Question",{"text":63,"@type":64},"They mostly use local signals like token probabilities or per-step confidence, overlooking long-range dependencies across the full execution trajectory. As a result, they may miss how earlier mistakes lead to later agent failures.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"How does RUPA represent an LLM agent’s execution history?",{"text":68,"@type":64},"RUPA converts the execution history into a directed trajectory graph. Nodes correspond to reasoning states, tool interactions, and environment feedback, while edges capture temporal and semantic dependencies.",{"name":70,"@type":61,"acceptedAnswer":71},"How is uncertainty turned into a trajectory-level confidence estimate in RUPA?",{"text":72,"@type":64},"RUPA propagates uncertainty over the dependency graph to capture how execution risk accumulates and transfers across steps. It then combines the propagated signal with trajectory-level behavioral features and goal-alignment information to produce a full-trajectory confidence estimate.","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},273444,1789471454,{"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":55,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":97,"slug":129},"General","general",{"code":4,"msg":82,"data":131},{"doc_id":79,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":112,"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":55,"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":80,"read_time":109,"preview_page_count":33,"preview_urls":144},16904993612988,"https://ap-avatar.wpscdn.com/davatar_a8503ba1806abce46bf441b54a3ca4cd","arXiv : 2608 . 16002v2 [cs .CL] 19 Aug 2026  \nFrom Sequence to Structure: Relational Uncertainty Propagation for LLM Agents  \nZhengzhao Ma 1 ,2 , Boxi Cao 1 , Yaojie Lu 1 , Hongyu Lin 1 , Xianpei Han 1 , Le Sun 1  \n1 Chinese Information Processing Laboratory, Institute of Software, Chinese Academy of Sciences  \n2 University of Chinese Academy of Sciences, Beijing, China  \nReliable uncertainty quantification (UQ) is essential for deploying large language model (LLM) agents in complex interactive environments. Existing UQ methods largely rely on local signals, such as token probabilities, predictive entropy, or per-step confidence, and therefore overlook the long-range dependencies through which errors accumulate across an execution trajectory. As a result, they may fail to identify agent failures whose causes originate several reasoning or interaction steps before the final answer. We propose RUPA (Relational Uncertainty Propagation for Agents), a trajectory-level UQ framework for LLM agents. RUPA represents an execution history as a directed trajectory graph in which reasoning states, tool interactions, and environment feedback are nodes connected by temporal and semantic dependency edges. It then propagates uncertainty over this graph to capture how execution risk accumulates and transfers across interaction steps. The propagated signal is combined with trajectory-level behavioral features and goal-alignment information to produce a confidence estimate for the full agent trajectory. We evaluate RUPA on representative agent benchmarks, including τ-2, Terminal-Bench-2, and GAIA, using 6 open-source LLMs spanning multiple model families. Experimental results show that RUPA consistently outperforms existing UQ methods by providing more accurate uncertainty estimates, enabling earlier failure detection, and improving uncertainty-guided agent execution across diverse agent tasks. These results demonstrate that explicitly modeling relational dependency is crucial to reliable UQ for long-horizon LLM agents, providing a practical foundation for trustworthy agent execution.  \n\\# Email {mazhengzhao2024,[caoboxi}@iscas.ac.cn](caoboxi}@iscas.ac.cn)[ ](caoboxi}@iscas.ac.cn)§ Code [https://github.com/icip-cas/RUPA](https://github.com/icip-cas/RUPA)  \n1 Introduction  \nLarge Language Models (LLMs) are rapidly evolving from passive generators into autonomous agents capable of pursuing complex objectives through multi-step reasoning, tool use, and interaction with external environments (Yao et al. , 2022 ; Schick et al. , 2023 ; Liu et al. , 2024) . Such LLM agents have demonstrated remarkable capabilities in software engineering (Jimenez et al. , 2024), web automation (Zhou et al. , 2024), scientific discovery (Zhou et al. , 2023), and complex decision-making tasks (Mialon et al. , 2024) . As these systems increasingly perform long-horizon tasks involving tens or even hundreds of reasoning, action, and interaction steps, their reliability has become a critical barrier to real-world deployment (Han et al. , 2024 ; Chen et al. , 2025) . Unlike traditional text generation, failures in LLM agents rarely originate from a single erroneous prediction. Instead, they emerge from the accumulation and propagation of errors across interdependent reasoning steps, tool executions, and environment interactions. Consequently, accurately estimating execution risk before failures occur has become a fundamental challenge for building reliable autonomous agents (Gawlikowski et al. , 2023 ; Yin et al. , 2024) .  \nUncertainty quantification (UQ) provides a natural solution to this challenge by estimating the reliability of model behavior and enabling downstream strategies such as risk detection, adaptive resampling, self-correction, and decision optimization (Jiang et al. , 2021 ; Kadavath et al. , 2022 ; Lin et al. , 2022) . However, existing UQ methods are primarily designed for isolated predictions or short-context generation and therefore struggle in long-horiz","cbCairqFwFbHjKeM","https://ap.wps.com/l/cbCairqFwFbHjKeM","pdf",961578,16,"English","# Introduction\n## Motivation: limits of local uncertainty for long-horizon agents\n## RUPA approach: trajectory-level relational uncertainty propagation","[{\"question\":\"Why do existing uncertainty quantification methods struggle with LLM agent reliability?\",\"answer\":\"They mostly use local signals like token probabilities or per-step confidence, overlooking long-range dependencies across the full execution trajectory. As a result, they may miss how earlier mistakes lead to later agent failures.\"},{\"question\":\"How does RUPA represent an LLM agent’s execution history?\",\"answer\":\"RUPA converts the execution history into a directed trajectory graph. Nodes correspond to reasoning states, tool interactions, and environment feedback, while edges capture temporal and semantic dependencies.\"},{\"question\":\"How is uncertainty turned into a trajectory-level confidence estimate in RUPA?\",\"answer\":\"RUPA propagates uncertainty over the dependency graph to capture how execution risk accumulates and transfers across steps. It then combines the propagated signal with trajectory-level behavioral features and goal-alignment information to produce a full-trajectory confidence estimate.\"}]","From Sequence to Structure: Relational Uncertainty Propagation for LLM Agents | PDF",[145,149,153,157],{"page_no":22,"url":146,"width":147,"height":148},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/ae926991c3b4c69822cfca7eb7e334b6.webp",983,1272,{"page_no":26,"url":150,"width":151,"height":152},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/b5c9e17cce007d30d69b7138639bf47f.webp",982,1270,{"page_no":30,"url":154,"width":155,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/fac215dcc579dfa4c2546dca4ab199cd.webp",981,1269,{"page_no":33,"url":158,"width":159,"height":160},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/7051d356bb604519ad13ed6baf34534f.webp",980,1268,{"list":162,"token":11},[163,170,177,184,191,198,205,212,219,225],{"doc_id":164,"doc_title":165,"file_type":137,"home_preview_img_url":166,"slug":167,"view_count":168,"category_name":29,"create_tm":169},85542,"The Cost of Reasoning: Chain-of-Thought Induces Overconfidence in Vision-Language Models","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809273919/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110199&Signature=qKDCxzgxCssKo5AP7rWEKH5QJxY%3D","the-cost-of-reasoning-chain-of-thought-induces-overconfidence-in-vision-language-models",46,1784204323,{"doc_id":171,"doc_title":172,"file_type":137,"home_preview_img_url":173,"slug":174,"view_count":175,"category_name":29,"create_tm":176},83875,"STAPO: Selective Trajectory-Aware Policy Optimization for LLM Agent Training","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809110504/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110199&Signature=Wdols75E19%2F%2FK7ndqc2p8VHlDlQ%3D","stapo-selective-trajectory-aware-policy-optimization-for-llm-agent-training",29,1784191151,{"doc_id":178,"doc_title":179,"file_type":137,"home_preview_img_url":180,"slug":181,"view_count":182,"category_name":29,"create_tm":183},125999,"Uncertainty Quantification and Propagation in Atomistic Machine Learning","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229838579919/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110199&Signature=Tm5G9eAU3NtJQi5xGr4f557WOLY%3D","uncertainty-quantification-and-propagation-in-atomistic-machine-learning",31,1785902477,{"doc_id":185,"doc_title":186,"file_type":137,"home_preview_img_url":187,"slug":188,"view_count":189,"category_name":29,"create_tm":190},117494,"Uncertainty Quantification for Scientific Machine Learning","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229834484219/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110199&Signature=PeyRmI4YdtId3Z1GiH4vDuVYqyo%3D","uncertainty-quantification-for-scientific-machine-learning",23,1785676287,{"doc_id":192,"doc_title":193,"file_type":137,"home_preview_img_url":194,"slug":195,"view_count":196,"category_name":29,"create_tm":197},289835,"Scalable Uncertainty Quantification for Extreme Weather Forecasting via Empirical Neural Tangent Kernels","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229903457856/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110199&Signature=Y%2F4gnkLdUawWXaT91idDTBJW%2BO0%3D","scalable-uncertainty-quantification-for-extreme-weather-forecasting-via-empirical-neural-tangent-kernels",13,1789637578,{"doc_id":199,"doc_title":200,"file_type":137,"home_preview_img_url":201,"slug":202,"view_count":203,"category_name":29,"create_tm":204},84219,"Hypergraph Neural Stochastic Diffusion: An SDE Framework for Uncertainty Estimation","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809151066/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110199&Signature=RI9RBOOOemqDlE%2BrEItsrafwsT0%3D","hypergraph-neural-stochastic-diffusion-an-sde-framework-for-uncertainty-estimation",26,1784194100,{"doc_id":206,"doc_title":207,"file_type":137,"home_preview_img_url":208,"slug":209,"view_count":210,"category_name":29,"create_tm":211},121909,"Uncertainty Quantification in Machine Learning for Biosignal Applications - A Review","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229836655696/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110199&Signature=pKqOPBffTdOVCE3rlfPPOREBWxM%3D","uncertainty-quantification-in-machine-learning-for-biosignal-applications-a-review",21,1785807684,{"doc_id":213,"doc_title":214,"file_type":137,"home_preview_img_url":215,"slug":216,"view_count":217,"category_name":29,"create_tm":218},125602,"Evaluation of machine learning architectures on the quantification of epistemic and aleatoric uncertainties in complex dynamical systems - research findings and methods","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229838460798/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110199&Signature=7FqYUuEE%2BEYTqQjX67pxyZklUMM%3D","evaluation-of-machine-learning-architectures-on-the-quantification-of-epistemic-and-aleatoric-uncertainties-in-complex-dynamical-systems-research-findings-and-methods",24,1785900174,{"doc_id":220,"doc_title":221,"file_type":137,"home_preview_img_url":222,"slug":223,"view_count":112,"category_name":29,"create_tm":224},273381,"Efficient Self-Evaluation for Diffusion Language Models via Sequence Regeneration","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229899931679/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110199&Signature=OgNpkOznLS%2FzFpwfUTR4GbJgCLM%3D","efficient-self-evaluation-for-diffusion-language-models-via-sequence-regeneration",1789471151,{"doc_id":226,"doc_title":227,"file_type":137,"home_preview_img_url":228,"slug":229,"view_count":230,"category_name":29,"create_tm":231},327434,"UA-ChatDev - Uncertainty-Aware Multi-Agent Collaboration for Reliable Software Development","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229909323243/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110199&Signature=EuMgugyMuQaWnv4tCwhsb1%2BmB9Y%3D","ua-chatdev-uncertainty-aware-multi-agent-collaboration-for-reliable-software-development",11,1789977200]