Drift-Budgeted Factory Transport Plans, Learned Without Unsafe Trials

Factory schedulers that plan machines and mobile robots together assume every robot always knows exactly where it is. That holds only when overhead cameras or beacons track the fleet. Take that infrastructure away, and each robot's position estimate gets worse with every meter it drives through a featureless aisle. The estimate snaps back only when the robot passes something it recognizes, such as a fiducial marker, a machine outline, or a distinctive shelf. This proposal treats "uncertainty since the last landmark" as a scheduled resource. The planner must route each robot past a landmark before its position uncertainty eats the clearance that keeps it from hitting others. Because nobody knows in advance how fast drift grows in each aisle, the system learns those rates during operation. While it learns, it may only try routes it can already prove are safe.

Put in two sentences: the high-level factory plan should decide where robots re-localize, not just where they deliver parts. The drift rates that govern this decision should be learned online, with routes chosen so that clearance is never violated while learning. This joins three directions that have not met. The first is integrated scheduling, which co-plans machines and transport but assumes perfect positions. The second is the push to cut external localization, which accepts drift but has no notion of a production schedule. The third is safe exploration, which offers machinery for constraints that accumulate along a path but assumes the state is observed exactly.

Core Claim

The claim has three parts. Pose uncertainty along a robot's cyclic route behaves like an accumulated path cost that resets at landmarks. That structure can be written as linear constraints inside the road-and-junction scheduling program of An Anytime, Scalable and Complete Algorithm for Embedding a Manufacturing Procedure in a Smart Factory without destroying its scalability. With per-aisle drift rates estimated online and planned pessimistically, the resulting plans keep throughput close to plans built with known drift rates, and the learning phase has zero clearance violations. The claim has a falsifiable edge. If a single robust plan using worst-case drift rates matches the learned plan's throughput, the learning component is not worth having, and the contribution shrinks to the constraint formulation alone.

Prior Work and Where This Sits

The scheduling substrate comes from Leet et al. Their first paper, Jointly Assigning Processes to Machines and Generating Plans for Autonomous Mobile Robots in a Smart Factory, formulates joint process assignment and cyclic robot routing as one mixed-integer program (ACES). It shows that joint planning avoids machines starving behind transport congestion. Their follow-up (TS-ACES) abstracts the floor grid into roads and junctions and time into "epochs" (the fixed time to traverse one road). It then solves a high-level flow program and expands it into collision-free cell paths in 0.01 to 0.02 s. Both papers motivate this work by omission: robots occupy exact cells at exact epochs. We reuse TS-ACES's abstraction as the method and change what is tracked along each road.

Three papers show why the tether matters but offer no scheduling remedy. Approaches to Multi-Robot Exploration and Localization used ceiling cameras ("Pseudo GPS") as an acknowledged lab crutch for multi-robot mapping. What Matters in Learning A Zero-Shot Sim-to-Real RL Policy for Quadrotor Control? A Comprehensive Study transfers learned flight controllers zero-shot but still depends on motion capture for position, and lists onboard estimation as future work. Onboard systems such as An Open-Source Soft Robotic Platform for Autonomous Aerial Manipulation in the Wild show that infrastructure-free operation works. They also expose the drift and occlusion problems that a fleet schedule would have to absorb. We do not improve the estimator. We take its drift behavior as given and plan around it.

From safe reinforcement learning we borrow a specific idea. Constrained Markov Decision Processes via Backward Value Functions turns a cumulative trajectory constraint into a local check that "cost so far plus expected future cost" stays under budget. That check keeps training feasible throughout, not only at convergence. Our drift budget is the same shape: uncertainty accumulated since the last landmark, plus uncertainty added by the next road, must stay under a clearance-derived limit.

The difference from BVF is twofold. In BVF the "cost so far" is estimated from rollouts of a policy over exact states. Here it is a physical quantity whose growth rate per road is unknown, and the decision being explored is a combinatorial plan, not a continuous controller.

