{"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/simple-and-effective-text-matching-with-1","title":"Simple and Effective Text Matching with Richer Alignment Features","arxiv_id":"1908.00300","date":"2019-08-01","proceeding":"ACL 2019 7","authors":["Runqi Yang","Jianhai Zhang","Xing Gao","Feng Ji","Haiqing Chen"],"abstract":"In this paper, we present a fast and strong neural approach for general purpose text matching applications. We explore what is sufficient to build a fast and well-performed text matching model and propose to keep three key features available for inter-sequence alignment: original point-wise features, previous aligned features, and contextual features while simplifying all the remaining components. We conduct experiments on four well-studied benchmark datasets across tasks of natural language inference, paraphrase identification and answer selection. The performance of our model is on par with the state-of-the-art on all datasets with much fewer parameters and the inference speed is at least 6 times faster compared with similarly performed ones.","url_abs":"https://arxiv.org/abs/1908.00300v1","url_pdf":"https://arxiv.org/pdf/1908.00300v1.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":"simple-and-effective-text-matching-with-1","repo_url":"https://github.com/hitvoice/RE2","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"tf","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"simple-and-effective-text-matching-with-1","repo_url":"https://github.com/alibaba-edu/simple-effective-text-matching","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"tf","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"simple-and-effective-text-matching-with-1","repo_url":"https://github.com/alibaba-edu/simple-effective-text-matching-pytorch","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}}],"tasks":[{"task_slug":"answer-selection","task_name":"Answer Selection"},{"task_slug":"natural-language-inference","task_name":"Natural Language Inference"},{"task_slug":"paraphrase-identification","task_name":"Paraphrase Identification"},{"task_slug":"question-answering","task_name":"Question Answering"},{"task_slug":"text-matching","task_name":"Text Matching"}],"methods":[{"method_slug":"speed","method_name":"SPEED"}],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/natural-language-inference-on-snli","task":"Natural Language Inference","dataset":"SNLI","model":"RE2","rank_in_archive_order":24,"of":98,"metrics":{"% Test Accuracy":"88.9","% Train Accuracy":"94.0","Parameters":"2.8m"},"uses_additional_data":false},{"leaderboard":"/sota/natural-language-inference-on-scitail","task":"Natural Language Inference","dataset":"SciTail","model":"RE2","rank_in_archive_order":6,"of":13,"metrics":{"Accuracy":"86.0"},"uses_additional_data":false},{"leaderboard":"/sota/paraphrase-identification-on-quora-question","task":"Paraphrase Identification","dataset":"Quora Question Pairs","model":"RE2","rank_in_archive_order":18,"of":31,"metrics":{"Accuracy":"89.2"},"uses_additional_data":false},{"leaderboard":"/sota/question-answering-on-quora-question-pairs","task":"Question Answering","dataset":"Quora Question Pairs","model":"RE2","rank_in_archive_order":13,"of":19,"metrics":{"Accuracy":"89.2 %"},"uses_additional_data":false},{"leaderboard":"/sota/question-answering-on-wikiqa","task":"Question Answering","dataset":"WikiQA","model":"RE2","rank_in_archive_order":9,"of":25,"metrics":{"MAP":"0.7452","MRR":"0.7618"},"uses_additional_data":false}],"syntology":{"syntology_url":"https://syntology.ai/paper/1908.00300","atlas_url":"https://app.syntology.ai/?focus=1908.00300","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"1908.00300"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+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/alibaba-edu/simple-effective-text-matching-pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/hitvoice/RE2","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/alibaba-edu/simple-effective-text-matching","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"ran_honours":1},"by_repo_kind":{"listed":{"samples":1,"ran":1,"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":"dc02d636fe86e94c","entry":"pooling","repo":"alibaba-edu/simple-effective-text-matching","repo_kind":"listed","path":"src/modules/pooling.py","file_url":"https://github.com/alibaba-edu/simple-effective-text-matching/blob/HEAD/src/modules/pooling.py","link_basis":"plan_row","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"dc02d636fe86e94c"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}