BioDimBench: Verifying Unit-Consistent Biomedical Mathematical Reasoning

Mrinal Yalageri, Aarav SinhaAI4Math @ ICML 2026

TL;DR

BioDimBench introduces a new benchmark and verification framework to catch a dangerous blind spot in scientific AI: "right number, wrong unit" errors. By treating physical units as mathematical types—a process called dimensional type-checking—the authors demonstrate a lightweight, training-free way to ensure biomedical calculations are not just numerically close, but physically meaningful.

What Problem Does This Paper Address?

When we evaluate AI agents on mathematical tasks, we usually check if the final number matches the ground truth. However, in the biomedical sciences, a number without the correct unit is at best useless and at worst lethal.

The authors identify a "verification gap": standard benchmarks (like GSM8K or MATH) focus on scalar agreement. If a model calculates a dosage and outputs "560 mL" instead of "560 mg," a standard evaluator might accept it because the digits "560" are correct. In reality, these represent entirely different physical quantities (volume vs. mass). This paper addresses the need for evaluation metrics that treat units as first-class citizens, ensuring that scientific agents maintain dimensional consistency throughout their reasoning process.

Methods

The authors propose a verification framework based on dimensional type-checking. They model every unit as a "dimensional signature"—a vector representing base dimensions like mass, volume, and time.

They compare four verification strategies:

  1. Answer-only: The status quo; checks only if the numeric value is within a tolerance range.
  2. Unit-only: Checks if the units are dimensionally compatible (e.g., mg and g are both mass), but ignores the number.
  3. Numeric-plus-unit: The primary proposed method; it converts the agent's answer to the target unit and then checks numeric closeness.
  4. Step-aware verification: An extension that applies dimensional type-checking to every intermediate step of a multi-step calculation, rejecting the trace if an agent tries to, for example, add a volume to a mass.

To test these, they developed a system to automatically generate "corrupted" solutions. These corruptions include arithmetic errors, formula inversions, and—most importantly—plausible-scalar wrong-unit errors, where the number is correct but the unit is swapped for something dimensionally incompatible.

Datasets

The paper introduces BioDimBench, a lightweight, templated benchmark consisting of:

  • 500 base problems across 10 core biomedical categories: dosage, dilution, cell count, half-life decay, exponential growth, flow rate, imaging scale area, bioink weight/volume percent, molarity, and unit conversion.
  • 3,000 candidate solutions, including one correct solution and five specifically crafted corruptions per problem.

Unlike "naturalistic" datasets that rely on messy human-written text, BioDimBench is intentionally synthetic. This allows the researchers to isolate unit-consistency as a specific variable and provide exact, symbolic ground-truth answers.

Key Insights and Ideas

  • Units as Types: The core "aha moment" is that units in science function exactly like types in computer science. Just as a compiler prevents you from adding a string to an integer, a scientific verifier should prevent you from adding mg to mL.
  • The Scalar Blind Spot: The results prove that scalar-only matching systematically overestimates AI performance. It treats a "correct-looking" number as a success, even when the underlying physical logic has completely collapsed.
  • Auditability over Learning: While the authors tested a "learned" verifier (a model trained to spot errors), they argue that the rule-based dimensional checker is superior because it is interpretable. It doesn't just say an answer is wrong; it can provide a specific reason (e.g., "reported unit has dimension of volume; expected dimension of mass").

Key Results

The experiments on the 3,000 candidate solutions revealed a stark contrast in verification power:

  • Answer-only verification failed significantly, achieving an invalid recall of only 0.600. This means it missed 40% of the corrupted solutions, specifically failing to detect any "wrong-unit" or "plausible-scalar" errors.
  • Numeric-plus-unit and Step-aware verification both achieved a perfect 1.000 recall and 1.000 F1 score. They successfully caught every single corruption category, including the ones that are invisible to standard numeric checks.
  • In a pilot study using GPT-4o-mini, the model was surprisingly good at following unit-explicit prompts, showing a 0% disagreement rate between scalar and unit-aware checks. However, the authors note this was a "stress test" of the verifier, not a census of LLM errors, and expect the gap to widen in more complex, multi-step reasoning tasks.

Limitations and Future Work

The primary limitation is that BioDimBench is synthetic and template-based. Real-world laboratory notes or clinical records are full of linguistic ambiguity that simple templates can't capture.

Furthermore, the framework currently assumes that units can be reliably parsed from free-form text. If an agent writes units in an idiosyncratic way, the verifier might fail.

Future Work: * Expanding the benchmark to include more complex, "naturalistic" LLM-generated errors rather than just symbolic perturbations. * Integrating dimensional type-checking into the training loop (e.g., via Reinforcement Learning from Dimensional Feedback). * Developing more robust natural language parsers to extract intermediate "typed" expressions from long-form chain-of-thought reasoning.

Summary updated

BibTeX
@inproceedings{yalageri2026biodimbench,
  author = {Mrinal Yalageri and Aarav Sinha},
  title = {{BioDimBench: Verifying Unit-Consistent Biomedical Mathematical Reasoning}},
  booktitle = {AI4Math @ ICML},
  year = {2026},
  url = {https://openreview.net/forum?id=VkusC12AXQ},
}
Figure