Skip to content

Behind Every AI Answer: The Data That Shapes It

Why a confident AI prediction isn't always a reliable one, and what it takes to prepare data you can trust.

Vidhi Parekh

Associate- Data and Product

3 min read

An AI system can produce a precise-looking diabetes risk score from records with outdated results, missing family history and a wrong medication entry. Here is how data preparation and human judgement decide whether that score can be trusted.

Exploration

This is an early idea rather than a shipped product or a production claim. It may change or be abandoned.

Illustration of three patient records with mismatched glucose units, a missing family history and inconsistent diabetes labels, feeding an AI model that outputs an 82% risk score, followed by a human review checklist.
An AI risk score is only as reliable as the records behind it and the human review that checks them.

Imagine an AI system assessing a patient’s risk of developing diabetes. The medical record contains outdated blood test results, missing family history, and an incorrect medication entry. The system may produce a precise-looking risk score, yet the information supporting it is incomplete.

This reveals a central challenge in AI: a confident prediction is not necessarily a reliable assessment.

Data quality shapes the outcome

AI systems depend on the information available to them. Training data influences the patterns a model learns, while data supplied during use provides context for a particular task.

Missing values, outdated records, and inconsistent definitions can affect results. In healthcare, an unrecorded condition is not the same as a confirmed absence of that condition. Treating both as equivalent can distort the analysis.

From raw records to reliable context

Preparing data involves more than removing duplicates. It requires understanding what each field represents, how records relate, and whether the dataset is suitable for the intended task.

For a healthcare dataset, this might mean:

·  Checking that test results have the correct units and dates: Blood glucose results recorded by different hospitals may use different measurement units. Standardizing these units enables meaningful comparison, while preserving test dates prevents historical results from being interpreted as current measurements.

·  Distinguishing missing information from confirmed negative findings:  An empty “family history of diabetes” field indicates that the information is unavailable, rather than confirming that no family history exists. Preserving this distinction prevents an undocumented detail from becoming an unsupported assumption.

·  Keeping diagnoses, medications, and patient identifiers consistent: The same diagnosis may appear as “Type 2 diabetes” in one system and “T2DM” in another. Standardizing these terms helps the system recognize the same diagnosis, while unique patient identifiers help prevent records belonging to people with identical names from being combined.

·  Evaluating how well the data represents the intended population: A model developed predominantly using records from younger adults may perform differently when applied to older patients. Assessing performance across the age groups it is intended to serve helps determine whether its predictions are reliable for those populations.  

These steps help establish a meaningful foundation for AI analysis.

Where human judgement remains essential

AI can help identify patterns and flag unusual values. However, an unexpected result might reflect a recording error or a meaningful change in a patient’s condition. Distinguishing between them requires clinical context and professional judgment.

Clean data alone also does not guarantee an accurate prediction. The model’s suitability, assumptions, and performance need validation.

Human review also helps account for information that structured records may not capture, such as symptoms discussed during a consultation or recent changes in treatment. Oversight remains important after deployment. Changes in patient populations, documentation practices or care delivery can affect performance, making ongoing monitoring and feedback essential.

Reliable AI depends on the quality of its data and the rigour of its verification. Understanding the evidence behind an output is essential to deciding how much confidence to place in it.

Start a conversation

Tell us what you are trying to make usable.

Paper archives, scanned PDFs, handwritten forms, scattered documentation or a workflow no existing product fits — describe the problem and we will tell you honestly what is achievable.

No form-filling marathon. Describe the problem and the goal; we will reply with what is and is not achievable.