1. ECTD
  2. AI News
  3. News
  4. Algorithm Distillation for Safe In-Context Reinforcement Learning

arXiv cs.AI · 17 Nov 2026, 04:16 AEST

Algorithm Distillation for Safe In-Context Reinforcement Learning

normalai

The paper revisits Safe Algorithm Distillation for safe in-context reinforcement learning, using a budget-aware teacher with two phases and collecting its histories under fixed or dynamic budgets. It also proposes A-Lag, a test-time action reweighting method, which had lower mean episode cost than Safe AD in all five environments.

Key facts

  • Safe in-context reinforcement learning (Safe ICRL) asks a policy with fixed parameters to improve on an unseen constrained task from its interaction history while aiming to keep its cost within a budget.
  • Safe Algorithm Distillation (Safe AD), trained on the learning histories of a safe RL algorithm, has shown adaptation failures in prior evaluations.
  • Dynamic budgets increase the occupancy entropy of the return and budget inputs in every environment, and at test time they improve return and lower cost in DarkRoom and HalfCheetah.
  • A-Lag, a test-time adjustment that reweights the distilled policy's actions by their predicted cost, with an adaptive Lagrange multiplier that is updated from the costs observed.
  • In our experiments, A-Lag had lower mean episode cost than Safe AD in all five environments, with lower mean final return in four.

Read aloud

The paper revisits Safe Algorithm Distillation for safe in-context reinforcement learning, using a budget-aware teacher with two phases and collecting its histories under fixed or dynamic budgets. It also proposes A-Lag, a test-time action reweighting method, which had lower mean episode cost than Safe AD in all five environments. Safe in-context reinforcement learning Safe ICRL asks a policy with fixed parameters to improve on an unseen constrained task from its interaction history while aiming to keep its cost within a budget. Safe Algorithm Distillation Safe AD, trained on the learning histories of a safe RL algorithm, has shown adaptation failures in prior evaluations. Dynamic budgets increase the occupancy entropy of the return and budget inputs in every environment, and at test time they improve return and lower cost in DarkRoom and HalfCheetah. A-Lag, a test-time adjustment that reweights the distilled policy's actions by their predicted cost, with an adaptive Lagrange multiplier that is updated from the costs observed. In our experiments, A-Lag had lower mean episode cost than Safe AD in all five environments, with lower mean final return in four.

Sources in this cluster

Free daily email

Get AI news, checked against sources

One short email each morning with the day's model launches, price changes and research. Unsubscribe any time.

We email a confirmation link first. Pro and API plans