{"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/adalogn-adaptive-logic-graph-network-for","title":"AdaLoGN: Adaptive Logic Graph Network for Reasoning-Based Machine Reading Comprehension","arxiv_id":"2203.08992","date":"2022-03-16","proceeding":"ACL 2022 5","authors":["Xiao Li","Gong Cheng","Ziheng Chen","Yawei Sun","Yuzhong Qu"],"abstract":"Recent machine reading comprehension datasets such as ReClor and LogiQA require performing logical reasoning over text. Conventional neural models are insufficient for logical reasoning, while symbolic reasoners cannot directly apply to text. To meet the challenge, we present a neural-symbolic approach which, to predict an answer, passes messages over a graph representing logical relations between text units. It incorporates an adaptive logic graph network (AdaLoGN) which adaptively infers logical relations to extend the graph and, essentially, realizes mutual and iterative reinforcement between neural and symbolic reasoning. We also implement a novel subgraph-to-node message passing mechanism to enhance context-option interaction for answering multiple-choice questions. Our approach shows promising results on ReClor and LogiQA.","url_abs":"https://arxiv.org/abs/2203.08992v1","url_pdf":"https://arxiv.org/pdf/2203.08992v1.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":"adalogn-adaptive-logic-graph-network-for","repo_url":"https://github.com/nju-websoft/adalogn","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}}],"tasks":[{"task_slug":"logical-reasoning","task_name":"Logical Reasoning"},{"task_slug":"machine-reading-comprehension","task_name":"Machine Reading Comprehension"},{"task_slug":"multiple-choice","task_name":"Multiple-choice"},{"task_slug":"reading-comprehension","task_name":"Reading Comprehension"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2203.08992","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2203.08992"}},"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/nju-websoft/AdaLoGN","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"unverified":8},"by_repo_kind":{"official":{"samples":8,"ran":0,"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":"b6a162a9eca99152","entry":"antonyms_for","repo":"nju-websoft/AdaLoGN","repo_kind":"official","path":"utils/pos_neg_transfer.py","file_url":"https://github.com/nju-websoft/AdaLoGN/blob/HEAD/utils/pos_neg_transfer.py","link_basis":"harvester_set","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":"b6a162a9eca99152"}},{"code_sha256_prefix":"67d7e35c8400fea8","entry":"edu_merge","repo":"nju-websoft/AdaLoGN","repo_kind":"official","path":"utils/data_utils_preprocess.py","file_url":"https://github.com/nju-websoft/AdaLoGN/blob/HEAD/utils/data_utils_preprocess.py","link_basis":"harvester_set","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":"67d7e35c8400fea8"}},{"code_sha256_prefix":"a1e77cdb9a693af3","entry":"get_feature","repo":"nju-websoft/AdaLoGN","repo_kind":"official","path":"utils/pos_neg_transfer.py","file_url":"https://github.com/nju-websoft/AdaLoGN/blob/HEAD/utils/pos_neg_transfer.py","link_basis":"harvester_set","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":"a1e77cdb9a693af3"}},{"code_sha256_prefix":"47601fbb40b79991","entry":"get_third_singular_verb","repo":"nju-websoft/AdaLoGN","repo_kind":"official","path":"utils/pos_neg_transfer.py","file_url":"https://github.com/nju-websoft/AdaLoGN/blob/HEAD/utils/pos_neg_transfer.py","link_basis":"harvester_set","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":"47601fbb40b79991"}},{"code_sha256_prefix":"53f24f83d48ae0ad","entry":"nodes_with_feature_x","repo":"nju-websoft/AdaLoGN","repo_kind":"official","path":"models/GNNs.py","file_url":"https://github.com/nju-websoft/AdaLoGN/blob/HEAD/models/GNNs.py","link_basis":"harvester_set","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":"53f24f83d48ae0ad"}},{"code_sha256_prefix":"faea4b96e9c25e04","entry":"nodes_with_nodes_subgraph_type_0","repo":"nju-websoft/AdaLoGN","repo_kind":"official","path":"models/GNNs.py","file_url":"https://github.com/nju-websoft/AdaLoGN/blob/HEAD/models/GNNs.py","link_basis":"harvester_set","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":"faea4b96e9c25e04"}},{"code_sha256_prefix":"927f3b43725fba03","entry":"nodes_with_nodes_subgraph_type_1","repo":"nju-websoft/AdaLoGN","repo_kind":"official","path":"models/GNNs.py","file_url":"https://github.com/nju-websoft/AdaLoGN/blob/HEAD/models/GNNs.py","link_basis":"harvester_set","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":"927f3b43725fba03"}},{"code_sha256_prefix":"e14200b69f1e664d","entry":"sentence_format","repo":"nju-websoft/AdaLoGN","repo_kind":"official","path":"utils/data_utils_preprocess.py","file_url":"https://github.com/nju-websoft/AdaLoGN/blob/HEAD/utils/data_utils_preprocess.py","link_basis":"harvester_set","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":"e14200b69f1e664d"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}