Spectral biomarker detection is a mechanism-selection problem before it is an algorithm problem. The programs that fail in the field usually fail for that reason — not bad algorithms, not insufficient data, but a sensor that physically cannot see the target it was pointed at. No amount of machine learning recovers from that.

Every spectral system, stripped to first principles, is a question of which photons carry the information you need. Different molecules absorb, scatter, emit, or fluoresce at different wavelengths and under different conditions. The engineer’s first job is figuring out which of those photon populations the target biomarker actually lives in. The sensor has to match that population. Get the match wrong and nothing downstream — the optics, the pipeline, the operator training, the deployment protocol — can save the system.

Four modalities cover the relevant ground for biological detection: absorption, reflectance and scattering, fluorescence, and emission. Each has a real niche, set by the physics of the molecules involved and the geometry of the detection problem. What follows is a framework for matching modality to problem, plus three livestock-health examples that show the framework producing a different answer each time.

The four operative modalities

All four are legitimate for the problems they fit. The goal here is not to rank them but to lay out what each is physically capable of, so the framework in the next section can match modality to problem honestly.

Absorption (specifically mid-infrared molecular absorption). Molecules have characteristic vibrational signatures determined by their bond structure. Fundamental vibrations sit in the mid-infrared, roughly 2.5 to 15 microns, and those fundamentals are much stronger than the overtones and combination bands that bleed into the shorter wavelengths. The signatures are specific. The technique is well-developed for gas-phase and thin-film analysis. Sensitivity depends heavily on the implementation — FTIR and broadband MIR systems land in the parts-per-million regime; tunable diode laser and quantum-cascade-laser systems push into parts-per-billion or below for the right molecules. The sensor ecosystem at MIR wavelengths includes HgCdTe arrays, microbolometer arrays, quantum-cascade-laser-based systems, and FTIR spectrometers. Cost and SWaP at MIR run higher than at visible or near-infrared, but the gap is narrowing. Absorption is the right choice when the path length is bounded, the target has a distinct MIR fingerprint, and you want a direct measurement of molecular concentration.

Reflectance and scattering (VIS-NIR). Surface and near-surface phenomena. Hemoglobin, chlorophyll, melanin, and other surface-relevant chromophores have well-characterized absorption features across roughly 400 to 1000 nanometers. The sensor ecosystem is mature and cheap: silicon-based detectors are a commodity, multispectral cameras are everywhere, and even consumer smartphone sensors are surprisingly capable. Penetration into soft tissue is limited — from a few hundred microns up to a millimeter or two depending on wavelength and tissue type. Reflectance is the right choice for surface biomarkers: visible health indicators, mucosal scanning, perfusion changes, certain external lesions, plant canopy condition, and anything where the signal arises from light interacting with the first millimeter or two of the target.

Fluorescence. Excitation at one wavelength produces emission at a longer wavelength specific to the fluorophore. Some fluorophores are endogenous: NADH and FAD report cellular metabolic state, porphyrins from certain bacteria fluoresce under UV, collagen and elastin have their own signatures useful for tissue characterization. Other applications add exogenous labels. Signal levels are typically low compared to absorption or reflectance, which means careful excitation control, appropriate filtering, and sensitive detection optics are all part of the package. Fluorescence is the right choice when a specific fluorophore with well-characterized excitation-emission pairs is the biomarker of interest — especially at cellular and sub-tissue depths, where the modality’s specificity outweighs its signal-level disadvantages.

Emission (thermal infrared). Self-emission of warm bodies. Temperature distributions, thermal anomalies, fever signatures, inflammation. Microbolometer arrays have made thermal imaging accessible at moderate cost. Best suited to applications where temperature variation itself is the biomarker, or where temperature serves as a reliable proxy for an underlying physiological process. Emission tends to complement the other three modalities rather than compete with them — it answers a different question.

Each modality is constrained by physics. None is universal. The framework that follows is the structured way of recognizing which one belongs on which problem.

The decision framework

Six factors, evaluated honestly, almost always produce a clear answer. Where two modalities tie on the first five, sensor ecosystem maturity is usually the right tiebreaker.

Depth of the biomarker. Where does the signal actually live? Surface, sub-millimeter, millimeters into tissue, deep tissue, or gas-phase / exhaled? VIS-NIR reflectance penetrates a millimeter or two of soft tissue at best. Fluorescence with the right wavelengths and optics reaches further, but every centimeter of biological material between the fluorophore and the detector attenuates the signal hard. MIR is essentially surface-and-near-surface for solids, but it shines for gas analysis where the path length is set by the sample cell rather than by tissue. Match the modality’s depth regime to where the biomarker actually lives. This is the most fundamental check, and the one most often skipped.

