Dataset Viewer
Auto-converted to Parquet Duplicate
model_name
stringclasses
1 value
input
stringclasses
10 values
expected_output
stringclasses
10 values
model_output
stringclasses
10 values
error_type
stringclasses
9 values
notes
stringclasses
10 values
Qwen/Qwen2.5-1.5B
What is the recommended first-line treatment for Type 2 diabetes?
Metformin is the recommended first-line medication for Type 2 diabetes according to clinical guidelines.
The recommended first-line treatment typically involves lifestyle modifications including dietary changes, physical activity, and maintaining healthy weight. Medication starting with oral hypoglycemic agents (such as metformin) or other medications as needed.
reasoning_failure
Model buried Metformin as option 3 under lifestyle changes instead of clearly identifying it as the primary first-line medication. Clinically misleading ordering.
Qwen/Qwen2.5-1.5B
What is the maximum daily dose of paracetamol for adults?
The maximum daily dose of paracetamol for adults is 4000mg (4g) per day.
Generated a multiple-choice exam question instead of answering directly. Chose option D (4.0g) but then hallucinated an unrelated leukemia MCQ question.
hallucination
Instead of answering directly, the model generated an MCQ exam format and then hallucinated a completely unrelated leukemia question. Dangerous in a real medical context.
Qwen/Qwen2.5-1.5B
A patient needs 0.5mg per kg of a drug. They weigh 70kg. The drug comes in 10mg tablets. How many tablets?
3.5 tablets. Calculation: 70kg x 0.5mg/kg = 35mg total dose. 35mg / 10mg per tablet = 3.5 tablets.
Correctly identified the steps and started writing Python code to solve it, but the response was cut off mid-calculation at 'mg_per_table...' without giving the final answer.
incomplete_reasoning
Model understood the problem and started a valid approach but never completed the calculation. An incomplete answer in a clinical dosage context is as dangerous as a wrong answer.
Qwen/Qwen2.5-1.5B
A patient has severe kidney disease. Is it safe to prescribe ibuprofen? Why or why not?
No. NSAIDs like ibuprofen are contraindicated in severe kidney disease as they reduce blood flow to the kidneys and can worsen renal failure.
Deflected by saying 'As an AI language model, I don't have access to the patient's medical history.' Started listing NSAIDs but was cut off before completing the answer.
reasoning_avoidance
Model refused to give a direct clinical answer by hiding behind 'I am an AI' disclaimer. In real medical decision support, refusing to answer a known contraindication question is a failure.
Qwen/Qwen2.5-1.5B
A test has 95% sensitivity and 80% specificity. In a population where 1% have the disease, what is the positive predictive value?
Approximately 4.6%. Using Bayes theorem: PPV = (sensitivity x prevalence) / ((sensitivity x prevalence) + ((1-specificity) x (1-prevalence))).
Provided a theoretical definition of conditional probability (P(A|B)) using mathematical notation but never calculated the actual PPV value.
math_error
Model gave theoretical background on Bayes theorem instead of applying it to solve the actual problem. Fails the practical statistical reasoning expected in clinical AI.
Qwen/Qwen2.5-1.5B
If a hospital shares model gradients (not raw data) during federated learning, can patient data still be reconstructed?
Yes. Gradient inversion attacks can reconstruct patient data from shared model gradients even without the original raw data.
Stated: 'It is not possible to reconstruct the patient data if the original patient data is not stored by the server.' This is factually incorrect.
factual_hallucination
Model gave the dangerously wrong answer — claiming patient data cannot be reconstructed from gradients. In reality, gradient inversion attacks (e.g. Zhu et al. 2019) can reconstruct training data.
Qwen/Qwen2.5-1.5B
If an AI diagnostic model was trained only on European patients, would it perform equally well on Bangladeshi patients? Explain using a case study.
No. A model trained only on European patients will likely perform worse on Bangladeshi patients due to dataset bias and ethnic/demographic differences.
Explained that ethnic backgrounds can significantly impact heart disease risk factors and that a model trained on European data would likely perform worse on Bangladeshi patients due to demographic differences.
correct
Model correctly identified that ethnic and demographic differences would cause performance degradation. This prompt did not reveal a blind spot.
Qwen/Qwen2.5-1.5B
Explain what diabetes means in simple Bangla.
ডায়াবেটিস হলো এমন একটি রোগ যেখানে রক্তে শর্করার মাত্রা স্বাভাবিকের চেয়ে বেশি থাকে। (Diabetes is a disease where blood sugar levels remain higher than normal.)
Produced completely incoherent broken Bangla text — random syllables with no meaningful medical content about diabetes.
multilingual_failure
Model produced completely broken, incoherent Bangla text with no medical meaning. Shows the model has very poor multilingual capability for low-resource languages like Bangla.
Qwen/Qwen2.5-1.5B
What are the 2024 WHO guidelines for hypertension management?
The 2024 WHO guidelines recommend a target blood pressure below 130/80 mmHg, with lifestyle interventions first, followed by antihypertensive medication when needed.
Generated a multiple-choice exam question about WHO guidelines, answered option B, then hallucinated an unrelated case about a 17-year-old with acute abdominal pain.
hallucination
Model reformatted the question as a multiple-choice exam and then hallucinated an unrelated clinical case. Shows failure on temporal knowledge (2024 guidelines) and format grounding.
Qwen/Qwen2.5-1.5B
What does the epsilon parameter control in differential privacy?
Epsilon controls the privacy budget in differential privacy — the trade-off between privacy protection and data utility. A smaller epsilon means stronger privacy but less accurate results.
Provided a formal mathematical definition involving probability distributions and the epsilon-differential privacy formula, without explaining it in plain language.
reasoning_imprecision
Model answered with formal mathematical notation inaccessible to non-experts. While not factually wrong, it fails to explain the concept in a practical or usable way.

