{"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/entqa-entity-linking-as-question-answering","title":"EntQA: Entity Linking as Question Answering","arxiv_id":"2110.02369","date":"2021-10-05","proceeding":"ICLR 2022 4","authors":["Wenzheng Zhang","Wenyue Hua","Karl Stratos"],"abstract":"A conventional approach to entity linking is to first find mentions in a given document and then infer their underlying entities in the knowledge base. A well-known limitation of this approach is that it requires finding mentions without knowing their entities, which is unnatural and difficult. We present a new model that does not suffer from this limitation called EntQA, which stands for Entity linking as Question Answering. EntQA first proposes candidate entities with a fast retrieval module, and then scrutinizes the document to find mentions of each candidate with a powerful reader module. Our approach combines progress in entity linking with that in open-domain question answering and capitalizes on pretrained models for dense entity retrieval and reading comprehension. Unlike in previous works, we do not rely on a mention-candidates dictionary or large-scale weak supervision. EntQA achieves strong results on the GERBIL benchmarking platform.","url_abs":"https://arxiv.org/abs/2110.02369v2","url_pdf":"https://arxiv.org/pdf/2110.02369v2.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":"entqa-entity-linking-as-question-answering","repo_url":"https://github.com/wenzhengzhang/entqa","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"entqa-entity-linking-as-question-answering","repo_url":"https://github.com/epfl-dlab/multilingual-entity-insertion","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"benchmarking","task_name":"Benchmarking"},{"task_slug":"entity-linking","task_name":"Entity Linking"},{"task_slug":"entity-retrieval","task_name":"Entity Retrieval"},{"task_slug":"open-domain-question-answering","task_name":"Open-Domain Question Answering"},{"task_slug":"question-answering","task_name":"Question Answering"},{"task_slug":"reading-comprehension","task_name":"Reading Comprehension"},{"task_slug":"retrieval","task_name":"Retrieval"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/entity-linking-on-aida-conll","task":"Entity Linking","dataset":"AIDA-CoNLL","model":"Zhang et al. (2021)","rank_in_archive_order":5,"of":17,"metrics":{"Micro-F1 strong":"85.8"},"uses_additional_data":false}],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2110.02369","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2110.02369"}},"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":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/epfl-dlab/multilingual-entity-insertion","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/wenzhengzhang/entqa","reach":null}],"summary":{"ran":3,"ran_draft_wrong":1,"ran_fixture":5},"by_repo_kind":{"official":{"samples":8,"ran":8,"repositories":1},"listed":{"samples":1,"ran":1,"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":1,"samples":[{"code_sha256_prefix":"7a2ec350c023bc06","entry":"DualEncoder","repo":"epfl-dlab/multilingual-entity-insertion","repo_kind":"listed","path":"data_modelling/baselines/entqa.py","file_url":"https://github.com/epfl-dlab/multilingual-entity-insertion/blob/HEAD/data_modelling/baselines/entqa.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"7a2ec350c023bc06"}},{"code_sha256_prefix":"b90ec9be4e228a9b","entry":"MultiLabelLoss","repo":"wenzhengzhang/entqa","repo_kind":"official","path":"reader.py","file_url":"https://github.com/wenzhengzhang/entqa/blob/HEAD/reader.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"b90ec9be4e228a9b"}},{"code_sha256_prefix":"28b3ff1baa3a4fc0","entry":"Reader","repo":"wenzhengzhang/entqa","repo_kind":"official","path":"reader.py","file_url":"https://github.com/wenzhengzhang/entqa/blob/HEAD/reader.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"28b3ff1baa3a4fc0"}},{"code_sha256_prefix":"1e1ea0c91e821881","entry":"evaluate_rerank","repo":"WenzhengZhang/EntQA","repo_kind":"official","path":"run_reader.py","file_url":"https://github.com/WenzhengZhang/EntQA/blob/HEAD/run_reader.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"1e1ea0c91e821881"}},{"code_sha256_prefix":"8a6d167f6d5f9ff0","entry":"log_sum_loss","repo":"wenzhengzhang/entqa","repo_kind":"official","path":"reader.py","file_url":"https://github.com/wenzhengzhang/entqa/blob/HEAD/reader.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"8a6d167f6d5f9ff0"}},{"code_sha256_prefix":"ea3178f6466d95f6","entry":"max_min_loss","repo":"wenzhengzhang/entqa","repo_kind":"official","path":"reader.py","file_url":"https://github.com/wenzhengzhang/entqa/blob/HEAD/reader.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"ea3178f6466d95f6"}},{"code_sha256_prefix":"bf985e51c9b5c737","entry":"sum_log_loss","repo":"wenzhengzhang/entqa","repo_kind":"official","path":"reader.py","file_url":"https://github.com/wenzhengzhang/entqa/blob/HEAD/reader.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"bf985e51c9b5c737"}},{"code_sha256_prefix":"845b2678876fab1d","entry":"sum_log_nce_loss","repo":"wenzhengzhang/entqa","repo_kind":"official","path":"reader.py","file_url":"https://github.com/wenzhengzhang/entqa/blob/HEAD/reader.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"845b2678876fab1d"}},{"code_sha256_prefix":"9ae42392818135b2","entry":"transform_predicts","repo":"WenzhengZhang/EntQA","repo_kind":"official","path":"run_reader.py","file_url":"https://github.com/WenzhengZhang/EntQA/blob/HEAD/run_reader.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"9ae42392818135b2"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}