CNN Training for Stable Video Style Transfer

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current automated video style transfer methods require excessive processing power and suffer from temporal instability, making real-time high-quality style transfer at reasonable resolutions and frame rates unfeasible with existing technologies.

Innovation Solution

Training a convolutional neural network (CNN) by applying noise to training data, using an object classifier network to adjust node activation levels, and iteratively minimizing a combined loss function to maintain consistent artistic style across video frames.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of manufacture

If automated style transfer methods are used to transfer artistic style to video frames, then the artistic style is transferred to the video, but the processing requires excessive computing power and time

Engineering Contradiction:
Improveautomated style transfer capabilityVSAvoidcomputing power requirement
Core Design Contradiction:
Ease of manufactureVSUse of energy by stationary object

Solution Approach 1:

The system performs preliminary action by pre-training the neural network model offline with style transfer capabilities. The model learns to map content features to style features during the training phase, so that during actual video processing, the pre-learned mappings can be applied directly without requiring intensive real-time computation. This separates the computationally intensive learning phase from the inference phase.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system creates a simplified computational model that copies the essential style transfer functionality from complex reference implementations. Instead of using heavy models like Gatys' neural style transfer, the patent develops a lighter neural network architecture that replicates the core style transfer effect with reduced computational requirements, enabling real-time processing.

Inventive Principle:
Principle #26Copying

2Ease of manufacture

If automated style transfer methods are used to transfer artistic style to video frames, then the artistic style is transferred to the video, but the style elements are unstable and jump between frames

Engineering Contradiction:
Improveautomated style transfer capabilityVSAvoidtemporal stability of style elements
Core Design Contradiction:
Ease of manufactureVSStability of the object's composition

Solution Approach 1:

The system implements feedback mechanisms through loss functions that compare consecutive frames and penalize temporal inconsistencies. The temporal consistency loss specifically measures the difference in style features between adjacent frames and guides the optimization process to maintain stable style elements across the video sequence. This feedback loop ensures that style transfer results are temporally coherent.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The system applies dynamic adjustments by incorporating temporal information into the style transfer process. The model dynamically adapts the style transfer parameters based on the temporal context, adjusting the transformation to maintain consistency with previous frames while still achieving the desired style effect. This dynamic approach prevents abrupt style changes between frames.

Inventive Principle:
Principle #15Dynamics

3Productivity

If high-resolution video style transfer is performed at reasonable frame rates, then real-time processing is achieved, but computational resources are excessive

Engineering Contradiction:
Improveframe rateVSAvoidcomputational resources
Core Design Contradiction:
ProductivityVSUse of energy by stationary object

Solution Approach 1:

The system segments the video processing task by handling each frame independently through the neural network while applying temporal consistency constraints as post-processing or during optimization. This segmentation allows parallel processing of frames and reduces the computational burden compared to processing the entire video sequence as a unified optimization problem, enabling real-time frame rates.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system changes parameters by using a lighter neural network architecture with fewer layers and parameters compared to traditional style transfer models. The patent also adjusts the resolution and dimensionality of feature representations to reduce computational complexity while maintaining acceptable visual quality. These parameter changes enable processing at higher frame rates with reduced resource consumption.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS10825132B2Training method for convolutional neural networks for use in artistic style transfers for video
Publication Date: 2020.11.03 SERVICENOW INC
  • US10825132B2 patent drawing
  • US10825132B2 patent drawing
  • US10825132B2 patent drawing

AI summary

Systems and methods for use in training a convolutional neural network (CNN) for image and video transformations. The CNN is trained by adding noise to training data set images, transforming both the noisy image and the source image, and then determining the difference between the transformed noisy image and the transformed source image. The CNN is further trained by using an object classifier network and noting the node activation levels within that classifier network when transformed images (from the CNN) are classified. By iteratively adjusting the CNN to minimize a combined loss function that includes the differences between the node activation levels for the transformed references images and when transformed source are classified and the differences between the transformed noisy image and the transformed source image, the artistic style being transferred is maintained in the transformed images.