Abstract
Extracting structured information from videos is critical for numerous downstream applications in the industry. In this paper, we define a significant task of extracting hierarchical key information from visual texts on videos. To fulfill this task, we decouple it into four subtasks and introduce two implementation solutions called PipVKIE and UniVKIE. PipVKIE sequentially completes the four subtasks in continuous stages, while UniVKIE is improved by unifying all the subtasks into one backbone. Both PipVKIE and UniVKIE leverage multimodal information from vision, text, and coordinates for feature representation. Extensive experiments on one well-defined dataset demonstrate that our solutions can achieve remarkable performance and efficient inference speed.
Introduction
While Optical Character Recognition (OCR) has matured significantly, simply converting video text into machine-readable strings is insufficient for advanced industrial applications like automated indexing or summarization. Video text is inherently hierarchical and relational. For instance, a broadcast might display a person's name, their job title, and real-time subtitles simultaneously. Traditional methods often treat these as flat strings, failing to capture the rich semantic relationships between different text elements.
The Video Key Information Extraction (VKIE) task aims to address this by organizing visual text into structured, hierarchical formats. This requires moving beyond coarse-grained segment-level analysis to a fine-grained approach that leverages multimodal context, including spatial coordinates and visual background features.
Methodology
The VKIE task is decomposed into four essential subtasks:
- Text Detection and Recognition (TDR): Utilizing OCR to locate and read text.
- Box Text Classification (BTC): Categorizing text segments (e.g., Title, Subtitle, Person Info).
- Entity Recognition (ER): Identifying specific entities within segments (e.g., a specific name).
- Entity Linking (EL): Mapping relationships between identified entities.
To implement these, two architectures were developed: PipVKIE and UniVKIE.
PipVKIE (Pipeline)
PipVKIE adopts a sequential approach where each subtask is handled by a dedicated model. While straightforward, this architecture is prone to error accumulation, where inaccuracies in early stages (like BTC) propagate through the rest of the pipeline.
UniVKIE (Unified)
UniVKIE represents a significant advancement by unifying BTC, ER, and EL into a single multimodal backbone. Using a Transformer-based architecture, it processes all text boxes in a frame in parallel. It fuses three distinct modalities:
- Visual: CNN-extracted features of the frame background.
- Textual: Token embeddings of the OCR results.
- Positional: Spatial coordinates of the text boxes.
This unified approach allows for multitask learning, where the model learns inter-task dependencies, such as using classification context to improve entity recognition.
Experimental Results
To evaluate these models, a large-scale dataset was curated from 115 hours of video across 88 sources, resulting in over 123,000 annotated text boxes.
UniVKIE significantly outperformed both unimodal baselines and the PipVKIE pipeline across all metrics:
- Accuracy: UniVKIE achieved 97.22% accuracy in text classification (BTC) and a 94.58 F1-score in entity recognition (ER).
- Efficiency: By processing boxes in parallel, UniVKIE achieved an inference speed of 56ms per frame—approximately 3.6 times faster than the pipeline approach (205ms).
- Model Compactness: UniVKIE requires only 106M parameters, a substantial reduction from the 350M parameters needed for the multi-model pipeline.
Conclusion
The VKIE framework, particularly the UniVKIE model, provides a robust and efficient solution for extracting structured information from video text. By leveraging multimodal features and a unified architecture, it overcomes the limitations of traditional sequential pipelines. Future work will focus on expanding language support beyond Chinese and exploring stable methods for integrating Large Language Models (LLMs) to further enhance extraction capabilities. The system is currently deployed on industrial AI platforms, demonstrating its practical utility for large-scale media processing.
Summary updated