An Auditable Dichotomous Key for Cross-Ancestry Genetic Instruments

Biologists identify species with a dichotomous identification key: a sequence of paired, mutually exclusive questions ("wings two pairs or one?") that prunes the candidate pool in half at each step, so that an unknown specimen is pinned down in about $\log_2 N$ decisions. Epidemiologists face a structurally similar triage problem with genetic instruments. In Mendelian randomization — a method that treats randomly inherited genetic variants as natural experiments to test whether an exposure causes a disease — a variant selected as an instrument in one population frequently fails in another, because the correlation structure between nearby DNA variants (linkage disequilibrium), allele frequencies, and pleiotropic side-effects all drift across ancestries. Today this triage is done either by ad-hoc thresholds, or by black-box neural representations that fix the bias but cannot be inspected. We propose to do it with an explicit, machine-induced dichotomous key: a short sequence of binary gates, each one a canonical instrument-validity check, whose thresholds and ordering are learned from data but whose every couplet remains a semantically meaningful, human-auditable rule.

The motivation comes from two converging findings. Instruments and criteria built on European cohorts transfer badly: standard Mendelian randomization applied to East Asian and African ancestry data at the GLP1R diabetes locus in the All of Us biobank suffered estimation bias up to 0.3, which an invariant-representation autoencoder reduced to near zero Addressing Instrument-Outcome Confounding in Mendelian Randomization through Representation Learning. Meanwhile, in the clinical domain, ancestry-blind single thresholds demonstrably fail: uniform White-derived BMI criteria for monogenic diabetes testing left roughly 80% of MODY cases misdiagnosed and non-White patients carrying a wrong diagnosis for an average of 10 years, while branching the threshold by ethnicity doubled detection from 8.8% to 16% and cut the number needed to test from 11 to 6 Precision diagnosis for monogenic diabetes requires ethnicity specific criteria for genetic testing. The two literatures share a deeper symmetry that this proposal exploits: the classic weakness of dichotomous keys — characters that are diagnostic in one region break down elsewhere — is exactly the ancestry-transfer problem, so the fix should be the same in both: make ancestry-conditional branching an explicit, principled part of the key rather than an accident of where it was calibrated.

Core Claim

The claim is that a shallow dichotomous key over pre-specified instrument-validity checks can recover most of the cross-ancestry bias correction that black-box invariant representations achieve, while being fully auditable and reusable on new loci without retraining. Concretely, on the semi-synthetic All of Us benchmark where the autoencoder drives bias from up to 0.3 to near zero Addressing Instrument-Outcome Confounding in Mendelian Randomization through Representation Learning, we hypothesize the key keeps absolute causal-estimate bias within a small pre-registered margin of the autoencoder's residual. The secondary claim is that the failure modes of cross-ancestry instruments are largely discrete — the tag variant either does or does not remain in linkage disequilibrium with the causal variant, the first-stage $F$-statistic either does or does not collapse — which is precisely why a binary-gated structure should not lose much information relative to a continuous latent representation. Precedent for mixing discrete and discretized continuous characters in a working key comes from seed anatomy, where qualitative cellular observations and quantitative coat-thickness measurements were combined into couplets that separated seven visually identical Zingiberaceae species Identification of seven Zingiberaceous species based on comparative anatomy of microscopic characteristics of seeds.

Research Program

The artifact is an ancestry-branching instrument-validity key, delivered as an interactive tool in the spirit of the Argument Scheme Key, which showed that a JSON-encoded dichotomous key embedded in software standardizes expert classification well enough to reach Cohen's $\kappa = 0.723$ between annotators An Online Annotation Assistant for Argument Schemes. Each internal node of the key is constrained to be one of a fixed set of canonical validity primitives: presence of the variant at usable minor allele frequency in the target ancestry panel; the strength of the variant–exposure association under the target population's linkage disequilibrium structure (the first-stage $F$-statistic); stability of the tag–causal correlation $r^2$ between discovery and target reference panels; sign concordance of the exposure association across panels; and pleiotropy screens of the kind GSMR implements via its HEIDI-outlier filter, which removed 16 pleiotropic APOE-region SNPs in the original European analysis Causal associations between risk factors and common diseases inferred from GWAS summary data. The upper couplets branch on the target ancestry context, routing into population-specific sub-keys, and the terminal taxa are validity classes: universally valid, population-specific valid, recalibratable, and pleiotropically confounded.

