Closing the HTE-to-ELN Gap: A Chemical Threat Model with Fair Screening Refinement

Machine-learning models that predict chemical reaction yields are nearly perfect on data from robotic screening campaigns and useless on data from real laboratories. A graph neural network can reach $R^2 = 0.961$ predicting yields across a dense, combinatorially designed Buchwald–Hartwig screen, yet the same family of models performs "no better than random chance" on 781 real bench-chemist reactions from an AstraZeneca electronic lab notebook, where the best baseline, a Random Forest, manages only $R^2 = 0.266$ (On the use of real-world datasets for reaction yield prediction). This collapse is not a chemistry-specific nuisance; it is the same phenomenon documented in computer vision, where models certified against tiny pixel perturbations fall apart under semantic changes like new backgrounds or textures — ResNet-101 drops from 67.6% to 12.6% between clean ImageNet and the semantically varied ImageNet-D (ImageNet-D: Benchmarking Neural Network Robustness on Diffusion Synthetic Object). The failure, in both cases, is an evaluation and training geometry that treats all input changes as equally dangerous or equally benign.

This proposal makes a single connected claim: the high-throughput-experimentation (HTE) to electronic-lab-notebook (ELN) collapse in reaction prediction is a semantic robustness gap in reaction-condition space, and it can be diagnosed and partially repaired by transplanting two tools that have never been applied to chemistry — an anisotropic, local threat model for reaction conditions (built on the Projected Displacement framework from vision), and an iterative fairness refinement procedure that decides which experiments a fixed screening budget should buy. The physical anchor is proton-coupled electron transfer (PCET) and light-driven radical chemistry, because that domain supplies exactly the kind of sharp mechanistic thresholds — photocatalyst redox potentials, bond dissociation energies, acidities — that separate a harmless condition change from one that silently switches off the reaction mechanism. In short: a yield model should know which directions in condition space are dangerous, and a screening budget should be spent so that no substrate class is starved of the experiments that would expose the model's blind spots.

What Each Direction Contributes

PCET and photoredox chemistry is the application regime and the source of the geometry. Concerted PCET cleaves strong, non-activated C(sp³)–H and O–H bonds by moving an electron to an excited photocatalyst and a proton to a Brønsted base simultaneously, bypassing a high-energy radical-cation intermediate (Direct site-selective C(sp3)–H functionalization of unprotected non-activated alcohols); if the coupling fails — for instance because the base is too weak or the oxidant too mild — the reaction falls back to a stepwise pathway or stops entirely. The same cliff-edge structure recurs across the domain: single-electron transfer initiation depends on matching excited-state redox potentials to substrates (Visible-light induced tandem radical cyanomethylation and cyclization of N-aryl acrylamides: access to cyanomethylated oxindoles), electron donor–acceptor complexation depends on donor–acceptor pairing (Controllable tertiary amine-promoted photoactivation metal-free carbonylation of aryl sulfonium salts to aryl carboxylic acid derivatives), and reagent design deliberately tunes reduction potentials to weaken specific bonds, as when imidazolium salts lower N–S and N–C bond strengths so that excited photocatalysts can cleave them at room temperature (A practical fluorosulfonylating platform via photocatalytic imidazolium-based SO2F radical reagent, A practical photocatalytic strategy for radical (deuterio)difluoromethylation using imidazolium reagents), or when decatungstate anions abstract hydrogen atoms from alcohol and ether C–H bonds (Tetrabutylammonium decatungstate-catalyzed hydroalkylation/alkoxylation of 3-methyleneisoindolin-1-ones with alcohols/ethers through hydrogen atom transfer process). These thresholds are the "decision boundaries" of chemical space.

