Video depth models produce flicker when run frame by frame. To suppress it, they penalize depth that changes quickly from one frame to the next. That fix becomes a liability inside soft fluidic devices driven by pulse-width modulation (PWM), where a valve snaps fully open and closed many times per second instead of throttling smoothly. In a soft actuator, a pumping chamber, or a liquid-filled compliant tube under that kind of drive, the walls really do move quickly. A temporally smoothed depth model then faces two bad choices. It can erase the deformation we want to measure, or it can let the flicker back in. This proposal starts from one observation: in these systems the cause of the real motion is known. The valve command, meaning the PWM phase and duty cycle, is logged at every frame. We propose a streaming depth estimator whose temporal regularizer is conditioned on that signal. It penalizes only depth changes that are neither predicted by the actuation phase nor supported by measured image motion. Flicker is incoherent with both, so it gets suppressed. Real pulsation is coherent with the drive, so it survives.
The second half of the proposal concerns evaluation, which matters as much as the method. Every temporally consistent depth result in this space has been measured either on synthetic scenes or on rigid, dry phantoms. No benchmark currently tests whether a depth model can tell real wall motion from artifact. We will build that benchmark: a liquid-filled silicone conduit pulsed by a high-speed on-off valve, with interchangeable inner-geometry inserts. The inserts control where the flow separates from the wall, and therefore how much of the wall's motion is cleanly periodic and how much is irregular. Ground-truth wall position comes from an independent external measurement synchronized to the valve.
Core Claim
Temporal consistency for deforming scenes should be defined relative to a known excitation, not relative to zero motion. Write the predicted depth at pixel $x$ and frame $t$ as
$$ D_t(x) = \bar D(x) + A_\theta(x, \phi_t, u_t) + r_t(x). $$
Here $\bar D$ is the rest geometry, $A_\theta$ is a learned deformation field driven by the PWM phase $\phi_t$ and duty cycle $u_t$, and $r_t$ is the leftover depth change. Standard stabilizers penalize all of $\partial_t D_t$. We penalize only the part of the residual $r_t$ that is inconsistent with dense optical flow between neighbouring frames. Real motion that is not periodic, such as broadband wall vibration from separated flow, still produces coherent image motion and is therefore allowed through.
The claim is testable and could fail. If simple phase-binned averaging of per-frame depth matches the method everywhere, the conditioning adds nothing beyond a post-hoc filter. We expect the two to separate exactly where the conduit geometry causes flow separation.
Why This Intersection, and What Prior Work Leaves Open
The methods side motivates the gap. Consistent video depth estimation fine-tunes a depth network on each video using camera poses from Structure-from-Motion and flow-based reprojection losses. It reports instability 0.44 and drift 2.12 on handheld video, but it depends on a rigid background for pose recovery, which a pulsating lumen does not provide. DVD turns a video diffusion model into a single-pass depth regressor and stitches temporal windows with a closed-form scale-and-shift fit. That fit is global and linear, while wall pulsation is local. EndoStreamDepth is the closest system to ours: a streaming state-space decoder with scale-invariant temporal regularization that reaches $\delta_1$ = 0.952 on C3VD at about 24 FPS. Its temporal loss, however, assumes the cavity is static, and C3VD itself is built from rigid, air-filled silicone phantoms (C3VD). We reuse EndoStreamDepth's streaming design and C3VD's robotic ground-truth methodology. We change what the temporal loss is allowed to suppress, and we change what the phantom does.
The fluid-mechanics papers define the application regime. Development of High-Speed On–Off Valves and Their Applications establishes that PWM valves inject sharp pressure and flow pulsations; this is the excitation we want to see through. Control of Soft Pneumatic Actuators with Approximated Dynamical Modeling found PWM-driven pressure too choppy to model and replaced the valve with a syringe pump. It also notes that its linear model breaks down at large deformation. Both points argue that the deformation should be measured directly rather than predicted analytically.
On the geometry side, Numerical Delineation of 3D Unsteady Flow Fields in Side Channel Pumps and Investigation on the Flow Behavior of Side Channel Pumps Based on Vortex Identification show that local geometry concentrates unsteady pressure fluctuation. Numerical Study on the Effect of the Pipe Groove Height and Pitch identifies a groove aspect-ratio threshold of about four, below which trapped vortices interact with the main stream. A model of glottal flow incorporating viscous-inviscid interaction shows that the separation point moves with channel shape. These are all simulation or quasi-steady studies, and they constrain our design in a specific way. They tell us which inserts should produce wall motion that is not phase-locked to the drive, and that motion is the regime that breaks naive periodic filtering.
The simulation-based-evaluation literature supplies the methodological stance. Studies that validate only in solvers, such as Minimizing data center cooling and server power costs and An Ejector and Flashbox-Integrated Approach to Flue Gas Waste Heat Recovery, omit unmodelled dynamics. Simulation Distillation shows that models pretrained in simulation need adaptation before they work on hardware. We therefore make real hardware the primary test and use simulation only as a training source whose gap to reality we measure.
Research Program
The rig. We cast a translucent silicone tube in several wall stiffnesses and fill it with water. A high-speed on-off valve drives it at swept PWM frequencies and duty cycles, and a pressure transducer logs the result. Short inner-geometry inserts slot in upstream of the camera's field of view. There will be four:
- a smooth bore;
- an abrupt constriction;
- a corrugated section with groove aspect ratio below four;
- a corrugated section with groove aspect ratio above four.
A small endoscope-style camera looks along the lumen. It is used in two modes: fixed to a rigid inlet ring, so that part of every image is truly static, and moved by a robot arm, following the C3VD protocol.
Ground truth. The outer wall carries a printed dot pattern. An external high-speed calibrated stereo pair, hardware-synchronized to the valve clock, tracks that pattern. We reconstruct the inner surface by offsetting the outer surface by the wall thickness and verify the reconstruction against a rest-state scan. Projecting the inner surface into the internal camera gives per-frame depth.
The method. We extend an EndoStreamDepth-style streaming network with three components:
- a small encoder of $(\phi_t, u_t)$ that modulates the decoder;
- a head that outputs $A_\theta$;
- the residual temporal loss described in the Core Claim, weighted by forward-backward agreement of optical flow.
Pretraining uses the network's original synthetic data plus rendered sequences of pulsing tubes generated by a reduced-order fluid-structure model. Real-rig data is used only for evaluation, and the train and test splits share no inserts.
The science payoff. Once depth is trustworthy, the same recordings let us measure, from video, how the phase lag and the ratio of periodic to broadband wall motion vary with insert geometry and pulse rate. This is the pulsed-inflow separation question that, as far as the literature on Lacuna shows, has been studied only in steady or simulated conditions.
Baselines
Naive reference. The do-nothing reference is per-frame Depth Anything v2 run zero-shot with per-frame scale-and-shift alignment. The only Lacuna figure for this family in conduits comes from the EndoStreamDepth paper, which reports competing models, including Depth Anything v2 and FlashDepth, at $\delta_1$ between 0.730 and 0.850 on C3VD. It sets the floor for flicker.
Strongest existing method. The strongest competitor is EndoStreamDepth itself: $\delta_1$ = 0.952 on C3VD at roughly 24 FPS on an A6000, per EndoStreamDepth. It is strongest because it is the only real-time, temporally regularized model already validated in tubular phantoms. To make the comparison fair, we fine-tune it on exactly the same synthetic pulsing-tube data, with the same GPU budget and the same hyperparameter-search budget as our model. We also verify that our reproduction matches its reported C3VD $\delta_1$ before running it on the rig.
Other video-depth methods. DVD reports AbsRel 5.5 on ScanNet and 6.7 on KITTI; we run it zero-shot with its window stitching, as published. Consistent video depth estimation reports instability 0.44 and drift 2.12 on its custom set. We run it only in fixed-camera mode, giving it the rig calibration as poses, because its Structure-from-Motion stage is expected to fail on deforming walls. This serves as an offline upper reference on consistency that ignores the latency limit.
Post-hoc phase filter. This baseline takes per-frame depth, bins it by PWM phase over the preceding cycles, and replaces each frame with its bin mean. A variant applies a Kalman filter with a periodic state model instead of binning.
Ablations. Two ablations isolate the key ingredient. In the first, the actuation input is replaced by a phase signal shuffled across cycles. In the second, the residual loss is replaced by plain temporal smoothness with matched weight.
What counts as winning. Beating the baselines means reducing flicker on the static inlet ring to the level of the strongest stabilized baseline while recovering ground-truth deformation amplitude much more completely. Above all, it means preserving broadband wall motion on the low-aspect-ratio and constriction inserts, where the phase filter should fail.
Why not just…?
Why not just remove the pulsation in hardware, with an accumulator or a syringe pump? For control, this works, as Control of Soft Pneumatic Actuators with Approximated Dynamical Modeling shows by raising grasp success from 67.5% to 92.5%. It does not answer our question, though. On-off valves are used precisely because they are small and lose little energy (Development of High-Speed On–Off Valves and Their Applications). Physiological and pumped conduits pulse whether or not we want them to. And a smoothed drive still deforms the walls, only more slowly. We include a smooth-drive condition on the rig, in which every method should converge. That condition doubles as a sanity check that our gains come from pulsation.
Why not just phase-average per-frame depth after the fact? This is the real threat. On the smooth-bore insert at fixed duty cycle, phase averaging may match our method, and if it does we will report that plainly. It has three structural weaknesses. It needs many past cycles, which adds latency. It cannot follow cycle-to-cycle changes when the duty cycle is varied. And it averages away real motion that is not phase-locked. The decisive check is the broadband-energy recovery metric on the separation-prone inserts. If the phase filter matches us there too, the claim shrinks to latency alone.
Why not just train on simulation, or fine-tune a foundation model on phantom video without the actuation signal? Simulation-only validation is exactly the failure this proposal targets. We will quantify the sim-to-real drop directly by reporting each model's error on rendered sequences against its error on the rig. Fine-tuning without the actuation signal is our second ablation, plain temporal smoothness with matched data. If it matches the full model, the actuation conditioning is unnecessary and the benchmark becomes the main contribution.
Proposed Experiments and Decisive Checks
All methods are scored on the rig's held-out inserts. Accuracy is measured with AbsRel and $\delta_1$ against stereo-derived depth. Flicker is the frame-to-frame standard deviation of depth on the static inlet ring. Deformation fidelity has two measures. The first is the ratio of predicted to true spectral power at the PWM fundamental and its harmonics. The second is predicted versus true power outside those harmonics, which isolates aperiodic motion driven by flow separation.
Three outcomes would decide the proposal. The first is a crossing pattern. Standard stabilizers should cut flicker but also cut harmonic power. Per-frame models should keep harmonic power but flicker. Our model should do well on both measures. The second is a separation by geometry. The gap between our model and the phase filter should be small on the smooth bore and large on the low-aspect-ratio grooves and the constriction, tracking the broadband wall energy that the external stereo measures independently. The third is that the shuffled-phase ablation should lose most of the harmonic-power advantage. If any of the three fails, we learn which assumption broke: that the drive explains the motion, that separation produces aperiodic wall motion, or that flow consistency separates real motion from flicker.
References
- Consistent video depth estimation
- DVD: Deterministic Video Depth Estimation with Generative Priors
- EndoStreamDepth: Temporally Consistent Monocular Depth Estimation for Endoscopic Video Streams
- Colonoscopy 3D video dataset with paired depth from 2D-3D registration
- Development of High-Speed On–Off Valves and Their Applications
- Control of Soft Pneumatic Actuators with Approximated Dynamical Modeling
- Numerical Delineation of 3D Unsteady Flow Fields in Side Channel Pumps for Engineering Processes
- Investigation on the Flow Behavior of Side Channel Pumps Based on Vortex Identification
- Numerical Study on the Effect of the Pipe Groove Height and Pitch on the Flow Characteristics of Corrugated Pipe
- A model of glottal flow incorporating viscous-inviscid interaction
- Minimizing data center cooling and server power costs
- An Ejector and Flashbox-Integrated Approach to Flue Gas Waste Heat Recovery: A Novel Systematic Study
- Simulation Distillation: Pretraining World Models in Simulation for Rapid Real-World Adaptation