What is learned is only the thresholds of the continuous primitives and the ordering of the couplets. Formally, with $v_\ell$ the vector of validity statistics for locus $\ell$, exposure $e$, and target ancestry $a$, we choose threshold parameters $\theta$ and ordering $\pi$ to minimize

$$\min_{\theta,\pi}\; \mathbb{E}_{(\ell,e,a)}\Big[\big|\hat\beta_{\mathrm{MR}}\big(K_{\theta,\pi}(v_\ell,a);\,e,a\big)-\beta^{*}_{e,a}\big|\Big],$$

where $K_{\theta,\pi}$ is the key, $\hat\beta_{\mathrm{MR}}$ is the two-stage causal estimate computed from the instruments the key admits, and $\beta^{*}_{e,a}$ is the true effect, known in semi-synthetic setups and replaced by replication outcomes in real data. Because every node must be a primitive from the fixed set, the search space is tiny — orderings and scalar thresholds — and admits exhaustive or beam search, and the resulting key stays at the $\log_2$ depth that makes dichotomous keys usable. Couplets are additionally ordered by reliability, with the most robust checks first, to blunt the error-propagation problem familiar from taxonomy: a wrong answer at an early couplet should be unlikely, not merely cheap. One design analysis tests whether branching on global ancestry (a single similarity score, as in the Genetic Similarity to Yoruba metric used by Ancestry Calibration of Polygenic Risk Scores Improves Risk Stratification and Effect Estimation in African American Adults) suffices, or whether locus-specific local ancestry tracts are needed — an open problem that calibration paper explicitly leaves open.

Proposed Experiments

The primary experiment replicates the semi-synthetic All of Us setup at the GLP1R region in East Asian and African ancestries, where the ground-truth effect is known by construction and standard estimators show bias up to 0.3 Addressing Instrument-Outcome Confounding in Mendelian Randomization through Representation Learning. We report absolute bias of the key-filtered causal estimate, instruments retained, and key depth, head-to-head against the autoencoder under the same data, the same instrument pools, and the same tuning budget. A transfer condition trains thresholds on other loci and applies the frozen key to GLP1R: the autoencoder must be retrained and its latent dimension re-specified for each new locus, a cost we quantify. The second experiment moves to real summary statistics in the cross-ancestry glaucoma replication design of Mendelian randomization study shows no causal relationship between psychiatric disorders and glaucoma in European and East Asian populations, which used over 218,000 European individuals (FinnGen, UK Biobank, PGC) and over 212,000 East Asian individuals (China Kadoorie Biobank, BioBank Japan) and found concordant nulls, e.g. depression on glaucoma with OR = 1.15 (95% CI 0.93–1.42, p = 0.20) in Europeans and OR = 1.38 (p = 0.30) in East Asians. There, the key must correctly not flag instruments that replicate, and we extend to additional exposure–outcome pairs with observed discordance to test its positive predictions. The third experiment converts the key's logic into a clinician-usable step-down for polygenic risk score triage on the 8,841 African American adults of the REGARDS cohort Ancestry Calibration of Polygenic Risk Scores Improves Risk Stratification and Effect Estimation in African American Adults, asking whether discrete gates recover most of the continuous calibration's gains, where that paper reports the top-to-bottom decile odds ratio for Type 2 Diabetes improving from 7.97 to 10.77 and 33.6% of the top decile being reclassified.

Baselines

