[Paper Review] Coherent Online Video Style Transfer
This paper proposes the first end-to-end, feed-forward neural network for online video style transfer that ensures temporal coherence by integrating short-term motion flow and occlusion-aware feature blending. By leveraging pretrained image stylization networks and propagating features across frames, it achieves near real-time performance (15 fps) with flicker-free results, outperforming frame-by-frame baselines and matching optimization-based methods in coherence while being 1,000x faster.
Training a feed-forward network for fast neural style transfer of images is proven to be successful. However, the naive extension to process video frame by frame is prone to producing flickering results. We propose the first end-to-end network for online video style transfer, which generates temporally coherent stylized video sequences in near real-time. Two key ideas include an efficient network by incorporating short-term coherence, and propagating short-term coherence to long-term, which ensures the consistency over larger period of time. Our network can incorporate different image stylization networks. We show that the proposed method clearly outperforms the per-frame baseline both qualitatively and quantitatively. Moreover, it can achieve visually comparable coherence to optimization-based video style transfer, but is three orders of magnitudes faster in runtime.
Motivation & Objective
- To address flickering and temporal inconsistency in frame-by-frame neural video style transfer.
- To enable real-time, stable stylization of video sequences using a feed-forward network.
- To achieve long-term temporal coherence by propagating short-term coherence across frames.
- To design a method that is compatible with existing image stylization networks and generalizable to new styles without retraining.
- To reduce runtime by orders of magnitude compared to optimization-based video style transfer while maintaining visual quality.
Proposed method
- Integrates a flow sub-network to estimate dense feature correspondences between consecutive frames, aligning motion trajectories in feature space.
- Incorporates a mask sub-network to detect occlusions and motion discontinuities, enabling adaptive blending of features from current and previous frames.
- Embeds both sub-networks into a middle layer (r1/4) of a pre-trained image stylization network to balance content representation and robustness.
- Trains the entire architecture end-to-end with a joint loss function combining style transfer and temporal coherence objectives.
- Propagates features from previous frames through motion trajectories to extend short-term coherence into long-term consistency.
- Uses fine-tuned FlowNet as the flow sub-network, improving over fixed-weight initialization for better motion alignment.
Experimental results
Research questions
- RQ1Can a feed-forward network achieve stable, flicker-free video style transfer by modeling temporal coherence?
- RQ2How can short-term coherence be effectively propagated to achieve long-term consistency in video style transfer?
- RQ3Can the proposed sub-networks be generalized to new styles without retraining?
- RQ4To what extent does the method improve upon frame-by-frame style transfer in terms of visual and quantitative coherence?
- RQ5How does the method compare in speed and quality to optimization-based video style transfer?
Key findings
- The proposed method achieves 15 fps on modern GPUs, representing a 1,000x speedup over optimization-based video style transfer.
- The stability error (e_stab) is reduced to 0.0038 with r1(D) layer composition, significantly outperforming the baseline (e_stab = 0.0199).
- The method achieves visually coherent results even under camera motion and object motion, with minimal flickering and ghosting artifacts.
- When trained with multiple styles (e.g., [9]), the flow and mask sub-networks generalize to new styles without retraining, preserving stability.
- The method outperforms frame-by-frame baselines both qualitatively and quantitatively, with PSI scores improving from 0.4851 to 0.4086 under optimal settings.
- Fine-tuning the flow sub-network yields significantly better temporal coherence than using a fixed, pre-trained version.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.