OCR Hybrid Decoders with Shared Feature Extractor

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current optical character recognition (OCR) systems face challenges in accurately recognizing hand-printed text due to variations in handwriting styles and quality, which can lead to inconsistent results and increased processing requirements.

Innovation Solution

The system employs a hybrid approach using a combination of connectionist temporal classification (CTC) and attention-based decoders, sharing a common feature extractor to generate intermediary outputs, and selects the output with the higher quality metric value based on a language model for improved recognition accuracy.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If a single decoder is used for OCR, then the device complexity is low, but the recognition accuracy is insufficient due to handwriting variations

Engineering Contradiction:
Improverecognition accuracyVSAvoiddecoder complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The system segments the text recognition task by employing multiple specialized decoders (e.g., CTC decoder for sequence alignment, attention-based decoder for contextual understanding) that each handle specific aspects of handwriting recognition. This segmentation allows each decoder to optimize for its specific function, improving overall recognition accuracy while managing complexity through modular design

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system merges multiple decoder outputs by combining their intermediary results and selecting the best final output based on quality metrics. This merging approach leverages the complementary strengths of different decoder architectures to achieve higher recognition accuracy than any single decoder could provide alone

Inventive Principle:
Principle #5Merging (Combining)

2Measurement precision

If multiple decoders are used to improve accuracy, then the recognition quality improves, but the processing time increases

Engineering Contradiction:
Improverecognition qualityVSAvoidprocessing time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The system performs preliminary processing by extracting features once and generating intermediary outputs from multiple decoders in parallel before final selection. This preliminary action on feature extraction and intermediary generation allows the system to evaluate multiple hypotheses efficiently without redundant processing, reducing overall processing time while maintaining high recognition quality

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system applies partial action by selectively processing only the necessary decoder outputs based on quality metric thresholds. Instead of fully processing all possible decoder combinations, the system evaluates intermediary outputs and selects the best one, performing excessive action only when needed to achieve the required accuracy level

Inventive Principle:
Principle #16Partial or excessive action

3Measurement precision

If multiple decoders generate different hypotheses, then the recognition accuracy improves, but the processing requirements increase

Engineering Contradiction:
Improvetext recognition qualityVSAvoidprocessing requirements
Core Design Contradiction:
Measurement precisionVSUse of energy by moving object

Solution Approach 1:

The system introduces intermediary outputs as intermediate representations that capture essential features from multiple decoders before final decision-making. These intermediary outputs serve as mediators that consolidate information from different decoders, allowing the system to evaluate multiple hypotheses without fully processing each complete hypothesis, thereby reducing computational energy requirements while maintaining improved recognition accuracy

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS11568140B2Optical character recognition using a combination of neural network models
Publication Date: 2023.01.31 ABBYY DEVELOPMENT INC
  • US11568140B2 patent drawing
  • US11568140B2 patent drawing
  • US11568140B2 patent drawing

AI summary

Embodiments of the present disclosure describe a system and method for optical character recognition. In one embodiment, a system receives an image depicting text. The system extracts features from the image using a feature extractor. The system applies a first decoder to the features to generate a first intermediary output. The system applies a second decoder to the features to generate a second intermediary output, wherein the feature extractor is common to the first decoder and the second decoder. The system determines a first quality metric value for the first intermediary output and a second quality metric value for the second intermediary output based on a language model. Responsive to determining that the first quality metric value is greater than the second quality metric value, the system selects the first intermediary output to represent the text.