{"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/structured-neural-summarization","title":"Structured Neural Summarization","arxiv_id":"1811.01824","date":"2018-11-05","proceeding":"ICLR 2019 5","authors":["Patrick Fernandes","Miltiadis Allamanis","Marc Brockschmidt"],"abstract":"Summarization of long sequences into a concise statement is a core problem in natural language processing, requiring non-trivial understanding of the input. Based on the promising results of graph neural networks on highly structured data, we develop a framework to extend existing sequence encoders with a graph component that can reason about long-distance relationships in weakly structured data such as text. In an extensive evaluation, we show that the resulting hybrid sequence-graph models outperform both pure sequence models as well as pure graph models on a range of summarization tasks.","url_abs":"https://arxiv.org/abs/1811.01824v4","url_pdf":"https://arxiv.org/pdf/1811.01824v4.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":"structured-neural-summarization","repo_url":"https://github.com/CoderPat/structured-neural-summarization","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"structured-neural-summarization","repo_url":"https://github.com/CoderPat/OpenGNN","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"structured-neural-summarization","repo_url":"https://github.com/microsoft/ptgnn","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"code-summarization","task_name":"Source Code Summarization"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=1811.01824","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"1811.01824"}},"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/CoderPat/structured-neural-summarization","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/CoderPat/OpenGNN","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/microsoft/ptgnn","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"unverified":17},"by_repo_kind":{"official":{"samples":14,"ran":0,"repositories":1},"listed":{"samples":3,"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":"11bad528ab15b876","entry":"decl_tokenizer","repo":"CoderPat/structured-neural-summarization","repo_kind":"official","path":"parsers/sourcecode/barone/loadbarone.py","file_url":"https://github.com/CoderPat/structured-neural-summarization/blob/HEAD/parsers/sourcecode/barone/loadbarone.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":"11bad528ab15b876"}},{"code_sha256_prefix":"2c8bfd3a2b3ce3ce","entry":"docstring_tokenize","repo":"CoderPat/structured-neural-summarization","repo_kind":"official","path":"parsers/sourcecode/barone/loadbarone.py","file_url":"https://github.com/CoderPat/structured-neural-summarization/blob/HEAD/parsers/sourcecode/barone/loadbarone.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":"2c8bfd3a2b3ce3ce"}},{"code_sha256_prefix":"6c49b2997b2be692","entry":"extract_path","repo":"CoderPat/structured-neural-summarization","repo_kind":"official","path":"parsers/sourcecode/utils.py","file_url":"https://github.com/CoderPat/structured-neural-summarization/blob/HEAD/parsers/sourcecode/utils.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":"6c49b2997b2be692"}},{"code_sha256_prefix":"1d988a4055b0d5ef","entry":"extract_sentences","repo":"CoderPat/structured-neural-summarization","repo_kind":"official","path":"rouge_evaluator.py","file_url":"https://github.com/CoderPat/structured-neural-summarization/blob/HEAD/rouge_evaluator.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":"1d988a4055b0d5ef"}},{"code_sha256_prefix":"c2d614084ca8e1ea","entry":"extract_sentences_from_folder","repo":"CoderPat/structured-neural-summarization","repo_kind":"official","path":"rouge_evaluator.py","file_url":"https://github.com/CoderPat/structured-neural-summarization/blob/HEAD/rouge_evaluator.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":"c2d614084ca8e1ea"}},{"code_sha256_prefix":"68dd22b0cf5f6d8e","entry":"fix_missing_period","repo":"CoderPat/structured-neural-summarization","repo_kind":"official","path":"parsers/naturallanguage/dmcnn/splitfiles.py","file_url":"https://github.com/CoderPat/structured-neural-summarization/blob/HEAD/parsers/naturallanguage/dmcnn/splitfiles.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":"68dd22b0cf5f6d8e"}},{"code_sha256_prefix":"f7a4d61ea7785cf9","entry":"get_iterator_from_input_fn","repo":"CoderPat/structured-neural-summarization","repo_kind":"official","path":"train_and_eval.py","file_url":"https://github.com/CoderPat/structured-neural-summarization/blob/HEAD/train_and_eval.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":"f7a4d61ea7785cf9"}},{"code_sha256_prefix":"c2271c0359302a06","entry":"load_model_module","repo":"CoderPat/OpenGNN","repo_kind":"listed","path":"opengnn/config.py","file_url":"https://github.com/CoderPat/OpenGNN/blob/HEAD/opengnn/config.py","link_basis":"harvester_set","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":"c2271c0359302a06"}},{"code_sha256_prefix":"8a6a3840434a039e","entry":"load_split","repo":"CoderPat/structured-neural-summarization","repo_kind":"official","path":"parsers/naturallanguage/dmcnn/splitfiles.py","file_url":"https://github.com/CoderPat/structured-neural-summarization/blob/HEAD/parsers/naturallanguage/dmcnn/splitfiles.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":"8a6a3840434a039e"}},{"code_sha256_prefix":"42f084ce6de1dc2b","entry":"load_subtokenizer","repo":"CoderPat/OpenGNN","repo_kind":"listed","path":"opengnn/config.py","file_url":"https://github.com/CoderPat/OpenGNN/blob/HEAD/opengnn/config.py","link_basis":"harvester_set","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":"42f084ce6de1dc2b"}},{"code_sha256_prefix":"259f2499b29234b1","entry":"open_file","repo":"CoderPat/structured-neural-summarization","repo_kind":"official","path":"rouge_evaluator.py","file_url":"https://github.com/CoderPat/structured-neural-summarization/blob/HEAD/rouge_evaluator.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":"259f2499b29234b1"}},{"code_sha256_prefix":"75a35ca7494ecdb1","entry":"opennmt_converter","repo":"CoderPat/structured-neural-summarization","repo_kind":"official","path":"parsers/graph2otherformat.py","file_url":"https://github.com/CoderPat/structured-neural-summarization/blob/HEAD/parsers/graph2otherformat.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":"75a35ca7494ecdb1"}},{"code_sha256_prefix":"4b490c9cd574af3c","entry":"optimize","repo":"CoderPat/OpenGNN","repo_kind":"listed","path":"opengnn/models/model.py","file_url":"https://github.com/CoderPat/OpenGNN/blob/HEAD/opengnn/models/model.py","link_basis":"harvester_set","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":"4b490c9cd574af3c"}},{"code_sha256_prefix":"3b7ebd783b5065bb","entry":"parse_tree_to_sentence","repo":"CoderPat/structured-neural-summarization","repo_kind":"official","path":"parsers/naturallanguage/dmcnn/convert2graph.py","file_url":"https://github.com/CoderPat/structured-neural-summarization/blob/HEAD/parsers/naturallanguage/dmcnn/convert2graph.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":"3b7ebd783b5065bb"}},{"code_sha256_prefix":"cb13d80aaaa6db14","entry":"read_text_file","repo":"CoderPat/structured-neural-summarization","repo_kind":"official","path":"parsers/naturallanguage/dmcnn/splitfiles.py","file_url":"https://github.com/CoderPat/structured-neural-summarization/blob/HEAD/parsers/naturallanguage/dmcnn/splitfiles.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":"cb13d80aaaa6db14"}},{"code_sha256_prefix":"f1264ddd39cb8eb0","entry":"subtokenizer","repo":"CoderPat/structured-neural-summarization","repo_kind":"official","path":"parsers/sourcecode/utils.py","file_url":"https://github.com/CoderPat/structured-neural-summarization/blob/HEAD/parsers/sourcecode/utils.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":"f1264ddd39cb8eb0"}},{"code_sha256_prefix":"285ba9d69f5f848b","entry":"try_find_RB_span","repo":"CoderPat/structured-neural-summarization","repo_kind":"official","path":"parsers/naturallanguage/dmcnn/convert2graph.py","file_url":"https://github.com/CoderPat/structured-neural-summarization/blob/HEAD/parsers/naturallanguage/dmcnn/convert2graph.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":"285ba9d69f5f848b"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}