{"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/self-explaining-deep-models-with-logic-rule","title":"Self-explaining deep models with logic rule reasoning","arxiv_id":"2210.07024","date":"2022-10-13","proceeding":null,"authors":["Seungeon Lee","Xiting Wang","Sungwon Han","Xiaoyuan Yi","Xing Xie","Meeyoung Cha"],"abstract":"We present SELOR, a framework for integrating self-explaining capabilities into a given deep model to achieve both high prediction performance and human precision. By \"human precision\", we refer to the degree to which humans agree with the reasons models provide for their predictions. Human precision affects user trust and allows users to collaborate closely with the model. We demonstrate that logic rule explanations naturally satisfy human precision with the expressive power required for good predictive performance. We then illustrate how to enable a deep model to predict and explain with logic rules. Our method does not require predefined logic rule sets or human annotations and can be learned efficiently and easily with widely-used deep learning modules in a differentiable way. Extensive experiments show that our method gives explanations closer to human decision logic than other methods while maintaining the performance of deep learning models.","url_abs":"https://arxiv.org/abs/2210.07024v3","url_pdf":"https://arxiv.org/pdf/2210.07024v3.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":"self-explaining-deep-models-with-logic-rule","repo_url":"https://github.com/archon159/selor","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"deep-learning","task_name":"Deep Learning"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2210.07024","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2210.07024"}},"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/archon159/selor","reach":null}],"summary":{"ran":2,"unverified":2},"by_repo_kind":{"official":{"samples":4,"ran":2,"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":"d1aa7d5f0c4921b9","entry":"AtomSelector","repo":"archon159/selor","repo_kind":"official","path":"selor_utils/net.py","file_url":"https://github.com/archon159/selor/blob/HEAD/selor_utils/net.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":"d1aa7d5f0c4921b9"}},{"code_sha256_prefix":"6ec61531758d0ded","entry":"BaseModel","repo":"archon159/selor","repo_kind":"official","path":"selor_utils/net.py","file_url":"https://github.com/archon159/selor/blob/HEAD/selor_utils/net.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":"6ec61531758d0ded"}},{"code_sha256_prefix":"cbcbd0551f8ad9c9","entry":"AntecedentGenerator","repo":"archon159/selor","repo_kind":"official","path":"selor_utils/net.py","file_url":"https://github.com/archon159/selor/blob/HEAD/selor_utils/net.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":"cbcbd0551f8ad9c9"}},{"code_sha256_prefix":"2240b43d073c5f4b","entry":"check_kwargs","repo":"archon159/selor","repo_kind":"official","path":"selor_utils/net.py","file_url":"https://github.com/archon159/selor/blob/HEAD/selor_utils/net.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":"2240b43d073c5f4b"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}