Papers › Cross-Care: Assessing the Healthcare Implications of Pre-training Data on Language Model Bias

Cross-Care: Assessing the Healthcare Implications of Pre-training Data on Language Model Bias

9 May 2024arXiv:2405.05506archive 2025-07-28

Shan Chen, Jack Gallifant, Mingye Gao, Pedro Moreira, Nikolaj Munch, Ajay Muthukkumar, Arvind Rajan, Jaya Kolluri, Amelia Fiske, Janna Hastings, Hugo Aerts, Brian Anthony, Leo Anthony Celi, William G. La Cava, Danielle S. Bitterman

Large language models (LLMs) are increasingly essential in processing natural languages, yet their application is frequently compromised by biases and inaccuracies originating in their training data. In this study, we introduce Cross-Care, the first benchmark framework dedicated to assessing biases and real world knowledge in LLMs, specifically focusing on the representation of disease prevalence across diverse demographic groups. We systematically evaluate how demographic biases embedded in pre-training corpora like ThePile influence the outputs of LLMs. We expose and quantify discrepancies by juxtaposing these biases against actual disease prevalences in various U.S. demographic groups. Our results highlight substantial misalignment between LLM representation of disease prevalence and real disease prevalence rates across demographic subgroups, indicating a pronounced risk of bias propagation and a lack of real-world grounding for medical applications of LLMs. Furthermore, we observe that various alignment methods minimally resolve inconsistencies in the models' representation of disease prevalence across different languages. For further exploration and analysis, we make all data and a data visualization tool available at: www.crosscare.net.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2405.05506")

Code

Syntology Ran 16 of 20 code samples harvested from 1 repository linked to this paper; 4 have no recorded run. Of those that ran: 16 ran with no contract checked.

By repository: official repository: 20 samples from 1 repository, 16 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

shan23chen/cross-care officialmentioned in papermentioned on GitHubtfMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

20 samples harvested; 16 ran; 0 honoured the contract we drafted; 4 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

16ran
4unverified

Licence: 0 of the 20 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from shan23chen/cross-care. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: 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. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

calculate_disease_by_group shan23chen/cross-care/co_occurrence_generate/co_occurrence_analysis.py official repository ran MIT (permissive) · 4d08d3d7dced2ae0 · report
calculate_log_softmax_batch_non_seq2seq shan23chen/cross-care/logits_generate/hf_model.py official repository ran MIT (permissive) · 9a58c6dbe3abe198 · report
co_occurrence_within_window shan23chen/cross-care/co_occurrence_generate/co_occurrence_analysis.py official repository ran MIT (permissive) · 8bc7cb8d8bef7fc5 · report
create_keyword_pattern shan23chen/cross-care/co_occurrence_generate/co_occ_analysis.py official repository ran MIT (permissive) · 6f934cc1b439e9f8 · report
create_keyword_pattern shan23chen/cross-care/co_occurrence_generate/co_occurrence_analysis.py official repository ran MIT (permissive) · dd0d546bb4bf0215 · report
create_keyword_pattern shan23chen/cross-care/co_occurrence_generate/jsonl_data_filtering_c4.py official repository ran MIT (permissive) · 88ce89805a8ffe04 · report
extract_total_count_from_message shan23chen/cross-care/co_occurrence_generate/co_occurrence_infinigram_document_counts.py official repository ran fingerprinted MIT (permissive) · 59281530c199bbdd · report
find_co_occurrences shan23chen/cross-care/co_occurrence_generate/co_occ_analysis.py official repository ran MIT (permissive) · 1194ae31aea58742 · report
find_duplicates_in_file shan23chen/cross-care/co_occurrence_generate/check_keywords.py official repository ran MIT (permissive) · b894e1ed19d48aea · report
generate_case_variations shan23chen/cross-care/co_occurrence_generate/co_occurrence_infinigram.py official repository ran MIT (permissive) · f1d7a3870630867d · report
process_file shan23chen/cross-care/co_occurrence_generate/jsonl_data_filtering.py official repository ran MIT (permissive) · 293bc1ef76e375ef · report
process_file shan23chen/cross-care/co_occurrence_generate/jsonl_data_filtering_c4.py official repository ran MIT (permissive) · fe4d91f2f027fe4e · report
remove_latex_commands shan23chen/cross-care/co_occurrence_generate/jsonl_data_filtering.py official repository ran fingerprinted MIT (permissive) · c4a0e7d1de5f3a1c · report
remove_latex_commands shan23chen/cross-care/co_occurrence_generate/jsonl_data_filtering_c4.py official repository ran fingerprinted MIT (permissive) · a56f744d089c3d45 · report
search_documents_count shan23chen/cross-care/co_occurrence_generate/disease_document_count_infinigram.py official repository ran MIT (permissive) · 94cf61296c1ba3b8 · report
tokenize_for_seq2seq shan23chen/cross-care/logits_generate/hf_model.py official repository ran MIT (permissive) · f855d60484b63f8c · report
calculate_log_softmax_batch_seq2seq shan23chen/cross-care/logits_generate/hf_model.py official repository unverified MIT (permissive) · 23ba4360a5bd3294 · report
count_term shan23chen/cross-care/co_occurrence_generate/co_occurrence_infinigram.py official repository unverified MIT (permissive) · 4ea6258eabae7b12 · report
process_texts_in_parallel shan23chen/cross-care/co_occurrence_generate/co_occ_analysis.py official repository unverified MIT (permissive) · 8d57c440e1ad8631 · report
search_documents_for_corpus shan23chen/cross-care/co_occurrence_generate/co_occurrence_infinigram_document_counts.py official repository unverified MIT (permissive) · bf0bc2de96cec2ca · report

Tasks

Data VisualizationLanguage ModelingLanguage ModellingWorld Knowledge

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections