From Sequence Uncertainty to Phenotype Hypotheses: A New Framework for Conditional Reasoning on Biomedical Knowledge Graphs

An uncertainty-conditioned path energy framework converts genomic prediction uncertainty into interpretable phenotype hypothesis distributions on knowledge graphs.
This study proposes an "uncertainty-conditioned path energy" framework to address how variant prediction uncertainty from genomic foundation models propagates to downstream phenotype hypotheses. The core innovation uses query uncertainty to control the temperature parameter in an energy function: high uncertainty yields smooth, broad hypotheses; low uncertainty yields sharp distributions focused on high-confidence paths, making evidence quality an explicit determinant of hypothesis breadth while preserving multi-path traceability. Without patient-level phenotype supervision, the model achieved Spearman correlations of 0.951 and 0.878 between phenotype entropy and upstream uncertainty on AlzKB and Hetionet; in gene hold-out experiments, recall@10 exceeded DistMult on 24/30 masks (0.183 vs. 0.123), though the difference mainly came from three highly variable genes. The authors note the framework depends on graph coverage and uncertainty calibration quality, and generalizability still requires larger-scale validation.
Genomic foundation models can provide variant-level evidence, but translating that evidence into phenotype hypotheses requires accounting for uncertainty at every step of structured reasoning. A recent paper proposes an "uncertainty-conditioned path energy" framework that attempts to convert sequence predictions and their calibrated uncertainty into interpretable distributions over phenotype hypotheses on a knowledge graph, without requiring patient-level phenotype supervision.

Core Problem: Propagation and Utilization of Uncertainty
Genomic foundation models (such as DNA language models) excel at predicting the functional impact of variants, but these predictions typically carry uncertainty. Conventional methods often ignore this uncertainty and directly map point estimates to downstream tasks. However, when reasoning over biomedical knowledge graphs (such as gene–disease–phenotype networks), the quality of evidence directly determines the reliability of hypotheses. The key innovation of this work is to treat predictive uncertainty as a conditioning variable that explicitly influences path search and probability assignment on the graph.
Specifically, the model learns an interpretable energy function that scores "gene–disease–phenotype" paths. The uncertainty of the query (i.e., the sequence prediction) controls a target temperature parameter: higher uncertainty leads to higher temperature and a smoother hypothesis distribution, i.e., greater breadth of hypotheses; lower uncertainty leads to lower temperature and a sharper distribution focused on high-confidence paths. This design makes evidence quality an explicit determinant of hypothesis breadth while preserving the traceability of multi-path support.
Knowledge graphs and path reasoning: Biomedical knowledge graphs are typically organized as heterogeneous graphs of entities (such as genes, diseases, phenotypes, and drugs) and relations (such as "associated with," "causes," and "expresses"), where each node and edge may carry provenance and confidence. Path reasoning refers to searching the graph for multi-hop paths connecting a query entity to candidate answers and scoring them based on the semantics and statistical evidence of the paths. The core advantage of such methods is multi-hop interpretability: each path can be traced to a concrete chain of biological mechanisms rather than a black-box embedding similarity. However, the number of paths grows combinatorially with graph size, so an energy function or a learned scorer is needed for efficient pruning and ranking of paths. The path energy framework precisely parameterizes "path plausibility" as a learnable scalar, thereby achieving probabilistic outputs while retaining interpretability.
Method: Energy Function and Temperature Adjustment
The core of the framework is a learnable energy function that takes candidate paths on the graph as input and outputs a scalar energy value. Lower energy means a more plausible path. To convert energy into a probability distribution, the model adopts an energy-based Boltzmann distribution, in which the temperature parameter is determined by the uncertainty of the query.
During training, the model is optimized under an uncertainty-dependent temperature rather than a constant temperature. Experiments show that this training approach outperforms models trained with a constant temperature of the same magnitude in recall@10 on the held-out set. In addition, for enumerable candidate sets, the framework supports exact normalization, providing a reference benchmark for evaluating a learned correction operator based on Hastings correction.

Energy-based models and the Boltzmann distribution: An energy-based model (EBM) assigns a scalar energy (E(x)) to each candidate configuration (here, a graph path) and converts it into a probability via (p(x) \propto \exp(-E(x)/T)), where (T) is the temperature. Lower temperature concentrates the distribution on low-energy (high-confidence) paths; higher temperature spreads the probability mass more diffusely. Setting (T) as a function of query uncertainty is equivalent to letting evidence quality directly modulate the sharpness of the hypothesis distribution. Training requires normalization over the candidate set (the partition function), which can be computed exactly when candidates are enumerable; otherwise, approximation is needed. This design enables the model to learn path scoring without patient-level phenotype labels, relying only on the uncertainty signal from sequence predictions and the graph structure.
Experimental Validation: Performance on Real Graphs
The study was evaluated on two biomedical knowledge graphs, AlzKB and Hetionet. In the correlation analysis between phenotype-level entropy and upstream uncertainty, Spearman correlation coefficients reached 0.951 and 0.878, respectively, indicating that the model can effectively propagate sequence uncertainty into the entropy of phenotype hypotheses. Ablation experiments further confirmed the contribution of the uncertainty-conditioning module. In the masked edge recovery task, the model outperformed both the random level and a degree-matched probabilistic permutation control.
Under the gene hold-out setting, the model exceeded a trained DistMult embedding in recall@10 on 24 of 30 graph masks (0.183 vs. 0.123). However, the authors also note that this difference is mainly attributable to three genes with large numbers of variants and does not hold for all genes. This honest acknowledgment of limitations points the way for future research.
AlzKB and Hetionet: AlzKB is a knowledge graph focused on Alzheimer's disease, integrating multiple entity types such as genes, diseases, phenotypes, and drugs, along with relations mined from literature; Hetionet is a heterogeneous biomedical network covering multiple diseases, containing about 50,000 nodes and 2 million edges, and is commonly used as a benchmark for path reasoning and link prediction. DistMult is a classic knowledge graph embedding model that represents relations as bilinear diagonal matrices and scores triples via the vector product of entities and relations; because of its simplicity and efficiency, it is often used as a strong baseline for link prediction. recall@10 measures the proportion of cases in which the true answer appears in the top 10 of a candidate ranking, while masked edge recovery tests whether a model can reconstruct missing associations from the remaining structure by hiding some edges in the graph.
Significance and Limitations
This work establishes an uncertainty-aware interface from genomic predictions to graph-supported phenotype hypotheses, combining interpretable probability assignment with clearly scoped held-out association recovery. It provides a principled reasoning framework for downstream applications of genomic foundation models, especially in scenarios that require quantifying evidence reliability. However, the current framework depends on the coverage and quality of the knowledge graph, and the generalizability of the gene hold-out experiments still needs to be validated on more genes and larger graphs. In addition, the accuracy of uncertainty calibration directly affects the quality of the final hypothesis distribution, which is also an aspect that needs attention in practical deployment.
One-line Summary
An uncertainty-conditioned path energy framework converts genomic prediction uncertainty into interpretable phenotype hypothesis distributions on knowledge graphs.
Paragraph Summary
This study proposes an "uncertainty-conditioned path energy" framework to address how the uncertainty of variant predictions from genomic foundation models can be propagated to downstream phenotype hypotheses. The core innovation is to use query uncertainty to control the temperature parameter in an energy function: high uncertainty yields a smooth distribution with broad hypotheses, while low uncertainty yields a sharp distribution focused on high-confidence paths, thereby making evidence quality an explicit determinant of hypothesis breadth while preserving multi-path traceability. The model requires no patient-level phenotype supervision. On AlzKB and Hetionet, the Spearman correlation coefficients between phenotype entropy and upstream uncertainty reached 0.951 and 0.878; in the gene hold-out experiments, recall@10 exceeded DistMult on 24 of 30 masks (0.183 vs. 0.123), but the difference mainly came from three highly variable genes. The authors note that the framework depends on graph coverage and uncertainty calibration quality, and that generalizability still requires larger-scale validation.
Related articles

Pure-Code Video Generation Tested: Which AI Model Actually Follows Instructions?
A Bilibili creator tested three AI models' pure-code video generation with unified prompts and three revisions each: Xiaonaomao has a high ceiling but lacks stability, GPT 6.2 Extra models well but only follows half the instructions, and OPAS 5.5 remains the benchmark.

GPT-6 Six-Tier Hands-On Test: Astra Ultra Dominates but Bills Double
GPT-6 six-tier test: Astra Ultra sweeps 3:0 in 3D tasks thanks to sub-agents and runs 14% faster, but hidden backend bills make its real cost 2.6x single-threaded.

GPT-6.2 Astra vs Fable 5.2: Huge Cost-Efficiency Gap Across 12 Real-World Tests
Bilibili creator tests GPT-6.2 Astra vs Fable 5.2 across 12 real tasks: Fable wins 7-5 but costs 7.2x more and takes nearly 5x longer. Token efficiency emerges as the key selection metric.