Foundation Models Do Not Understand Biology
From the publisher’s feed, collected in the ZeroLabs newsroom.
Imagine an AI medical tool that can write a beautiful diagnostic report in seconds, which is clean, confident, perfectly structured, and then say something completely impossible, like a blood parasite living inside a tissue sample where it simply could not exist.That’s the strange thing about modern multimodal LLMs. On one hand, they can do genuinely impressive work: pull together clinical details, write clear summaries, spot patterns, and help overstretched healthcare workers move faster. In places where training or specialist support is limited, that kind of help could matter a lot.But there’s a catch. A serious one.Image Generated using GeminiThese models don’t actually understand biology. They don’t reason from anatomy, physics, or disease mechanisms. They generate answers by predicting which words are most likely to come next. So when a model talks about a cell, it doesn’t know what a cell is in any real-world sense. It only knows how the word usually appears in medical writing.And that gap matters. Because if we start treating these systems like diagnostic authorities, rather than tools with strict limits, we create real danger. Something that looks brilliant on the surface can still be wrong in ways that are quietly absurd. In medicine, “quietly absurd” can hurt people.That’s the thinking behind NTD-Assist. It’s a multimodal system built to help diagnose Neglected Tropical Diseases, but with hard clinical constraints built in. It runs at the edge, and it uses deterministic morphology guardrails to catch mistakes that might otherwise sound reasonable, even when they’re biologically impossible, before any of it reaches a clinician.Medical Hallucinations Are Not Normal HallucinationsWhen a language model makes something up in a consumer app, the damage is usually small. Maybe it gets a date wrong. Maybe it invents a source that doesn’t exist. Annoying, yes. Embarrassing, maybe. But usually fixable.In medicine, that same kind of mistake is something else entirely.A clinical hallucination is not some harmless quirk. It’s not creativity. It’s not a model being a little off. It can be a polished, confident, completely false piece of medical information. That can push someone toward the wrong diagnosis, the wrong treatment, or a decision that harms a patient.The reason this happens is pretty simple, even if the systems themselves are not. These models are built to predict the next token, not to check whether something is biologically true. They don’t understand the patient in front of them. They don’t understand disease in the way a clinician does. They just learn patterns from massive amounts of text and then continue those patterns in ways that sound convincing.Things get even riskier with multimodal systems. Give one a messy clinical image, like a blood smear, a tissue biopsy, something with artifacts or unclear features, and it tries to connect what it sees to the kinds of words that usually go with it. If the data behind that mapping is weak or the image is ambiguous, the model can fall back on language that feels plausible instead of reality.And that’s the dangerous part. It may produce a report that looks perfect: clean structure, precise wording, confident tone, no obvious red flags. But the diagnosis itself may be biologically impossible. To someone without deep expertise, it can look credible. Even authoritative. That’s how a statistical failure turns into a clinical one.Why Microscopy Is Dangerous for Unconstrained LLMsUsing an unconstrained multimodal LLM to read microscopy images in places with weak internet and no room for error is, honestly, asking for trouble.Microscopy is hard in a way that most general-purpose vision-language models are not built for. The problem isn’t just that the images are complex. It’s that the details that matter are often almost absurdly tiny, and the whole diagnosis can hinge on one visual feature sitting in just a few pixels.A normal photo gives the model something obvious to work with. A dog is a dog. A car is a car. In microscopy, it doesn’t work like that. The important clue may be a tiny chromatin dot, a faint spine, a small shape tucked into a crowded field of cells. Miss that, blur it, or smooth it out during processing, and the model can lose the very thing that separates a harmless artifact from a dangerous infection.Then there’s the issue of bias from context. If the model is told the sample came from an endemic region, that information can start steering the answer far too much. It begins to expect a certain disease, and once that happens, the text side of the system can overpower what the image actually shows. So instead of reading the slide, it starts telling the story it thinks it’s supposed to tell. That’s how you end up with confident claims about classic findings that were never really there.And microscopy is messy. Very messy.What shows up on a slide depends on staining quality, lighting, sample prep, the lens, the smear itself, and a dozen little imperfections that anyone who has spent time at a microscope knows too well. Dust can show up. Dye can clump. Background junk can look meaningful for a second, especially in a bad image. A general model doesn’t naturally know the difference. It doesn’t understand optics. It doesn’t understand where a cell ends and an artifact begins. So noise can get mistaken for evidence.That combination is what makes this risky: tiny features, heavy context bias, and images full of visual traps. In that setting, an unconstrained model doesn’t just make occasional mistakes. It can fail in ways that sound convincing, which is much worse.Biological Impossibility ExamplesTo understand why unconstrained models fail, we must look at where probabilistic text generation collides with hard biological laws. In parasitology and hematology, certain diagnostic claims are physically and biologically impossible.Here are four concrete examples across Neglected Tropical Diseases (NTDs) where an unconstrained LLM will confidently hallucinate diagnoses that violate fundamental biology:+------------------+----------------------------------+-----------------------------------------+| Disease | LLM Hallucination Example | The Biological Impossibility |+------------------+----------------------------------+-----------------------------------------+| Malaria | Identifies "abundant ring forms | Plasmodium species are strictly || | of Plasmodium" in a skin snip | blood-borne parasites. They require || | biopsy image. | erythrocyte hosts; finding them in a || | | skin snip is biologically impossible. |+------------------+----------------------------------+-----------------------------------------+| Leishmaniasis | Reports "extracellular active | Leishmania amastigotes are obligate || | amastigotes measuring 15-20µm" | intracellular structures residing || | inside a red blood cell (RBC). | inside macrophages. They measure 2-4µm; || | | they cannot fit inside or infect RBCs. |+------------------+----------------------------------+-----------------------------------------+| Trypanosomiasis | Diagnoses African Trypanosoma | Trypanosoma brucei trypomastigotes || | based on "intracellular | are strictly extracellular parasites || | organisms within neutrophils." | that navigate blood plasma and CSF. || | | They do not live inside white cells. |+------------------+----------------------------------+-----------------------------------------+| Schistosomiasis | Identifies Schistosoma mansoni | S. mansoni eggs possess a prominent, || | eggs with a "prominent terminal | distinct *lateral* spine. A terminal || | spine" in a stool sample image. | spine is exclusive to S. haematobium || | | found primarily in urine. |+------------------+----------------------------------+-----------------------------------------+An unconstrained model does not understand that an intracellular parasite cannot be larger than its host cell, nor does it grasp that a tissue-specific life cycle prevents a parasite from materializing in the wrong sample type. It merely generates the words “ring forms,” “amastigotes,” or “spines” because they are topographically close to the concept of tropical medicine in its high-dimensional vector space.Guardrail ArchitectureTo solve this, we must decouple the reasoning and synthesis capabilities of the foundation model from the validation and verification of core biological facts. This is the structural thesis behind NTD-Assist: a hybrid architecture that wraps a multimodal medical foundation model (such as MedGemma 4B or a lightweight fallback like Qwen2-VL-2B) in a deterministic, rule-based clinical validation layer.The system enforces biological plausibility before any text or structured diagnostic output is permitted to reach the clinician.[ Input Microscopy Image ] + [ Metadata: Sample Type, Location ] | v +-------------------------+ | Optical Prep Engine | (Green-Channel Extraction | & Adaptive Sharpening | & Contrast Optimization) +-------------------------+ | v +-------------------------+ | Multimodal Core LLM | (Quantized Inference | (MedGemma / Qwen2) | Generates Structured JSON) +-------------------------+ | v ================================= MORPHOLOGY GUARDRAILS ENGINE ================================= | Is sample type compatible? | | Is cellular compartment true? | | Are morphometrics plausible? | ================================= | +-----------+-----------+ | | [Passes Rules] [Fails Rules] | | v v +-------------------------+ +-------------------------+ | Generate Verified Report| | Raise Exception / Map | | & PDF Diagnostic Trail | | To Fallback Safe State | +-------------------------+ +-------------------------+The Validation AlgorithmWhen a slide image is processed, the system extracts critical metadata (e.g., sample_type, geographic_origin) and passes it alongside the image tokens to the core model. The model is forced via schema constraints to output a strictly structured JSON payload containing its morphological observations, localized measurements, and final diagnostic classifications.Before this JSON is parsed into the user interface, it is intercepted by the Guardrails Engine. This engine contains a matrix of deterministic execution paths derived directly from established medical guidelines (such as the WHO, CDC, and AHA diagnostic criteria).# Real-world implementation pattern of NTD-Assist biological guardrailsdef validate_parasite_morphology(metadata, model_output): detected_organism = model_output.get("detected_organism") sample_type = metadata.get("sample_type") location = model_output.get("subcellular_location") organism_size = model_output.get("measured_size_microns") # Rule 1: Structural Compartment Check if detected_organism == "Plasmodium" and sample_type != "blood_smear": raise BiologicalImpossibilityError( f"Malaria diagnosis attempted on '{sample_type}'. " "Plasmodium replication requires blood smear samples." ) # Rule 2: Morphometric Scale Check if detected_organism == "Leishmania" and location == "inside_RBC": raise BiologicalImpossibilityError( "Leishmania amastigotes occupy macrophages, not erythrocytes." ) if location == "inside_RBC" and organism_size > 7.0: # Erythrocytes average 7-8 microns; parasites inside cannot exceed host dimensions return trigger_flag_for_review( "Biologically impossible dimensions: Intracellular structure " f"({organism_size}µm) cannot exceed host erythrocyte boundaries." ) return "VALIDATED"If a model attempts to claim that a structure inside a red blood cell is $12\ \mu\text{m}$ wide, or that a tissue biopsy contains free-swimming microfilariae without systemic indicators, the guardrail system immediately halts execution, invalidates the unsafe inference, and returns a structured exception or routes the system to a safe fallback diagnostic tier. By enforcing these hard limits, the system changes the role of the LLM from an unconstrained diagnostic authority to a constrained text and vision aggregator.Edge Deployment ChallengesBuilding a safe clinical AI system is one thing. Getting it to actually run where people need it is another problem entirely.Neglected Tropical Diseases are most common in places where internet access can be weak, power can cut out, and cloud-based systems are not something you can count on. So if a tool like NTD-Assist is going to be useful, it can’t depend on a perfect connection or a remote data center somewhere far away. It has to work locally. On ordinary hardware. In the field.That requirement shaped almost every engineering decision.The first problem was memory. Most clinical models are simply too large to run on a regular laptop or low-cost workstation, especially if you want decent performance. So the local inference engine uses 4-bit NF4 quantization, which shrinks models like MedGemma 4B to less than 6GB of VRAM. That makes it possible to run the system fully offline on affordable GPUs, including something like an Nvidia RTX 3060, without stripping away the parts of the model that matter most.But hardware in the real world is inconsistent. Sometimes there’s a proper GPU. Sometimes there isn’t. Sometimes you’re stuck with a basic machine that can barely do more than keep a browser open. So the system had to adapt. NTD-Assist uses a routing layer that checks the environment at runtime and decides which model to use. If it finds a CUDA-capable GPU, it launches the quantized MedGemma pipeline. If not, it falls back to a lighter vision model such as Qwen2-VL-2B-Instruct. The point is simple: the workflow should not collapse just because the hardware is limited.Then there’s connectivity, which is its own headache. In unstable network environments, even small things can break a deployment, like package installs that hang, missing model files, and tokenizers that fail to download at the worst possible moment. That kind of failure is easy to overlook when you’re building in a stable development setup, but in the field, it can make the whole tool unusable. So the edge environment is prepared in advance. Setup scripts pre-cache the tokenizers, visual layers, and configuration files during the build stage, which means the system can still function even when it is fully cut off from the internet.That’s what edge deployment really means here. Not just “smaller model, faster inference,” but a system designed for unreliable conditions, limited hardware, and the very real possibility that once it’s deployed, it may have to survive on its own.The Future of Clinically Constrained AIFoundation models are impressive tools. They can summarize, translate, label, organize, and pull together huge amounts of information with surprising fluency. But they do not have any built-in grip on physical reality. They do not understand anatomy. They do not understand biochemistry. And they definitely do not understand biology in the way medicine requires.That’s the part people keep wanting to skip.The future of healthcare AI is probably not going to come from building bigger and bigger black boxes and hoping that, at some point, scale alone will magically turn prediction into understanding. That’s a fragile bet. A more believable path is to build tools that use the strengths of large multimodal models for reasoning, synthesis, and pattern recognition, while surrounding them with hard, checkable medical safeguards that do not bend.Because that’s really the issue: the model can help, but it should not get the final word on questions that are constrained by biology.If we put biological and clinical guardrails directly into the pipeline, we can build systems that are actually useful to frontline clinicians without asking them to trust unverified machine output. And this approach is not limited to parasitology. The same idea travels well.You could use it in cardiology, where an AI-generated ECG interpretation should never be allowed to contradict basic electrophysiology or the axis calculations in front of it. You could use it in oncology, where a staging summary should not be able to drift outside the actual TNM rules. You could use it in clinical RAG systems too, where recommendations should be checked against verifiable guidelines before anyone ever sees them.That shift matters. Because in clinical AI, success is not just about a model scoring well on a benchmark or showing a nice loss curve during development. Those things matter, sure, but they are not enough. What matters more is whether the system stays safe when the real world gets messy, ambiguous, and inconvenient, as it usually does.So the job is bigger than model building. We have to build the layers around the model too: the checks, the boundaries, the points where the system knows to stop, question itself, or hand control back to the clinician. That’s what responsible clinical AI looks like. Not a machine that pretends to know everything, but one designed to work within limits, respect biology, and stay transparent where it counts.Foundation Models Do Not Understand Biology was originally published in Towards AI on Medium, where people are continuing the conversation by highlighting and responding to this story.