{"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/learning-implicit-sentiment-in-aspect-based","title":"Learning Implicit Sentiment in Aspect-based Sentiment Analysis with Supervised Contrastive Pre-Training","arxiv_id":"2111.02194","date":"2021-11-03","proceeding":"EMNLP 2021 11","authors":["Zhengyan Li","Yicheng Zou","Chong Zhang","Qi Zhang","Zhongyu Wei"],"abstract":"Aspect-based sentiment analysis aims to identify the sentiment polarity of a specific aspect in product reviews. We notice that about 30% of reviews do not contain obvious opinion words, but still convey clear human-aware sentiment orientation, which is known as implicit sentiment. However, recent neural network-based approaches paid little attention to implicit sentiment entailed in the reviews. To overcome this issue, we adopt Supervised Contrastive Pre-training on large-scale sentiment-annotated corpora retrieved from in-domain language resources. By aligning the representation of implicit sentiment expressions to those with the same sentiment label, the pre-training process leads to better capture of both implicit and explicit sentiment orientation towards aspects in reviews. Experimental results show that our method achieves state-of-the-art performance on SemEval2014 benchmarks, and comprehensive analysis validates its effectiveness on learning implicit sentiment.","url_abs":"https://arxiv.org/abs/2111.02194v1","url_pdf":"https://arxiv.org/pdf/2111.02194v1.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":"learning-implicit-sentiment-in-aspect-based","repo_url":"https://github.com/tribleave/scapt-absa","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"aspect-based-sentiment-analysis-1","task_name":"Aspect-Based Sentiment Analysis"},{"task_slug":"aspect-based-sentiment-analysis","task_name":"Aspect-Based Sentiment Analysis (ABSA)"},{"task_slug":"sentiment-analysis","task_name":"Sentiment Analysis"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2111.02194","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2111.02194"}},"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/tribleave/scapt-absa","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"deterministic:regex_extraction","url":"https://github.com/Tribleave/SCAPT-ABSA","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran_draft_wrong":2,"unverified":4},"by_repo_kind":{"official":{"samples":6,"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":"8d23fbe2b99b840b","entry":"gelu","repo":"Tribleave/SCAPT-ABSA","repo_kind":"official","path":"model/module/misc.py","file_url":"https://github.com/Tribleave/SCAPT-ABSA/blob/HEAD/model/module/misc.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"8d23fbe2b99b840b"}},{"code_sha256_prefix":"e6d0d3fd5a52390a","entry":"gumbel_softmax","repo":"Tribleave/SCAPT-ABSA","repo_kind":"official","path":"model/module/misc.py","file_url":"https://github.com/Tribleave/SCAPT-ABSA/blob/HEAD/model/module/misc.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e6d0d3fd5a52390a"}},{"code_sha256_prefix":"d14e4a162e0143ca","entry":"get_masked_inputs_and_labels","repo":"Tribleave/SCAPT-ABSA","repo_kind":"official","path":"train/misc.py","file_url":"https://github.com/Tribleave/SCAPT-ABSA/blob/HEAD/train/misc.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":"d14e4a162e0143ca"}},{"code_sha256_prefix":"81f6be17de0bf524","entry":"get_model_path","repo":"Tribleave/SCAPT-ABSA","repo_kind":"official","path":"train/misc.py","file_url":"https://github.com/Tribleave/SCAPT-ABSA/blob/HEAD/train/misc.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":"81f6be17de0bf524"}},{"code_sha256_prefix":"5cf320d5a6726479","entry":"parse_json","repo":"Tribleave/SCAPT-ABSA","repo_kind":"official","path":"preprocess/utils.py","file_url":"https://github.com/Tribleave/SCAPT-ABSA/blob/HEAD/preprocess/utils.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":"5cf320d5a6726479"}},{"code_sha256_prefix":"b9a0638f8e3d830b","entry":"prepare_dataset","repo":"Tribleave/SCAPT-ABSA","repo_kind":"official","path":"train/misc.py","file_url":"https://github.com/Tribleave/SCAPT-ABSA/blob/HEAD/train/misc.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":"b9a0638f8e3d830b"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}