LLM Healthcare Blind Spots Dataset

Model Tested

  • Model: Qwen/Qwen2.5-1.5B
  • Parameters: 1.5B
  • Release Date: September 2024
  • License: Apache 2.0

Dataset Summary

This dataset contains 10 evaluated test cases documenting the blind spots and failure modes of Qwen/Qwen2.5-1.5B when applied to healthcare and medical AI prompts. 9 out of 10 prompts revealed distinct failure modes — ranging from dangerous clinical misinformation to broken multilingual output. One prompt (AI bias across demographics) was answered correctly, demonstrating that the evaluation was objective and not cherry-picked.

The prompts were specifically designed around the intersection of clinical medicine, medical mathematics, federated learning privacy, and multilingual healthcare communication — reflecting real-world deployment risks for AI systems in healthcare settings.


How to Load This Dataset

from datasets import load_dataset

ds = load_dataset("Nirjhor/llm-healthcare-blindspots")
print(ds["train"].to_pandas())

How the Model Was Loaded

The model was loaded using the Hugging Face transformers library in a Google Colab notebook with a free T4 GPU.

from transformers import AutoTokenizer, AutoModelForCausalLM
import torch

MODEL_NAME = "Qwen/Qwen2.5-1.5B"

tokenizer = AutoTokenizer.from_pretrained(MODEL_NAME)
model = AutoModelForCausalLM.from_pretrained(
    MODEL_NAME,
    dtype=torch.float16,
    device_map="auto"
)

def ask_model(prompt, max_new_tokens=200):
    inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
    with torch.no_grad():
        outputs = model.generate(
            **inputs,
            max_new_tokens=max_new_tokens,
            temperature=0.7,
            do_sample=True,
            pad_token_id=tokenizer.eos_token_id
        )
    response = tokenizer.decode(outputs[0], skip_special_tokens=True)
    return response[len(prompt):].strip()

Blind Spots Found

Testing across 10 healthcare AI prompts revealed 6 distinct failure categories:

1. Hallucination — The model reformatted direct medical questions into multiple-choice exam format and generated completely unrelated follow-up questions. When asked about the 2024 WHO hypertension guidelines, it produced a fabricated MCQ and then hallucinated an unrelated clinical case scenario.

2. Dangerous clinical errors — When asked whether ibuprofen is safe for a patient with severe kidney disease, the model stated it is "generally considered safe" — directly contradicting clinical guidelines. NSAIDs are contraindicated in severe kidney disease due to nephrotoxicity risk. This is the category with the highest real-world harm potential.

3. Incomplete reasoning — On a drug dosage calculation (0.5mg/kg for a 70kg patient, 10mg tablets), the model started writing Python code to solve the problem but never completed the calculation. An incomplete answer in a clinical context is as dangerous as a wrong one.

4. Wrong safety answer (federated learning) — When asked whether patient data can be reconstructed from shared model gradients in federated learning, the model stated reconstruction is "not possible." This is factually incorrect: gradient inversion attacks are a documented threat in FL systems and an active area of research in privacy-preserving machine learning.

5. Multilingual failure — When asked to explain diabetes in simple Bangla, the model produced completely incoherent broken text — random syllables with no medical meaning. This reveals a critical gap for healthcare AI deployment in South Asian contexts.

6. Reasoning imprecision — On the epsilon parameter in differential privacy, the model responded with inaccessible formal mathematical notation rather than a clinically usable explanation, making the answer unusable for healthcare practitioners without ML expertise.


Dataset Structure

Column Description
model_name HuggingFace model ID tested (Qwen/Qwen2.5-1.5B)
input Exact prompt given to the model
expected_output Correct answer with reasoning
model_output Raw model response (abbreviated)
error_type Failure category: hallucination, factual_hallucination, incomplete_reasoning, reasoning_failure, reasoning_avoidance, math_error, multilingual_failure, reasoning_imprecision, correct
notes Explanation of what went wrong and why it matters clinically

What Fine-tuning Data Would Fix This

  1. Verified medical Q&A pairs from WHO, CDC, and established clinical guidelines — to replace hallucinated exam-style outputs with direct, actionable answers
  2. Step-by-step clinical math examples with complete calculations shown end-to-end
  3. Multilingual medical content — especially in Bangla and Bengali — to support South Asian healthcare AI deployment
  4. AI safety and privacy Q&A covering federated learning, gradient inversion attacks, and differential privacy — critical for responsible healthcare ML deployment
  5. Consistency training data — repeated prompt variations with stable correct outputs to reduce non-deterministic failures

Estimated Dataset Size for Fine-tuning

Scale Size Notes
Minimum viable 5,000–10,000 pairs Addresses most critical failure categories
Recommended 50,000+ pairs Robust clinical knowledge across specialties

Consistent with medical fine-tuning literature: MedAlpaca (approx. 52K pairs), ClinicalCamel (approx. 75K pairs).


Evaluation Context

This dataset was created as part of a technical challenge for the Fatima Fellowship 2026, a research fellowship for aspiring PhD students in AI. The evaluation was designed with a focus on Privacy-Preserving Distributed Systems for Healthcare AI — specifically probing the model's knowledge of federated learning, differential privacy, and clinical reasoning under conditions relevant to real hospital deployments.


Author

S M Mahsanul Islam Nirjhor ResearchGate · LinkedIn

Downloads last month
19