The semantic robustness literature supplies the diagnostic method. Ambar Pal et al. showed in Disentangling Safe and Unsafe Image Corruptions via Anisotropy and Locality that $\ell_p$ pixel balls are the wrong geometry: they penalize safe transformations (fog, blur) that move many pixels without changing meaning, and miss small shifts that cross class boundaries. Their Projected Displacement (PD) metric instead scores a perturbation by its alignment with unsafe directions — vectors pointing toward nearby training samples of other classes — scaled by the local distance to the decision boundary, and it yields convex sub-level sets so worst-case searches remain tractable. Meanwhile BREEDS: Benchmarks for Subpopulation Shift supplies the evaluation design: partition a class hierarchy into disjoint source and target subpopulations and measure the drop, which for standard models is a brutal 30–40%, with adversarial training recovering only a few percentage points. Neither tool exists in any form for molecular or reaction data; the yield-prediction literature documents the HTE-to-ELN collapse but proposes neither a threat model nor a repair (On the use of real-world datasets for reaction yield prediction).

Iterative fairness refinement supplies the budget policy. Fair division of indivisible goods decomposes a hard problem into anchoring efficiency and then repairing envy: maximize Nash Social Welfare (the geometric mean of agents' utilities) as a starting point, detect envy, and fix it with local transfers while maintaining guarantees like envy-freeness up to one item (Title). Chaudhury, Garg, and Mehta add a two-phase architecture — a bipartite matching that guarantees every agent an "anchor" good, then redistribution with an unallocated charity pool of at most $n-1$ items that absorbs indivisible valuation jumps — achieving an $O(n)$ Nash welfare approximation under subadditive valuations (Fair and Efficient Allocations under Subadditive Valuations). Akrami and Rathi break algorithmic myopia with dynamic bundle shrinking and envy-cycle elimination to get simultaneous $2/3$-maximin-share and EFX guarantees (Achieving Maximin Share and EFX/EF1 Guarantees Simultaneously). Here, the "agents" are substrate classes competing for a screening robot's indivisible experiment slots, and the valuations are information value, not yield alone.

Core Claim

Two claims, one diagnostic and one operational. First, the HTE-to-ELN failure is predictable: an anisotropic threat model over reaction conditions — scoring a proposed condition change by how close it pushes the reaction to a mechanistic threshold (redox mismatch, acidity gap, bond-strength cliff), not by how far it moves a molecular fingerprint — will predict where yield models fail far better than isotropic chemical similarity measures. Second, the failure is partially repairable under a fixed experimental budget: allocating screening slots by iterative fairness refinement, with valuations that weight model uncertainty by the threat score, will improve worst-scaffold generalization relative to factorial or greedy screening at equal cost, because envy-directed transfers concentrate experiments exactly where the threat model says the model is blind.

Research Program

The first component builds a reaction-space Projected Displacement (rPD). A reaction is represented by a condition descriptor vector $c$ whose components are the mechanistically decisive quantities: the difference between the excited photocatalyst's reduction potential and the substrate's oxidation potential, the pKa of the base relative to the proton being transferred, the bond dissociation energy of the target C–H or O–H bond, plus solvent and counterion descriptors. A proposed change from one condition set to another is a displacement $\delta = c' - c$. Unsafe directions $u$ are those crossing a mechanistic threshold — for example, a shift that makes concerted PCET thermodynamically disfavored relative to the stepwise radical-cation route, or that drops the photocatalyst below the substrate's reduction potential so single-electron transfer shuts off. The threat score is then

$$ \mathrm{rPD}(\delta) \;=\; \frac{\left| \langle \delta,\, u \rangle \right|}{g^*}, $$

where $g^*$ is the current margin to the nearest threshold. Because mechanistic thresholds are approximately linear inequalities in these descriptors (potential differences, pKa gaps), the sub-level sets of rPD are convex, inheriting Pal et al.'s key algorithmic property: one can compute a worst-case condition perturbation by projection rather than by intractable non-convex search, the chemical analogue of their AutoAttack integration. Safe changes — a mild temperature drift, a cosolvent swap that leaves all margins intact — get low scores regardless of how large the fingerprint displacement is.

The second component builds a mechanism-hierarchy benchmark for radical chemistry, a BREEDS for reactions. Literature photoredox transformations are organized into a two-level hierarchy: superclasses by mechanism (concerted PCET, stepwise SET, EDA-complex cleavage, hydrogen atom transfer) and subclasses by substrate scaffold, using the reaction families from the cited PCET and photoredox papers as the source pool, alongside the Suzuki-Miyaura HTE set (4,608 reactions), the Buchwald–Hartwig HTE set (3,960 reactions), the AstraZeneca ELN set (781 reactions), and the 220-reaction asymmetric β-C(sp³)–H activation dataset with its 77 chiral ligands (Molecular Machine Learning Approach to Enantioselective C–H Bond Activation Reactions: From Generative AI to Experimental Validation). Source/target splits hide entire scaffolds or entire mechanism subclasses at training time and measure the drop. No such hierarchy-calibrated benchmark exists; the enantioselectivity work cited above evaluates only a 15-reaction out-of-bag split, which is the chemical equivalent of never testing on Huskies after training on Poodles.

The third component is the fair screening allocator. Substrate classes are agents; the screening robot's wells are indivisible items; each agent's valuation for a proposed experiment is its expected information value — predicted yield uncertainty, weighted by rPD so that experiments near mechanistic cliffs are worth more. The allocator first anchors: a bipartite matching in the style of Chaudhury et al.'s Phase 1 guarantees every substrate class an anchor experiment and clears the singleton barrier, followed by Nash-welfare-weighted assignment of the rest. It then iteratively repairs envy by transferring experiments from envied to envying classes, with a bounded charity pool of at most $n-1$ deliberately unrun slots that absorbs indivisible jumps in valuation. The design must also resolve a real theoretical tension the literature leaves open (Gap 4 of the compiled file): under subadditive valuations — realistic here, since photocatalyst and base interact non-linearly — Akrami-Rathi-style bundle shrinking can destroy the Phase-1 anchor floor, while refusing to shrink can make EFX impossible. Our resolution is anchor protection with charity routing: anchor experiments are never shrunk, and all envy reduction flows through the charity pool. A companion theory analysis will establish under what valuation classes this preserves a $(1-\epsilon)$-EFX guarantee together with the anchor welfare floor, or prove that no such guarantee exists — either answer is publishable and either constrains the deployed algorithm.

Proposed Experiments

Experiment 1 replicates and reframes the collapse. Yield models (the attributed graph neural network architecture of On the use of real-world datasets for reaction yield prediction, plus Random Forest and a deep-forest cascade in the style of Deep Forest-Based Intelligent Yield Predicting of Buchwald-Hartwig Coupling Reaction) are trained on the Buchwald–Hartwig and Suzuki-Miyaura HTE sets and evaluated on the AstraZeneca ELN set and on the mechanism-hierarchy benchmark's target splits. The key measurement is not the raw $R^2$ but its correlation with rPD: does the model's error grow as a smooth function of threat score, while showing no such structure under Tanimoto fingerprint distance or pretrained-embedding Euclidean distance? A rank-correlation and AUC comparison, with isotropic distances as the matched alternative, is the decisive test of the diagnostic claim.

Experiment 2 runs a closed-loop screening simulation. With a fixed budget of simulated experiments drawn from the combined HTE reaction spaces plus the ELN space as ground truth, we compare four allocation policies: a random subset, a factorial-grid subset, a Nash-welfare-greedy allocator, and the full anchor-then-envy-refine allocator with rPD-weighted valuations. All policies receive identical budget, identical model, and identical tuning effort. Outcomes are post-allocation model generalization on held-out scaffolds (the target splits of the mechanism benchmark), worst-class maximin-share approximation, and the count of EF1 violations. The proposal succeeds if fair refinement beats the alternatives on worst-scaffold error at equal budget, and if the gap widens as the budget shrinks — the regime where greedy allocation most starves difficult classes.

Experiment 3 is a small wet-lab pilot, kept deliberately modest. A 96-well photoredox plate is designed for a single reaction family with well-understood mechanistic thresholds — difluoromethylation of unsaturated hydrocarbons with imidazolium reagents (A practical photocatalytic strategy for radical (deuterio)difluoromethylation using imidazolium reagents) or decatungstate hydrogen-atom-transfer functionalization (Tetrabutylammonium decatungstate-catalyzed hydroalkylation/alkoxylation of 3-methyleneisoindolin-1-ones with alcohols/ethers through hydrogen atom transfer process) — with wells allocated by the fair-refinement policy and a matched factorial-control plate. The pilot checks two things: whether the rPD-flagged "dangerous" condition changes actually collapse yield in the flask, and whether predicted and measured yields agree within roughly ten units for most entries, the tolerance standard set by the enantioselectivity work, where an ensemble of 30 chemical language models placed about 94% of predictions within 10 units of experimental %ee (Molecular Machine Learning Approach to Enantioselective C–H Bond Activation Reactions: From Generative AI to Experimental Validation). We note honestly that this last benchmark reports no result for condition-robustness specifically, and no reported result exists on Lacuna for yield prediction under deliberate mechanistic-threshold perturbation; the pilot would be the first.

Baselines

The "do nothing" reference point is a yield model trained on dense HTE data and applied unchanged to real-world data. This baseline is not hypothetical: the attributed graph neural network YieldGNN reports $R^2 = 0.961$ on the Buchwald–Hartwig HTE dataset and then performs no better than random chance on the AstraZeneca ELN dataset (On the use of real-world datasets for reaction yield prediction). Any contribution from this proposal must first reproduce that collapse on the same data, then show movement off the random-chance floor on ELN-like evaluation. On the dense-HTE side, the strongest published predictor is the deep-forest cascade with $R^2 = 0.94$ and RMSE $= 6.86$ on the Doyle Buchwald–Hartwig grid, against Random Forest at $R^2 = 0.92$ and a CNN at $R^2 = 0.93$ (Deep Forest-Based Intelligent Yield Predicting of Buchwald-Hartwig Coupling Reaction); we will run this model as the strongest in-distribution competitor to confirm that its out-of-sample additive accuracy ("up to 94.44%") does not survive mechanism-hierarchy splits.

The strongest existing method on the actual question — predicting real-world yields — is the Random Forest at $R^2 = 0.266$ on the AstraZeneca ELN data (On the use of real-world datasets for reaction yield prediction). Beating it means materially exceeding $R^2 = 0.266$ on ELN-style evaluation under matched training data and tuning budget, and, more ambitiously, showing that models retrained on fairly allocated screening data close a measurable fraction of the remaining gap. For the distance-modeling question, the strongest competitor is isotropic chemical similarity — Tanimoto similarity over Morgan fingerprints and Euclidean distance in pretrained molecular embeddings — run on identical reaction pairs with identical features, so that only the geometry of the distance differs. For the allocation question, the competitors are the factorial grid, uniform random sampling, and Nash-welfare-greedy assignment, all given the same well budget and the same downstream model. Finally, two ablations isolate the proposal's key ingredients: rPD with the anisotropic term replaced by an isotropic distance (isolating anisotropy), and the full allocator with the charity pool and envy-refinement loop removed, leaving only the Nash-welfare anchor (isolating iterative refinement).

Why not just…?

Why not just pre-train a bigger graph network or chemical language model? This is the most natural objection, and the evidence against it is direct: pre-training the graph network on millions of molecules from ZINC15 and 440,000 synthetic Suzuki reactions failed to bridge the HTE-to-ELN gap, and both YieldGNN and BERT landed at random chance on the ELN data (On the use of real-world datasets for reaction yield prediction). The reason is structural: general molecular property distributions do not encode reaction-condition-dependent reactivity, and no amount of pretraining changes the fact that the model has never seen the condition combinations that decide outcomes. Experiment 1 nonetheless retests a scaled pretraining baseline at matched compute, because if larger pretraining did close the ELN gap, the diagnostic claim of this proposal would be weakened and the work should pivot to the allocation component alone.

Why not just augment training data with perturbed reaction conditions? This is a genuine threat — it is the chemical analogue of adversarial training, and we will run it as a baseline rather than argue around it. The vision evidence is cautionary but not conclusive: adversarial training and Stylized ImageNet recover only a few percentage points against the 30–40% subpopulation drops on BREEDS (BREEDS: Benchmarks for Subpopulation Shift), and adversarial training actively fails on corruptions that change global image properties like contrast and lighting (On the effectiveness of adversarial training against common corruptions, Exposing previously undetectable faults in deep neural networks). The deeper problem is that augmentation without a threat model cannot distinguish safe perturbations from mechanism-breaking ones, so it wastes budget perturbing along harmless axes. Experiment 2 settles this head-to-head: if uniform condition augmentation matches rPD-guided allocation at equal budget, the threat model contributes nothing beyond data volume, and we would report that. Our expectation, based on the vision precedent, is that it will not — but the experiment, not the analogy, decides.

Why not just run factorial screens or maximize Nash welfare greedily? Full factorial coverage is what HTE already does, and it is precisely the strategy that fails: the ELN chemical space is roughly $10^8$ times larger than an HTE grid, so factorial coverage of real chemistry is unattainable, and the 781-reaction ELN set already exposes models trained on 3,960-reaction grids. Pure Nash-welfare maximization without anchoring hits the "singleton barrier" and degrades to an $O(m)$ welfare approximation (Fair and Efficient Allocations under Subadditive Valuations), and greedy, myopic assignment leaves strong envy that the refinement literature shows is repairable by systematic transfers (Title). The greedy and Nash-only policies are run as explicit baselines in Experiment 2, so the value of iterative refinement is measured, not asserted.

Decisive Checks and Limits

The proposal stands or falls on three numbers. First, rPD must predict model failure substantially better than isotropic distances on the ELN and hierarchy benchmarks — a large rank-correlation gap, not a marginal one. Second, at matched budget, the fair-refined allocator must beat factorial, random, and greedy policies on worst-scaffold generalization, with the margin growing as budgets shrink. Third, the wet-lab pilot must confirm that rPD-flagged condition changes actually break reactions in the flask. The honest limits: the ELN dataset is small (781 reactions), the mechanism-hierarchy benchmark must be assembled from literature reactions rather than an existing public resource, and the anchor-protection theory may return a negative result. Each limit is also an contribution — the benchmark and the failure-atlas are deliverables that outlive any single model — and a negative theory result would sharpen, rather than undermine, the algorithm actually deployed.

References

  1. On the use of real-world datasets for reaction yield prediction
  2. ImageNet-D: Benchmarking Neural Network Robustness on Diffusion Synthetic Object
  3. Direct site-selective C(sp<sup>3</sup>)–H functionalization of unprotected non-activated alcohols
  4. Visible-light induced tandem radical cyanomethylation and cyclization of N-aryl acrylamides: access to cyanomethylated oxindoles
  5. Controllable tertiary amine-promoted photoactivation metal-free carbonylation of aryl sulfonium salts to aryl carboxylic acid derivatives
  6. A practical fluorosulfonylating platform via photocatalytic imidazolium-based SO2F radical reagent
  7. A practical photocatalytic strategy for radical (deuterio)difluoromethylation using imidazolium reagents
  8. Tetrabutylammonium decatungstate-catalyzed hydroalkylation/alkoxylation of 3-methyleneisoindolin-1-ones with alcohols/ethers through hydrogen atom transfer process
  9. Disentangling Safe and Unsafe Image Corruptions via Anisotropy and Locality
  10. BREEDS: Benchmarks for Subpopulation Shift
  11. Tractable Fragments of the Maximum Nash Welfare Problem
  12. Fair and Efficient Allocations under Subadditive Valuations
  13. Achieving Maximin Share and EFX/EF1 Guarantees Simultaneously
  14. Molecular Machine Learning Approach to Enantioselective C–H Bond Activation Reactions: From Generative AI to Experimental Validation
  15. Deep Forest-Based Intelligent Yield Predicting of Buchwald-Hartwig Coupling Reaction
  16. On the effectiveness of adversarial training against common corruptions
  17. Exposing Previously Undetectable Faults in Deep Neural Networks