{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/implicit-feature-alignment-learn-to-convert","title":"Implicit Feature Alignment: Learn to Convert Text Recognizer to Text Spotter","arxiv_id":"2106.05920","date":"2021-06-10","proceeding":"CVPR 2021 1","authors":["Tianwei Wang","Yuanzhi Zhu","Lianwen Jin","Dezhi Peng","Zhe Li","Mengchao He","Yongpan Wang","Canjie Luo"],"abstract":"Text recognition is a popular research subject with many associated challenges. Despite the considerable progress made in recent years, the text recognition task itself is still constrained to solve the problem of reading cropped line text images and serves as a subtask of optical character recognition (OCR) systems. As a result, the final text recognition result is limited by the performance of the text detector. In this paper, we propose a simple, elegant and effective paradigm called Implicit Feature Alignment (IFA), which can be easily integrated into current text recognizers, resulting in a novel inference mechanism called IFAinference. This enables an ordinary text recognizer to process multi-line text such that text detection can be completely freed. Specifically, we integrate IFA into the two most prevailing text recognition streams (attention-based and CTC-based) and propose attention-guided dense prediction (ADP) and Extended CTC (ExCTC). Furthermore, the Wasserstein-based Hollow Aggregation Cross-Entropy (WH-ACE) is proposed to suppress negative predictions to assist in training ADP and ExCTC. We experimentally demonstrate that IFA achieves state-of-the-art performance on end-to-end document recognition tasks while maintaining the fastest speed, and ADP and ExCTC complement each other on the perspective of different application scenarios. Code will be available at https://github.com/WangTianwei/Implicit-feature-alignment.","url_abs":"https://arxiv.org/abs/2106.05920v1","url_pdf":"https://arxiv.org/pdf/2106.05920v1.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"implicit-feature-alignment-learn-to-convert","repo_url":"https://github.com/Wang-Tianwei/Implicit-feature-alignment","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"optical-character-recognition","task_name":"Optical Character Recognition"},{"task_slug":"optical-character-recognition","task_name":"Optical Character Recognition (OCR)"},{"task_slug":"text-detection","task_name":"Text Detection"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2106.05920","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2106.05920"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"deterministic:regex_extraction","url":"https://github.com/Wang-Tianwei/Implicit-feature-alignment","reach":null}],"summary":{"ran":5,"unverified":2},"by_repo_kind":{"official":{"samples":7,"ran":5,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"0f9c24e0a1d15b1b","entry":"BasicBlock","repo":"Wang-Tianwei/Implicit-feature-alignment","repo_kind":"official","path":"ExCTC.py","file_url":"https://github.com/Wang-Tianwei/Implicit-feature-alignment/blob/HEAD/ExCTC.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"0f9c24e0a1d15b1b"}},{"code_sha256_prefix":"c4d587e066324187","entry":"CTC","repo":"Wang-Tianwei/Implicit-feature-alignment","repo_kind":"official","path":"ExCTC.py","file_url":"https://github.com/Wang-Tianwei/Implicit-feature-alignment/blob/HEAD/ExCTC.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"c4d587e066324187"}},{"code_sha256_prefix":"6577b53734d5a1c4","entry":"ResNet","repo":"Wang-Tianwei/Implicit-feature-alignment","repo_kind":"official","path":"ExCTC.py","file_url":"https://github.com/Wang-Tianwei/Implicit-feature-alignment/blob/HEAD/ExCTC.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"6577b53734d5a1c4"}},{"code_sha256_prefix":"469e9d6f41129f56","entry":"SqueezeNet","repo":"Wang-Tianwei/Implicit-feature-alignment","repo_kind":"official","path":"ExCTC.py","file_url":"https://github.com/Wang-Tianwei/Implicit-feature-alignment/blob/HEAD/ExCTC.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"469e9d6f41129f56"}},{"code_sha256_prefix":"568f8ae472c11eb5","entry":"resnet18","repo":"Wang-Tianwei/Implicit-feature-alignment","repo_kind":"official","path":"ExCTC.py","file_url":"https://github.com/Wang-Tianwei/Implicit-feature-alignment/blob/HEAD/ExCTC.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"568f8ae472c11eb5"}},{"code_sha256_prefix":"65490b1430137092","entry":"ExCTC","repo":"Wang-Tianwei/Implicit-feature-alignment","repo_kind":"official","path":"ExCTC.py","file_url":"https://github.com/Wang-Tianwei/Implicit-feature-alignment/blob/HEAD/ExCTC.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"65490b1430137092"}},{"code_sha256_prefix":"7d7d8088f5204a7f","entry":"WH_ACE","repo":"Wang-Tianwei/Implicit-feature-alignment","repo_kind":"official","path":"ExCTC.py","file_url":"https://github.com/Wang-Tianwei/Implicit-feature-alignment/blob/HEAD/ExCTC.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"7d7d8088f5204a7f"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}