Neural Network Subtitle Segmentation with Beam Search Decoder

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current automatic subtitling systems lack accurate segmentation, leading to poorly formatted and grammatically incorrect subtitles due to the absence of informed decision-making, resulting in outputs that are distinguishable from professionally generated subtitles.

Innovation Solution

A neural network model is employed for subtitle segmentation, trained on professionally segmented data, combined with heuristic features and a beam search decoder to optimize segmentation, generating probabilities for segment boundaries while adhering to character limits and readability constraints.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Manufacturing precision

If automatic systems simply fill lines with words until character limit is reached, then the system is simple and fast, but the segmentation accuracy and readability deteriorate

Engineering Contradiction:
Improvesegmentation accuracyVSAvoidsystem complexity
Core Design Contradiction:
Manufacturing precisionVSDevice complexity

Solution Approach 1:

The patent segments the subtitling process into distinct components: a neural network model for predicting segment boundaries, a beam search decoder for optimization, and constraint handling modules. This segmentation allows each component to specialize in specific tasks, improving overall segmentation accuracy while managing system complexity through modular design.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces a neural network model as an intermediary between the input text and the final segmented subtitles. This intermediary learns professional segmentation guidelines from training data and applies them automatically, bridging the gap between simple automatic systems and professional human subtitling quality.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Manufacturing precision

If heuristics based on punctuation marks or geometric rules are used, then the system complexity remains low, but the segmentation quality and grammatical correctness worsen

Engineering Contradiction:
Improvesegmentation qualityVSAvoidsystem complexity
Core Design Contradiction:
Manufacturing precisionVSDevice complexity

Solution Approach 1:

The patent replaces mechanical rule-based heuristics (punctuation marks, geometric rules) with a neural network model that learns segmentation patterns from data. This substitution enables the system to capture complex grammatical and semantic relationships that simple rules cannot detect, significantly improving segmentation quality.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Solution Approach 2:

The patent changes the fundamental parameter of segmentation from rule-based deterministic decisions to probability-based predictions using a neural network. The model outputs probabilities for segment boundaries, allowing flexible optimization against multiple criteria including grammatical correctness, readability, and constraint satisfaction.

Inventive Principle:
Principle #35Parameter changes

3Manufacturing precision

If professional human subtitling guidelines are followed manually, then segmentation quality is high, but productivity and processing speed deteriorate

Engineering Contradiction:
Improvesegmentation qualityVSAvoidprocessing speed
Core Design Contradiction:
Manufacturing precisionVSProductivity

Solution Approach 1:

The patent copies professional human subtitling guidelines into the training data of the neural network model. By learning from millions of professionally segmented subtitles, the model internalizes expert knowledge and reproduces it automatically at machine speed, achieving both high quality and high productivity.

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The patent enables the system to serve itself by automatically applying segmentation guidelines without human intervention. The neural network model independently makes segmentation decisions based on learned patterns, eliminating the need for manual subtitling while maintaining professional quality standards.

Inventive Principle:
Principle #25Self-service

4Manufacturing precision

If beam search decoder with optimization is implemented, then segmentation accuracy improves, but computational complexity and processing time worsen

Engineering Contradiction:
Improvesegmentation accuracyVSAvoidprocessing time
Core Design Contradiction:
Manufacturing precisionVSLoss of time

Solution Approach 1:

The patent applies beam search with a limited beam width rather than exhaustive search. This partial action approach explores only the most promising segmentation paths according to the neural network scores, achieving high accuracy while avoiding the exponential time complexity of complete enumeration.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS12073177B2Method and apparatus for improved automatic subtitle segmentation using an artificial neural network model
Publication Date: 2024.08.27 APPL TECH APPTEK
  • US12073177B2 patent drawing
  • US12073177B2 patent drawing

AI summary

A subtitle segmentation system employs a neural network model to find good segment boundaries. The model may be trained on millions of professionally segmented subtitles, and implicitly learns from data the underlying guidelines that professionals use. For controlling different characteristics of the output subtitles, the neural model may be combined with a number of heuristic features. To find the best segmentation according to the model combination, a dedicated beam search decoder may be implemented. The segmentation system incorporates a trained neural model comprising a word embedding layer, at least two bi-directional LSTM layers, a softmax layer and program instructions for segmenting text into subtitles.