The observability problem in Safety Gymnasium: A Unified Safe Reinforcement Learning Benchmark also motivates the work: its environments feed exact states from the physics engine. So do the supervisor designs of Combining Reinforcement Learning with Model Predictive Control for On-Ramp Merging, which reaches 0% crashes with perfect perception and names sensor noise as open.

Breaking Safety Paradox with Feasible Dual Policy Iteration constrains the design. It shows that safe learners see too few boundary transitions to learn where the boundary is. In our setting, that predicts a purely pessimistic planner will never test aisles that are in fact low-drift. This is why the program below includes deliberate, provably safe probing of uncertain roads.

Research Program

Each road $e$ in the TS-ACES graph gets a drift rate $q_e$: position variance added per traversal, which depends on the visual features along that road. Each junction is either a landmark, where variance resets to $\sigma_0^2$, or not. A robot of physical clearance margin $d$ is safe if its position standard deviation never exceeds $d/z$, where $z$ sets the tolerated probability of a clearance violation under a Gaussian error model. Along any stretch of the cyclic route between two landmark visits, this requires

$$\sum_{e \in \text{stretch}} q_e \le B, \qquad B = (d/z)^2 - \sigma_0^2.$$

Here the sum is over the roads traversed between consecutive landmark junctions. We encode it in the flow program with a discretized "uncertainty level" index on robot flows, much like resource-constrained routing. Flow moves to a higher level on drifting roads, drops to zero at landmarks, and is forbidden above $B$. The added variables grow with the number of discretization levels times the number of roads. The first technical question is whether TS-ACES still solves the 108-machine scenarios under this augmentation. Two alternatives fall out of the same encoding. Slowing down on a road can be modeled as a lower $q_e$ at a longer epoch. A deliberate detour through a landmark junction is simply a routing choice.

Learning enters because the $q_e$ are unknown. We keep an upper confidence bound $\bar q_e$ and a lower bound $\underline q_e$ per road. Both are updated from the discrepancy between each robot's onboard estimate and the pose it recovers at the next landmark, which is an observation available without external tracking. The executed plan always satisfies the budget under $\bar q_e$, so it is safe whenever the bounds hold. Throughput is ranked using $\underline q_e$ to find which uncertain roads would most raise throughput if they turned out to be benign. To answer the safety paradox, the planner assigns a small number of probe traversals of those roads. Each probe is bracketed by landmarks on both sides, so that even worst-case drift on the probed road stays within budget.

Plans are re-solved at cycle boundaries, using the anytime property of the solver. The low-level path generator is unchanged, so the contribution is located entirely in what the high-level plan carries.

Baselines

The naive reference point is TS-ACES exactly as published, executed by robots that navigate on onboard odometry with drift simulated per road. This shows what the existing plan costs when the tether is cut: throughput lost to emergency stops and clearance violations. As an upper reference we also run TS-ACES with perfect positions, which corresponds to keeping external infrastructure. For context only: on the Contact Lens Large scenario, TS-ACES reports 4.71 units/time against 2.14 for the earlier cell-based ACES (An Anytime, Scalable and Complete Algorithm for Embedding a Manufacturing Procedure in a Smart Factory). That number is under perfect localization. There is no reported result found on Lacuna for any integrated factory scheduler under onboard localization drift, so every drift-condition number in this study will be new.

The strongest practical competitor is TS-ACES with inflated margins: a fixed extra clearance and a fixed fraction of epoch slack on every road, tuned by grid search on held-out drift maps to the smallest values that give zero violations. This is what an engineer would deploy tomorrow.

The strongest principled competitor is our own constraint encoding solved once with worst-case drift rates and no learning. It isolates whether online learning matters.

We also include a stop-rule shield in the spirit of the rule-based overrides of Scalable Multi-agent Reinforcement Learning for Factory-wide Dynamic Scheduling: a robot halts and waits for re-localization help whenever its estimated uncertainty crosses the threshold.