Concentration regime of the target. Trace, dilute, or abundant? At trace concentrations, only the most sensitive techniques are viable, and only when the spectroscopic signature is strong against the noise floor. Beer-Lambert sets the limit for absorption-based detection: signal scales with concentration and path length, and gets eaten by detector noise and background absorption. Fluorescence sensitivity is set by excitation flux, quantum yield, and collection efficiency. Reflectance sensitivity is set by the contrast between target chromophore absorption and background. Knowing the concentration regime up front rules out modalities that physically cannot reach the signal.

Spectroscopic signature of the target molecule. Where does the molecule absorb, scatter, fluoresce, or emit? This question often answers itself, and it determines, sometimes uniquely, which modality is even theoretically capable of detection. Public reference data is the starting point: HITRAN for atmospheric and gas-phase molecular absorption, the NIST chemistry webbook for spectra, published extinction coefficient tables for biological chromophores. A target whose strong absorption features sit at 3.4 microns — the C–H stretch fundamental — cannot be detected at meaningful sensitivity by a sensor that operates only between 400 and 1000 nanometers. The physics is unforgiving and there is no algorithmic workaround.

Operational context. Laboratory bench or field deployment? Real-time or post-hoc? Fixed-mount, handheld, or UAV? Each constraint maps to acceptable sensor SWaP, integration time, calibration discipline, ruggedization, and cost regime. A modality that works in a controlled lab can be operationally infeasible in the field for reasons that have nothing to do with the underlying physics — too heavy, too power-hungry, too sensitive to ambient temperature, too slow to acquire at field rates. The right modality on physics grounds is sometimes the wrong modality on operational grounds, and the framework has to account for both.

Sensor ecosystem maturity in the relevant wavelength range. VIS-NIR is mature and inexpensive: silicon detectors are commodity, the supply chain is broad, the cost per pixel is low. SWIR is mature but the detector materials (InGaAs in particular) are more expensive and the supply chains are narrower. MIR is improving fast but remains more specialized, with cost regimes that shape what is feasible at deployment scale. UV has its own niches and its own sensor families. All else equal, the cheapest sensor that can physically see the signal is usually the right choice — saving a factor of ten in cost is often the difference between a system that ships and a system that stays in the lab.

Confounders in the wavelength range. What else absorbs, fluoresces, or emits where your target signal lives? A target whose signature sits in a clean spectral window is far easier to work with than one buried under water absorption, atmospheric attenuation, biological autofluorescence, or thermal background. The right question is not just “can my target be detected” but “what else looks like my target in this band, and can I tell them apart?” This is where many mechanism-selection mistakes happen: a band that looks attractive in isolation turns out to be unworkable in practice because of overlapping confounders the original analysis missed.

Run these six factors honestly against any well-posed biological detection problem and the field usually narrows fast. The discipline is in running them through with reference data and operational reality both on the table, before committing to a modality.

Three applied examples

The framework earns its keep when it produces different answers for related problems. The three examples below come from livestock and animal health monitoring. They share the application context, but they sit in different regions of the decision space, and the framework picks a different modality for each.

Example A — Surface tissue and mucosal scanning for visible health indicators. Hemoglobin oxygenation, jaundice, cyanosis, perfusion changes, certain external lesions and infections. The framework selects VIS-NIR reflectance. Hemoglobin has well-characterized absorption features in the visible range: oxyhemoglobin and deoxyhemoglobin can be separated using their differential absorption and the isosbestic point near 800 nanometers. Bilirubin staining produces characteristic visible absorption. Perfusion changes show up in both intensity and pulsatile dynamics. Every one of these biomarkers is surface or near-surface, comfortably within the depth regime of VIS-NIR reflectance. The sensor ecosystem is mature, the cost regime fits animal-scale deployment, and the spectroscopic signatures are tabulated. MIR absorption cannot reach these signals at meaningful sensitivity because the relevant fingerprints are not at MIR wavelengths. Fluorescence is not the natural choice because the biomarkers are not endogenous fluorophores at usable signal levels. Thermal emission addresses a different question (fever) and is complementary rather than substitute. VIS-NIR wins on all six factors.

Example B — Exhaled breath biomarkers for metabolic and respiratory disease. Ketones in metabolic ketosis, ammonia in certain pathologies, volatile organic compounds correlated with specific disease states, isotopic ratios of CO2 indicating metabolic processes. The framework selects MIR absorption. Every one of these targets is a gas-phase small molecule with characteristic vibrational signatures in the MIR. Gas-phase concentrations in exhaled breath sit in the parts-per-billion to parts-per-million range — below the detection threshold of most modalities but within reach of MIR absorption spectroscopy with the right path lengths and integration times. VIS-NIR reflectance cannot see these molecules at meaningful sensitivity: the relevant absorption bands are simply not there, water vapor dominates the near-infrared where weak C–H overtones might otherwise sit, and the gas-phase concentrations are orders of magnitude below the imaging noise floor. Fluorescence does not apply because these molecules are not fluorophores. Thermal emission is irrelevant because the biomarkers are molecular-identity targets, not temperature targets. MIR absorption wins decisively.

