Tail-Influence Sampling for CVaR Policy Evaluation

Pauline Bourigault, Xiaotong Ji, Matthieu Zimmer, Rasul Tutunov, Haitham Bou-AmmararXiv 2026

TL;DR

Tail-Influence Sampling (TIS) is a novel budget allocation strategy designed to accurately estimate the risk of rare, severe failures (Conditional Value-at-Risk, or CVaR) in stochastic systems like LLM agents. By identifying and oversampling the specific components of a workflow that most influence "worst-case" outcomes, TIS achieves significantly lower estimation error than standard rollouts or uniform sampling.

What Problem Does This Paper Address?

In safety-critical applications, average performance is often a misleading metric. A robot might succeed 99% of the time but fail catastrophically in the remaining 1%. Measuring this "tail risk"—quantified here as Conditional Value-at-Risk (CVaR)—is notoriously difficult because rare failures are, by definition, seldom seen in standard Monte Carlo rollouts.

For modern AI workflows, such as multi-step LLM agents, each full "run" is expensive. However, these workflows often allow for "conditional queries": if we have a generative model or a resettable simulator, we can jump to a specific state and see what happens next. The core challenge this paper tackles is optimal budget allocation: given a fixed number of queries, which specific parts of a complex, multi-step process should we sample to get the most accurate estimate of the overall system's tail risk?

Methods

The authors introduce Tail-Influence Sampling (TIS), which moves beyond simple visitation-based sampling to focus on "influence."

  1. Tail Influence: The researchers derive a mathematical measure of how uncertainty in a single component (a "kernel") propagates through the system to affect the final CVaR estimate. This accounts for "Bellman reuse"—the fact that the same prompt or state might be encountered multiple times in a single workflow.
  2. The TIS Algorithm:
    • Pilot Phase: A small portion of the budget is spent on uniform sampling to build an initial model of the system.
  3. Allocation: TIS calculates the influence of each component and uses Neyman allocation to spend the remaining budget proportionally to the standard deviation of these influences.
  4. Anchored TIS: A common failure mode for adaptive sampling is "missing" a rare event during the pilot phase. To fix this, the authors propose Anchored TIS, which blends the tail-influence scores with a visitation-based "anchor." This provides a safety net, ensuring the strategy is robust even if the pilot is "unlucky."

The process is visually summarized in Figure 1, showing how two components with identical means and variances can have vastly different impacts on the tail risk.

Figure 1: Equal visitation and reward variability can conceal different information about CVaR. The same kernel can be reused across many stages (Use 1, . . ., Use H). A and B are visited equally and have identical reward means and variances, but only A’s returns can fall below the CVaR cutoff qα. TIS sums each pilot draw’s first-order CVaR effects across all uses, then measures their spread bσg across draws; orange rings track one draw. With 20% uniform exploration, the illustrated scores give nominal fresh-query shares of 90%/10% for A/B, versus 50%/50% for visitation or mean influence (before minimum counts and rounding).

Datasets

The authors evaluated TIS across a variety of domains:

  • Tabular Benchmarks: "Slippery CliffWalking" (a classic RL task modified for risk) and a seasonal inventory management simulation.
  • LLM Workflows: They evaluated multi-step "review" workflows using frozen language models (like Qwen and Phi) on the MMLU-Pro (general knowledge) and FinQA (financial reasoning) datasets. These represent realistic agentic tasks where a "solve" step is followed by multiple "review" steps.

Key Insights and Ideas

  • Visitation is not Importance: A state that is visited frequently might have very predictable outcomes, contributing little to the overall uncertainty of the tail. TIS identifies the "bottleneck" states where variability actually drives failure.
  • Theoretical Efficiency: TIS is proven to attain the "oracle" asymptotic variance, meaning it is as efficient as possible for a large enough budget. The anchored version is guaranteed to be within a factor of two of this oracle.
  • The Tail-Mean Coincidence: The paper identifies a specific regime where tail-optimal and mean-optimal allocations are the same. They provide a "divergence diagnostic" that practitioners can use to decide if they actually need a specialized tail-sampling strategy or if standard mean-based sampling is sufficient.

Key Results

TIS consistently outperformed standard rollouts and visitation-based sampling across all benchmarks.

  • CliffWalking: TIS reduced Mean Squared Error (MSE) by 76% compared to complete rollouts and 41% compared to learned occupancy sampling at the same budget.
  • LLM Agents: In the FinQA financial review tasks, Anchored TIS achieved 2.4x to 3.4x lower MSE than standard rollouts.
  • Robustness: Anchored TIS proved essential in LLM tasks, where it successfully mitigated pilot failures that caused plain TIS to occasionally perform worse than uniform sampling.

As shown in Figure 2, as the query budget increases, the gap between TIS/Anchored TIS and standard baselines like "complete rollout" or "uniform" sampling widens significantly.

Figure 2: At largest budgets, TIS MSE is lower than learned occupancy, learned mean, and rollouts. CVaR MSE vs. charged queries/kernel in (a) CliffWalking and /block in (b) inventory. Conditional-query methods have direct kernel access; rollouts use trajectories at same charged tran- sition budget. Oracle+floor=population scores; bars=1.96 Monte Carlo SEs.

Limitations and Future Work

  • Generative Access Requirement: TIS requires the ability to query specific state-action pairs. While common in LLM workflows and simulators, this is not always possible in real-world physical systems.
  • Pilot Repayment: For very small budgets, the overhead of the "pilot" phase might not be worth the gains from optimized allocation.
  • Fixed Grids: The current implementation uses categorical distributional RL (fixed grids of returns). Extending this to high-dimensional, continuous return spaces is a natural next step.
  • Policy Optimization: This paper focuses on evaluating a fixed policy. A major future direction is using these tail-influence signals to improve policies to be more risk-averse.

Summary updated

BibTeX
@misc{bourigault2026tail,
  author = {Pauline Bourigault and Xiaotong Ji and Matthieu Zimmer and Rasul Tutunov and Haitham Bou-Ammar},
  title = {{Tail-Influence Sampling for CVaR Policy Evaluation}},
  year = {2026},
  eprint = {2609.38096},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.38096},
}
Figure