Oct 2026· Zenodo (CERN European Organization for Nuclear Research)
Abstract
## 👀Overview**FairMedQA** is an adversarial medical question answering dataset for benchmarking the bias of large language models (LLMs) in the medical question answering context. FairMedQA is created from the U.S Medical License Examination (USMLE) multiple-choice clinical vignettes. Each sample includes: * An original clinical vignette from the U.S Medical License Examination (USMLE) question bank (MedQA dataset).* A neutralized clinical vignette with sensitive attributes removed* Six adversarial variants targeting: * Race (Black vs. White) * Gender (Female vs. Male) * Socioeconomic Status (Low vs. High Income) Variants are generated using a multi-agent LLM pipeline and reviewed by humans for quality control. The following figure demonstrates the workflow of the creation of the FairMedQA dataset. ## 🏠Replication Package Structure ```FairMedQA-Materials/├── 1_FairMedQA_Dataset/ │ ├── FairMedQA_Dataset.jsonl/ # Final FairMedQA Dataset based on the adversarial variants from GPT-Agent and revised by Human Reviewers│ ├── Vignette_GPT-4.o.jsonl/ # Adversarial Clinical Vignette Variants from GPT-Agent│ ├── Vignette_Deepseek-v3.jsonl/ # Adversarial Clinical Vignette Variants from Deepseek-Agent│ └── .../├── 2_Scripts/ │ ├── FairMedQA_generation/ # Python script for generating adversarial variants from neutralized clinical vignette│ ├── FairMedQA_Benchmarking/ # Python script for benchmarking given LLMs│ └── .../├── 3_Results_Raw/ │ ├── FairMedQA_Answer_{LLM_Name}.jsonl # Raw answers from {LLM_Name} on original vignettes, neutralized vignettes, and vignette variants├── 4_Results_Analysis/ │ ├── Accuracy│ └── Fairness-Heatmap │ └── results.csv #all statistical analysis result``` ## ✍️ Evaluation Metrics * **Counterfactual Fair Rate**: Consistency across counterfactual variants* **Statistical Parity Difference**: Accuracy disparity between demographic groups* **Significance Testing**: McNemar's test for evaluating answer consistency ## 📰 Details of FairMedQA Dataset **Properties:** Currently, there are 801 samples in the FairMedQA dataset. Each sample contains 39 properties, including "question id", "original question", "neutralized question", 6 "adversarial description", six "adversarial variant", 6 "variant tag", answers on original question, neutralized question, and 6 variants...
The results are packaged in the Greenfield Startup Model (GSM), which explains the priority of startups to release the product as quickly as possible, and the need to shorten time-to-market, by speeding up the development through low-precision engineering activities.
Carmine Giardino, Nicolò Paternoster, M. Unterkalmsteiner et al.· IEEE Transactions on Softwar...· 178 citations· ⚡14
Software startup companies develop innovative, software-intensive products within limited timeframes and with few resources, searching for sustainable and scalable business models.
M. Unterkalmsteiner, P. Abrahamsson, Xiaofeng Wang et al.· e-Informatica Software Engin...· 157 citations· ⚡17
This study conducts a case survey study based on the secondary data of the major pivots happened in 49 software startups, and demonstrates that customer need pivot is the most common among all pivot types.
Sohaib Shahid Bajwa, Xiaofeng Wang, Anh Nguyen-Duc et al.· Empirical Software Engineeri...· 127 citations· ⚡15
The comparison of adopter and non-adopter sample reveals three potential adoption inhibitor, security, data privacy, and portability, which underlines the importance of the technical and security perspectives for research investigating the adoption of technology.
Nattakarn Phaphoom, Xiaofeng Wang, S. Samuel et al.· Journal of Systems and Softw...· 111 citations· ⚡8
The ongoing work building a Raspberry Pi cluster consisting of 300 nodes is presented, with potential use cases being an inexpensive and green test bed for cloud computing research and a robust and mobile data center for operating in adverse environments.
P. Abrahamsson, S. Helmer, Nattakarn Phaphoom et al.· IEEE International Conferenc...· 110 citations· ⚡7
The results indicate that software developers are a slightly happy population, but the need for limiting the unhappiness of developers remains, and 219 factors representing causes of unhappiness while developing software are identified.
D. Graziotin, Fabian Fagerholm, Xiaofeng Wang et al.· International Conference on...· 84 citations· ⚡6
Related blog posts
MIT News · Artificial Intelligence· news.mit.eduOct 8, 2026