Encoder-Only Semantic Segmentation for Embedded Systems
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current semantic segmentation algorithms are computationally demanding, leading to low frames per second (FPS) rates, making them unsuitable for embedded systems and increasing product costs, despite their accuracy.
Innovation Solution
The proposed solution leverages an encoder convolutional neural network to generate probability values, which are then used by an edge detection algorithm to predict boundaries, eliminating the need for a decoder and using a binary mask to adaptively skip persistent predictions in the CRF computation, thereby reducing computational costs and execution time.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If conventional semantic segmentation algorithms with decoder modules are used, then high accuracy is achieved, but computational cost and execution time increase significantly
Solution Approach 1:
The patent extracts and removes the computationally expensive decoder module from the traditional encoder-decoder architecture, retaining only the encoder to generate initial predictions. This extraction eliminates the majority of computational operations while preserving the essential feature extraction capabilities, thereby achieving real-time processing speeds without completely sacrificing accuracy through subsequent refinement steps.
Solution Approach 2:
The patent segments the semantic segmentation task into distinct stages: initial prediction by the encoder, boundary detection through edge algorithms, and refinement through pixel-wise classification. This segmentation allows each component to operate efficiently at its optimal computational level, with the encoder handling high-level feature extraction and simpler algorithms handling local details.
2Measurement precision
If decoder modules with multiple trainable parameters are used, then accurate full-scale predictions are produced, but device complexity and computational demand increase
Solution Approach 1:
The patent removes the decoder module entirely from the system, eliminating millions of trainable parameters associated with it. The solution replaces the decoder's upsampling and refinement functions with alternative approaches that require minimal parameters, such as edge detection algorithms and simple pixel-wise classification based on encoder outputs.
Solution Approach 2:
The patent replaces the expensive, complex decoder with computationally inexpensive operations that can be executed rapidly. Instead of using a large neural network with millions of parameters for refinement, the system employs simple algorithms with negligible parameter counts, achieving similar functional outcomes with fraction of the computational resources.
3Productivity
If high-end hardware such as GPUs are used, then fast processing is achieved, but product costs increase significantly
Solution Approach 1:
The patent substitutes the reliance on expensive specialized hardware (GPUs) with algorithmic optimizations that enable efficient execution on standard processors. By replacing complex neural network operations with simpler mathematical operations and leveraging CPU cache efficiency, the system achieves comparable processing speeds without requiring costly GPU hardware.
Solution Approach 2:
The patent changes the computational parameters of the system by eliminating operations that require high computational power and focusing on algorithms with lower computational complexity. This parameter change in the algorithmic approach allows the system to run efficiently on commodity hardware, dramatically reducing the hardware cost requirement while maintaining acceptable performance levels.
Data Source
AI summary
A device for assigning one of a plurality of predetermined classes to each pixel of an image, the device is configured to receive an image captured by a camera, the image comprising a plurality of pixels; use an encoder convolutional neural network to generate probability values for each pixel, each probability value indicating the probability that the respective pixel is associated with one of the plurality of predetermined classes; generate for each pixel a class prediction value from the probability values, the class prediction value predicting the class of the plurality of predetermined classes the respective pixel is associated with; use an edge detection algorithm to predict boundaries between objects shown in the image, the class prediction values of the pixels being used as input values of the edge detection algorithm; and assign a label of one of the plurality of predetermined classes to each pixel of the image.


