{"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/coach-a-coarse-to-fine-approach-for-cross","title":"Coach: A Coarse-to-Fine Approach for Cross-domain Slot Filling","arxiv_id":"2004.11727","date":"2020-04-24","proceeding":"ACL 2020 6","authors":["Zihan Liu","Genta Indra Winata","Peng Xu","Pascale Fung"],"abstract":"As an essential task in task-oriented dialog systems, slot filling requires extensive training data in a certain domain. However, such data are not always available. Hence, cross-domain slot filling has naturally arisen to cope with this data scarcity problem. In this paper, we propose a Coarse-to-fine approach (Coach) for cross-domain slot filling. Our model first learns the general pattern of slot entities by detecting whether the tokens are slot entities or not. It then predicts the specific types for the slot entities. In addition, we propose a template regularization approach to improve the adaptation robustness by regularizing the representation of utterances based on utterance templates. Experimental results show that our model significantly outperforms state-of-the-art approaches in slot filling. Furthermore, our model can also be applied to the cross-domain named entity recognition task, and it achieves better adaptation performance than other existing baselines. The code is available at https://github.com/zliucr/coach.","url_abs":"https://arxiv.org/abs/2004.11727v1","url_pdf":"https://arxiv.org/pdf/2004.11727v1.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":"coach-a-coarse-to-fine-approach-for-cross","repo_url":"https://github.com/zliucr/coach","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"cross-domain-named-entity-recognition","task_name":"Cross-Domain Named Entity Recognition"},{"task_slug":"named-entity-recognition-1","task_name":"Named Entity Recognition"},{"task_slug":"named-entity-recognition-ner","task_name":"Named Entity Recognition (NER)"},{"task_slug":"slot-filling","task_name":"Slot Filling"},{"task_slug":"named-entity-recognition","task_name":"named-entity-recognition"},{"task_slug":"slot-filling-1","task_name":"slot-filling"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2004.11727","atlas_url":"https://app.syntology.ai/?focus=2004.11727","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2004.11727"}},"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":"deterministic:regex_extraction","url":"https://github.com/zliucr/coach","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran":1,"unverified":5},"by_repo_kind":{"official":{"samples":6,"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":"fafc725843e626cf","entry":"load_embedding","repo":"zliucr/coach","repo_kind":"official","path":"src/utils.py","file_url":"https://github.com/zliucr/coach/blob/HEAD/src/utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"fafc725843e626cf"}},{"code_sha256_prefix":"ca0c55236c1a570d","entry":"create_logger","repo":"zliucr/coach","repo_kind":"official","path":"src/utils.py","file_url":"https://github.com/zliucr/coach/blob/HEAD/src/utils.py","link_basis":"first_harvest_node","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":"ca0c55236c1a570d"}},{"code_sha256_prefix":"ed7ede0eaeef935b","entry":"evaluate","repo":"zliucr/coach","repo_kind":"official","path":"src/conll2002_metrics.py","file_url":"https://github.com/zliucr/coach/blob/HEAD/src/conll2002_metrics.py","link_basis":"first_harvest_node","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":"ed7ede0eaeef935b"}},{"code_sha256_prefix":"d8508a4d683312a6","entry":"init_experiment","repo":"zliucr/coach","repo_kind":"official","path":"src/utils.py","file_url":"https://github.com/zliucr/coach/blob/HEAD/src/utils.py","link_basis":"first_harvest_node","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":"d8508a4d683312a6"}},{"code_sha256_prefix":"6dfc81a02ee3dd85","entry":"parse_args","repo":"zliucr/coach","repo_kind":"official","path":"src/conll2002_metrics.py","file_url":"https://github.com/zliucr/coach/blob/HEAD/src/conll2002_metrics.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":"6dfc81a02ee3dd85"}},{"code_sha256_prefix":"2e9480de024f3eec","entry":"parse_tag","repo":"zliucr/coach","repo_kind":"official","path":"src/conll2002_metrics.py","file_url":"https://github.com/zliucr/coach/blob/HEAD/src/conll2002_metrics.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":"2e9480de024f3eec"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}