{"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/citrus-leveraging-expert-cognitive-pathways","title":"Citrus: Leveraging Expert Cognitive Pathways in a Medical Language Model for Advanced Medical Decision Support","arxiv_id":"2502.18274","date":"2025-02-25","proceeding":null,"authors":["Guoxin Wang","Minyu Gao","Shuai Yang","Ya zhang","Lizhi He","Liang Huang","Hanlin Xiao","Yexuan Zhang","Wanyue Li","Lu Chen","Jintao Fei","Xin Li"],"abstract":"Large language models (LLMs), particularly those with reasoning capabilities, have rapidly advanced in recent years, demonstrating significant potential across a wide range of applications. However, their deployment in healthcare, especially in disease reasoning tasks, is hindered by the challenge of acquiring expert-level cognitive data. In this paper, we introduce Citrus, a medical language model that bridges the gap between clinical expertise and AI reasoning by emulating the cognitive processes of medical experts. The model is trained on a large corpus of simulated expert disease reasoning data, synthesized using a novel approach that accurately captures the decision-making pathways of clinicians. This approach enables Citrus to better simulate the complex reasoning processes involved in diagnosing and treating medical conditions.To further address the lack of publicly available datasets for medical reasoning tasks, we release the last-stage training data, including a custom-built medical diagnostic dialogue dataset. This open-source contribution aims to support further research and development in the field. Evaluations using authoritative benchmarks such as MedQA, covering tasks in medical reasoning and language understanding, show that Citrus achieves superior performance compared to other models of similar size. These results highlight Citrus potential to significantly enhance medical decision support systems, providing a more accurate and efficient tool for clinical decision-making.","url_abs":"https://arxiv.org/abs/2502.18274v1","url_pdf":"https://arxiv.org/pdf/2502.18274v1.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":"citrus-leveraging-expert-cognitive-pathways","repo_url":"https://github.com/jdh-algo/Citrus","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"decision-making","task_name":"Decision Making"},{"task_slug":"diagnostic","task_name":"Diagnostic"},{"task_slug":"language-modeling","task_name":"Language Modeling"},{"task_slug":"language-modelling","task_name":"Language Modelling"},{"task_slug":null,"task_name":"MedQA"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2502.18274","atlas_url":"https://app.syntology.ai/?focus=2502.18274","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2502.18274"}},"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":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/jdh-algo/Citrus","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran":4,"ran_violates":1,"unverified":3},"by_repo_kind":{"official":{"samples":8,"ran":5,"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":"9be97bcdb51fd634","entry":"apply_chat_template","repo":"jdh-algo/Citrus","repo_kind":"official","path":"model_train/alignment/data.py","file_url":"https://github.com/jdh-algo/Citrus/blob/HEAD/model_train/alignment/data.py","link_basis":"harvester_set","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":"9be97bcdb51fd634"}},{"code_sha256_prefix":"0edeacd7a9034f53","entry":"extract_docstring","repo":"jdh-algo/Citrus","repo_kind":"official","path":"model_train/alignment/decontaminate.py","file_url":"https://github.com/jdh-algo/Citrus/blob/HEAD/model_train/alignment/decontaminate.py","link_basis":"harvester_set","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":"0edeacd7a9034f53"}},{"code_sha256_prefix":"4253aac010c4504f","entry":"is_openai_format","repo":"jdh-algo/Citrus","repo_kind":"official","path":"model_train/alignment/data.py","file_url":"https://github.com/jdh-algo/Citrus/blob/HEAD/model_train/alignment/data.py","link_basis":"harvester_set","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"4253aac010c4504f"}},{"code_sha256_prefix":"a3791c5c2185e013","entry":"load_dataset_column","repo":"jdh-algo/Citrus","repo_kind":"official","path":"model_train/alignment/decontaminate.py","file_url":"https://github.com/jdh-algo/Citrus/blob/HEAD/model_train/alignment/decontaminate.py","link_basis":"harvester_set","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":"a3791c5c2185e013"}},{"code_sha256_prefix":"f43e59d239019e86","entry":"normalize_whitespace","repo":"jdh-algo/Citrus","repo_kind":"official","path":"model_train/alignment/decontaminate.py","file_url":"https://github.com/jdh-algo/Citrus/blob/HEAD/model_train/alignment/decontaminate.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"f43e59d239019e86"}},{"code_sha256_prefix":"6fa7941fd9b5c0a9","entry":"get_datasets","repo":"jdh-algo/Citrus","repo_kind":"official","path":"model_train/alignment/data.py","file_url":"https://github.com/jdh-algo/Citrus/blob/HEAD/model_train/alignment/data.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":"6fa7941fd9b5c0a9"}},{"code_sha256_prefix":"a9855b28808993c0","entry":"get_model_inference_openai_gpt","repo":"jdh-algo/Citrus","repo_kind":"official","path":"src/utils/model_inference_http.py","file_url":"https://github.com/jdh-algo/Citrus/blob/HEAD/src/utils/model_inference_http.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":"a9855b28808993c0"}},{"code_sha256_prefix":"d9b84d4cfe25edb2","entry":"model_inference_vllm","repo":"jdh-algo/Citrus","repo_kind":"official","path":"src/utils/model_inference_vllm.py","file_url":"https://github.com/jdh-algo/Citrus/blob/HEAD/src/utils/model_inference_vllm.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":"d9b84d4cfe25edb2"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}