{"about":{"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.","site":"https://codewithpapers.app","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","syntology":{"site":"https://syntology.ai","developers":"https://syntology.ai/developers","mcp":{"server":"https://syntology.ai/mcp","transport":"streamable-http","server_card":"https://syntology.ai/.well-known/mcp/server-card.json","auth":{"type":"trial token, no account","trial_token":"https://syntology.ai/api/oauth/trial/token","method":"POST","docs":"https://syntology.ai/developers"}},"have":"https://syntology.ai/api/graph/have?x=<method, arXiv id or title> (free, answers coverage only)","paper_base":"https://syntology.ai/paper/","atlas_base":"https://app.syntology.ai/?focus="},"machine_readable":[{"url":"https://codewithpapers.app/llms.txt","what":"the machine catalog: every machine-readable file, counted"},{"url":"https://codewithpapers.app/index/manifest.json","what":"paper-to-code index by arXiv id, with Syntology's counts"},{"url":"https://codewithpapers.app/search/manifest.json","what":"site search index (titles, authors) and its files"},{"url":"https://codewithpapers.app/download","what":"bulk files: Syntology's layer, described there"},{"url":"https://codewithpapers.app/build_manifest.json","what":"the build record: inputs, counts, exclusions, probes"}]},"url":"/paper/lego-absa-a-prompt-based-task-assemblable","title":"LEGO-ABSA: A Prompt-based Task Assemblable Unified Generative Framework for Multi-task Aspect-based Sentiment Analysis","arxiv_id":null,"date":"2022-10-01","proceeding":"COLING 2022 10","authors":["Tianhao Gao","Jun Fang","Hanyu Liu","Zhiyuan Liu","Chao Liu","Pengzhang Liu","Yongjun Bao","Weipeng Yan"],"abstract":"Aspect-based sentiment analysis (ABSA) has received increasing attention recently. ABSA can be divided into multiple tasks according to the different extracted elements. Existing generative methods usually treat the output as a whole string rather than the combination of different elements and only focus on a single task at once. This paper proposes a unified generative multi-task framework that can solve multiple ABSA tasks by controlling the type of task prompts consisting of multiple element prompts. Further, the proposed approach can train on simple tasks and transfer to difficult tasks by assembling task prompts, like assembling Lego bricks. We conduct experiments on six ABSA tasks across multiple benchmarks. Our proposed multi-task approach achieves new state-of-the-art results in almost all tasks and competitive results in task transfer scenarios.","url_abs":"https://aclanthology.org/2022.coling-1.610","url_pdf":"https://aclanthology.org/2022.coling-1.610.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":[],"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":[{"leaderboard":"/sota/aspect-based-sentiment-analysis-absa-on-asqp","task":"Aspect-Based Sentiment Analysis (ABSA)","dataset":"ASQP","model":"LEGO-ABSA (multi-task)","rank_in_archive_order":6,"of":12,"metrics":{"F1 (R15)":"46.10","F1 (R16)":"57.60"},"uses_additional_data":true},{"leaderboard":"/sota/aspect-based-sentiment-analysis-absa-on-aste","task":"Aspect-Based Sentiment Analysis (ABSA)","dataset":"ASTE","model":"LEGO-ABSA (multi-task)","rank_in_archive_order":7,"of":13,"metrics":{"F1 (L14)":"62.20","F1 (R15)":"64.40","F1 (R16)":"69.90","F1(R14)":"73.70"},"uses_additional_data":true},{"leaderboard":"/sota/aspect-based-sentiment-analysis-absa-on-tasd","task":"Aspect-Based Sentiment Analysis (ABSA)","dataset":"TASD","model":"LEGO-ABSA (multi-task)","rank_in_archive_order":5,"of":11,"metrics":{"F1 (R15)":"62.30","F1 (R16)":"71.80"},"uses_additional_data":true}],"syntology":{"syntology_url":null,"atlas_url":null,"mcp":null,"developers":"https://syntology.ai/developers","held":null,"reason":"no_arxiv_id","checked_against":null,"by_repo":[],"by_repo_is":"one row per repository in the archive's code links, Syntology's graph links or the samples; samples 0 means no sample is linked to this paper, a statement about Syntology's coverage, not about the repository: with harvested_for_other_papers present, Syntology harvested the repository for that many other papers, and without it, Syntology harvested nothing from it; placed_by_identical_code counts samples whose link records no repository, placed here because identical code was harvested from this repository for another paper; ran counts executions on a synthesized input and instrument counts failures of Syntology's instrument, not of the code"},"code_links_note":"the archive holds no code link for this paper","arxiv_metadata":null,"syntology_extracted_results":null,"record_sha256":"91be8c07886c65daf6b2fb5ad662644709774a63fe0769d867063d96ed756d62","record_changed_at":"2026-09-28","record_changed_at_basis":"first_hashed"}