Kernel-Based Evaluation of Conditional Biological Sequence Models
Pierre Glaser, Steffanie Paul, Alissa M. Hummer, Charlotte M. Deane, Debora S. Marks, Alan N. Amin
TL;DR
This work develops kernel-based tools for evaluating conditional sequence models, introducing the Augmented Conditional MMD ($\operatorname{ACMMD}$) as an absolute measure of how well a conditional sequence model $Q_{|}$ matches the true conditional $\mathbb{P}_{|}$. It also defines $\operatorname{ACMMD--Rel}$ to assess model reliability and provides unbiased estimators and hypothesis tests (via wild bootstrap) that control Type I error in finite samples. The authors prove that ACMMD discriminates any mismatch under universal kernels and demonstrate its utility through synthetic examples and a detailed case study of ProteinMPNN on the CATH dataset, including temperature-tuning insights and cross-family variability. Overall, the framework offers a principled, statistically sound approach to quantify both accuracy and reliability of conditional sequence models with potential impact on protein design and beyond.
Abstract
We propose a set of kernel-based tools to evaluate the designs and tune the hyperparameters of conditional sequence models, with a focus on problems in computational biology. The backbone of our tools is a new measure of discrepancy between the true conditional distribution and the model's estimate, called the Augmented Conditional Maximum Mean Discrepancy (ACMMD). Provided that the model can be sampled from, the ACMMD can be estimated unbiasedly from data to quantify absolute model fit, integrated within hypothesis tests, and used to evaluate model reliability. We demonstrate the utility of our approach by analyzing a popular protein design model, ProteinMPNN. We are able to reject the hypothesis that ProteinMPNN fits its data for various protein families, and tune the model's temperature hyperparameter to achieve a better fit.
