{"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/transfer-learning-with-synthetic-corpora-for","title":"Transfer Learning with Synthetic Corpora for Spatial Role Labeling and Reasoning","arxiv_id":"2210.16952","date":"2022-10-30","proceeding":null,"authors":["Roshanak Mirzaee","Parisa Kordjamshidi"],"abstract":"Recent research shows synthetic data as a source of supervision helps pretrained language models (PLM) transfer learning to new target tasks/domains. However, this idea is less explored for spatial language. We provide two new data resources on multiple spatial language processing tasks. The first dataset is synthesized for transfer learning on spatial question answering (SQA) and spatial role labeling (SpRL). Compared to previous SQA datasets, we include a larger variety of spatial relation types and spatial expressions. Our data generation process is easily extendable with new spatial expression lexicons. The second one is a real-world SQA dataset with human-generated questions built on an existing corpus with SPRL annotations. This dataset can be used to evaluate spatial language processing models in realistic situations. We show pretraining with automatically generated data significantly improves the SOTA results on several SQA and SPRL benchmarks, particularly when the training data in the target domain is small.","url_abs":"https://arxiv.org/abs/2210.16952v2","url_pdf":"https://arxiv.org/pdf/2210.16952v2.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":"transfer-learning-with-synthetic-corpora-for","repo_url":"https://github.com/hlr/spartun","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"none","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"question-answering","task_name":"Question Answering"},{"task_slug":"transfer-learning","task_name":"Transfer Learning"}],"methods":[],"datasets_introduced":[{"slug":"resq","name":"ResQ","full_name":"Real-world Spatial Question Answering"},{"slug":"spartun","name":"SpaRTUN","full_name":""}],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2210.16952","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2210.16952"}},"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/hlr/spartun","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"unverified":12},"by_repo_kind":{"official":{"samples":12,"ran":0,"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":"1b61b695e4b1591b","entry":"blocks","repo":"hlr/spartun","repo_kind":"official","path":"Annotation.py","file_url":"https://github.com/hlr/spartun/blob/HEAD/Annotation.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":"1b61b695e4b1591b"}},{"code_sha256_prefix":"d6229884b540daa0","entry":"change_words","repo":"hlr/spartun","repo_kind":"official","path":"Change_Words.py","file_url":"https://github.com/hlr/spartun/blob/HEAD/Change_Words.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":"d6229884b540daa0"}},{"code_sha256_prefix":"8bf1ca2d5402acbb","entry":"change_words_ans","repo":"hlr/spartun","repo_kind":"official","path":"Change_Words.py","file_url":"https://github.com/hlr/spartun/blob/HEAD/Change_Words.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":"8bf1ca2d5402acbb"}},{"code_sha256_prefix":"e1ba4d64b3969bd1","entry":"choose_between_rels","repo":"hlr/spartun","repo_kind":"official","path":"Random_multistep_choice.py","file_url":"https://github.com/hlr/spartun/blob/HEAD/Random_multistep_choice.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":"e1ba4d64b3969bd1"}},{"code_sha256_prefix":"541abab8fb2b7ac0","entry":"creating_annotation","repo":"hlr/spartun","repo_kind":"official","path":"Annotation.py","file_url":"https://github.com/hlr/spartun/blob/HEAD/Annotation.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":"541abab8fb2b7ac0"}},{"code_sha256_prefix":"2fc37c47e7c90927","entry":"example_path","repo":"hlr/spartun","repo_kind":"official","path":"Generate_graph.py","file_url":"https://github.com/hlr/spartun/blob/HEAD/Generate_graph.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":"2fc37c47e7c90927"}},{"code_sha256_prefix":"ff8e4a6ae1517a36","entry":"obj_obj_relation","repo":"hlr/spartun","repo_kind":"official","path":"Find_Relations_type.py","file_url":"https://github.com/hlr/spartun/blob/HEAD/Find_Relations_type.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":"ff8e4a6ae1517a36"}},{"code_sha256_prefix":"606cc962682d5541","entry":"objects","repo":"hlr/spartun","repo_kind":"official","path":"Annotation.py","file_url":"https://github.com/hlr/spartun/blob/HEAD/Annotation.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":"606cc962682d5541"}},{"code_sha256_prefix":"5af880837188dad5","entry":"relation","repo":"hlr/spartun","repo_kind":"official","path":"Change_Words.py","file_url":"https://github.com/hlr/spartun/blob/HEAD/Change_Words.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":"5af880837188dad5"}},{"code_sha256_prefix":"e6a9958433de840f","entry":"scene_obj_relation","repo":"hlr/spartun","repo_kind":"official","path":"Find_Relations_type.py","file_url":"https://github.com/hlr/spartun/blob/HEAD/Find_Relations_type.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":"e6a9958433de840f"}},{"code_sha256_prefix":"f92ece4a0b9981c0","entry":"scene_scene_relation","repo":"hlr/spartun","repo_kind":"official","path":"Find_Relations_type.py","file_url":"https://github.com/hlr/spartun/blob/HEAD/Find_Relations_type.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":"f92ece4a0b9981c0"}},{"code_sha256_prefix":"453eb61b94e9f7ba","entry":"total_number_func","repo":"hlr/spartun","repo_kind":"official","path":"Random_multistep_choice.py","file_url":"https://github.com/hlr/spartun/blob/HEAD/Random_multistep_choice.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":"453eb61b94e9f7ba"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}