The naive reference point is doing nothing: port European-discovery instruments into non-European target cohorts unfiltered. This is not a strawman — it is the documented default, with estimation bias up to 0.3 at the GLP1R locus under raw-genotype two-stage least squares and MR-Egger Addressing Instrument-Outcome Confounding in Mendelian Randomization through Representation Learning, and with over half of African American adults in the top height-risk decile misclassified by uncalibrated multi-ethnic scores Ancestry Calibration of Polygenic Risk Scores Improves Risk Stratification and Effect Estimation in African American Adults. The standard-practice baseline is GSMR-style ad-hoc filtering — genome-wide-significant clumping in a European linkage disequilibrium panel plus HEIDI-outlier pleiotropy filtering Causal associations between risk factors and common diseases inferred from GWAS summary data — run on identical data and instrument pools; no reported result found on Lacuna for GSMR's bias on non-European targets, which is itself part of the gap. The strongest competitor is the invariant-representation autoencoder, which reduced the 0.3 bias to near zero on the primary benchmark Addressing Instrument-Outcome Confounding in Mendelian Randomization through Representation Learning; we retrain it with the same compute and tuning budget, and beating it means matching its residual bias within a pre-registered margin while producing a key that needs no retraining per locus — we do not claim to beat it on bias alone. Two ablations isolate our ingredients: an unconstrained decision tree trained on the same validity features (isolating the constrained, semantically typed couplet set), and a single global key with the ancestry-branching couplets removed (isolating ancestry branching).

Why not just…?

Why not just add ancestry principal components as covariates? This is standard practice, and it has been tested and named: the "covariate trap," in which uncalibrated genetic scores next to continuous ancestry covariates produce inflated, unstable estimates — "statistical ghosts," such as an ancestry-similarity metric with no true height association appearing strongly associated once the miscalibrated score enters the model Ancestry Calibration of Polygenic Risk Scores Improves Risk Stratification and Effect Estimation in African American Adults. Linear adjustment assumes ancestry shifts the trait mean uniformly, whereas it distorts decile boundaries non-linearly; a discrete gating structure is one way to model that non-linearity explicitly.

Why not just use the autoencoder, since it already removes the bias? This is the real threat, and we are honest about it: on the GLP1R benchmark the autoencoder is the incumbent and may win on raw bias. Our claim is a different Pareto point — auditability, per-couplet biological verifiability, no manually pre-specified latent dimension, and amortization across loci — and the transfer condition of the primary experiment is designed to settle it: if the key's bias is far outside the autoencoder's, the proposal is falsified; if the key matches within margin and transfers without retraining, the trade is worth making.

Why not just train an ordinary decision tree on the same features? It might work, and our ablation runs exactly this. Our concern is that an unconstrained tree with few labeled (locus, ancestry) examples will split on arbitrary feature values with no validity semantics, overfit, and cannot be audited against the instrumental-variable assumptions the way a couplet that is the first-stage $F$-statistic check can; the ablation measures precisely how much accuracy, if any, the typed-primitive constraint costs.

Why not just keep one universal threshold for simplicity? In the clinical regime this has quantified costs: uniform BMI criteria produced the 80% MODY misdiagnosis rate and the 10-year diagnostic delay, while ancestry-branching cutoffs (White <30, South Asian <27.5, African-Caribbean/Mixed <35 kg/m²) doubled detection and halved the number needed to test Precision diagnosis for monogenic diabetes requires ethnicity specific criteria for genetic testing. Simplicity that systematically misses a third of cases is not simpler for the patient.

Decisive Checks

Three outcomes would decide the proposal. First, the bias margin on the All of Us benchmark: if the key's residual bias exceeds roughly twice the autoencoder's, the claim that discrete gates capture the continuous failure structure is wrong. Second, the unconstrained-tree ablation: if an ordinary tree matches the key's bias, the contribution shrinks to a software and standardization result — still useful, in the way the argument-scheme key demonstrably raised annotator agreement An Online Annotation Assistant for Argument Schemes, but a weaker paper, and we would report it as such. Third, the glaucoma-replication calibration: a key that flags clearly replicating instruments as population-specific is over-pruned, and its false-flag rate on the concordant nulls of Mendelian randomization study shows no causal relationship between psychiatric disorders and glaucoma in European and East Asian populations bounds its usefulness for real analyses. A secondary check, deferred but stated, is whether the key's depth stays near the $\log_2$ ideal as new validity primitives are added — the same update pressure that forces taxonomists to revise keys when new species are described Three new species of Rhaphium from China, with an updated key to Chinese Rhaphium (Diptera, Dolichopodidae, Rhaphiinae).