{"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-paced-learning-for-neural-machine","title":"Self-Paced Learning for Neural Machine Translation","arxiv_id":"2010.04505","date":"2020-10-09","proceeding":"EMNLP 2020 11","authors":["Yu Wan","Baosong Yang","Derek F. Wong","Yikai Zhou","Lidia S. Chao","Haibo Zhang","Boxing Chen"],"abstract":"Recent studies have proven that the training of neural machine translation (NMT) can be facilitated by mimicking the learning process of humans. Nevertheless, achievements of such kind of curriculum learning rely on the quality of artificial schedule drawn up with the handcrafted features, e.g. sentence length or word rarity. We ameliorate this procedure with a more flexible manner by proposing self-paced learning, where NMT model is allowed to 1) automatically quantify the learning confidence over training examples; and 2) flexibly govern its learning via regulating the loss in each iteration step. Experimental results over multiple translation tasks demonstrate that the proposed model yields better performance than strong baselines and those models trained with human-designed curricula on both translation quality and convergence speed.","url_abs":"https://arxiv.org/abs/2010.04505v2","url_pdf":"https://arxiv.org/pdf/2010.04505v2.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-paced-learning-for-neural-machine","repo_url":"https://github.com/wanyu2018umac/Self-Paced-Learning-for-Neural-Machine-Translation","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"machine-translation","task_name":"Machine Translation"},{"task_slug":"nmt","task_name":"NMT"},{"task_slug":"sentence","task_name":"Sentence"},{"task_slug":"translation","task_name":"Translation"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2010.04505","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2010.04505"}},"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/wanyu2018umac/Self-Paced-Learning-for-Neural-Machine-Translation","reach":null}],"summary":{"ran":10,"unverified":9},"by_repo_kind":{"official":{"samples":19,"ran":10,"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":19,"samples":[{"code_sha256_prefix":"4831d28d3db6715d","entry":"Identity","repo":"wanyu2018umac/Self-Paced-Learning-for-Neural-Machine-Translation","repo_kind":"official","path":"train/train_single.py","file_url":"https://github.com/wanyu2018umac/Self-Paced-Learning-for-Neural-Machine-Translation/blob/HEAD/train/train_single.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"4831d28d3db6715d"}},{"code_sha256_prefix":"d8dbd799ebe2dd3f","entry":"IndependentEmbeddingsAndLogits","repo":"wanyu2018umac/Self-Paced-Learning-for-Neural-Machine-Translation","repo_kind":"official","path":"train/train_single.py","file_url":"https://github.com/wanyu2018umac/Self-Paced-Learning-for-Neural-Machine-Translation/blob/HEAD/train/train_single.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"d8dbd799ebe2dd3f"}},{"code_sha256_prefix":"4cbe7da1de376c98","entry":"IndependentEmbeddingsSharedLogits","repo":"wanyu2018umac/Self-Paced-Learning-for-Neural-Machine-Translation","repo_kind":"official","path":"train/train_single.py","file_url":"https://github.com/wanyu2018umac/Self-Paced-Learning-for-Neural-Machine-Translation/blob/HEAD/train/train_single.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"4cbe7da1de376c98"}},{"code_sha256_prefix":"ee02fcc05b99b9ac","entry":"LayerNorm","repo":"wanyu2018umac/Self-Paced-Learning-for-Neural-Machine-Translation","repo_kind":"official","path":"train/train_single.py","file_url":"https://github.com/wanyu2018umac/Self-Paced-Learning-for-Neural-Machine-Translation/blob/HEAD/train/train_single.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"ee02fcc05b99b9ac"}},{"code_sha256_prefix":"f984714f0caadb11","entry":"LearnablePositionalEncoding","repo":"wanyu2018umac/Self-Paced-Learning-for-Neural-Machine-Translation","repo_kind":"official","path":"train/train_single.py","file_url":"https://github.com/wanyu2018umac/Self-Paced-Learning-for-Neural-Machine-Translation/blob/HEAD/train/train_single.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"f984714f0caadb11"}},{"code_sha256_prefix":"85d40fb965e70b9b","entry":"NonePositionalEncoding","repo":"wanyu2018umac/Self-Paced-Learning-for-Neural-Machine-Translation","repo_kind":"official","path":"train/train_single.py","file_url":"https://github.com/wanyu2018umac/Self-Paced-Learning-for-Neural-Machine-Translation/blob/HEAD/train/train_single.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"85d40fb965e70b9b"}},{"code_sha256_prefix":"58d73512160dc032","entry":"SharedEmbeddingsAndLogits","repo":"wanyu2018umac/Self-Paced-Learning-for-Neural-Machine-Translation","repo_kind":"official","path":"train/train_single.py","file_url":"https://github.com/wanyu2018umac/Self-Paced-Learning-for-Neural-Machine-Translation/blob/HEAD/train/train_single.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"58d73512160dc032"}},{"code_sha256_prefix":"4344df0a56a24471","entry":"SharedEmbeddingsIndependentLogits","repo":"wanyu2018umac/Self-Paced-Learning-for-Neural-Machine-Translation","repo_kind":"official","path":"train/train_single.py","file_url":"https://github.com/wanyu2018umac/Self-Paced-Learning-for-Neural-Machine-Translation/blob/HEAD/train/train_single.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"4344df0a56a24471"}},{"code_sha256_prefix":"72001f97d537fe3d","entry":"StaticPositionalEncoding","repo":"wanyu2018umac/Self-Paced-Learning-for-Neural-Machine-Translation","repo_kind":"official","path":"train/train_single.py","file_url":"https://github.com/wanyu2018umac/Self-Paced-Learning-for-Neural-Machine-Translation/blob/HEAD/train/train_single.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"72001f97d537fe3d"}},{"code_sha256_prefix":"3c040cd247e459a4","entry":"UnlearnableLayerNorm","repo":"wanyu2018umac/Self-Paced-Learning-for-Neural-Machine-Translation","repo_kind":"official","path":"train/train_single.py","file_url":"https://github.com/wanyu2018umac/Self-Paced-Learning-for-Neural-Machine-Translation/blob/HEAD/train/train_single.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"3c040cd247e459a4"}},{"code_sha256_prefix":"095f228fdeb55e58","entry":"MultiHeadAttention1","repo":"wanyu2018umac/Self-Paced-Learning-for-Neural-Machine-Translation","repo_kind":"official","path":"train/train_single.py","file_url":"https://github.com/wanyu2018umac/Self-Paced-Learning-for-Neural-Machine-Translation/blob/HEAD/train/train_single.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"095f228fdeb55e58"}},{"code_sha256_prefix":"e3df1c14c40d9fb1","entry":"MultiHeadAttention2","repo":"wanyu2018umac/Self-Paced-Learning-for-Neural-Machine-Translation","repo_kind":"official","path":"train/train_single.py","file_url":"https://github.com/wanyu2018umac/Self-Paced-Learning-for-Neural-Machine-Translation/blob/HEAD/train/train_single.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"e3df1c14c40d9fb1"}},{"code_sha256_prefix":"3e20057ca76ab6bb","entry":"PositionWiseFeedForward","repo":"wanyu2018umac/Self-Paced-Learning-for-Neural-Machine-Translation","repo_kind":"official","path":"train/train_single.py","file_url":"https://github.com/wanyu2018umac/Self-Paced-Learning-for-Neural-Machine-Translation/blob/HEAD/train/train_single.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"3e20057ca76ab6bb"}},{"code_sha256_prefix":"3546c1593a46dcf5","entry":"TransformerDecoder","repo":"wanyu2018umac/Self-Paced-Learning-for-Neural-Machine-Translation","repo_kind":"official","path":"train/train_single.py","file_url":"https://github.com/wanyu2018umac/Self-Paced-Learning-for-Neural-Machine-Translation/blob/HEAD/train/train_single.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"3546c1593a46dcf5"}},{"code_sha256_prefix":"514696aa7b0edb39","entry":"TransformerDecoderLayer","repo":"wanyu2018umac/Self-Paced-Learning-for-Neural-Machine-Translation","repo_kind":"official","path":"train/train_single.py","file_url":"https://github.com/wanyu2018umac/Self-Paced-Learning-for-Neural-Machine-Translation/blob/HEAD/train/train_single.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"514696aa7b0edb39"}},{"code_sha256_prefix":"ac401606937e00fe","entry":"TransformerEncoder","repo":"wanyu2018umac/Self-Paced-Learning-for-Neural-Machine-Translation","repo_kind":"official","path":"train/train_single.py","file_url":"https://github.com/wanyu2018umac/Self-Paced-Learning-for-Neural-Machine-Translation/blob/HEAD/train/train_single.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"ac401606937e00fe"}},{"code_sha256_prefix":"e579d3edd8e83e00","entry":"TransformerEncoderLayer","repo":"wanyu2018umac/Self-Paced-Learning-for-Neural-Machine-Translation","repo_kind":"official","path":"train/train_single.py","file_url":"https://github.com/wanyu2018umac/Self-Paced-Learning-for-Neural-Machine-Translation/blob/HEAD/train/train_single.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"e579d3edd8e83e00"}},{"code_sha256_prefix":"8c50a1ed368c9c6c","entry":"TransformerMT","repo":"wanyu2018umac/Self-Paced-Learning-for-Neural-Machine-Translation","repo_kind":"official","path":"train/train_single.py","file_url":"https://github.com/wanyu2018umac/Self-Paced-Learning-for-Neural-Machine-Translation/blob/HEAD/train/train_single.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"8c50a1ed368c9c6c"}},{"code_sha256_prefix":"a39bc4073a5e5bc4","entry":"_monte_carlo_sample","repo":"wanyu2018umac/Self-Paced-Learning-for-Neural-Machine-Translation","repo_kind":"official","path":"train/train_single.py","file_url":"https://github.com/wanyu2018umac/Self-Paced-Learning-for-Neural-Machine-Translation/blob/HEAD/train/train_single.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"a39bc4073a5e5bc4"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}