Two ablations target the key ingredients. A certainty-equivalent learner plans with the mean drift estimate instead of the upper bound, which isolates the pessimism that guarantees safety. A pessimistic learner without probe traversals isolates the safety-paradox remedy.

On small instances we add an end-to-end constrained-RL dispatcher, PPO with a Lagrange multiplier from the SafePO library in Safety Gymnasium. It receives the same drift observations and the same wall-clock training budget.

Every method sees the same six industrial scenarios, the same drift maps, the same seeds, and the same solver time limit per re-plan. Beating the inflated-margin baseline means higher steady-state throughput at equal (zero) violation rate. Beating the worst-case robust plan means closing a meaningful share of its throughput gap to the known-drift oracle within a fixed number of production cycles. We set that share at half the gap before running.

Why not just…?

Why not just inflate clearances and add time slack to the existing plan? This is the most serious threat. If drift is roughly uniform across the floor, uniform inflation might be close to optimal. Its weakness is that it pays the worst aisle's margin on every aisle, and it cannot make the plan route past landmarks, so it only delays the point where uncertainty grows past the margin. Leet et al.'s finding that decoupled transport reasoning throttles throughput through congestion suggests blanket slack will cost cycles in dense layouts. That is a hypothesis, not evidence about drift. The decision comes from the drift-heterogeneity sweep below. If inflation matches us at low heterogeneity, we will report that and claim value only where drift varies.

Why not just solve the drift-budgeted program once with worst-case drift rates? This would be a clean, learning-free contribution, and if it wins, the proposal reduces to it. It loses whenever the prior on drift is wide, because it forbids long landmark-free stretches through aisles that are actually feature-rich. The experiment that settles it widens the gap between prior bounds and true rates. We expect the learned plan's advantage to grow with that gap and to vanish when the bounds are tight.

Why not just keep the overhead cameras? Inside a single instrumented hall this is the right answer, and we include it as the upper reference. The case against it is coverage. Ozgelen et al. treat ceiling tracking as confined to pre-instrumented rooms, and occlusion by shelving or cranes forces fallback to onboard estimates regardless. That argument is about deployment cost, not a result this study measures, and we say so.

Why not just train a constrained-RL dispatcher end to end? Constrained methods do sharply cut violations relative to unconstrained ones: the benchmark reports a 98% reduction for PPO with a Lagrangian on velocity tasks. However, they guarantee safety only near convergence, and the backward-value-function paper documents many violations during training for standard constrained methods. A factory cannot afford those. The small-instance comparison measures violations accumulated during training directly.

Proposed Experiments

The simulation study uses the six pharmaceutical and food scenarios from the Smart Factory Embedding benchmarks, from 8 to 108 machines. Each layout gets synthetic feature-density maps that set per-road drift rates. Landmarks are placed at a controlled fraction of junctions, and drift heterogeneity is varied from uniform to strongly patchy.

The metrics are steady-state throughput in units per time, clearance violations during learning and at steady state, cycles until throughput reaches 95% of the known-drift oracle, and solver time per re-plan compared against unaugmented TS-ACES.

The first decisive check is scalability: if the augmented program cannot solve the 108-machine instance within the TS-ACES time limit, the encoding must be coarsened before anything else is claimed. The second is the heterogeneity and prior-width sweep, which determines whether we beat inflated margins and the worst-case robust plan, and where. The third is zero violations across all seeds during learning, including probe traversals. Any violation means the confidence bounds are miscalibrated, and that would be reported as a failure.

A hardware check follows, using a small fleet of wheeled robots on a taped-out factory layout. In a reversal of their original role, the ceiling cameras from the Pseudo GPS setup serve only as a referee for ground truth and are never visible to the robots. This tests whether the variance-growth-and-reset model fits real odometry drift well enough for the budget constraint to hold.