Rationing Exploration Across a Team Under a Shared Safety Budget

When a team of learning agents explores by letting every member add random noise to its actions at every step, it fails in two ways. It rarely stumbles on the joint behaviors that sparse cooperative tasks need, such as one robot holding a switch while another walks through the door it opens. And because every agent deviates from its current policy at once, the team piles up safety violations quickly, since the risks of simultaneous deviations add up. This note proposes treating exploration as a scarce team resource. At each stretch of an episode, a scheduler decides which small group of agents may deviate from the team's current conservative policy, and how far. The rest behave conservatively. The scheduler picks the group whose deviation promises the most new joint experience per unit of predicted safety cost, and it stops approving deviations once the episode's cost-so-far plus predicted cost-to-go would exceed the budget.

The intended payoff comes on three fronts at once. We expect fewer violations during training, because risk is spent deliberately rather than sprayed across all agents. We expect faster discovery of coordination bottlenecks, because deviations are aimed at agent groups whose joint states are under-visited. And we expect lower-variance off-policy learning, because only the deviating agents' actions need importance correction (reweighting data to account for it having been collected by a different policy). A product of $k$ ratios is far better behaved than a product of $N$.

Core Claim

Under a shared episodic cost budget, the useful question is not "how much should each agent explore?" but "which agents should explore together, right now?" The claim is that a scheduler that lets only a chosen subset of agents deviate, sized to the coordination the task actually needs, will reach sparse cooperative goals with fewer training-time constraint violations and fewer environment samples than two alternatives: coordinated-exploration bonuses bolted onto a safe multi-agent learner, and independent per-agent noise. The ingredient we expect to matter is the pairing of which subset (chosen by joint novelty) with whether it is affordable (checked against a pessimistic cost-to-go estimate). The mere reduction in how many agents perturb at once should not account for the gain, and the experiments are designed to separate these two.

Concretely, at a decision point $t$ in an episode with cost budget $d$, the scheduler selects

$$S_t = \arg\max_{S \in \mathcal{C}} \frac{\nu(S, s_t)}{\hat{c}_S(s_t)} \quad \text{subject to} \quad C_{0:t} + \hat{c}_S(s_t) \le d.$$

Here $\mathcal{C}$ is a candidate set of agent subsets, and $\nu(S,s_t)$ is how rarely the joint state of the agents in $S$ has been visited. The quantity $\hat{c}_S(s_t)$ is an upper-confidence estimate of the episode's remaining cost if $S$ deviates and everyone else stays conservative, and $C_{0:t}$ is the cost accrued so far. If no subset is affordable, $S_t$ is empty and the whole team acts conservatively. Data from this mixed behavior is reused for the conservative policy $\pi$ with the importance weight

$$w_t = \prod_{i \in S_t} \frac{\pi_i(a_{i,t} \mid o_{i,t})}{\mu_i(a_{i,t} \mid o_{i,t})},$$

where $\mu_i$ is agent $i$'s exploration policy. The product runs only over the deviating agents, which is where the variance saving comes from.

Where This Sits in Prior Work

The file shows two literatures that each solve half the problem. The first is coordinated exploration. CMAE projects the joint state onto low-dimensional "restricted spaces," picks under-visited ones as shared goals, and trains a separate exploration policy apart from the target policy. It reports 100% success on the sparse Pass, Secret-Room and Push-Box tasks, where curiosity baselines stay at 0%. EITI/EDTI reward agents for influencing each other's transitions or values. Synergy rewards reward joint effects that individual effects cannot explain. All three motivate this proposal, since they show that relational rather than individual novelty is what finds bottlenecks. All three are also unconstrained: every agent is pushed to explore at once, with no notion of cost. We reuse CMAE's restricted spaces as the source of candidate subsets and of the novelty score $\nu$. We do not reuse its assumption that the whole team should chase the goal simultaneously.

The second literature is safe multi-agent optimization. MACPO and MAPPO-Lagrangian enforce team cost constraints through sequential agent-by-agent trust-region or Lagrangian updates and report near-zero costs on Safe Multi-Agent MuJoCo. Scal-MAPPO-L truncates critics to local neighborhoods. DeCOM adds a learned safety-correcting perturbation on top of a reward-seeking base action. These methods supply our conservative learner. Their exploration, however, is plain policy noise, and the file notes that DeCOM's base policy receives no gradient at all when rewards are sparse.

