{"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/semv3-a-fast-and-robust-approach-to-table","title":"SEMv3: A Fast and Robust Approach to Table Separation Line Detection","arxiv_id":"2405.11862","date":"2024-05-20","proceeding":null,"authors":["Chunxia Qin","Zhenrong Zhang","Pengfei Hu","Chenyu Liu","Jiefeng Ma","Jun Du"],"abstract":"Table structure recognition (TSR) aims to parse the inherent structure of a table from its input image. The `\"split-and-merge\" paradigm is a pivotal approach to parse table structure, where the table separation line detection is crucial. However, challenges such as wireless and deformed tables make it demanding. In this paper, we adhere to the \"split-and-merge\" paradigm and propose SEMv3 (SEM: Split, Embed and Merge), a method that is both fast and robust for detecting table separation lines. During the split stage, we introduce a Keypoint Offset Regression (KOR) module, which effectively detects table separation lines by directly regressing the offset of each line relative to its keypoint proposals. Moreover, in the merge stage, we define a series of merge actions to efficiently describe the table structure based on table grids. Extensive ablation studies demonstrate that our proposed KOR module can detect table separation lines quickly and accurately. Furthermore, on public datasets (e.g. WTW, ICDAR-2019 cTDaR Historical and iFLYTAB), SEMv3 achieves state-of-the-art (SOTA) performance. The code is available at https://github.com/Chunchunwumu/SEMv3.","url_abs":"https://arxiv.org/abs/2405.11862v1","url_pdf":"https://arxiv.org/pdf/2405.11862v1.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":"semv3-a-fast-and-robust-approach-to-table","repo_url":"https://github.com/chunchunwumu/semv3","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}}],"tasks":[{"task_slug":"line-detection","task_name":"Line Detection"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2405.11862","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2405.11862"}},"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/Chunchunwumu/SEMv3","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"ran":6,"ran_violates":1,"unverified":2},"by_repo_kind":{"official":{"samples":9,"ran":7,"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":"b9f7095b62154c09","entry":"align_cells_feat","repo":"Chunchunwumu/SEMv3","repo_kind":"official","path":"libs/model/grid_extractor.py","file_url":"https://github.com/Chunchunwumu/SEMv3/blob/HEAD/libs/model/grid_extractor.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"b9f7095b62154c09"}},{"code_sha256_prefix":"d741eb912b24880a","entry":"all_gather","repo":"Chunchunwumu/SEMv3","repo_kind":"official","path":"cal_teds/utils.py","file_url":"https://github.com/Chunchunwumu/SEMv3/blob/HEAD/cal_teds/utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"d741eb912b24880a"}},{"code_sha256_prefix":"a42189a895e7fbfc","entry":"build_RoPE","repo":"Chunchunwumu/SEMv3","repo_kind":"official","path":"libs/model/posemb.py","file_url":"https://github.com/Chunchunwumu/SEMv3/blob/HEAD/libs/model/posemb.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"a42189a895e7fbfc"}},{"code_sha256_prefix":"2dd31dba62793af4","entry":"convert_to_roi_format","repo":"Chunchunwumu/SEMv3","repo_kind":"official","path":"libs/model/grid_extractor.py","file_url":"https://github.com/Chunchunwumu/SEMv3/blob/HEAD/libs/model/grid_extractor.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"2dd31dba62793af4"}},{"code_sha256_prefix":"f902a15e913442d6","entry":"dice_loss","repo":"Chunchunwumu/SEMv3","repo_kind":"official","path":"libs/model/merge_head.py","file_url":"https://github.com/Chunchunwumu/SEMv3/blob/HEAD/libs/model/merge_head.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"f902a15e913442d6"}},{"code_sha256_prefix":"43053af6494bf204","entry":"parallel_process","repo":"Chunchunwumu/SEMv3","repo_kind":"official","path":"cal_teds/utils.py","file_url":"https://github.com/Chunchunwumu/SEMv3/blob/HEAD/cal_teds/utils.py","link_basis":"plan_row","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"43053af6494bf204"}},{"code_sha256_prefix":"2a3280757ce5a198","entry":"reduce_dict","repo":"Chunchunwumu/SEMv3","repo_kind":"official","path":"cal_teds/utils.py","file_url":"https://github.com/Chunchunwumu/SEMv3/blob/HEAD/cal_teds/utils.py","link_basis":"plan_row","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"2a3280757ce5a198"}},{"code_sha256_prefix":"847f28d7a0936194","entry":"sigmoid_focal_loss_mutil","repo":"Chunchunwumu/SEMv3","repo_kind":"official","path":"libs/model/merge_head.py","file_url":"https://github.com/Chunchunwumu/SEMv3/blob/HEAD/libs/model/merge_head.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"847f28d7a0936194"}},{"code_sha256_prefix":"d1b9855fa7d2bfeb","entry":"sigmoid_focal_loss_mutil_2","repo":"Chunchunwumu/SEMv3","repo_kind":"official","path":"libs/model/merge_head.py","file_url":"https://github.com/Chunchunwumu/SEMv3/blob/HEAD/libs/model/merge_head.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"d1b9855fa7d2bfeb"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}