FlexReader: Towards Adaptive Decoding Paths for Efficient Arbitrary-Length Scene Text Recognition
Zhibin Ma, Pengwen Dai, Zhigang Yao, Xugong Qin, Wenqi Ren, Xiaochun Cao
Abstract
Existing Scene Text Recognition (STR) models are inherently coupled with a specific decoding strategy by their training paradigms, limiting their flexibility in deployment across diverse recognition scenarios. In this paper, we propose FlexReader, an STR model that supports multiple decoding strides, enabling a single model to achieve an optimal accuracy-efficiency trade-off across different datasets. Specifically, we first introduce a Sub-string Perception module to perceive the target sub-string from visual features, followed by multiple parallel decoding blocks that independently decode each character in the sub-string. During inference, FlexReader supports decoding with arbitrary strides within the perceived sub-string range. Furthermore, we propose Adaptive Prefix Decoding, which adaptively selects the decoding stride at each step based on the model's confidence in the decoded characters, thereby identifying the optimal decoding path for each input. Experimental results demonstrate that FlexReader exhibits robust recognition capability across a diverse range of benchmarks, including those featuring long text, curved text, and occlusions. It consistently outperforms existing decoding strategies in recognition accuracy while achieving up to 6-flod decoding speedup over autoregressive decoding.
Create a lesson
Metadata
- Comments
- 11 pages, 5 figures
Related papers
Adapt, Label, Distill: Foundation-Model Supervision for Efficient Object Detection
Shared title terminologycs.CVZhengye Yang, Anthony Wang, Yuyang Li et al.
SPROUT: Predicting Objective-Grounded Prompt Utility for Efficient Text-to-Image Preference Tuning
Shared title terminologycs.CVKangping Hu, Akshay Mehra, Stephen Mussmann
Speculate in the Right Order: Efficient Self-Speculative Decoding for Autoregressive Image Generation
Shared title terminologycs.CVYihan Chen, Jintao Zhang, Jun Zhu
RAPID: Codec-Aware Video Decoding for Efficient Long-Video Understanding
Shared title terminologycs.CVYuna Lee, Yulhwa Kim
MMCoT^3: Empowering 3D Scene Understanding with 3D-Text Interleaved Multi-Modal Chain-of-Thought Reasoning
Shared title terminologycs.CVYongqi Shan, Yifan Wang, Yunzhi Zhuge et al.
Text-Assisted Event Stream Visual Place Recognition via Multi-Scale Spatiotemporal Optimal Transport
Shared title terminologycs.CVLan Chen, Xingxing Xiong, Xiao Wang et al.