Our key contrast is with the sequential schemes, A2PO and MACPO. They serialize agents during optimization. We serialize, or more precisely ration, agents during data collection. The two are complementary, and ours addresses A2PO's own stated weakness: importance-sampling variance compounds as the agent sequence grows.

Two single-agent safe-exploration papers supply mechanism. SOOPER falls back to a safe prior when predicted cost threatens the budget and treats fallback as episode termination in its planning objective, which pushes exploration toward safely reachable new states. Backward value functions turn an episodic budget into a per-state check of cost-so-far plus expected future cost. Our affordability test is the multi-agent version of these ideas, with the fallback decided per subset rather than for a single agent. SOOPER also constrains us, because it depends on calibrated uncertainty. We therefore use an ensemble upper bound for $\hat{c}_S$ and measure how violations change as calibration degrades.

Finally, the file raises an open tension (its Gap 2). Injecting non-stationary intrinsic bonuses into the reward may break the monotonic-improvement argument behind MACPO and A2PO. Our design avoids that injection. The novelty signal only drives the exploration policies $\mu_i$ and the scheduler, while the conservative policy $\pi$ is trained on extrinsic reward and cost alone, with importance weights restricted to the deviating subset.

Research Program

The system has three learned parts on top of a MAPPO-Lagrangian learner.

The first part is a set of per-agent exploration policies $\mu_i$. Each is conditioned on a goal in a restricted space and trained CMAE-style toward under-visited joint configurations of its subset.

The second part is an ensemble of centralized cost critics. They estimate the remaining episodic cost given the current state and a deviation mask, meaning which agents follow $\mu$ and which follow $\pi$. Their upper confidence bound serves as $\hat{c}_S$.

The third part is the scheduler. It runs at a fixed decision interval, scores candidate subsets up to a maximum size $k_{\max}$, and applies the budget test. Candidate subsets come from restricted spaces spanning one, two or three agents, which keeps $\mathcal{C}$ small. The combinatorial growth that the file flags for CMAE is handled by capping subset size rather than enumerating the full space tree.

The main analysis is a subset-size study. With a fixed budget, we vary $k_{\max}$ from 1 to $N$ and record training violations, success rate, and the variance of $w_t$. Our hypothesis is that violations rise with $k_{\max}$, that sample efficiency peaks at the task's coordination order (two for Pass and Push-Box), and that weight variance grows roughly exponentially in $k$. The last expectation follows directly from $w_t$ being a product of $k$ per-agent ratios, each with variance above one.

A secondary analysis checks whether the scheduler's choices track real bottlenecks. For example, on Pass the helper-plus-crosser pair should be selected near the switch.

Baselines

The naive reference point is MAPPO-Lagrangian with its default Gaussian exploration noise on every agent, run from the official codebase chauncygu/Multi-Agent-Constrained-Policy-Optimisation. It shows what a safe learner does with uncoordinated exploration. We expect near-zero success on the sparse tasks, since the CMAE paper reports 0% for standard learners there. Its violation count also gives the floor that any exploration scheme might worsen.

The strongest existing competitor is our own composition of existing parts: MAPPO-Lagrangian with CMAE's shared-goal exploration applied to all agents at once, with the cost multiplier active. This is the obvious answer to the gap, and it is the fairest test of whether rationing adds anything beyond coordinated bonuses. MACPO with the same CMAE bonus is a second-order variant. Both use the same network sizes, the same environment-step budget, and the same hyperparameter search budget as our method (an equal number of tuning trials over learning rate, entropy coefficient and exploration weight). For CMAE alone, the file reports 100% success on Pass, Secret-Room and Push-Box, and 47.7% on 3m-sparse against 11.5% for Weighted QMIX with a bonus. These numbers are without hazards. No reported result was found on Lacuna for any coordinated-exploration method under a safety budget, so the hazard-augmented numbers must be produced here. Beating this baseline means matching its success rate within noise while cutting cumulative training violations by at least half, or reaching the same success with meaningfully fewer environment steps at equal violations.

