Undoing Camera Shake for Frozen Robot Policies Without Generating Pixels

Robot policies trained in simulation, or on data from a rigidly mounted camera, see a steady image. When the same policy runs on a legged robot, a mobile base with a running motor, or an arm with a flexing wrist mount, the image shakes. A recent fix for camera changes is to re-render the view the policy expects using a learned novel-view-synthesis model, a network that predicts what a scene looks like from a different camera position. That approach has to invent content wherever the new viewpoint reveals surfaces the real camera never saw. We argue that for the shaking regime, most of this machinery is unnecessary. Almost all of the image change caused by vibration comes from camera rotation, and rotation can be undone exactly with a planar image warp. A planar warp needs no depth map and exposes no hidden surfaces. The small remainder comes from camera translation. It produces holes only at depth edges, their width is predictable from depth, and at exactly those pixels monocular depth estimates are least reliable. Our claim is that those holes are better marked as unknown for the policy than filled in by a generator.

The proposal builds and tests a stabilizer on this principle. It estimates camera rotation by combining a gyroscope, which is accurate over short intervals, with an image-based gravity estimate that corrects slow drift. We need the image-based estimate because the accelerometer's gravity reading is corrupted by vibration and maneuvering acceleration. The stabilizer then applies an exact rotation warp. After that, it applies an optional depth-based translation correction that leaves disoccluded pixels empty and flagged instead of hallucinating them. We measure how much policy success each stage recovers, in simulation with vibration profiles taken from real inertial logs and on a real mobile manipulator.

Core Claim

Consider a camera with focal length $f$ pixels. A small rotation of $\theta$ radians shifts every pixel by roughly $f\theta$. A translation $t$ perpendicular to the viewing direction, seen across a depth edge between a near surface at depth $z_1$ and a far surface at $z_2$, opens a hole of width about

$$w \approx f\,|t|\left(\frac{1}{z_1}-\frac{1}{z_2}\right),$$

which follows directly from pinhole projection of the two surfaces. Take $f=600$ px, a tabletop scene with $z_1=0.4$ m and $z_2=0.8$ m, a 1° rotational jitter, and 2 mm of translational jitter. The rotation moves the whole image by about 10 px. The translation opens holes of about 1.5 px, and only along object silhouettes. Vibration therefore sits almost entirely in the regime where no pixel needs to be invented. Disocclusion becomes significant only for centimeter-scale motion such as mount sway, bumps, or body bob on a legged robot.

The novel content is threefold. First, we treat the correction as a rotation stage followed by a residual translation stage, instead of one learned re-rendering step. Second, we estimate rotation robustly under vibration-corrupted gravity. Third, we test whether the policy is better off seeing flagged unknown pixels or generated ones. The equation above also predicts where the rotation-only stage should stop being enough, and the experiments check that prediction.

Relation to Prior Work

The closest system is AnyCamVLA. It runs a 171M-parameter feed-forward view synthesizer at 30 Hz to re-render the nominal view for a frozen 7B vision-language-action policy, a model that maps images and instructions to robot actions. It reports 94.5% average success on unseen LIBERO viewpoints against 67.9% for the unadapted policy. AnyCamVLA motivates our work and supplies our strongest baseline, but it differs from our proposal in three ways. It handles static viewpoint offsets with known calibration, not per-frame perturbations that must be estimated online. It fills every disocclusion with learned content, which its own analysis flags as a source of smearing that can mislead the policy. It also spends a large network on what is, under vibration, mostly a rotation.

Several papers constrain the design by showing that learned depth fails exactly where our translation stage needs it. MonoSDF shows that biases in external depth priors warp reconstructed geometry. SinMPI and depth-aware few-shot Gaussian splatting document edge bleeding and tearing when depth ordering is wrong at boundaries. Depth Any Video shows that per-frame monocular depth flickers along motion boundaries, and flicker is what a shaking camera induces. Together these papers explain why we confine depth use to the small translational residual. They also explain why we do not trust a depth-guided generator at silhouettes.

Generative disocclusion filling has its own documented failure modes. FreeFix inpaints uncertain regions of 3D Gaussian splatting renders with an off-the-shelf diffusion model, guided by a Fisher-information confidence mask. It assumes clean poses and runs slowly. CamGeo reports view-to-view flicker and content collapse in unobserved regions. We borrow FreeFix's idea of a per-pixel confidence mask, but we use it to tell the policy which pixels are unknown rather than to steer a generator. This follows the split between geometric warping and inpainting in Balakrishnan et al., except that we deliberately stop after the warping step.

The rotation estimator combines two lines of work. Kok and Hol explain why inertial roll and pitch estimates are drift-free in principle. Liu et al. and Co-RaL show that dynamic accelerations and foot impacts corrupt that gravity reference, and that the corruption destabilizes downstream estimation. Saito et al.'s gravity rectifier predicts gravity from a single RGB image and reduces tilted-image depth error by 29%, but it relies on visual cues that weaken in cluttered or textureless views. Our estimator uses the rectifier only as a slow correction to integrated gyroscope rotation, and it never trusts the vibrating accelerometer on its own. Finally, ASM shows that sim-to-real gaps often arise because simulated sensors are too clean. Following that lesson, we inject measured vibration into simulation rather than idealized noise.

Research Program

The stabilizer has three stages.

