[Paper Review] A Binary Convolutional Encoder-decoder Network for Real-time Natural Scene Text Processing
This paper proposes B-CEDNet, a binary convolutional encoder-decoder network that enables real-time natural scene text processing by jointly detecting and recognizing multiple characters in a single forward pass. By enforcing binary weights and activations through training with binary constraints, it achieves 91% pixel-wise accuracy on ICDAR-13 with only 4.59 ms inference time and 2.14 MB model size—8× faster and 96% smaller than its full-precision counterpart.
In this paper, we develop a binary convolutional encoder-decoder network (B-CEDNet) for natural scene text processing (NSTP). It converts a text image to a class-distinguished salience map that reveals the categorical, spatial and morphological information of characters. The existing solutions are either memory consuming or run-time consuming that cannot be applied to real-time applications on resource-constrained devices such as advanced driver assistance systems. The developed network can process multiple regions containing characters by one-off forward operation, and is trained to have binary weights and binary feature maps, which lead to both remarkable inference run-time speedup and memory usage reduction. By training with over 200, 000 synthesis scene text images (size of $32 imes128$), it can achieve $90\%$ and $91\%$ pixel-wise accuracy on ICDAR-03 and ICDAR-13 datasets. It only consumes $4.59\ ms$ inference run-time realized on GPU with a small network size of 2.14 MB, which is up to $8 imes$ faster and $96\%$ smaller than it full-precision version.
Motivation & Objective
- Address the lack of memory-efficient and low-latency solutions for real-time natural scene text processing (NSTP) on resource-constrained devices.
- Overcome the limitations of sequential character detection and high memory usage in existing word-level and character-level recognition methods.
- Enable one-shot, parallel character prediction by learning spatial, categorical, and morphological information through salience maps.
- Achieve high inference speed and low memory consumption through binary weight and activation constraints without sacrificing recognition accuracy.
Proposed method
- Design a binary encoder-decoder architecture with an adapter module that converts input images to binary format before processing.
- Implement binary convolutional layers using XNOR operations for efficient computation, replacing standard convolutions.
- Apply batch normalization and max-pooling in each encoder block to stabilize training and downsample features.
- Use deconvolutional layers in the decoder to upsample and reconstruct high-resolution salience maps matching the input image size.
- Introduce binarization layers after each block to enforce binary activations, enabling bit-level parallelism.
- Train the network using a cross-entropy loss function with pixel-wise categorical supervision, where the output is a probability distribution over 27 classes (26 letters + background).
Experimental results
Research questions
- RQ1Can a binary convolutional encoder-decoder network achieve high accuracy in natural scene text processing while maintaining real-time inference speed?
- RQ2How effective is the use of binary weights and activations in reducing memory usage and accelerating inference without degrading recognition performance?
- RQ3Can the proposed network detect and recognize multiple characters simultaneously in a single forward pass, outperforming sequential detection methods?
- RQ4To what extent does the model generalize to real-world variations in illumination and contrast when trained on synthetic data?
- RQ5How does the XNOR kernel optimization impact inference speed and memory consumption compared to standard convolutional kernels?
Key findings
- B-CEDNet achieves 90% and 91% pixel-wise accuracy on the ICDAR-03 and ICDAR-13 benchmark datasets, respectively, using only 200,000 synthetic training images.
- The model achieves an inference time of 4.59 ms per image on a TITAN X GPU, representing an 8× speedup over the full-precision version.
- Memory usage is reduced to 2.14 MB—96% smaller than the full-precision model’s 66.12 MB—due to binary weights and activations.
- The XNOR kernel optimization yields the highest speedup (17.7×) in the most computation-intensive block (block-8), demonstrating scalability with computational intensity.
- Salience maps show high confidence in normal lighting and contrast conditions, but lower confidence in unevenly lit or low-contrast regions, indicating room for improvement with augmented training data.
- The model's performance is robust under standard conditions, and its accuracy can be further enhanced by expanding the training set to include challenging real-world cases.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.