{"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/revisiting-the-evaluation-metrics-of","title":"On the Evaluation Metrics for Paraphrase Generation","arxiv_id":"2202.08479","date":"2022-02-17","proceeding":null,"authors":["Lingfeng Shen","Lemao Liu","Haiyun Jiang","Shuming Shi"],"abstract":"In this paper we revisit automatic metrics for paraphrase evaluation and obtain two findings that disobey conventional wisdom: (1) Reference-free metrics achieve better performance than their reference-based counterparts. (2) Most commonly used metrics do not align well with human annotation. Underlying reasons behind the above findings are explored through additional experiments and in-depth analyses. Based on the experiments and analyses, we propose ParaScore, a new evaluation metric for paraphrase generation. It possesses the merits of reference-based and reference-free metrics and explicitly models lexical divergence. Experimental results demonstrate that ParaScore significantly outperforms existing metrics.","url_abs":"https://arxiv.org/abs/2202.08479v2","url_pdf":"https://arxiv.org/pdf/2202.08479v2.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":"revisiting-the-evaluation-metrics-of","repo_url":"https://github.com/shadowkiller33/parascore","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}}],"tasks":[{"task_slug":"machine-translation","task_name":"Machine Translation"},{"task_slug":"paraphrase-generation","task_name":"Paraphrase Generation"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2202.08479","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2202.08479"}},"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/shadowkiller33/parascore","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"ran":2,"unverified":12},"by_repo_kind":{"official":{"samples":14,"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":"8b3846aabf2bb7ef","entry":"read_file_to_list","repo":"shadowkiller33/parascore","repo_kind":"official","path":"BARTScore/utils.py","file_url":"https://github.com/shadowkiller33/parascore/blob/HEAD/BARTScore/utils.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"8b3846aabf2bb7ef"}},{"code_sha256_prefix":"1ab147c8cefa1585","entry":"read_pickle","repo":"shadowkiller33/parascore","repo_kind":"official","path":"BARTScore/utils.py","file_url":"https://github.com/shadowkiller33/parascore/blob/HEAD/BARTScore/utils.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"1ab147c8cefa1585"}},{"code_sha256_prefix":"5e189add31fe0b72","entry":"average","repo":"shadowkiller33/parascore","repo_kind":"official","path":"src/utils.py","file_url":"https://github.com/shadowkiller33/parascore/blob/HEAD/src/utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"5e189add31fe0b72"}},{"code_sha256_prefix":"b49bbd4994987830","entry":"cal_meteor","repo":"shadowkiller33/parascore","repo_kind":"official","path":"src/baseline.py","file_url":"https://github.com/shadowkiller33/parascore/blob/HEAD/src/baseline.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"b49bbd4994987830"}},{"code_sha256_prefix":"12aff521567b9608","entry":"cal_sen_bleu","repo":"shadowkiller33/parascore","repo_kind":"official","path":"src/baseline.py","file_url":"https://github.com/shadowkiller33/parascore/blob/HEAD/src/baseline.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"12aff521567b9608"}},{"code_sha256_prefix":"3fede4adffad7e69","entry":"edit","repo":"shadowkiller33/parascore","repo_kind":"official","path":"src/utils.py","file_url":"https://github.com/shadowkiller33/parascore/blob/HEAD/src/utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"3fede4adffad7e69"}},{"code_sha256_prefix":"9caae53148142d2b","entry":"get_model","repo":"shadowkiller33/parascore","repo_kind":"official","path":"bert_score/utils.py","file_url":"https://github.com/shadowkiller33/parascore/blob/HEAD/bert_score/utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"9caae53148142d2b"}},{"code_sha256_prefix":"0789b5ae053b6b74","entry":"get_tokenizer","repo":"shadowkiller33/parascore","repo_kind":"official","path":"bert_score/utils.py","file_url":"https://github.com/shadowkiller33/parascore/blob/HEAD/bert_score/utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"0789b5ae053b6b74"}},{"code_sha256_prefix":"a90c4324948923f4","entry":"isChineseChar","repo":"shadowkiller33/parascore","repo_kind":"official","path":"src/tokenizeChinese.py","file_url":"https://github.com/shadowkiller33/parascore/blob/HEAD/src/tokenizeChinese.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"a90c4324948923f4"}},{"code_sha256_prefix":"10e7ac066353d8e1","entry":"max_pooling","repo":"shadowkiller33/parascore","repo_kind":"official","path":"src/utils.py","file_url":"https://github.com/shadowkiller33/parascore/blob/HEAD/src/utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"10e7ac066353d8e1"}},{"code_sha256_prefix":"8f1719ca230ca245","entry":"score","repo":"shadowkiller33/parascore","repo_kind":"official","path":"bert_score/score.py","file_url":"https://github.com/shadowkiller33/parascore/blob/HEAD/bert_score/score.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"8f1719ca230ca245"}},{"code_sha256_prefix":"7aa792f0b1258927","entry":"sent_encode","repo":"shadowkiller33/parascore","repo_kind":"official","path":"bert_score/utils.py","file_url":"https://github.com/shadowkiller33/parascore/blob/HEAD/bert_score/utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"7aa792f0b1258927"}},{"code_sha256_prefix":"39127f87f72d1142","entry":"tokenizeSentence","repo":"shadowkiller33/parascore","repo_kind":"official","path":"src/tokenizeChinese.py","file_url":"https://github.com/shadowkiller33/parascore/blob/HEAD/src/tokenizeChinese.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"39127f87f72d1142"}},{"code_sha256_prefix":"3622ee6e7373fea5","entry":"tokenizeString","repo":"shadowkiller33/parascore","repo_kind":"official","path":"src/tokenizeChinese.py","file_url":"https://github.com/shadowkiller33/parascore/blob/HEAD/src/tokenizeChinese.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"3622ee6e7373fea5"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}