The first stage estimates camera orientation. It integrates the gyroscope at the inertial rate for high-frequency rotation. It corrects drift in roll and pitch with a gravity direction from the visual rectifier of Saito et al., retrained on robot workspace imagery. It adds a low-pass accelerometer term that is down-weighted whenever the accelerometer norm deviates from 1 g. Yaw is taken relative to a slowly updated reference frame.

The second stage warps each frame by the rotation-only homography, the planar image mapping induced by pure camera rotation, $K R K^{-1}$, where $K$ is the camera intrinsics matrix and $R$ is the rotation between the current and nominal camera orientation. This removes the rotational shake exactly and needs no depth.

The third stage handles translation. We estimate translation from inertial and visual odometry and apply a forward warp using a temporally smoothed monocular depth map. Pixels that land in disoccluded regions are left empty and flagged in an extra binary channel. We decide the policy input format for these flagged pixels, blank or channel-encoded, per policy, and we audit how the policy responds to it.

The analysis component measures vibration spectra on the real platform: the IMU during driving, motor operation, and arm motion. From these we derive rotational and translational jitter distributions, and we inject them into LIBERO simulation as per-frame camera pose perturbations. This yields vibration profiles grounded in real hardware rather than hand-picked. Inertial sequences from EuRoC MAV provide a second, aerial vibration profile. For each profile we compute the predicted hole width from the equation above, so we can test whether the translation stage helps precisely where that prediction says holes become large.

Baselines

The naive reference point is the frozen policy fed raw shaking frames. It establishes how much vibration hurts. No reported result found on Lacuna for LIBERO under per-frame vibration. The nearest reported number is the static unseen-viewpoint success of 67.9% in AnyCamVLA.

The strongest existing method is AnyCamVLA's learned view synthesizer. It reports 94.5% average success on unseen LIBERO viewpoints. We run it frame by frame, driven by the same online pose estimates our stabilizer uses, because it cannot run without poses. Both methods therefore face identical pose error. This isolates the question of generating pixels versus warping and masking them. Our method beats this baseline if it matches or exceeds AnyCamVLA's success rate under vibration within confidence intervals over task seeds, at a fraction of the compute. We would also expect a clear margin in the sway regime, where generated silhouettes could mislead the policy.

A third baseline is policy-side robustness. We fine-tune the policy with vibration augmentation in simulation, using the same total GPU-hour budget our pipeline uses for rectifier training. We report retention on unperturbed tasks, since AnyCamVLA identifies forgetting as the cost of this route.

Ablations isolate each ingredient. The first is the rotation stage alone, which is essentially electronic image stabilization. The second is the rotation estimator with the accelerometer as the only gravity source. The third is the rotation estimator with the visual rectifier as the only gravity source. The fourth replaces our empty flagged pixels with a fast inpainter. The last comparison directly tests whether the policy is better off seeing generated content or explicitly unknown pixels.

Why not just…?

Why not just use ordinary gyro-based image stabilization? If our hole-width estimate is right, this will recover most of the lost success, and we treat that as a likely outcome rather than a threat to hide. The proposal's added value lies elsewhere. The first is the drift problem: a gyroscope alone cannot hold the gravity-referenced orientation the policy was trained on over a long episode. Accelerometer correction fails under the corruption described by Co-RaL, so the visual rectifier is needed. The second is the sway regime, where the rotation-only ablation should fall off as the predicted hole width grows. If rotation-only stabilization with gyroscope and accelerometer matches the full system on all profiles, including long episodes, we will report that the translation and gravity stages are unnecessary.

Why not just run AnyCamVLA's synthesizer with IMU poses? It is the best-performing option in the file for static viewpoint change. However, its generated disocclusions are acknowledged sources of smearing. It also costs a 171M-parameter forward pass per frame, and under vibration it would mostly be solving a problem a homography solves exactly. The matched-pose comparison settles which approach is better. The sway-regime split shows where generation might still pay.

Why not just train the policy with shaking-camera augmentation? This needs no new components at test time, which is a real advantage. It does require retraining large policies and risks the skill forgetting that AnyCamVLA cites. It also bakes in whatever jitter distribution was simulated. We test it at equal compute and evaluate it on a held-out vibration profile, the EuRoC aerial spectrum, to see whether it generalizes as well as input-side correction.

Proposed Experiments

In simulation, we evaluate LIBERO task success for every baseline and ablation under three conditions. The first is measured ground-robot vibration at several amplitudes. The second is the held-out EuRoC-derived profile. The third is a mount-sway sweep that raises translational jitter from millimeters to several centimeters. Because simulation provides the true nominal view, we also report reconstruction quality of the corrected image, both overall and inside predicted disocclusion bands.

The decisive checks are three. First, the gap between rotation-only and full correction should track the predicted hole width $w$ across the sway sweep, staying near zero at small $w$ and growing with it. Second, flagged unknown pixels should match or beat inpainted pixels in policy success in the sway regime. Third, the fused rotation estimator should hold roll and pitch error below the accelerometer-only variant during aggressive base motion. We measure this against motion-capture ground truth on the real robot.

On hardware, we run a subset of pick-and-place tasks on a mobile manipulator in two conditions: with the base motor running and while driving over uneven floor. We compare the raw frozen policy, rotation-only stabilization, AnyCamVLA with online poses, and the full pipeline. If the first check fails, meaning rotation-only stabilization is as good everywhere, the paper's conclusion becomes that re-rendering is unnecessary for vibrating robots. That is still a useful negative result for the view-synthesis line of work.