A penalty baseline folds cost into the reward alongside the CMAE bonus, sweeping the penalty weight across three values. This checks the finding of Quanyi Li et al. that fixed penalties either allow catastrophes or produce frozen agents.

A per-agent curiosity baseline (random network distillation on each agent within MAPPO-L) checks the independent-novelty route.

The decisive ablation is random rationing. It keeps the scheduler's subset sizes and its budget test but chooses which agents deviate uniformly at random. If random rationing matches the full method, the gain comes from perturbing fewer agents and not from choosing the right ones. A second ablation removes the budget test while keeping novelty-based selection, which isolates the safety contribution.

Why not just…?

Why not just add CMAE or influence bonuses to MAPPO-Lagrangian? This is the real threat. The Lagrange multiplier may on its own learn to suppress the risky parts of joint exploration. Against it, the multiplier acts only after violations have occurred, which is the file's central complaint about Lagrangian methods: they satisfy constraints asymptotically and may accumulate many violations early on. Coordinated bonuses make this worse, because they push the whole team into unfamiliar joint states together. The head-to-head comparison of training-time violation curves settles it. If the bonus-plus-Lagrangian baseline shows comparable early violations, our claim fails.

Why not just lower the exploration noise, or anneal it, to stay safe? Less noise shrinks risk and discovery together. On zero-incentive bottlenecks, where the helper must commit to an unrewarded action for many steps, small isotropic noise essentially never produces the needed joint behavior, as the 0% results for standard learners in the CMAE paper suggest. We include a noise-scale sweep of the naive baseline so that the trade-off curve is visible rather than assumed.

Why not just let one random agent explore at a time? It would capture the variance and risk benefit of small $k$ for free. It cannot solve tasks like Push-Box, which need two agents to deviate together, and it wastes budget on agents whose deviation reveals nothing. Random rationing is our main ablation for exactly this reason. We state in advance that if it comes within noise of the full method on the hazard-augmented tasks, the paper's contribution reduces to "ration by count," and we will report it that way.

Why not just use a shield? Multi-agent shielding gives zero violations but needs known dynamics and temporal-logic specifications, and it becomes costly as the team grows. It also does nothing to guide agents toward bottlenecks. Where a shield can be built (the discrete MPE variants), we run it as a reference for zero violations and pair it with CMAE, to show what perfect safety knowledge plus coordinated exploration achieves as an upper bound.

Proposed Experiments

The primary testbed is hazard-augmented versions of the MPE sparse tasks Pass, Secret-Room and Push-Box, used in the CMAE and influence-based papers. We add cost-bearing hazard regions placed near, but not on, the routes through switches and doors, with an episodic budget $d$ set at three levels. We also add a four-agent Pass variant with two switches, so that coordination order and team size diverge.

The secondary testbed is Safe ManyAgent Ant and Safe Coupled HalfCheetah from Safe Multi-Agent MuJoCo, used by MACPO and Scal-MAPPO-L. Their rewards are dense, and they check that rationing does not cost reward where exploration is easy. The file contains no numeric results for these tasks, so parity with MAPPO-L is measured directly. The multi-agent partitioned robots in Safety-Gymnasium serve as a third check. The only reported figure there is single-agent: PPO-Lag cut violations by 98% at a 45% reward cost relative to PPO.

The metrics are final success rate, total training episodes over budget, cumulative excess cost, environment steps to 80% success, and the empirical variance of the importance weights. Every run uses at least five seeds.

The decisive checks are three. First, on hazard-augmented Push-Box, the full method must beat random rationing in success at equal violations. This is the test that the choice of subset matters. Second, the subset-size sweep must show violations rising with $k_{\max}$ and sample efficiency peaking near the task's coordination order. A flat curve would mean rationing is irrelevant. Third, on Safe MAMuJoCo, reward must stay within noise of MAPPO-L. Calibration robustness is probed by shrinking the cost-critic ensemble and measuring how quickly violations return, which tells us how much the method inherits SOOPER's dependence on calibrated uncertainty.