TRAM: Test-Time Risk Adaptation with Mixture of Agents
Mohamad Chehade, Amrit Singh Bedi, Souradip Chakraborty, Amy Zhang, Hao Zhu
NeurIPS 2026
TL;DR. TRAM enables zero-update test-time risk adaptation by reusing a fixed library of risk-neutral policies and selecting actions using risk-adjusted source scores under newly specified deployment safety or alignment requirements.
Abstract. Deployed reinforcement learning agents often face safety requirements that are specified only after training: new hazard maps, revised risk thresholds, or behavioral alignment constraints. We study zero-update deployment-time adaptation in which a fixed library of risk-neutral source policies must be reused under a newly specified reward–risk tradeoff. We propose TRAM (Test-time Risk Adaptation with Mixture of Agents), a source-scored composition rule that evaluates each source under the target reward and an occupancy-based deployment risk, then selects actions using risk-adjusted source scores. Unlike training-time risk-sensitive methods tied to a fixed surrogate such as return variance, TRAM supports spatial barrier exposure, divergence to a reference behavior, and local volatility risks specified at test time. We make the surrogate nature of the method explicit: TRAM is not claimed to solve the full occupancy-control problem of the stitched policy, but it admits a measurable source-hull mismatch term connecting source-scored risk to realized risk. Experiments in gridworlds, MuJoCo Reacher, Safety-Gymnasium, and an inference-time LLM alignment setting show that TRAM improves deployment risk while preserving reward and requires no parameter updates at test time.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:50 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
The reviewers found your work on zero-update deployment-time adaptation to be highly relevant and well-motivated. The modularity of TRAM and the supporting theoretical framework are commendable. While the committee initially had significant reservations regarding the empirical rigor of the submission—specifically concerning baseline strength, the lack of sensitivity analysis, and unverified assumptions about computational scalability—your rebuttal comprehensively and convincingly addressed these issues. The addition of the constrained PPO baseline and the direct measurements of occupancy-estimation costs effectively demonstrated the efficiency and empirical standing of your method.Therefore, I recommend acceptance.
For the camera-ready version, you must incorporate the exact promises made during the discussion phase: include the new constraint-aware baseline (constrained PPO) results and the specific runtime/deployment cost comparisons, add the sensitivity analysis over the tradeoff weight , address clarification concerns (e.g. update the Introduction to define all terms plainly prior to Figure 1, simplify Figure 1, and rewrite its caption for clarity).
Final justification
See above updated metareview.
- Final justification
- See above updated metareview.
Read meta-review
Meta-review
The reviewers found your work on zero-update deployment-time adaptation to be highly relevant and well-motivated. The modularity of TRAM and the supporting theoretical framework are commendable. While the committee initially had significant reservations regarding the empirical rigor of the submission—specifically concerning baseline strength, the lack of sensitivity analysis, and unverified assumptions about computational scalability—your rebuttal comprehensively and convincingly addressed these issues. The addition of the constrained PPO baseline and the direct measurements of occupancy-estimation costs effectively demonstrated the efficiency and empirical standing of your method.Therefore, I recommend acceptance.
For the camera-ready version, you must incorporate the exact promises made during the discussion phase: include the new constraint-aware baseline (constrained PPO) results and the specific runtime/deployment cost comparisons, add the sensitivity analysis over the tradeoff weight , address clarification concerns (e.g. update the Introduction to define all terms plainly prior to Figure 1, simplify Figure 1, and rewrite its caption for clarity).
1 comment
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 2/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper proposes test-time risk adaptation, where a fixed library of risk-neutral source policies must be reused under a newly specified reward-risk tradeoff. The authors evaluate across a range of environments, including gridworld, MuJoCo, Reacher, Safety-Gym and LLM alignment.
Strengths and weaknesses
I think this paper is borderline. I'm happy to read the other reviews and reconsider my position. I lean slightly positive because I could not find a solid reason to reject, but the paper can definitely be improved in terms of both clarity and experiments.
Strengths
- The problem is interesting and novel.
- The positioning relative to prior work is solid.
- Section 3.2 motivates the failure of previous methods nicely.
- The theoretical findings are also solid and explain the proposed method.
Weaknesses
- Clarity. My main concern is clarity. I only began to understand the paper in Section 3, where the problem is properly formulated. Before that, everything was confusing, including terms such as "source behaviour" and "source training." Figure 1 is overwhelming, and I was not able to follow what is going on in it, nor in its caption and the surrounding text. A few specific points. Line 81: "the main theoretical statements," which statements are you referring to here? "A source-dynamic evaluator," what is this? More generally, there are many writing issues and terms that are used before being defined or explained.
- Experimental settings. I am not sure gridworld and Reacher are representative environments by current standards. One would expect something more modern.
- LLM alignment. This is the modern setting, but the authors explain it only briefly. It is unclear to me how the algorithm is applied here, in particular how the Q functions are obtained.
- Algorithm 1. For modern large policy transformers, how are the Q functions obtained? I am also curious about inference-time efficiency, since the method appears to require a number of forward passes equal to the number of policies. This could be prohibitive.
Questions
Please see the previous section.
Limitations
Not sure that I found the limitations section.
Formatting concerns
no
4 comments
Thank you for the careful reading and the positive assessment.
Clarity. "My main concern is clarity. I only began to understand the paper in Section 3, where the problem is properly formulated. Before that, everything was confusing, including terms such as 'source behaviour' and 'source training.' Figure 1 is overwhelming ... Line 81: 'the main theoretical statements,' which statements are you referring to here? 'A source-dynamic evaluator,' what is this?"
We agree and will fix each specifically. We will define our terms plainly at first use in the Introduction, before Figure 1. By a source policy we mean one fixed, already-trained control policy. The source library is simply the collection of these fixed policies, prepared once before deployment. Source training is the process that produces them, done ahead of time and never repeated at deployment. At deployment, TRAM does not train anything: at each step it computes, for every policy in the library, a score combining its estimated task value with the requested risk penalty, and then acts according to the highest-scoring policy at that step. We will state this one-sentence summary at the top of the Introduction so the reader understands the setting before Figure 1. We will also name "the main theoretical statements" explicitly as Theorems 4.1 and 4.3 at first mention, and define the "source-dynamics evaluator" where it appears as the estimator that evaluates a policy's value under its own training dynamics rather than the target task's dynamics (relevant only to the Appendix C.2 transition-mismatch extension). Finally, we will simplify Figure 1 and rewrite its caption as a single readable narrative: start from the fixed library, move to the target task, score the policies at the current state, and act on the best one, repeating each step.
Experimental settings. "I am not sure gridworld and Reacher are representative environments by current standards. One would expect something more modern."
We use these environments deliberately, and they are the standard evaluation settings for the transfer methods we compare against. The risk-aware method most directly related to ours, RaSF [Gimelfarb et al., 2021], evaluates on gridworld and Reacher benchmarks, revisiting the successor-feature setups of Barreto et al. [2017, 2018, 2020]; the SF-DQN line [Zhang et al., 2024] uses the same. Evaluating on the same benchmarks as the methods we compare against is the controlled comparison our setting requires. Gridworld additionally isolates the risk-adaptation mechanism, since value and occupancy can be computed exactly there with no function-approximation error. Safety-Gymnasium (16-dimensional, a standard modern safe-RL benchmark) is also part of the suite; together the settings span tabular, continuous MuJoCo, higher-dimensional safe RL, and LLM alignment.
LLM alignment. "This is the modern setting, but the authors explain it only briefly. It is unclear to me how the algorithm is applied here, in particular how the Q functions are obtained."
We will describe the instantiation concretely. The two fixed 7B models are the source policies; given a prompt, each proposes candidate responses. For each candidate we estimate its value under the target reward model without any parameter update, using a transfer-decoding value estimate [Chakraborty et al., 2024]. The deployment risk here measures how far a candidate response drifts from a designated safe reference model: we compute the token-level KL divergence between the candidate's output distribution and the reference model's, so responses that stray far from the safe reference are penalized. The selection rule (Eq. 4.4) then chooses the candidate that maximizes target reward minus this KL penalty. In this setting the "state" is the prompt together with the text generated so far and the "action" is the next token, so response generation is a sequential decision process; we make this mapping explicit in the revision.
Algorithm 1. "For modern large policy transformers, how are the Q functions obtained? I am also curious about inference-time efficiency, since the method appears to require a number of forward passes equal to the number of policies. This could be prohibitive."
For language models, the value is obtained by the transfer-decoding estimate above; for continuous control, by successor-feature dot products or SF-DQN [Zhang et al., 2024]. On inference cost: the forward passes per step are standard for the inference-time-alignment class (best-of-, controlled decoding, and transfer-decoding all pay this cost), so TRAM introduces no new burden, and the cost scales linearly in and is parallelizable across the policies. We measured this directly in the continuous-control setting: scoring over a 20-policy library costs 2.646 ± 0.009 s per warm 1,000-step episode (mean ± 95% CI over 30 repeated episodes, about 2.65 ms per action), with a 3.49 s cold-start episode that includes one-time model loading. We report this over repeated episodes rather than a single run. To make the comparison concrete: reaching a useful operating point on this task by retraining a policy takes roughly 40 minutes of training, whereas TRAM adapts to the same task in about 2.6 seconds of inference with no training, so the per-step scoring is not a bottleneck relative to retraining. We do not claim TRAM is cheap in absolute terms; we claim it is cheap relative to retraining and standard for its class. We will report the analogous per-response cost for the LLM setting in the final version.
Finally, to confirm that TRAM genuinely composes several policies rather than reducing to a single one, we logged which policy was selected at each step over full rollouts. Multiple source policies are used within a single rollout, so the deployed behavior is genuinely stitched together from different policies along the trajectory, as intended.
We hope these clarifications address your concerns, and we are glad to expand any of them.
Dear Reviewer utLh,
Thank you again for your thoughtful review. As the discussion period is open, we wanted to note that we have posted responses to each of your points.
We would be glad to clarify anything further and would welcome any follow-up questions. Thank you for your time.
Thank you again for your helpful comments. As the discussion window closes tomorrow, we wanted to note that we have posted detailed responses to your points. We would be glad to address anything further, and we appreciate your time.
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 2/4
- Clarity
- 3/4
- Significance
- 2/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper introduce TRAM, a method that accomplish the zero-update deployment time adaptation with a library of risk-neutral source policies when the target environment are under unseen (new) safety requirement. TRAM computes the target value function for all source policies and then subtract it with a occupancy-based deployment risk with a tradeoff weight , resulting a new policy which max over both sources and actions. The method is tested in various simulation environments.
Strengths and weaknesses
Strengths:
-
The paper is working on a well-motivated problem, the change of the safety rules and the constraint/cost on retraining are real and the proposed solution seems a solution to close this gap.
-
The proposed TRAM is modular and has almost no cost at deployment, especially when successor features are available and the scoring will be extremely efficient with just dot product.
Major Weaknesses (in the order of occurrence in the paper):
-
The paper address the problem when there is a reward mismatch and the change of the safety constraints revealed at the deployment, which is also under the scope of the distributionally robust RL when an appropriate ambiguity set is selected. Instead of committing to only one risk surrogate, DR methods use an ambiguity set of risks/dynamics/rewards, and would directly address the paper's assumed problem. I believe the authors should at least include some discussion about how this is connected to DR method, why choosing TRAM over the existing DRRL approaches, and hopefully empirical evidence on why TRAM is better than DRRL in this case.
-
In equation (4.3), the source adjusted score is computed by subtracting from the target value estimate, one of the concern that I have is the selection of is not justified. It's considered in the paper as a given input to Algorithm 1, but the authors did not report any values, sweep test over , nor sensitivity analysis. I believe The authors should report the values used, how they were selected, a sensitivity analysis, and how it is connected to the tolerance level .
-
Even though the paper presents two continuous action space results, i.e., Reacher and Safety-Gymnasium, neither of them revealed the ultimate case where the occupancy cannot be enumerated and must be density-estimated. In those cases, evaluating and for sources policies needs many sampled rollouts per source, with cost and estimation error that scale with the state-action dimension, which I suspect will be comparable to re-solving or fine-tuning a single constrained policy. Hence, the zero-update benefit is only validated when the occupancies are cheap e.g., tabular. I believe the authors should show that the estimation of the occupancy-based risk is indeed cheaper than retraining in a continuous, non-enumerable setting, instead of just assuming it.
-
On the experiment section: The baselines in section 5.1 and 5.2 are too weak, they either ignore (SF) or mismatch (RaSF) the deployment risk, for which TRAM is almost guaranteed to win. It lacks the baselines that can see the constraint, e.g., a constrained RL based method (I consider it under the Standard RL family in Table 1), which can at least show the trade off between the deployment-time optimality and retraining cost. In addition, all results are reported as single values without variance across seeds and source policy libraries.
Minor Weaknesses (in the order of occurrence in the paper):
- Line 92, Figure 2(b) does not have a center panel.
- All the simulations are conducted in a single configuration for each environment, to really validate the effectiveness of TRAM, I suggest providing more result with various hazard region shapes, number of barriers and different risk tolerance level.
- I feel the result/experiments presented in 5.4 a bit disconnect to the paper and the risk is defined over the text completion instead of the occupancies.
Questions
Please see the weakness section, I'm willing to adjust my score based on authors' response.
Limitations
Yes, the authors did address the existence of the limitations.
Final justification
I am raising my score to 4, as the rebuttal addresses my main concerns, conditional on these additions appearing in the revision.
Formatting concerns
No formatting concerns.
2 comments
Thank you for the detailed and rigorous review; your points identified the most important places to strengthen the empirical and positioning story. We note your willingness to adjust and have prioritized accordingly.
"DR methods use an ambiguity set of risks/dynamics/rewards, and would directly address the paper's assumed problem ... the authors should at least include some discussion about how this is connected to DR method, why choosing TRAM over the existing DRRL approaches, and hopefully empirical evidence."
DRRL and TRAM address orthogonal problems, so DRRL does not subsume our setting. DRRL hedges against dynamics/reward shift: the test environment may differ from training but only within a bounded set of environments fixed in advance, over which one optimizes for the worst case [Iyengar 2005; Nilim & El Ghaoui 2005; Zhou et al. 2021; Panaganti & Kalathil 2022]. TRAM instead adapts to a risk specified at deployment under fixed dynamics (a new hazard map, KL-to-reference, or volatility penalty). A robust MDP cannot accept a new barrier at test time: its robustness is fixed at training, and a spatial barrier is not a change in dynamics. The two meet only in the small-dynamics-mismatch case, handled by the term in Appendix C.2. We will add a related-work discussion making this positioning explicit.
Two further points. First, DRRL inherits the pre-commitment limitation Section 3.2 targets: the uncertainty set is fixed before training, so a risk unknown then cannot be expressed after the fact. Second, DRRL is not zero-update, as evaluating a robust policy requires a worst-case search over the set and most solutions are model-based. A DRRL comparison thus reduces to the same axis as our skyline below: pre-commit and/or retrain versus zero-update scoring.
"The selection of is not justified ... the authors did not report any values, sweep test over , nor sensitivity analysis, nor how it is connected to the tolerance level ."
We have run the requested sensitivity analysis, will report the values used, and give the explicit – connection. Taking the analytical part first: Eq. (3.1) poses s.t. , Eq. (3.2) is its penalized surrogate, so under the Lagrangian correspondence each maps to an achievable tolerance decreasing in ; Algorithm 1 additionally has a screening step that can exclude sources whose estimated risk exceeds , so a tolerance can be imposed directly rather than only approached through . The value used for each reported result was omitted from the submission and we will report it.
On the empirical side, we have run a sensitivity analysis over for the dynamic (per-state) TRAM rule of Algorithm 1 on Safety-Gymnasium (held-out goal , 300 episodes per run, three independent evaluation seeds). At our main barrier configuration (radius ), increasing traces a clear return–safety tradeoff for the deployed dynamic policy (mean ± std over 3 seeds):
| Return | Barrier-hit probability | |
|---|---|---|
| 64,000 | 0.52 ± 0.03 | 0.36 ± 0.02 |
| 128,000 | 0.27 ± 0.06 | 0.29 ± 0.02 |
| 1,000,000 | 0.24 ± 0.02 | 0.086 ± 0.010 |
Increasing moves the deployed policy from higher-return/higher-risk toward lower-return/lower-risk, and the three seeds agree at each point; reaching the lowest risk also costs return, so is a genuine tradeoff parameter, not a free safety knob. This sweep holds across five barrier radii (–), which also answers the single-configuration concern (below). The three-seed spread is exploratory rather than a definitive interval; we are extending the seed count for the final version.
Minor weaknesses: "Line 92, Figure 2(b) does not have a center panel." / "All the simulations are conducted in a single configuration for each environment ... I suggest providing more result with various hazard region shapes, number of barriers and different risk tolerance level." / "I feel the result/experiments presented in 5.4 a bit disconnect to the paper and the risk is defined over the text completion instead of the occupancies."
We will correct the Figure 2(b) panel. On 5.4 (which we can address now): we agree the behavioral risk is defined over completions rather than occupancies, and we now state explicitly that 5.4 is a response-level scope test of the source-scored rule and that Section 4's occupancy theory does not cover it. On additional configurations: we have evaluated the dynamic TRAM sweep across five barrier radii () on Safety-Gymnasium, holding the source library fixed; the return–safety tradeoff holds at every radius, demonstrating that one fixed library serves a range of deployment barriers, with three evaluation seeds reported at the main radius ().
We are grateful for the offer to reconsider the score, and we hope these additions address the core concerns.
"Evaluating and for source policies needs many sampled rollouts per source, with cost and estimation error that scale with the state-action dimension, which I suspect will be comparable to re-solving or fine-tuning a single constrained policy. Hence, the zero-update benefit is only validated when the occupancies are cheap e.g., tabular ... the authors should show that the estimation of the occupancy-based risk is indeed cheaper than retraining in a continuous, non-enumerable setting."
Measured directly in a continuous, non-enumerable setting, occupancy estimation costs one to two minutes per source, far below a retraining solve. On Safety-Gymnasium (SafetyPointGoal0-v0), across five evaluation seeds on a single CPU node, estimating one source's occupancy took 47.0 s at 50 rollouts and 94.0 s at 100 rollouts (95% CIs [46.68, 47.34] and [93.33, 94.62]); relative to a 200-rollout reference the estimates differed by only 0.013 and 0.002 in total-variation distance, so the estimate is already stable at 50–100 rollouts. This directly answers the concern that estimation might rival retraining. The cost is also structural in our favor: occupancy is estimated once per source and reused across every subsequent risk specification, whereas retraining pays a full solve per specification. We do not claim it is free (a learned occupancy model has its own fit cost); we report it as a diagnostic on one policy and five seeds, to be broadened across the library.
"The baselines ... either ignore (SF) or mismatch (RaSF) the deployment risk, for which TRAM is almost guaranteed to win ... [it] lacks the baselines that can see the constraint, e.g., a constrained RL based method ... all results are reported as single values without variance across seeds and source policy libraries."
We agree on both counts, and we have added the constraint-aware baseline.
Constraint-aware baseline (constrained PPO). We trained a constrained PPO policy directly on the deployment specification (goal , barrier at , radius ), with an adaptive Lagrange multiplier targeting a 10% barrier-risk level, for 750k environment steps. Under a common evaluator (same barrier geometry, horizon, and 300 evaluation episodes), it reaches mean return 1.65 and barrier-hit probability 0.24. Notably, even with direct access to the deployment goal during training, PPO does not reach the 10% barrier-risk target. This is therefore a strong direct-training reference, an upper reference on what full online retraining buys, rather than a zero-update competitor.
Deployment-cost vs. operating-point tradeoff. Over specifications, PPO pays roughly min of online training (a full solve each time the specification changes), whereas TRAM pays a one-time offline library cost plus s of inference per specification, with no training to adapt. The library cost is amortized across all specifications and, like PPO's design time, is not part of per-specification adaptation.
Variance. We now report variance across evaluation seeds throughout (three seeds for the sensitivity sweep; 30 episodes and five seeds for the timing and occupancy studies). The reviewer also asks for variance across source policy libraries, a heavier rerun since each requires rebuilding the bank; we are running this and will report it during the discussion period.
Under a common evaluator (radius , held-out goal , 300 episodes, 1,000-step horizon, and the same barrier geometry and barrier-hit detector for both methods), the safety comparison is:
| Method | Barrier-hit prob. | Deployment cost | Sees constraint? |
|---|---|---|---|
| Constrained PPO (skyline) | 0.24 | ~40 min online training | Yes, retrained on task |
| TRAM (zero-update) | 0.086 | ~2.6 s inference | Zero-update |
We compare on barrier-hit probability because it uses an identical detector for both methods and is the safety quantity in question. (Returns are not placed in one column: PPO was trained on the deployment reward and TRAM's sources were not, so the returns are under different reward definitions and are not directly comparable.) The TRAM row is the operating point at high penalty weight ; the full return–safety sweep over is in the sensitivity response above, where increasing moves TRAM smoothly along the tradeoff. The key point: TRAM reaches a lower barrier-hit rate than the retrained policy (0.086 vs 0.24), with no task-specific training, in seconds rather than ~40 minutes. This is despite an asymmetry that favors PPO: PPO trains directly on the deployment task, while TRAM's sources never see the deployment reward or barrier. PPO is therefore an advantaged direct-training reference, not a peer, and even so it does not reach the 10% barrier-risk target. (PPO time is a throughput estimate on CPU.)
- Rating
- 3/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper proposes a training-free deployment-time framework that combines risk neutral policies trained using source-scored reward-risk values called TRAM-Test-time Risk Adaptation via Mixture of Agents. TRAM scores the source policies during the deployment and selects the high scoring policy. The main aim of the TRAM is deployment time training free policy for the deployment time changes in the safety requirements and alignment constraints. TRAM improves deployment safety across gridworlds, reacher, safety gymnasium and LLM alignment without retraining.
Strengths and weaknesses
The main strength of the paper is showing improving results with TRAM.
Risk-aware source training doesn’t mean avoiding all the risk paths but mitigating the risk while maximizing the reward. Also, Figure 2.a should be the similar for risk-aware sources as well otherwise the training phase would be sub-optimal, also the tone suggesting this including in the section 3.2. Hence, this suggests to me that base policies are not strong enough. What if you train a baseline with all the data and constraints mixed/cross-samples? Since, only combinations of the constraints are changed in your settings, what if you train a baseline with all the data and constraints mixed/cross-samples? This is the main weakness for me.
Questions
-
What is the time and compute cost for the TRAM?
-
If per source risk is known a prior, what is the difficulty of learning a single policy? Eg. Neural networks are universal function approximators, meaning they can model those behaviours in a single function/policy.
Limitations
Yes.
Final justification
I appreciate the author's responses. I also think the pipeline is interesting and has the potential to develop as a good paper but as I said the concerns about the similarity with the existing works remain. Hence, I will keep my rating.
Formatting concerns
N/A
6 comments
Thank you for engaging closely with the motivation.
"Risk-aware source training doesn't mean avoiding all the risk paths but mitigating the risk while maximizing the reward. Also, Figure 2.a should be the similar for risk-aware sources as well otherwise the training phase would be sub-optimal ... this suggests to me that base policies are not strong enough."
Figure 2(a) is about risk misspecification, not weak training: a source trained optimally for one risk is still wrong when the deployment risk is a different one. We are not claiming the risk-aware sources are poorly trained. The point is that a source trained for one particular risk, even to the optimum, is specialized to that risk and becomes misspecified when the deployment risk is a different quantity. This follows only from the fact that variance, barrier exposure, and KL-to-a-reference are genuinely different risk measures (Section 3.2, Limitation 3), so a policy optimized for one need not be good for another. That it is not an artifact of weak training is exactly the reviewer's point taken seriously: the risk-aware sources are the genuine optimum for their mean-variance risk objective under the guarantees of Gimelfarb et al. [2021], so their failure at deployment comes from the mismatch of risk objective, not a training deficiency. We will revise the Figure 2(a) caption to say the risk-aware source is specialized to the wrong risk, rather than that it "collapses diversity."
"What if you train a baseline with all the data and constraints mixed/cross-sampled? Since only combinations of the constraints are changed in your settings ... This is the main weakness for me."
The mixed-constraint baseline cannot be built in our setting, because there are no constraints in the training data to mix. Our source policies never observe any risk during training, in any form: no barrier, no cost signal, no risk label. Cross-sampling constraints presupposes constraints that simply are not present at training time, so the baseline requires information our setting withholds by construction. This is the crux: any method that trains on constraints has already assumed the deployment risk is known and labeled during training, which is exactly the assumption we remove.
The most closely related trainable version of the reviewer's suggestion is constraint-conditioned safe RL such as CCPO [Yao et al., 2023]. It is instructive because its own stated motivation is that fixed-constraint training "can hardly be deployed for different threshold conditions after training." CCPO addresses this by conditioning on a constraint and training across a family of them, so it can adapt to new thresholds of a known constraint family. But it must still know that family at training time and must retrain for a genuinely new type of risk. So even the strongest form of the suggested baseline does not cover our setting: it handles recombinations of known constraints, whereas TRAM adapts to new kinds of risk (a spatial barrier, a KL-to-reference, a volatility penalty; Appendix A, R1 through R8) supplied only at deployment, with no updates.
This is also why risk-neutral sources are the right design rather than a limitation. A source specialized to risk A is wrong under risk B; a risk-neutral source is specialized to nothing and can be scored under whichever risk arrives at deployment. The cost runs the other way too: a source trained conservatively for a guessed risk wastes that conservatism when deployment turns out benign, as seen in Figure 3(b), where TRAM takes high-reward paths under no risk while a risk-aware source stays uniformly cautious. One cannot train for the true deployment risk (it is unknown and unlabeled), and guessing a risk is actively harmful. Training the sources risk-neutrally is precisely what keeps the widest range of behaviors available before the deployment risk is known; this holds in every setting, since the control sources are trained risk-neutrally and the language sources are fixed pretrained models never optimized for the deployment KL risk.
Question: "What is the time and compute cost for the TRAM?"
Online scoring costs per state with successor features, or with cached value tables, plus an risk lookup; no gradients, no parameter updates. Measured on Safety-Gymnasium, dynamic TRAM selection over a 20-policy bank costs 2.646 ± 0.009 s per warm 1,000-step episode (95% CI over 30 episodes; ~2.65 ms per action, ~3.49 s cold-start). Occupancy estimation for the source library is a separate offline, one-time cost (~47–94 s per source, five-seed means), paid once when the library is built rather than per specification. The informative comparison is against retraining: a directly-trained constrained policy (constrained PPO) requires ~40 min of online training per specification to reach a useful operating point, whereas TRAM adapts to a new specification at inference cost with no training (see Reviewer KRRg for the full comparison).
Question: "If per source risk is known a prior, what is the difficulty of learning a single policy? Eg. Neural networks are universal function approximators, meaning they can model those behaviours in a single function/policy."
Universal approximation concerns representability, not learnability without the target. A single network could represent the optimal risk-conditioned policy, and one can even pass the risk specification in as an input and train across a family of risks. But this presupposes exactly what our setting removes. To train such a network one must have the risk functions available at training time, as a distribution to condition on and optimize over. The moment a risk appears at deployment that lies outside that training family (a new kind of hazard, or a different risk functional), the conditioned network has never been trained on it and must go back to training or fine-tuning to handle it. That is precisely the retraining cost TRAM exists to avoid: TRAM instead evaluates the new risk functional on the already-cached occupancies of a fixed library, with zero updates and no prior exposure to that risk. So sufficient capacity does not help without the training signal. Where the risk family is known and enumerable at training, a constraint-conditioned policy (e.g. CCPO [Yao et al., 2023]) is a strong and complementary baseline, but it is trainable only under training-time knowledge of the risk, and any genuinely new risk sends it back to training, whereas TRAM adapts with none. We are adding a single-policy/constrained baseline (shared with the KRRg skyline) to make this concrete.
We hope these responses clarify the contribution.
Dear Reviewer EysN,
Thank you again for your careful review. As the discussion period is open, we wanted to note that we have posted responses to your points.
We would be glad to expand on any of this and would welcome any follow-up questions. Thank you for your time.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
We appreciate the summary and the four areas identified: baseline strength, sensitivity analysis, computational scalability, and risk in the LLM setting. We have added a constraint-aware baseline, a sensitivity analysis over the tradeoff weight, and direct cost measurements; we address each below.
Baseline strength. We have added a constraint-aware baseline: a constrained PPO policy trained directly on the deployment specification (goal (0.5,0.5), barrier at (0.245,0.245), radius 0.18), with an adaptive Lagrange multiplier targeting a 10% barrier-risk level, for 750k steps. Under a common evaluator (identical barrier, horizon, and 300 episodes as TRAM) it reaches barrier-hit 0.24, and even with direct access to the deployment goal during training it does not meet the 10% target. The purpose is to make the true axis of comparison visible: obtaining a policy this way costs ~40 minutes of training, repaid for every new specification, whereas TRAM reaches comparable safety by scoring a fixed library at inference (~2.6 s/episode) with no task-specific training. Building the library is an offline, one-time cost reused across all specifications and does not enter the per-specification cost. This reframes the question from "which final policy is safest" to "what does zero-update adaptation cost and save relative to retraining."
Sensitivity analysis. We have run a sweep over the tradeoff weight c, and it produces a clear return–safety tradeoff: as c increases, the deployed policy moves from high-return/high-risk to low-return/low-risk. On Safety-Gymnasium across five barrier radii (0.03–0.30) this holds at every radius, reported over three evaluation seeds at the main radius (0.18) (details in our response to Reviewer KRRg). On the meaning of c: its link to the tolerance δ is explicit. Eq. (3.1) maximizes return subject to ρ≤δ and Eq. (3.2) is its penalized form, so by the Lagrangian correspondence each c≥0 maps to an achievable δ(c) that decreases as c grows, and Algorithm 1's screening step can also exclude sources whose estimated risk exceeds δ so a tolerance can be imposed directly. We will also report the c value used for every headline number, which was omitted from the submission.
Computational scalability. We first clarify a framing point: occupancy estimation is done offline, as part of preparing the source library, and is not part of TRAM's deployment cost. What TRAM pays to adapt to a new specification at deployment is only the inference cost, 2.646 ± 0.009 s per warm 1,000-step episode (95% CI over 30 episodes) for a 20-policy library, with no training. The occupancy computation happens before deployment, once per source, and is reused for every future specification, whereas retraining pays a full solve for each new specification. Separately, we address the reviewer's specific concern that occupancy estimation might itself be as expensive as retraining: it is not. On Safety-Gymnasium (a continuous, non-enumerable setting, not a tabular one), estimating one frozen source's occupancy costs 47.01 s at 50 rollouts (95% CI 46.68–47.34) and 93.97 s at 100 rollouts (95% CI 93.33–94.62), across five seeds on one CPU node; the 50-rollout estimate is already within 0.0128 of the high-budget reference in total-variation distance and the 100-rollout estimate within 0.0021. So even this offline step is on the order of a minute or two per source, far below the roughly 40-minute cost of retraining a policy. We report the occupancy study honestly as a diagnostic on one policy across five seeds rather than a universal guarantee, and are extending it across the library.
Risk in the LLM setting. Section 5.4 tests the source-scored selection rule at the level of responses, and we will state its scope explicitly: it is not claimed to be covered by the occupancy-based theory of Section 4. Concretely, the risk is a token-level KL divergence between a candidate response and a designated safe reference model, the utility is a target reward model, and the rule selects the response maximizing reward minus the KL penalty. This is the same selection principle as elsewhere (fixed sources, a reward supplied at test time, a newly requested risk penalty), but defined over candidate responses rather than discounted state–action occupancies. Stating this scope removes the apparent disconnect: the LLM result demonstrates the breadth of the selection principle, and we do not claim it instantiates the occupancy analysis.