Example C — Tissue autofluorescence for cellular metabolic state and specific microbial detection. NADH and FAD reporting cellular redox state, porphyrins from certain bacterial species detected under UV excitation, collagen and elastin signatures useful for connective tissue characterization. The framework selects fluorescence. These targets are endogenous fluorophores with well-characterized excitation-emission pairs, and the signal-bearing photons are intrinsically tied to the fluorescence modality — there is no absorption-based or reflectance-based shortcut to detecting cellular redox state through NADH/FAD ratios. Fluorescence techniques have well-developed methods for reaching the relevant sub-tissue depths. MIR absorption cannot see these signals at the biological depths involved. VIS-NIR reflectance can sometimes pick up bulk absorption changes correlated with the target processes but cannot identify the specific fluorophores responsible. Thermal emission is unrelated. Fluorescence is the right answer for this class of problem.

Three biological detection problems in the same general application area. Three different modalities. The differences are not arbitrary — they fall out of the depth, concentration, signature, and operational considerations applied honestly to each problem. A program that picked one modality and tried to apply it across all three would succeed at the one it was suited for and fail at the others, and the failures would not be addressable with better algorithms because the failures sit at the physics layer.

What goes wrong when modality is mismatched

The framework above is easiest to appreciate by looking at what happens when it isn’t applied. Four common failure modes:

Trying to detect gas-phase breath VOCs in VIS-NIR. The sensor cannot see the relevant absorption bands at any meaningful sensitivity. Water vapor and atmospheric absorption dominate whatever weak NIR signal might correlate with breath water content. The target VOC concentrations are orders of magnitude below the noise floor. The system either reports no signal (the honest outcome) or finds patterns that are not the target VOCs (the dangerous outcome — a periodicity or correlation that the analysis pipeline misinterprets as the biomarker when it is actually something else). The second outcome is how mechanism-mismatched programs produce confident-sounding results that don’t survive scrutiny.

Trying to do bulk-tissue fluorescence imaging at significant depth. Fluorescent photons emitted deep in tissue get absorbed and scattered on the way out. The technique works at limited depths with the right wavelengths and optics, but pushing it well past those limits produces signals whose relationship to the actual fluorophore distribution at depth is no longer one-to-one. The reported image looks interpretable. It does not represent what the analyst thinks it represents.

Trying to do surface reflectance imaging for biomarkers that have no specific signature in the sensor range. The system finds patterns — spatial gradients, temporal correlations, statistical separations between cases and controls. None of those patterns can be attributed to the target biomarker, because the target biomarker does not have a meaningful signature where the sensor is looking. The detections are uninterpretable in the strict sense that no physical mechanism explains them. They may be statistically real, but they are statistically real for some other reason, and that reason will not generalize across deployments or animals or operators.

Choosing thermal emission imaging for a non-thermal biomarker. Temperature variations on the target are real and measurable, but if the underlying biomarker is not thermally distinct from surrounding tissue, the thermal modality cannot reach it. The system reports thermal patterns that are not what the analyst is looking for. The error here is subtle, because thermal patterns are real measurements of something — just not of the target.

The pattern across all four is the same. When the modality is matched to the problem, the system either finds the biomarker or honestly reports that it cannot. When the modality is mismatched, the system finds something else, and the analyst working downstream of the mechanism choice has no reliable way to recognize what they have actually found. The fix is at the mechanism layer, not in the downstream pipeline.

Mechanism before algorithm

Mechanism selection is the first-order engineering decision in any spectral biomarker system. Algorithm choice, specific sensor within a modality, integration design, operational protocol — all of these are second-order decisions that depend on getting the first one right. A mismatched modality cannot be rescued by better algorithms or more training data. It can only be rescued by going back to the mechanism question and choosing again.

The methodological discipline in the earlier essays in this series — physics-first validation of detection claims, adversarial use of AI tools rather than confirmatory use, closed-loop quality assurance at the data layer — all rest on a foundation that this piece makes explicit. Physics-first validation begins with asking what physical process produces the signal you observe; that question presupposes that the physical process is one your sensor can actually see. Adversarial AI use surfaces the question of what else could explain your observation; that question presupposes the observation is in principle capable of containing the target. Closed-loop QA assumes you have data worth checking; that assumes the data is in principle capable of containing the target signal. All of it rests on choosing the right photon first.

Note on Hardwerx IP positioning. Hardwerx LLC holds provisional patents on specific implementations within two of the application areas discussed here: surface tissue HSI for livestock health monitoring, and MIR breath analysis for metabolic and respiratory biomarkers. This article articulates the general framework that informed those technical choices but does not describe the specific implementations, which are documented in the patent filings. Interested commercial partners, academic collaborators, or technical reviewers are welcome to reach out.

Mechanism is the first-order decision in any spectral biomarker system.
Choose the photon first; everything else follows from there.

SpectrIQ handles the layer after this one — validating that the photons you chose arrive clean, checked automatically at capture time.

See How It Works