{"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/global-encoding-for-abstractive-summarization","title":"Global Encoding for Abstractive Summarization","arxiv_id":"1805.03989","date":"2018-05-10","proceeding":"ACL 2018 7","authors":["Junyang Lin","Xu sun","Shuming Ma","Qi Su"],"abstract":"In neural abstractive summarization, the conventional sequence-to-sequence\n(seq2seq) model often suffers from repetition and semantic irrelevance. To\ntackle the problem, we propose a global encoding framework, which controls the\ninformation flow from the encoder to the decoder based on the global\ninformation of the source context. It consists of a convolutional gated unit to\nperform global encoding to improve the representations of the source-side\ninformation. Evaluations on the LCSTS and the English Gigaword both demonstrate\nthat our model outperforms the baseline models, and the analysis shows that our\nmodel is capable of reducing repetition.","url_abs":"http://arxiv.org/abs/1805.03989v2","url_pdf":"http://arxiv.org/pdf/1805.03989v2.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":"global-encoding-for-abstractive-summarization","repo_url":"https://github.com/lancopku/Global-Encoding","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"global-encoding-for-abstractive-summarization","repo_url":"https://github.com/jiahuanluo/Gated-attention_sum","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}},{"paper_slug":"global-encoding-for-abstractive-summarization","repo_url":"https://github.com/lixuanhng/Global-Encoding-for-Abstractive-Summarization","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"global-encoding-for-abstractive-summarization","repo_url":"https://github.com/wuhao050698/Abstractive-Summarization","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"abstractive-text-summarization","task_name":"Abstractive Text Summarization"},{"task_slug":"decoder","task_name":"Decoder"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/text-summarization-on-gigaword","task":"Text Summarization","dataset":"GigaWord","model":"CGU","rank_in_archive_order":31,"of":41,"metrics":{"ROUGE-1":"36.3","ROUGE-2":"18.0","ROUGE-L":"33.8"},"uses_additional_data":false}],"syntology":{"syntology_url":null,"atlas_url":"https://app.syntology.ai/?focus=1805.03989","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"1805.03989"}},"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/lixuanhng/Global-Encoding-for-Abstractive-Summarization","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/jiahuanluo/Gated-attention_sum","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/wuhao050698/Abstractive-Summarization","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/lancopku/Global-Encoding","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran_draft_wrong":1,"unverified":6},"by_repo_kind":{"official":{"samples":4,"ran":0,"repositories":1},"listed":{"samples":3,"ran":1,"repositories":2}},"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":"0277a313298be751","entry":"makeVocabulary","repo":"lixuanhng/Global-Encoding-for-Abstractive-Summarization","repo_kind":"listed","path":"preprocess.py","file_url":"https://github.com/lixuanhng/Global-Encoding-for-Abstractive-Summarization/blob/HEAD/preprocess.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"0277a313298be751"}},{"code_sha256_prefix":"a09e7b82de08cd8c","entry":"PythonROUGE","repo":"lancopku/Global-Encoding","repo_kind":"official","path":"script/PythonROUGE.py","file_url":"https://github.com/lancopku/Global-Encoding/blob/HEAD/script/PythonROUGE.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":"a09e7b82de08cd8c"}},{"code_sha256_prefix":"0dbff20f77645325","entry":"PythonROUGE","repo":"wuhao050698/Abstractive-Summarization","repo_kind":"listed","path":"script/PythonROUGE.py","file_url":"https://github.com/wuhao050698/Abstractive-Summarization/blob/HEAD/script/PythonROUGE.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":"0dbff20f77645325"}},{"code_sha256_prefix":"6333d7dad419ba0a","entry":"bleu","repo":"lancopku/Global-Encoding","repo_kind":"official","path":"utils/metrics.py","file_url":"https://github.com/lancopku/Global-Encoding/blob/HEAD/utils/metrics.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":"6333d7dad419ba0a"}},{"code_sha256_prefix":"7950493f7d9cd9ef","entry":"load_dict_from_file","repo":"wuhao050698/Abstractive-Summarization","repo_kind":"listed","path":"server.py","file_url":"https://github.com/wuhao050698/Abstractive-Summarization/blob/HEAD/server.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":"7950493f7d9cd9ef"}},{"code_sha256_prefix":"182dd725054b34be","entry":"padding","repo":"lancopku/Global-Encoding","repo_kind":"official","path":"utils/data_helper.py","file_url":"https://github.com/lancopku/Global-Encoding/blob/HEAD/utils/data_helper.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":"182dd725054b34be"}},{"code_sha256_prefix":"8c281d52b0541f8c","entry":"splitDataset","repo":"lancopku/Global-Encoding","repo_kind":"official","path":"utils/data_helper.py","file_url":"https://github.com/lancopku/Global-Encoding/blob/HEAD/utils/data_helper.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":"8c281d52b0541f8c"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}