{"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/ccil-context-conditioned-imitation-learning","title":"CCIL: Context-conditioned imitation learning for urban driving","arxiv_id":"2305.02649","date":"2023-05-04","proceeding":null,"authors":["Ke Guo","Wei Jing","Junbo Chen","Jia Pan"],"abstract":"Imitation learning holds great promise for addressing the complex task of autonomous urban driving, as experienced human drivers can navigate highly challenging scenarios with ease. While behavior cloning is a widely used imitation learning approach in autonomous driving due to its exemption from risky online interactions, it suffers from the covariate shift issue. To address this limitation, we propose a context-conditioned imitation learning approach that employs a policy to map the context state into the ego vehicle's future trajectory, rather than relying on the traditional formulation of both ego and context states to predict the ego action. Additionally, to reduce the implicit ego information in the coordinate system, we design an ego-perturbed goal-oriented coordinate system. The origin of this coordinate system is the ego vehicle's position plus a zero mean Gaussian perturbation, and the x-axis direction points towards its goal position. Our experiments on the real-world large-scale Lyft and nuPlan datasets show that our method significantly outperforms state-of-the-art approaches.","url_abs":"https://arxiv.org/abs/2305.02649v1","url_pdf":"https://arxiv.org/pdf/2305.02649v1.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":"links_only","authors_date_abstract":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license), from the Kaggle arXiv metadata snapshot of 2026-09-12"},"code_links":[{"paper_slug":"ccil-context-conditioned-imitation-learning","repo_url":"https://github.com/Kguo-cs/ccil","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2305.02649","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2305.02649"}},"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/Kguo-cs/ccil","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran_draft_wrong":1,"unverified":6},"by_repo_kind":{"listed":{"samples":7,"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":"612774f5e2ab3ddb","entry":"bger","repo":"Kguo-cs/ccil","repo_kind":"listed","path":"model/lqr_solver.py","file_url":"https://github.com/Kguo-cs/ccil/blob/HEAD/model/lqr_solver.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":"612774f5e2ab3ddb"}},{"code_sha256_prefix":"24985d610459b138","entry":"eclamp","repo":"Kguo-cs/ccil","repo_kind":"listed","path":"model/lqr_solver.py","file_url":"https://github.com/Kguo-cs/ccil/blob/HEAD/model/lqr_solver.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":"24985d610459b138"}},{"code_sha256_prefix":"4617723d7391e6d7","entry":"get_device","repo":"Kguo-cs/ccil","repo_kind":"listed","path":"evaluate/metric_utils.py","file_url":"https://github.com/Kguo-cs/ccil/blob/HEAD/evaluate/metric_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":"4617723d7391e6d7"}},{"code_sha256_prefix":"99dc0150556c98f4","entry":"get_history","repo":"Kguo-cs/ccil","repo_kind":"listed","path":"toy/ccil_dataset.py","file_url":"https://github.com/Kguo-cs/ccil/blob/HEAD/toy/ccil_dataset.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":"99dc0150556c98f4"}},{"code_sha256_prefix":"48ddcc59dab8479e","entry":"make_categorical","repo":"Kguo-cs/ccil","repo_kind":"listed","path":"evaluate/metric_utils.py","file_url":"https://github.com/Kguo-cs/ccil/blob/HEAD/evaluate/metric_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":"48ddcc59dab8479e"}},{"code_sha256_prefix":"35abbdd57a673c2b","entry":"pnqp","repo":"Kguo-cs/ccil","repo_kind":"listed","path":"model/lqr_solver.py","file_url":"https://github.com/Kguo-cs/ccil/blob/HEAD/model/lqr_solver.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":"35abbdd57a673c2b"}},{"code_sha256_prefix":"c3bcfb16fafde775","entry":"safe_compute","repo":"Kguo-cs/ccil","repo_kind":"listed","path":"evaluate/metric_utils.py","file_url":"https://github.com/Kguo-cs/ccil/blob/HEAD/evaluate/metric_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":"c3bcfb16fafde775"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}