基於類比學習的多語言文本檢測
MENTOR: Multilingual tExt detectioN TOward leaRning by analogy
摘要
收集和標記訓練數據是件很麻煩的事,導致用於多語言文本檢測的代表性訓練數據集仍缺乏。此外,當要求經過訓練的檢測器檢測新語言的文本時,收集足夠量的標記數據以對檢測模型進行重新訓練以識別新語言的成本實際上是相當可觀的,更不用說每當出現一種新的語言時這樣的例程就要再重複一遍。這促使我們提出一個新的問題設置,以更有效的方式解決上述挑戰:我們要求一個泛化的多語言文本檢測框架來檢測和識別場景圖像中看過和沒看過的語言區域,而無需收集看不見的語言的監督訓練數據和模型也不需要重新訓練。為此,我們提出了“MENTOR”,這是我們所知的第一個研究,用於實現多語言場景文本檢測任務的零樣本學習和少樣本學習之間的學習策略。在訓練階段,我們利用“零成本”合成打印文本和已經提供的訓練和看過的語言來學習從打印文本到特定語言內核權重的元映射(metamapping)。同時,訓練由特定語言內核引導的動態卷積網絡,實現按特徵匹配檢測的方案。在推理階段,“零成本”印刷文本被合成為一種新語言。通過利用學習到的元映射和匹配網絡,我們的“MENTOR”可以自由識別新語言的文本區域。從一系列的實驗中可以得知,我們的模型可以在看過得語言的監督方法中獲得可比較的結果,並且在檢沒看過的語言方面優於其他方法。
Collecting and labeling training data are cumbersome, leading to a lack of representative
training datasets for multilingual text detection. Furthermore, when asking a trained detector to
detect texts of a new language, the efforts for collecting sufficient amount of labeled data for
performing the re-training on the detection model to recognize the new language is actually considerable,
not to mention that such routine repeats every time when a novel language appears.
This motivates us to propose a new problem setting for tackling the aforementioned challenges
in a more efficient manner: We ask for a generalized multilingual text detection framework to
detect and identify seen and unseen language regions inside scene images without the requirement
of collecting supervised training data for unseen languages and model re-training. To this
end, we propose “MENTOR”, which is the first work, to the best our knowledge, to realize
a learning strategy in-between zero-shot learning and few-shot learning for the task of multilingual
scene text detection. During the training phase, we leverage the “zero-cost”synthesized
printed texts and the available training/seen languages to learn the meta-mapping from printed
texts to language-specific kernel weights. Meanwhile, dynamic convolution networks guided by the language-specific kernel are trained to realize the detection-by-feature-matching scheme. In the inference phase,“zero-cost”printed texts are synthesized for a new language. By utilizing
the learned meta-mapping and the matching network, our “MENTOR”can freely identify the text regions of the new language. Experiments show our model can achieve comparable results with supervised methods for seen languages and outperforms other methods in detecting unseen languages.
training datasets for multilingual text detection. Furthermore, when asking a trained detector to
detect texts of a new language, the efforts for collecting sufficient amount of labeled data for
performing the re-training on the detection model to recognize the new language is actually considerable,
not to mention that such routine repeats every time when a novel language appears.
This motivates us to propose a new problem setting for tackling the aforementioned challenges
in a more efficient manner: We ask for a generalized multilingual text detection framework to
detect and identify seen and unseen language regions inside scene images without the requirement
of collecting supervised training data for unseen languages and model re-training. To this
end, we propose “MENTOR”, which is the first work, to the best our knowledge, to realize
a learning strategy in-between zero-shot learning and few-shot learning for the task of multilingual
scene text detection. During the training phase, we leverage the “zero-cost”synthesized
printed texts and the available training/seen languages to learn the meta-mapping from printed
texts to language-specific kernel weights. Meanwhile, dynamic convolution networks guided by the language-specific kernel are trained to realize the detection-by-feature-matching scheme. In the inference phase,“zero-cost”printed texts are synthesized for a new language. By utilizing
the learned meta-mapping and the matching network, our “MENTOR”can freely identify the text regions of the new language. Experiments show our model can achieve comparable results with supervised methods for seen languages and outperforms other methods in detecting unseen languages.