{"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/dialogue-based-relation-extraction","title":"Dialogue-Based Relation Extraction","arxiv_id":"2004.08056","date":"2020-04-17","proceeding":"ACL 2020 6","authors":["Dian Yu","Kai Sun","Claire Cardie","Dong Yu"],"abstract":"We present the first human-annotated dialogue-based relation extraction (RE) dataset DialogRE, aiming to support the prediction of relation(s) between two arguments that appear in a dialogue. We further offer DialogRE as a platform for studying cross-sentence RE as most facts span multiple sentences. We argue that speaker-related information plays a critical role in the proposed task, based on an analysis of similarities and differences between dialogue-based and traditional RE tasks. Considering the timeliness of communication in a dialogue, we design a new metric to evaluate the performance of RE methods in a conversational setting and investigate the performance of several representative RE methods on DialogRE. Experimental results demonstrate that a speaker-aware extension on the best-performing model leads to gains in both the standard and conversational evaluation settings. DialogRE is available at https://dataset.org/dialogre/.","url_abs":"https://arxiv.org/abs/2004.08056v1","url_pdf":"https://arxiv.org/pdf/2004.08056v1.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":"dialogue-based-relation-extraction","repo_url":"https://github.com/frankdarkluo/sols","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"dialogue-based-relation-extraction","repo_url":"https://github.com/nlpdata/dialogre","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"dialogue-based-relation-extraction","repo_url":"https://github.com/scofield7419/DiaRE-D2G","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"dialog-relation-extraction","task_name":"Dialog Relation Extraction"},{"task_slug":null,"task_name":"Relation"},{"task_slug":"relation-extraction","task_name":"Relation Extraction"},{"task_slug":"sentence","task_name":"Sentence"}],"methods":[],"datasets_introduced":[{"slug":"dialogre","name":"DialogRE","full_name":""}],"methods_introduced":[],"results":[{"leaderboard":"/sota/dialog-relation-extraction-on-dialogre","task":"Dialog Relation Extraction","dataset":"DialogRE","model":"BERTS","rank_in_archive_order":15,"of":17,"metrics":{"F1 (v1)":"61.2","F1c (v1)":"55.4"},"uses_additional_data":false},{"leaderboard":"/sota/dialog-relation-extraction-on-dialogre","task":"Dialog Relation Extraction","dataset":"DialogRE","model":"BiLSTM","rank_in_archive_order":17,"of":17,"metrics":{"F1 (v1)":"48.6","F1c (v1)":"45"},"uses_additional_data":false}],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2004.08056","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2004.08056"}},"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/nlpdata/dialogre","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/frankdarkluo/sols","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/scofield7419/DiaRE-D2G","reach":null}],"summary":{"ran_honours":3,"ran_draft_wrong":5,"ran_fixture":1},"by_repo_kind":{"listed":{"samples":9,"ran":9,"repositories":3}},"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":5,"samples":[{"code_sha256_prefix":"5b487fad244ccba0","entry":"GetEntityId","repo":"scofield7419/DiaRE-D2G","repo_kind":"listed","path":"data/gen_data.py","file_url":"https://github.com/scofield7419/DiaRE-D2G/blob/HEAD/data/gen_data.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"5b487fad244ccba0"}},{"code_sha256_prefix":"d477c30eb97260f1","entry":"GetNodePosition","repo":"scofield7419/DiaRE-D2G","repo_kind":"listed","path":"data/gen_data.py","file_url":"https://github.com/scofield7419/DiaRE-D2G/blob/HEAD/data/gen_data.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"d477c30eb97260f1"}},{"code_sha256_prefix":"68a5d94d6d86784d","entry":"GetVertexSet","repo":"scofield7419/DiaRE-D2G","repo_kind":"listed","path":"data/gen_data.py","file_url":"https://github.com/scofield7419/DiaRE-D2G/blob/HEAD/data/gen_data.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"68a5d94d6d86784d"}},{"code_sha256_prefix":"60df39eb36936e8d","entry":"accuracy","repo":"nlpdata/dialogre","repo_kind":"listed","path":"bert/run_classifier.py","file_url":"https://github.com/nlpdata/dialogre/blob/HEAD/bert/run_classifier.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"60df39eb36936e8d"}},{"code_sha256_prefix":"89590c28ea45a292","entry":"getpredict","repo":"nlpdata/dialogre","repo_kind":"listed","path":"bert/evaluate.py","file_url":"https://github.com/nlpdata/dialogre/blob/HEAD/bert/evaluate.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"89590c28ea45a292"}},{"code_sha256_prefix":"47d4d6050a2a0f45","entry":"getresult","repo":"nlpdata/dialogre","repo_kind":"listed","path":"bert/evaluate.py","file_url":"https://github.com/nlpdata/dialogre/blob/HEAD/bert/evaluate.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"47d4d6050a2a0f45"}},{"code_sha256_prefix":"cb5cbea0e8219ff5","entry":"softmax","repo":"nlpdata/dialogre","repo_kind":"listed","path":"bert/evaluate.py","file_url":"https://github.com/nlpdata/dialogre/blob/HEAD/bert/evaluate.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"cb5cbea0e8219ff5"}},{"code_sha256_prefix":"16cddd8313b87121","entry":"tok_list","repo":"frankdarkluo/sols","repo_kind":"listed","path":"DialogRE/SOLS/run_cn.py","file_url":"https://github.com/frankdarkluo/sols/blob/HEAD/DialogRE/SOLS/run_cn.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"16cddd8313b87121"}},{"code_sha256_prefix":"1af3bee20f833832","entry":"tokenize","repo":"nlpdata/dialogre","repo_kind":"listed","path":"bert/run_classifier.py","file_url":"https://github.com/nlpdata/dialogre/blob/HEAD/bert/run_classifier.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"1af3bee20f833832"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}