general10838 wordsRead on Arc Codex

Balanced DNA interpolation improves learning of genetic distance

This is an uncorrected proof. Figures Abstract In taxonomic research, traditional phylogenetic tree- and structure-based analyses of genetic data are increasingly complemented by machine-learning-based identification and representation learning. Although the amount of DNA data needed to train state-of-the-art machine learning models often exceeds what can realistically be collected and sequenced in biological studies, the number of samples can be extended artificially through data augmentation. Genetic data augmentation usually refers to the introduction of random base variations, translocations, and reverse complementing. These augmentations do not take into account the inherent structures of populations and species, potentially blurring the lines between entities within genetic datasets. Here, we propose DNAInterpolator, an approach based on interpolation of DNA sequences within a given dataset that presents a neighbor-guided alternative to random mutations. We tested interpolation as an augmentation technique using four flowering plant datasets and an artificial neural network trained to predict genetic distances between paired samples. To address unequally distributed distances within our training datasets, we examined the effect of balancing the distance distribution by curating interpolated sequences. We found that balancing helps models capture genetic distances across the full distance range by strengthening performance in underrepresented regions of the distribution. Our new approach leverages the potential of taxonomic DNA datasets for modern machine learning applications. Author summary In recent years, interest in the study of genetic data using machine-learning-based approaches is increasing. However, for research focusing on fine-grained species classification or delimitation, limited genetic data exist. The finite amount of readily available fine-grained data and the challenges researchers face in material collection, e.g., narrow endemics or remote areas, constitute a significant issue when aiming to finetune state-of-the-art genome foundation models or train large models from scratch. Up-sampling genetic data through DNA augmentation methods has been shown to improve model performance. Typically, these augmentation methods introduce random transmutations, potentially blurring species boundaries and population structures inherent to a given dataset. We examined the potential of an offline augmentation technique that entails interpolating between samples of the same species to add semi-artificial DNA sequences to the dataset. Our approach is transparent, interpretable, and independent from encoding methods or subsequent analyses. Citation: Kösters LM, Karbstein K, Hodač L, Albreht L, Sahuquillo Balbuena E, Botello D, et al. (2026) Balanced DNA interpolation improves learning of genetic distance-informed embeddings in plants. PLoS Comput Biol 22(9): e1014722. https://doi.org/10.1371/journal.pcbi.1014722 Editor: Kunhong Liu, Xiamen University, CHINA Received: February 6, 2026; Accepted: August 17, 2026; Published: September 3, 2026 Copyright: © 2026 Kösters et al. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited. Data Availability: All code and data necessary to reproduce the results presented in this study are publicly available within the corresponding GitHub repository (https://github.com/LMKoesters/DNAInterpolator). Funding: L.K., K.K., L.H., P.M., and J.W.’s research was supported by the German Federal Ministry of Research, Technology and Space (BMFTR) grant 01IS20062 and the German Federal Ministry for the Environment, Climate Action, Nature Conservation and Nuclear Safety (BMUKN) grant 352460010. Palaquium target capture sequences were initially processed using the HPC clusters ‘Maxwell’ at the University of Aberdeen and the ‘UKCropDiversity-HPC’ (Biotechnology and Biological Sciences Research Council [BBSRC] grant BB/S019669/1 to A.P.) hosted at the James Hutton Institute. The funders had no role in the study’s design, data collection and analysis, decision to publish, or preparation of the manuscript. Competing interests: The authors have declared that no competing interests exist. Introduction Genetic data have become a fundamental resource for evolutionary and taxonomic research, providing detailed insights into biological diversity across the Tree of Life [1–3]. Throughout the years, technical and methodological advances in sequencing technologies have enabled increasingly large and diverse genetic datasets, ranging from single- to multi-locus to whole genome (re)sequencing [4–6]. In parallel, machine learning (ML) approaches are being applied more and more frequently to these molecular data. These developments, in turn, create opportunities for pattern recognition, classification, and inference in evolutionary biology, systematics, and ecology [7–11]. Genome foundation models such as DNABERT-2 [12], AgroNT [13], GROVER [14], Caduceus [15], Nucleotide Transformer [16], AlphaGenome [17], and Evo 2 [18] are trained on vast amounts of data and have been shown to reliably predict epigenetic marks, splice sites, RNA stability, or gene expression. In works that build genome foundation models, the focus tends to be on human or bacterial DNA and seldom on plant genetics. Oftentimes, models are exclusively trained or even evaluated using non-plant data [12,16,18–20]. When these models are applied to classify species, the prevalent challenges surrounding plant species identification and delimitation are rarely discussed or examined [20]. This includes the high rate of ancient and recent hybridization or allopolyploidy – partly combined with asexuality – that results in intricate reticulate evolutionary patterns in many plant lineages [21–23]. Addressing plant species evolution and relationships requires at least finetuning of existing genome foundation models. However, only coarse-grained genomic data are typically available in databases such as GenBank, where a small number of genomes usually represent entire plant families [6,24]. Subgenomic data such as hundreds of single-copy nuclear genes obtained through target enrichment are more readily available for most flowering plant genera (Kew Tree of Life Project, [25]), but fine-grained subgenomic data with many replicates per species for species delimitation and taxonomic purposes are still very limited for many plant groups [26–30]. This is especially true for narrow endemics and remote areas in the high-altitudes or (sub)tropics, for which researchers face very limited sampling sizes. In taxonomic studies, insufficient sample sizes often constitute a significant challenge to the finetuning of pre-trained networks, particularly Large Language Models (LLMs). Augmentation - although not a substitute for sufficient original data - can mitigate suboptimal sample sizes by artificially increasing variation in training data. Primarily popularized in computer vision, data augmentation has since been demonstrated to enhance model generalization across a variety of deep learning domains, including natural language processing [31,32]. Usually, augmentations are applied dynamically during training, which is referred to as online or on-the-fly augmenting [33]. In practice, techniques that use on-the-fly augmenting can be harder to inspect, restricting interpretability, and may limit a researcher’s fine-grained control over how individual samples are transformed [33]. This applies in particular when non-deterministic strategies, such as stochastic or learned augmentations, are used. As a result, samples created through on-the-fly augmentation are usually curated - if at all - post-training. If undesirable effects (e.g., shifts in the empirical data distribution) are discovered only after training has been completed, further finetuning or retraining can be necessary, leading to additional computational cost and time. On-the-fly augmenting may also not be feasible in cases where the target value depends on the augmented input, e.g., when training on genetic distances between pairs of DNA sequences, making augmenting before training (i.e., offline augmentation, [33,34]) the more sensible choice. For DNA data, augmentations can refer to random mutations, the introduction of insertions and deletions, reverse complementing sequences, translocations, and input value alterations (noise) [35–40]. Even random drawing of sequences from different species that share a common ancestor (homolog), can be considered a form of augmentation [41]. Although approaches injecting indels, mutations, or translocations may model sequences under evolutionary constraints, empirical variation within biological datasets is not necessarily conserved. For instance, probabilistic approaches, such as Hidden Markov Models (HMMs), model sequence variation through learned state transitions and can generate novel sequences by sampling from the resulting distributions [42]. While HMMs can capture complex dependencies, they inherently introduce extrapolation beyond the observed data, as they assign non-zero probability to unobserved sequence configurations. Alternatively, algorithms such as SMOTE [43,44] interpolate on numeric representations of the input. Consequently, interpolated feature values may not map cleanly back to discrete nucleotide states, limiting interpretability and requiring a decoding or reconstruction step. Depending on the research question, neighbor-guided approaches on raw DNA that reflect empirical variation of the underlying dataset may be favored for interpretability or to preserve dataset-specific structures such as distances between or natural variation within species. To conserve species-defining natural structures and provide an elevated level of transparency, we propose DNAInterpolator, a species-aware and consensus-assisted augmentation method that leverages single nucleotide polymorphism (SNP) variants empirically observed within a dataset. DNAInterpolator augments DNA by interpolating between DNA samples belonging to the same species and exploits consensus sequences to limit genetic divergence in newly generated samples. Interpolating between samples ensures that only naturally occurring mutations, insertions, and deletions are created during sequence simulation. Consequently, our approach does not aim to model sequence evolution. Instead, it represents a conservative, strictly data-constrained interpolation strategy that allows for back-tracing of injected information within generated samples while limiting deviations based on empirical variation. By preserving intrinsic biologically distinguishing information, employing context-aware augmentations may benefit plant species identification and delimitation efforts. Plant species delimitation, in particular, may also be improved by a biologically meaningful arrangement of learned representations (embeddings) in the model’s latent space. Biologically meaningful embeddings are characterized by a spacing of sequence embeddings that mirrors the biological (e.g., genetic) distance and can be used to infer phylogenetic relationships. To achieve such a distribution of embeddings within the embedding space, a model can be explicitly trained on genetic distances [7]. For the prediction of phylogenetic distances from unaligned data, multiple embedding-free methods have been proposed [45,46]. In contrast to these approaches, ML focuses on representation learning, which aims to map sequences into a continuous embedding space whilst decreasing the dimensionality significantly. Since representations are learned, they are inherently applicable to a broad range of tasks, such as taxonomic assignment [7], functional analyses [36], and species delimitation [23]. While alignment-free methods provide direct distance estimates for a given dataset, they do not yield a transferable representation. Outside the field of ML, genetic distances remain fundamental to species identification and delimitation efforts [47]. They allow for quantification of relatedness between samples, serve to infer phylogenetic structure, and help delineate biological boundaries [23]. Given their established role in taxonomic research, incorporating genetic distances into ML frameworks is a natural extension and has already been applied in various studies [7,48,49]. However, unequal distribution of targets, e.g., class imbalance, is known to raise issues in the training of ML models [50,51]. Since the distribution of genetic distances within training datasets may be heavily biased towards almost identical or highly divergent samples, we suggest using the interpolation of sequences and the accompanying increase in dataset size to level the distribution of genetic distances within the training dataset. In this study, we examined whether training with an dataset interpolated using DNAInterpolator improves the prediction of genetic distances (as a proxy to biologically meaningful embeddings) compared to training using a non-interpolated dataset. We then tested whether balancing interpolated data improves distance predictions compared to non-interpolated and interpolated data. To this end, we trained on three augmentation approaches separately: a) non-interpolated, b) interpolated, and c) interpolated and balanced. To illustrate the general applicability of our approach, we evaluated all interpolation and balancing schemes on four recently revised plant genera spanning orchids, herbaceous lineages, and tropical trees. Materials and methods Datasets In this study, we applied all interpolation and balancing schemes on phylogenomic datasets generated with the Angiosperms353 probe set, a widely used sequencing framework designed for universal application across flowering plants [52]. The Angiosperms353 probe set provided a standardized basis for training and allowed for testing on the same loci used for training. At the time of conducting the experiments, few comprehensive studies existed that used the Angiosperms353 probe set and provided a reasonable amount of data (i.e., yielding data on multiple individuals per species) for interpolation and training. Here, we trained and evaluated on four datasets, each representing samples from distinct plant groups. Information on the number of individuals and loci within each dataset can be found in Table 1, while information on the geographic distribution of the sampling locations for the four groups is shown in Fig 1. Origins of samples belonging to the four plant genera datasets Lomatium [29] (https://www.inaturalist.org/observations/214305391 by Cecelia Alexander, 2024; no rights reserved), Pterocarpus [28] (https://www.inaturalist.org/observations/149125232 by dune_ninja, 2023; no rights reserved), Dactylorhiza [30] (https://www.inaturalist.org/observations/115884731 by Martiño Cabana Otero, 2022; CC-BY 4.0), and Palaquium [27] (https://www.inaturalist.org/observations/37642912 by Nasser Halaweh, 2020; CC-BY 4.0). Public domain map by Canuckguy et al., obtained from Wikimedia Commons (https://en.wikipedia.org/wiki/File:BlankMap-World-Compact.svg). The four plant groups include Dactylorhiza, which belongs to the Orchidaceae family [30]. Orchids have long-since been established as model organisms for the study of evolutionary processes. Alongside substantial morphological and ecological diversity, the family exhibits complex, reticulate evolutionary patterns. The genus Dactylorhiza exemplifies this complexity: extensive hybridization and recurrent formation of allopolyploid lineages are followed by diversification through ecological adaptation [53]. As a result, species boundaries and phylogenetic relationships within Dactylorhiza are often difficult to disentangle. The Dactylorhiza dataset focuses on D. cantabrica, a recent hybrid species endemic to the northwest of the Iberian Peninsula. Also included in the dataset are its parents D. sambucina, a Eurosiberian-Submediterranean diploid species, and D. insularis, a triploid species native to southern Europe. All three species considered in this study belong to the Sambucinae section, which is morphologically well characterized, although its constituent species are not. In total, the dataset covers 20 individuals across the three species with 266 loci sequenced using the Angiosperms353 nuclear gene probe set. The second dataset examined in this study comprises samples from the genus Lomatium [29], a member of the perennial endemic North American clade of Apiaceae (PENA). PENA species are herbaceous perennials and most often occur in the western United States. They display a high degree of morphological uniformity across taxa. This similarity, combined with narrow endemism, sympatry, variable diagnostic traits, and frequent misidentifications, has long complicated species delimitation and comparative studies within the group. Within PENA, the Lomatium foeniculaceum species complex represents the most widespread lineage, extending across much of western and central North America. Its morphology appears as a continuum, impeding efforts to delineate species. Based on 286 Angiosperms353 genes, 5 species with one species comprising two varieties have been described for the L. foeniculaceum complex and are included in the dataset. Palaquium, the third dataset, is a member of the Sapotaceae family, and a genus of tropical tree species that can be found anywhere from India to Australia, and the western Pacific [27]. Its diversity hotspot lies in Malesia, where all samples from this dataset were collected. Sapotaceae species are usually diploid, with few polyploid members mostly occurring within the genus Sideroxyleae. The Palaquium dataset therefore includes data from mostly diploid individuals (except for P. obovatum found to be hexaploid in [54]), comprises 8 species in total and covers 260 loci from the Angiosperms353 probe set. The fourth and last dataset comprises samples from Pterocarpus, a genus of the Fabaceae family [28]. Pterocarpus representatives are trees with a pantropical geographic distribution. Within Pterocarpus, species delimitation is complicated by high morphological variability and intermediate characteristics. The dataset contains data from 12 species native to Africa, with two of them also occurring in the Neotropics. The genetic data comprises 319 Angiosperms353 genes. Interpolation In this study, interpolation is characterized by the transfer of SNPs from one genetic sample (donor) to another (recipient). More specifically, we implemented a species-aware consensus-based (SACB) interpolation technique using Python v3.13.2. An overview of the SACB interpolation workflow is given in Fig 3 with pseudo-code shown in Alg. 1. Detailed information about how to run the pipeline and what customization options are available to the user can be found in the code’s README and on the GitHub page. A) Shown are GTR+GAMMA distances calculated with RAxML between original and interpolated samples. Each sample is a concatenated sequence of loci that represents an individual. Missing loci were filled with gaps. Colored bars at the top and to the left of the heatmap illustrate species information. The thinner colored bars on top of the heatmap directly below the species information represent original individuals. Interpolated individuals are colored according to the respective original individual (recipient) used during interpolation. B) Shown are differences between genetic distances of nearest neighbors across and within groups. For instance, data points for ‘species’ include differences between genetic distances of a) individuals belong to the same species, and b) individuals belong to different species. For original data, only genetic distances from interpolated samples to a) the respective original sample, and b) unrelated original samples were considered. Both plots are based on a subset of 1000 original and interpolated samples, where interpolated samples were randomly chosen. The SACB interpolation pipeline starts with creating FASTA files for each species-locus group. To avoid generating augmented sequences that incorporate site-specific variation from the validation data or create intermediate sequences bridging training and validation samples, we determine the splits before augmentation and interpolate using only the training subset. Based on the generated FASTA files, we calculate p-distances using the R package ape (versions 4.4.2 and 5.8, respectively) and store them for later retrieval of unmodulated position-based differences between sequence pairs [55]. The group-specific FASTA files also serve as a basis for generating consensus sequences, both for the individual loci and for the loci-concatenated individuals. For each individual, we build a SNP sequence by iterating over all loci present within the dataset and accumulating the SNPs per locus. SNPs are determined based on the generated FASTA files using snp-sites version 2.5.1 [56]. If a locus does not contain any SNPs, the locus is skipped. If there is no sequence for a given locus and a given individual, the position within the SNP sequence of that individual is padded with as many gaps as there would have been SNPs. The SNPs sequences are stored alongside the p-distances for later usage. After preparing the p-distance and SNP data, the interpolation begins. Our interpolation approach aims to generate N new individuals per original individual, where N refers to a user-defined number. The number of individuals to generate depends on the desired dataset size and how strict downstream filtering is applied. Depending on the number of SNPs and variants, there will also be a threshold to how many sequences can be generated. To prevent infinite loops if the pipeline is unable to meet the requested number of interpolated individuals due to failure of downstream sequence checks (see Fig 3), we added patience, breaking the iteration and continuing with the next individual if 10 consecutive tries at interpolating are unsuccessful. The patience can be adjusted by the user. A reasonable value for patience within DNAInterpolator is closely linked to how similar the original input DNA sequences are and can be lowered to ensure a shorter runtime or increased to accommodate for almost identical DNA sequences. In general, the chosen settings may impact the success of downstream ML training through the size of the training dataset. When trying to generate new individuals, we shuffle the dataframe containing all records to prepare for later random sampling of an interpolation partner. The shuffled samples are then grouped by locus and iterated over. Grouping by locus allows us to create a new sequence for each locus while having all potential interpolation partners at hand. When choosing an interpolation partner, we ascertain that the chosen sequence differs from the original sequence by restricting the shuffled record dataframe to sequences with a p-distance of non-zero. We then randomly sample an interpolation partner. The interpolation partner acts as a donor during interpolation. The recipient and donor sequences are reduced to the SNPs that differ between them. With SACB, we further reduce the relevant SNPs to the recipient positions that already diverge from the consensus whenever additional deviating positions would exceed the maximum divergence from the consensus sequence observed within the dataset. This reduction ensures that the generated sequence remains consistent with the genetic distance to the consensus empirically observed within the dataset, thereby preventing a potential expansion of the sequence space. To finalize the number of bases to alter, we use a skewed random distribution. The minimal number of alterations is 1 while the maximal number is either the maximal deviation from the consensus or the number of alterations left for the complete individual when taking into account the already altered bases of other loci. To not exceed the divergence from the complete-individual consensus, the distribution is skewed towards fewer alterations, preserving sufficient deviations for the loci yet to be processed. Based on the determined number of alterations, we sample SNP positions from the filtered list of SNPs. The sampled SNP positions are then copied from the donor sequence to the recipient sequence. We store the SNPs across all loci in a SNP sequence that is later used to check for duplicate individuals. If there is no sequence for a specific locus for the current individual, we again create a gap-only padding for the SNP sequence. Depending on the dataset and the desired number of individuals to be generated, interpolation per dataset used in this study took up to 5 hours on a M1 MacBook Pro with 16 GB of RAM and 4 CPUs. Formatting of interpolated data for training took an additional maximum of 11 hours using 160 GB and 4 CPUs. To examine whether interpolated and original individuals from the same species clustered together, we sorted and concatenated all loci belonging to the same individual. Missing loci were filled with gaps. We then ran hclust of the base R stats package with ‘complete’ as the clustering method. The output was given to the function Heatmap, included in the ComplexHeatmap package v.20.2 [57]. The heatmap representations of generated interpolated sequences per plant group can be found in Fig 2A, and in panel A of A-C Figs in S1 Appendix. In addition, we visualized the difference between the nearest neighbor of a sample within and across different levels of groups (Fig 2B, and panel B of A-C Figs in S1 Appendix). The groups cover samples belonging to the same or a different species, the same/different recipient individual, and samples’ genetic distances to the corresponding original recipient individual and the most closely related non-corresponding original recipient individual. The differences were calculated by subtracting the distance to the nearest in-group sample from the distance to the nearest out-of-group sample, i.e., positive values indicate a closer relationship to in-group samples. Algorithm 1. Sequence interpolation Require: Input sequences S, species labels , individual labels , locus labels 1: for species s in do 2: for locus l in do 3: Get subset of sequences S belonging to species and locus 4: for sequence pair in do 5: Compute p-distances 6: Determine SNP positions based on 7: Generate consensus sequence based on 8: Determine maximum divergence from consensus within 9: for individual i in do 10: for locus l in do 11: Get locus sequence s belonging to individual 12: Determine divergence of s from consensus 13: Add divergences to determine across-loci divergence from consensus 14: Determine maximum divergence across loci 15: for individual (i) in do 16: Get subset of S belonging to i 17: Get species s 18: for number of individuals to interpolate (n) do 19: Initialize number of across-loci changes 20: Initialize SNPs of interpolated sequences across loci 21: for recipient sequence in do 22: Get locus l 23: Determine possible donors belonging to s 24: Determine donor individual from where and 25: Get donor sequence based on and l 26: procedure Determine maximum number of positions to change 27: Get maximum divergence from locus consensus 28: Get maximum divergence across loci 29: Initialize maximum positions to change as 30: Add number of changed nucleotides to 31: Get list of SNP positions (snps) 32: Get list of SNP positions where value diverges from consensus 33: Remove identical positions between and from snps 34: Determine divergence of from consensus 35: if then 36: Reduce SNP positions of snps to positions where 37: Determine number of positions to change within a range of by considering a random distribution 38: Randomly sample positions from snps to change 39: Copy from to to generate interpolated sequence 40: Save SNPs of as 41: Concatenate SNPs to create and match against original and generated individuals 42: if is in then 43: Discard interpolated sequences of n 44: if interpolation was unsuccessful for the last 10 times then 45: break and process next individual 46: else 47: Store Assembling of training data No interpolation. To build the dataset without any interpolation, we read the original per-locus FASTA files. From the FASTA files, we stored the genetic sequence, the individual’s ID within the sequence header, and the locus within a dataframe. We calculated ground truth genetic distances using RAxML v8.2.12 with GTR+GAMMA as its substitution model, thereby incorporating evolutionary information beyond simple site-wise differences [58]. The sample dataframe was then merged with the genetic distances, resulting in a dataframe that encompasses a pair of sequences belonging to the same locus in each row. Duplicate sequence pairs were removed. We further filtered the sequences to be at least 50% of the median sequence length. Sequence pairs should also have at least a 95% overlap, i.e., we should encounter a non-gap in both sequences at 95% of positions along the aligned sequence length. We converted raw genetic distances to cosine distances for a bounded and stable training signal. The transformation from genetic distance to cosine distance is monotonic and invertible, meaning that, in principal, approximate p-distances can be recovered from the learned sequence embeddings. However, the objective of our approach is not the precise reconstruction of genetic distances, but rather the preservation of their relative relationships within the embedding space. Consequently, cosine distances should not be interpreted as direct estimates of genetic distance. Our methodology closely follows existing similarity learning approaches (e.g., [20]), where pairs of similar sequences (positive pairs) are drawn together and dissimilar sequence (negative) pairs are pushed apart during training. We modified these approaches with soft labels representing genetic distances. While cosine similarity is widely used in similarity learning [20], cosine distance allows genetic distances to be modeled directly as distances in the learned embedding space, rather than indirectly via similarity scores. Cosine similarity ranges from -1 (maximum dissimilarity) to 1 (identical) while cosine distance ranges from 0 (identical) to 2 (maximum distance). To convert the genetic distances, we first determined the distance that accounts for 99.9% of all entries across plant groups. This distance was then set to equal 2, with proportionate rescaling of all distances according to this new maximum. Sequence pairs with a cosine distance larger than 2 were removed from the dataframe to mitigate potential downstream effects of very large outlier distances and prevent sparsely populated sub-ranges of the distance distribution. Since the cutoff is percentile-based, it scales with the distances comprised within the respective dataset. Nevertheless, we recommend examining the pairwise-distance distribution as well as the distance range relevant to the intended inference data to ensure sufficient overlap in distributions. Where the inference data cover a substantially narrower distance range than the training set, adjustment of the cutoff is recommended. To partition the training and validation subsets, we looped over a shuffled list of individuals and sequentially added them to the validation subset. The added individuals were then not used within the training, i.e., individuals within the training and validation subsets were mutually exclusive. For each iteration, we calculated the proportion of validation samples and stopped when the percentage exceeds 20%. Since subsets were based on combinations of sequences and the number of loci per individual varies, the number of sequence pairs that was transferred to the validation subset or erased from the combined dataset varies. Hence, the ratio of training to the validation subset varies between plant group datasets. The portion of the validation samples compared to the entire dataset ranges from 20.25% for the Pterocarpus dataset to 25.11% for the Dactylorhiza dataset. An overview of the number of samples within the datasets and subsets across interpolation approaches is given in S1 Table. To ensure a balanced evaluation across the distance range, we subset the training and applied normalized entropy as a metric for uniformity using the entropy package v1.3.2 [59]. The number of test samples is detailed in Fig 4. Imbalanced interpolation. Creating the dataset with imbalanced interpolation followed the same steps detailed in Section No interpolation. These steps entailed the reading of sequences from the FASTA files that contain the original as well as the interpolated sequences. The sequences were filtered to be at least 50% of the median sequence length and the sequence pairs must overlap at a minimum of 95% of the aligned positions. After filtering, we selected an equal number of sequence pairs from all genera, matching the maximum number observed among the non-interpolated datasets. In this study, the Pterocarpus training subset contained the highest number of non-interpolated sequence pairs (630,010). Accordingly, we sampled 630,010 sequence pairs from each genus-specific dataset. Sampling was performed in an augmentation-aware manner, where original sequences were chosen first. The gap to the requested number of sequence pairs was then closed by random sampling of pairs that include interpolated sequences. The training on interpolated but imbalanced data used the same validation samples as the training on non-interpolated data. Balanced interpolation. Creating training sets with interpolated and balanced data leveraged the already prepared unfiltered and not yet downsampled records collected during the generation of the interpolated but imbalanced data described in Section Imbalanced interpolation. To balance out the distance distribution within the interpolated training subsets, we assigned a sector to each sequence pair based on the corresponding genetic distance. In total, we opted for five fixed-width sectors across the cosine distance range, striking a pragmatic balance between granularity and the number of samples that fall within the defined thresholds. While the number of bins can influence the distance distribution on a fine-grained level, our goal was to assess whether a more balanced coverage of the genetic distance range improves generalization. This higher-level effect is not expected to depend critically on the precise number of bins. For each bin and training run, the pipeline randomly sampled sequence pairs from the complete dataset. The algorithm selected an equal number of records per bin and maintained the same total number of records across all training runs, including the interpolated distribution-balanced and the interpolated but distribution-imbalanced runs. The change in the distribution of genetic distances between interpolation methods is shown in Fig 5. Again, the validation was performed on the same samples as when training on non-interpolated records. Illustrated are the steps included in the interpolation pipeline. The pipeline starts with species- and locus-specific alignments from which consensus sequences are calculated (Ia). Per individual, the divergence of each DNA sequence to the species- and locus-specific consensus as well as the SNPs across all loci are saved (Ib and Ic). We interpolate by iterating over all individuals within the dataset as well as all loci (IIa and IIb). Per iteration, a donor sequence is determined at random (IIc). We choose a subset of SNP positions to copy bases from the donor to the recipient sequence, creating a new, interpolated DNA sequence (IId). We then check that the new sequence does not differ from the consensus sequence at more positions than the most diverged sequence (IIe). At last, we check for duplicates by comparing the SNP sequence of the newly generated individual with the SNP sequences of all other individuals within the dataset (IIf). Shown are the log-transformed number of test samples per dataset. Dark colors represent a balanced subset of test samples, with an approximation to a uniform distribution of distances. Boxplots indicate the distance distribution of the balanced test sets. Included are normalized entropy values (E) for both the complete test set and the balanced subset. Higher entropy values indicate a more uniform distribution. Shown are the log-transformed numbers of sequence pairs per Leave-One-Out Cross-Validation (LOOCV) run and interpolation method. Colored segments within the bars indicate the number of samples belonging to the corresponding genus within the training dataset. For instance, only data from Lomatium, Palaquium and Pterocarpus are used in training during the Dactylorhiya LOOCV run. While the number of samples within the datasets using imbalanced interpolation was increased without controlling the distance distribution, balanced interpolation aimed for a mostly equal distribution of genetic distances. Included are normalized entropy values (E) across LOOCV training sets. Higher entropy values indicate a more uniform distribution. Training To test the effect of our interpolation regime and the balancing of genetic distances, we implemented a Leave-One-Out Cross-Validation (LOOCV). In this instance, LOOCV refers to training on three of the four datasets, validating on left-out data of the same datasets, and testing on a fourth dataset that was neither trained nor validated on. For instance, we trained one model on sequence pairs belonging to Dactylorhiza, Lomatium, and Palaquium while validating on specifically assigned validation samples from those same datasets. The trained model was then tested on data from Pterocarpus. While we could have opted for training using a classic training/validation/test split, assigning a subset of samples to an independent test set, would have subtracted the corresponding individuals from the set used for interpolation and training to prevent information leakage. Consequently, a separate test split would have substantially reduced the number of sequence pairs within the training set. LOOCV at a dataset level allowed us to maximize the number of sequence pairs per plant group used for training, while also providing the model with the additional challenge of predicting distances between sequences of unseen genera. All our trainings used BERT as the network architecture and pre-trained weights from the genome foundation model DNABERT-2 [12,60]. In addition, we tokenized our DNA sequences using the DNABERT-2 tokenizer. Since the DNABERT-2 tokenizer was built using genomic DNA and is unable to translate gaps, our models did not encounter gaps within the input. Our general training script followed MosaicBERT as this is also the basis for DNABERT-2 [61]. We adjusted the model and loss function to accommodate our pairwise sequence input. After forwarding the two tokenized DNA sequences through the network, we determined the cosine distance of the resulting embeddings. The cosine distance was then compared with the target cosine distance which was converted from the raw genetic distance, yielding the training loss. We used a global training batch of 256 with a learning rate of 1.6e-5, which we linearly adjusted from the learning rate of DNABERT-S, a species-aware model based on DNABERT-2 that leverages similarity learning and is therefore closely related to our paired sequence approach [20]. Each LOOCV training took approximately 3 days running on 6 NVIDIA A40 GPUs. Evaluation We tested the trained models using all combinations of samples from the genus left out in the training. The number of evaluated DNA sequence pairs, along with information on how many combinations comprised sequences of the same (intraspecific) or different (interspecific) species, can be found in Table 2. To determine how well the model predicts genetic distances between DNA sequences, we first normalized the predicted cosine distance and the ground truth cosine distance transformed from the raw genetic distance. The normalized predicted and target distances were then subtracted and the absolute value was determined. For statistical comparisons of distance predictions between interpolation methods, we used R v4.4.2 [62] and applied the non-parametric Friedman test for paired data. We used a paired Wilcoxon test for the post-hoc analysis. For the analysis of the influence of the interpolation method on the divergence of genetic distance predictions to the ground truths across the entire range of the cosine distance, we employed a Linear Mixed-Effects Model using the lmerTest package v3.1 in R, in combination with a Type III ANOVA with Satterthwaite’s method to account for unbalanced data. For the post-hoc analysis, we used estimated marginal means (least-squares means) through the emmeans package v1.10.4. For comparisons of correlations between predicted and target distances, we calculated the Spearman’s rank correlation coefficient. Results are plotted using ggplot2 v3.5.2. Results Distance distribution after interpolation and balancing We trained models using original data, interpolated data, and interpolated data with a balanced distribution of genetic distances. Fig 5 visualizes the genetic distance distributions of our three augmentation approaches. The sample size of the datasets with imbalanced interpolation increased in comparison to the datasets without any interpolation (S1 Table). However, the distribution of distances across the cosine distance range remained mostly consistent, with a strong bias towards smaller distances in all four LOOCV training sets. Training without Dactylorhiza, median distances were 0.07 for no interpolation, 0.05 for imbalanced interpolation, and 0.97 for balanced interpolation. Leaving out Lomatium, the raw dataset had a median distance of 0.08, the imbalanced interpolated dataset had a median of 0.06, and the balanced interpolated dataset a median of 0.97. When excluding Palaquium, median distances ranged from 0.11 without interpolation, across 0.07 for imbalanced interpolation, to 0.98 for balanced interpolation. We observed the smallest median genetic distance in the training without Pterocarpus, with 0.02 for no interpolation, 0.03 for imbalanced interpolation, and 0.99 for balanced interpolation. The detailed examination of sample contribution per group shows that Palaquium exclusively yields sequence pairs with especially small genetic distances, upholding an unequal distance distribution even in datasets with balanced interpolation Fig 5. Still, the datasets with balanced interpolation exhibit a notably more equal distribution compared with both none and imbalanced interpolation. Predicted distance divergence Our training workflow using LOOCV allowed us to test the three interpolation approaches on all four plant groups within our collective dataset. For our evaluation, we calculated the absolute divergence between the ground truth and the predicted cosine-transformed and normalized genetic distance. The results are illustrated in Fig 6. We observed significant differences in genetic distance prediction divergence from the ground truth between interpolation methods for all four datasets when considering data from all sectors, i.e., the complete test set (Friedman p < 0.001; Friedman chi-squared: Dactylorhiza - 66.2, Lomatium - 54.3, Palaquium - 14.8, Pterocarpus - 623.8). Illustrated are the absolute differences between predicted and ground truth cosine-transformed normalized genetic distances for 30 linearly placed sectors across the cosine distance range. The sectors are represented by the mean differences between the predicted and ground truth distances. Lower predicted to ground truth differences indicate better model performance. Each facet shows the results of a LOOCV run, with testing on the left-out dataset. The results for the interpolation methods are shown side-by-side and are distinguishable by color. Imbalanced interpolation was outperformed by no interpolation in Dactylorhiza (pairwise Wilcoxon p < 0.001). In Lomatium, training with imbalanced interpolation yielded improved distance prediction compared to training without interpolation (pairwise Wilcoxon p < 0.001). In Palaquium and Pterocarpus, imbalanced and no interpolation provided comparable results. When balancing interpolated data, we found that for Dactylorhiza and Palaquium, using only original DNA sequences yielded cosine distances between embeddings that most closely resemble ground truth genetic distances (pairwise Wilcoxon p < 0.001). Testing on Dactylorhiza, imbalanced and balanced interpolation showed comparable distance deviations while providing slightly less consistent distance predictions compared to the ground truth than the training on non-interpolated data. In Palaquium, the training on imbalanced data yielded results in between the non-interpolated and balanced trainings. For Lomatium and Pterocarpus, the significantly smallest divergences from the target distances were provided by training based on the balanced interpolation approach (pairwise Wilcoxon p < 0.001). In Lomatium, non-interpolated data, therefore, yielded the highest differences between predicted and target distances. Taking into consideration differences in performance across the cosine distance range, we applied an ANOVA on the fixed effects of a linear mixed-effects model and found that the ground truth distance, the interpolation method, and their combination significantly influenced the divergence of the model’s prediction from the ground truth (ANOVA p < 0.0001). In Dactylorhiza, a post-hoc estimated marginal means pairwise comparison between interpolation methods showed that, for small distances (sectors 1–7), not using interpolated samples yielded the most accurate distance predictions (p < 0.0001), while balanced interpolation significantly outperformed imbalanced and no interpolation for medium to large target distances (sectors 8–30, p < 0.0001). In Lomatium, imbalanced interpolation performs best for small distances (p < 0.0001), while balanced interpolation has the lowest divergence between ground truth and target distance when considering larger target distances (p < 0.0001). As only data within sectors 1–7 are available for Palaquium, no test was performed on larger distances. For smaller distances, not applying interpolationg resulted in the most accurate distance predictions (p < 0.0001). Pterocarpus, similar to Dactylorhiza, performs best not applying interpolation when predicting small distances (p < 0.0001) and balancing interpolation when predicting larger distances (p < 0.0001). Predicted distance correlation For a more detailed look at the performance of the different models across the full range of genetic distances within the datasets, we examined the correlation between normalized predicted and target distances. We observed stronger correlations between ground truth data and the distances predicted by the models trained on non-interpolated data compared to the models trained with imbalanced interpolation when testing on Dactylorhiza and Palaquium (R2 = 0.24 compared to R2 = 0.18 and R2 = 0.36 compared to R2 = 0.27, respectively; p < 0.001). In Lomatium and Pterocarpus, correlations were stronger when training using imbalanced interpolation compared to no interpolation (R2 = 0.29 compared to R2 = 0.25 and R2 = 0.22 compared to R2 = 0.19, respectively; p < 0.001). Balanced interpolation yielded higher correlation coefficients compared to imbalanced interpolation when testing on Dactylorhiza, Lomatium, and Pterocarpus (R2 = 0.21 compared to R2 = 0.18, R2 = 0.42 compared to R2 = 0.29, and R2 = 0.27 compared to R2 = 0.22, respectively; p < 0.001). Only in Palaquium did imbalanced interpolation outperform balanced interpolation (R2 = 0.27 compared to R2 = 0.16; p < 0.001). Discussion Here, we introduce a new DNA augmentation technique, called DNAInterpolator, that generates variations of sequences within a given dataset, guided by the structural context of the original DNA. By recombining information already present in the data, augmentation using DNAInterpolator can improve the performance of deep learning models in taxonomic settings. The evaluation of the differences between and the correlation of predicted and ground truth genetic distances show that training on interpolated and balanced data yields more accurate distance predictions than training on non-interpolated data for Lomatium and Pterocarpus. While not interpolating training data works best for Dactylorhiza and Palaquium, these findings reflect the overall number of samples within the test datasets, and the biased distance distribution arising from the evolutionary divergence among the Angiosperms353 genes. As shown in Figs 4, 6 and 7, the distance distribution between plant groups varies substantially. Distances between DNA sequences belonging to Lomatium and Pterocarpus cover the entire range of the cosine distance. With balanced interpolation, the respective distance predictions improved significantly across most of the ground truth distance range, with the exception of sequence pairs below a dataset-specific distance threshold, where the impact was reversed (Fig 6). Visualized are the normalized ground truth distance on the x-axis and the normalized predicted distance on the y-axis for each of the four plant genera and for each interpolation method. Correlation coefficients and p-values were calculated using Spearman’s rank correlation. Red text indicates the best correlation across interpolation methods for the evaluated plant group. Notably, sequence pairs belonging to Palaquium do not cover the entire range of the cosine distance. Instead, they are limited to specifically the distance range in which all datasets perform best without any interpolation. The bias in genetic distances is likely due to fast radiations [27,63] and the lowest number of SNPs (2k) among all tested plant groups. The bias towards small distances in Palaquium leads to a pronounced discrepancy between the training and inference distance distributions. As positive effects of a balanced interpolation approach cannot be observed for very closely related samples (Fig 6), samples belonging to Palaquium fall into the small distribution range in which balanced interpolation increases divergence between ground truth and predicted distances. This effect can be attributed to a shifted focus during ML training as the natural distance distribution is distorted and larger distances are more often encountered during training. Consequently, samples with larger distances contribute more frequently to the optimization compared to imbalanced training, leading the model to place greater emphasis on accurately representing long-range relationships. This effect could be mitigated by adjusting the distance cutoff, mapping the cosine distance to a narrower genetic distance range and allowing for a more focused training on the part of the distance range that is most relevant for Palaquium. Dactylorhiza, on the other hand, is better suited to test the benefit of either interpolation method due to the substantially larger number of paired samples within the dataset as well as the more balanced distribution of genetic distances. Nevertheless, there remains a minor disproportion between sequence pairs with cosine distances <1 and those with cosine distances >1, with smaller distances being slightly overrepresented in the test set (Fig 4). The bias in genetic distances within Dactylorhiza caused by recent polyploid hybrids [30], explains a slightly better correlation coefficient for non-interpolated data than training with interpolated and balanced data. In detail, the relatively small subset of the distance range for which training on non-interpolated data yields consistently more accurate genetic distances has a stronger impact on the overall result due to imbalanced data. In test datasets such as Lomatium and Pterocarpus [28,29], which exhibit large evolutionary divergence with a high number of SNPs and low levels of reticulate processes, and thus a broad range of genetic distances, balanced interpolation yields the most accurate distance predictions. This observation also represents a limitation of a directed interpolation-based augmentation. The idea behind fine-tuning is to adapt a model to a specific task, narrowing down on those samples that most closely reflect the feature distribution anticipated during inference. When the genetic distances of the inference data deviate significantly from the training and validation data, interpolating and balancing out the distance distribution emphasize parts of the distance range during training that are never encountered at inference time or play a secondary role. In such cases, interpolation does not improve model performance while requiring additional labor and resources depending on the number of samples that should be generated [64]. Therefore, it is advantageous to know the distance range of the test set and to adapt the interpolation and training accordingly. Our training and test datasets mostly contain closely related genetic sequences. Since DNABERT-2 was trained on a wide range of data from genetically diverse species [12], the cosine distance between the embeddings of very closely related samples is likely to be close to zero. During our training, we therefore aimed to untangle and spread the samples farther apart, forcing them to occupy space across the entire range of the cosine distance. Our results indicate that this process is aided by presenting the model time and time again with what we consider to be distantly related samples (Fig 5), thereby rescaling the spacing of embeddings (Fig 6). By enabling the selection of sequence pairs that fit the desired distance distribution while still ensuring a sufficient number of training samples, augmenting sequences before training through interpolation directly improves genetic distance prediction across most of the cosine distance range. Population genetic and genomic studies have shown that incomplete or uneven sampling can distort estimates of genetic diversity and subsequent inferences about population structure, particularly among recently diverged groups [65–67]. Similarly, missing taxa or uneven sampling can bias tree topology, branch lengths, and diversification rate estimates in phylogenomic studies with pronounced effects when dealing with rapidly radiating taxa [68,69]. In both contexts, our approach provides a strategy to mitigate sampling-related limitations by generating biologically plausible interpolated sequences that fill sampling gaps when exhaustive sampling is not possible. DNAInterpolator may also benefit the estimation of a fossil’s genetic identity. In cases where a fossil might only be represented by its morphology, a reliable genetic embedding space could facilitate the linkage between morphological and DNA information. The morpho-genetic mapping could then be used to describe the genetic makeup of the fossil by leveraging the relative position to related taxa. Previous studies used deep learning on morphological data to infer phylogenetic or genetic relationships, either by embedding morphological features into a phylogenetic distance space [70] or by approximating high-level genetic/taxonomic affinities [7], but neither predicts multi-locus, subgenome, or genome-scale DNA embeddings. Our approach would enable the mapping of morphological traits to DNA embeddings for prediction of pairwise genetic distances between fossils and extant taxa. By training with interpolated DNA sequences, we fill gaps within a genetic distance space and improve resolution, particularly among closely related sequences, rare or even extinct taxonomic groups. Furthermore, leveraging multi-locus data across hundreds of genes makes our embeddings far more comprehensive than single-marker studies. Notably, DNAInterpolator can be applied irrespective of subsequent analyses. Since DNA sequences are interpolated based on their original state rather than their numeric representations, DNAInterpolator does not depend on a specific encoding method such as the regularly used one-hot encoding [37,40]. While we have finetuned DNABERT-2 [12] in this study, we expect balanced interpolation to generalize to other models trained on pairwise similarity relationships, as the method improves coverage and reduces sparsity along the distance distribution. Note, however, that the magnitude of the impact can vary irrespective of the chosen model depending on the degree of overlap between training and inference. Instead of using balanced interpolation, alternative measures can be taken to emphasize the importance of rare targets during training such as introducing special metrics for optimization and evaluation of a model with imbalanced distributions [71]. For researchers, independence from downstream tasks and potential conversion into a numeric format ensure maximum flexibility along with ease of interpretability. Follow-up developments of our interpolation approach could account for correlations between sites when transferring variants from donor to recipient to further increase the empirical support of the interpolated samples. One possible implementation would be to process codons instead of individual sites. However, the use of codons would require additional annotation and gene trimming. At the same time, introducing further constraints on interpolation may also lead to a more sparsely populated sequence space, impeding the balancing of distances. DNAInterpolator provides a conservative and transparent approach for sequence augmentation in limited but complex phylogenomic datasets that cover many loci of multiple individuals across species. In contrast to alternative augmentation techniques such as HMMs, DNAInterpolator explicitly preserves within-group (be it species or recipient individual) genetic variation (Fig 2). Group-specific variation is retained by restricting each augmented position to nucleotide states observed at that position in the corresponding dataset and applying explicit limits on deviation from the consensus, e.g., by not introducing additional SNPs. Furthermore, DNAInterpolator records the origin of each selected nucleotide, providing full transparency and control over the augmented data. In contrast to DNAInterpolator, generative approaches such as HMMs do not only inter- but also extrapolate, expanding the effective sequence space and potentially altering the empirical distribution of pairwise distances. In the context of distance-based model training, this can result in an increased number of sequence pairs exceeding the defined distance range and, consequently, requiring removal, rendering the approach much more ineffective. Alternatively, an expansion of the accepted distance range would result in a disproportionate representation of artificially generated sequences at the upper boundary of the distribution. Rather than a comprehensive model of sequence evolution, DNAInterpolator is designed as a transparent and conservative augmentation framework that preserves genetic distance structures. It enables model fine-tuning in areas of the distribution that may be underrepresented due to sampling difficulties, rare haplotypes, or other biological constraints by increasing density in sparse sequence spaces. The additional reference points within this denser sequence space can provide crucial information for downstream tasks and stabilize the composition of representations within the embedding space. Ultimately, the aim of DNAInterpolator and genetic-distance-based training is to create sequence representations that capture consistent phylogenomic patterns. Such representations can help assign taxonomic labels, form biologically meaningful clusters, and delimit species with improved interpretability and efficiency. Conclusion In this study, we demonstrated that a selective augmentation of DNA sequences prior to model training can improve the relationships between embeddings within an n-dimensional embedding space to be more biologically meaningful. By interpolating between sequences within the original dataset and systemically choosing samples to balance out the genetic distance distribution observed in the original data, we can reinforce learning of all relationships within a pre-defined distance spectrum. As shown, strengthening of connections within the spectrum decreases distance prediction divergence from the ground truth when the tested samples cover the entire distance spectrum. Interpolating offers another perk in its improved interpretability compared to augmentations introducing context-unaware mutations and indels which are applied during training. In cases where there is an increased interest in the specifics of the data used for training or where there is a need to preserve boundaries between closely related taxonomic groups, our interpolation pipeline provides the necessary control by simulating sequences outside of the model training. Outside of ML, our interpolation approach can alleviate restrictions of limited sampling in phylogenomic studies by providing a biological data-driven simulation of sequences that builds a continuum between original samples. Supporting information S1 Table. Training and validation dataset sizes of interpolation approaches. https://doi.org/10.1371/journal.pcbi.1014722.s001 (PDF) S1 Appendix. A–C Figs Supplementary figures showing clustering of GTR+GAMMA distances of interpolated and original Lomatium, Palaquium, and Pterocarpus samples. https://doi.org/10.1371/journal.pcbi.1014722.s002 (PDF) Acknowledgments Palaquium data was collected with the permission of the National Parks Board in Singapore under permit NP/RP17-098-3 and DNA sampling was kindly facilitated by the Royal Botanic Garden Edinburgh and Singapore Botanic Gardens. References - 1. Soltis PS, Soltis DE. Molecular systematics: assembling and using the tree of life. Taxon. 2001;50(3):663–77. - 2. Burki F, Roger AJ, Brown MW, Simpson AGB. The new tree of eukaryotes. Trends Ecol Evol. 2020;35(1):43–55. - 3. Zuntini AR, Carruthers T, Maurin O, Bailey PC, Leempoel K, Brewer GE, et al. Phylogenomics and the rise of the angiosperms. Nature. 2024;629(8013):843–50. pmid:38658746 - 4. De Coster W, Weissensteiner MH, Sedlazeck FJ. Towards population-scale long-read sequencing. Nat Rev Genet. 2021;22(9):572–87. pmid:34050336 - 5. Marks RA, Hotaling S, Frandsen PB, VanBuren R. Representation and participation across 20 years of plant genome sequencing. Nat Plants. 2021;7(12):1571–8. - 6. Karbstein K, Choudhary N, Xie T, Tomasello S, Wagner ND, Barke BH, et al. Assembling genomes of non-model plants: a case study with evolutionary insights from Ranunculus (Ranunculaceae). Plant J. 2025;123(6):e70390. pmid:40971819 - 7. Hofmann M, Kiel S, Kösters LM, Wäldchen J, Mäder P. Inferring taxonomic affinities and genetic distances using morphological features extracted from specimen images: a case study with a bivalve data set. Syst Biol. 2024;73(6):920–40. pmid:39046773 - 8. Pyron A. Unsupervised machine learning for species delimitation, integrative taxonomy, and biodiversity conservation. Mol Phylogenet Evol. 2023;189:107939. - 9. Badirli S, Picard CJ, Mohler G, Richert F, Akata Z, Dundar M. Classifying the unknown: insect identification with deep hierarchical Bayesian learning. Methods Ecol Evol. 2023;14(6):1515–30. - 10. Ko Sters LM, Karbstein K, Hofmann M, Hodaˇc L, Ma der P, Wa Ldchen J. Data fusion for integrative species identification using deep learning. Syst Biol. 2025:syaf026. pmid:40512613 - 11. Hodač L, Dunker S, Schmal M, Carreño E, Mäder P, Lorenz M, et al. Exploiting algal strains for robust cross‐domain phytoplankton classification via deep learning. Limnol Oceanogr Methods. 2025;23(11):815–33. - 12. Zhou Z, Ji Y, Li W, Dutta P, Davuluri R, Liu H. DNABERT-2: Efficient foundation model and benchmark for multi-species genome. 2024. - 13. Mendoza-Revilla J, Trop E, Gonzalez L, Roller M, Dalla-Torre H, de Almeida BP, et al. A foundational large language model for edible plant genomes. Commun Biol. 2024;7(1):835. pmid:38982288 - 14. Sanabria M, Hirsch J, Joubert PM, Poetsch AR. DNA language model GROVER learns sequence context in the human genome. Nat Mach Intell. 2024;6(8):911–23. - 15. Schiff Y, Kao CH, Gokaslan A, Dao T, Gu A, Kuleshov V. Caduceus: bi-directional equivariant long-range DNA sequence modeling. 2024. - 16. Dalla-Torre H, Gonzalez L, Mendoza-Revilla J, Lopez Carranza N, Grzywaczewski AH, Oteri F, et al. Nucleotide transformer: building and evaluating robust foundation models for human genomics. Nat Methods. 2025;22(2):287–97. pmid:39609566 - 17. Avsec Ž, Latysheva N, Cheng J, Novati G, Taylor KR, Ward T, et al. AlphaGenome: advancing regulatory variant effect prediction with a unified DNA sequence model. 2025. - 18. Brixi G, Durrant MG, Ku J, Poli M, Brockman G, Chang D, et al. Genome modeling and design across all domains of life with Evo 2. 2025. - 19. Ji Y, Zhou Z, Liu H, Davuluri RV. DNABERT: pre-trained Bidirectional Encoder Representations from Transformers model for DNA-language in genome. Bioinformatics. 2021;37(15):2112–20. pmid:33538820 - 20. Zhou Z, Wu W, Ho H, Wang J, Shi L, Davuluri RV, et al. DNABERT-S: pioneering species differentiation with species-aware DNA embeddings. 2024. - 21. Folk RA, Soltis PS, Soltis DE, Guralnick R. New prospects in the detection and comparative analysis of hybridization in the tree of life. Am J Bot. 2018;105(3):364–75. pmid:29683488 - 22. Hörandl E. The classification of asexual organisms: old myths, new facts, and a novel pluralistic approach. TAXON. 2018;67(6):1066–81. - 23. Karbstein K, Kösters L, Hodač L, Hofmann M, Hörandl E, Tomasello S, et al. Species delimitation 4.0: integrative taxonomy meets artificial intelligence. Trends Ecol Evol. 2024;39(8):771–84. - 24. Renner SS, Scherz MD, Schoch CL, Gottschling M, Vences M. Improving the gold standard in NCBI GenBank and related databases: DNA sequences from type specimens and type strains. Syst Biol. 2024;73(2):486–94. pmid:37956405 - 25. Baker WJ, Bailey P, Barber V, Barker A, Bellot S, Bishop D, et al. A comprehensive phylogenomic platform for exploring the angiosperm tree of life. Syst Biol. 2022;71(2):301–19. pmid:33983440 - 26. Peng X, Li Q, Cheng Z, Huang X. The geography of genetic data: current status and future perspectives. Front Ecol Evol. 2023;11. - 27. Phang A, Pezzini FF, Burslem DFRP, Khew GS, Middleton DJ, Ruhsam M, et al. Target capture sequencing for phylogenomic and population studies in the Southeast Asian genusPalaquium(Sapotaceae). Bot J Linn Soc. 2023;203(2):134–47. - 28. Albreht L, Bourland N, Klitgård B, Schley R, Janssens SB, Hardy OJ. Species delimitation and phylogenomics of economically important African Pterocarpus trees, with an implication for the development of DNA-based species identification tools. Mol Phylogenet Evol. 2025;204:108277. pmid:39701438 - 29. Botello DE, Mansfield DH, Buerki S, Feist MAE, Darrach M, Smith JF. Integrative species delimitation methods infer species boundaries in the Lomatium foeniculaceum complex and indicate an evolutionary history from the Southwest towards the Northeast in Western North America. Mol Phylogenet Evol. 2025;204:108276. pmid:39694346 - 30. Pardo Otero E, Pimentel M, Sahuquillo Balbuena E, Piñeiro R. Phylogenomic support for the allopolyploid origin of the northwest Iberian endemic orchid Dactylorhiza cantabrica with Hyb‐Seq. J Syst Evol. 2024;63(2):319–30. - 31. Kaur P, Khehra BS, Mavi EBS. Data augmentation for object detection: a review. 2021 IEEE International Midwest Symposium on Circuits and Systems (MWSCAS); 2021. p. 537–43. - 32. Wang Z, Wang P, Liu K, Wang P, Fu Y, Lu CT, et al. A comprehensive survey on data augmentation. IEEE Transactions on Knowledge and Data Engineering; 2025. p. 1–20. https://doi.org/10.1109/TKDE.2025.3622600 - 33. Wagner F, Eltner A, Maas H-G. River water segmentation in surveillance camera images: a comparative study of offline and online augmentation using 32 CNNs. Int J Appl Earth Obs Geoinf. 2023;119:103305. - 34. Klasen M, Ahrens D, Eberle J, Steinhage V. Image-based automated species identification: Can virtual data augmentation overcome problems of insufficient sampling? Syst Biol. 2022;71(2):320–33. pmid:34143222 - 35. Cao Z, Zhang S. Simple tricks of convolutional neural network architectures improve DNA-protein binding prediction. Bioinformatics. 2019;35(11):1837–43. pmid:30351403 - 36. de Almeida BP, Reiter F, Pagani M, Stark A. DeepSTARR predicts enhancer activity from DNA sequence and enables the de novo design of synthetic enhancers. Nat Genet. 2022;54(5):613–24. pmid:35551305 - 37. Lee NK, Tang Z, Toneyan S, Koo PK. EvoAug: improving generalization and interpretability of genomic deep neural networks with evolution-inspired data augmentations. Genome Biol. 2023;24(1):105. pmid:37143118 - 38. Lee H, Ozbulak U, Park H, Depuydt S, De Neve W, Vankerschaver J. Assessing the reliability of point mutation as data augmentation for deep learning with genomic data. BMC Bioinform. 2024;25(1):170. pmid:38689247 - 39. Cherednichenko O, Poptsova M. Data augmentation with generative models improves detection of Non-B DNA structures. Comput Biol Med. 2025;184:109440. pmid:39550912 - 40. Abbasi-Vineh MA, Rouzbahani S, Kavousi K, Emadpour M. Innovative data augmentation strategy for deep learning on biological datasets with limited gene representations focused on chloroplast genomes. Sci Rep. 2025;15(1):27079. pmid:40715495 - 41. Duncan AG, Mitchell JA, Moses AM. Improving the performance of supervised deep learning for regulatory genomics using phylogenetic augmentation. Bioinformatics. 2024;40(4):btae190. pmid:38588559 - 42. Yoon B-J. Hidden Markov models and their applications in biological sequence analysis. Curr Genom. 2009;10(6):402–15. pmid:20190955 - 43. Chawla NV, Bowyer KW, Hall LO, Kegelmeyer WP. SMOTE: synthetic minority over-sampling technique. JAIR. 2002;16:321–57. - 44. Li Y, Yang Y, Song P, Duan L, Ren R. An improved SMOTE algorithm for enhanced imbalanced data classification by expanding sample generation space. Sci Rep. 2025;15(1):23521. pmid:40603552 - 45. Hossain SN, Kabir MH, Pal A. Alignment free sequence similarity estimation using local binary pattern on DNA trajectory images. 2021 Joint 10th International Conference on Informatics, Electronics & Vision (ICIEV) and 2021 5th International Conference on Imaging, Vision & Pattern Recognition (icIVPR); 2021. p. 1–7. - 46. Anjum N, Nabil RL, Rafi RI, Bayzid MS, Rahman MS. CD-MAWS: an alignment-free phylogeny estimation method using cosine distance on minimal absent word sets. IEEE/ACM Trans Comput Biol Bioinform. 2023;20(1):196–205. pmid:34928803 - 47. Miralles A, Puillandre N, Vences M. DNA barcoding in species delimitation: from genetic distances to integrative taxonomy. In: DeSalle R, editor. DNA barcoding: methods and protocols. New York (NY): Springer US; 2024. p. 77–104. - 48. Yu S, Li X, Lu W, Li H, Fu YV, Liu F. Analysis of Raman spectra by using deep learning methods in the identification of marine pathogens. Anal Chem. 2021;93(32):11089–98. pmid:34339167 - 49. Robles-Fernández ÁL, Santiago-Alarcon D, Lira-Noriega A. American mammals susceptibility to dengue according to geographical, environmental, and phylogenetic distances. Front Vet Sci. 2021;8. - 50. Shorten C, Khoshgoftaar TM. A survey on image data augmentation for deep learning. J Big Data. 2019;6(1). - 51. Ghosh K, Bellinger C, Corizzo R, Branco P, Krawczyk B, Japkowicz N. The class imbalance problem in deep learning. Mach Learn. 2022;113(7):4845–901. - 52. Johnson MG, Pokorny L, Dodsworth S, Botigué LR, Cowan RS, Devault A, et al. A universal probe set for targeted sequencing of 353 nuclear genes from any flowering plant designed using k-medoids clustering. Syst Biol. 2019;68(4):594–606. pmid:30535394 - 53. Hedrén M, Fay MF, Chase MW. Amplified fragment length polymorphisms (AFLP) reveal details of polyploid evolution in Dactylorhiza (Orchidaceae). Am J Bot. 2001;88(10):1868–80. pmid:21669620 - 54. Phang A, Niissalo MA, Ruhsam M, Pezzini FF, Neo WL, Burslem DFRP, et al. Genetic erosion in a tropical tree species demonstrates the need to conserve wide-ranging germplasm amid extreme habitat fragmentation. Biodivers Conserv. 2024;33(8–9):2527–48. - 55. Paradis E, Schliep K. Ape 5.0: an environment for modern phylogenetics and evolutionary analyses in R. Bioinformatics. 2019;35:526–8. - 56. Page AJ, Taylor B, Delaney AJ, Soares J, Seemann T, Keane JA, et al. SNP-sites: rapid efficient extraction of SNPs from multi-FASTA alignments. Microb Genom. 2016;2(4):e000056. pmid:28348851 - 57. Gu Z. Complex heatmap visualization. iMeta. 2022;1(3):e43. - 58. Stamatakis A. RAxML version 8: a tool for phylogenetic analysis and post-analysis of large phylogenies. Bioinformatics. 2014;30(9):1312–3. pmid:24451623 - 59. Hausser J, Strimmer K. Entropy inference and the James-Stein estimator, with application to nonlinear gene association networks. 2009. - 60. Devlin J, Chang MW, Lee K, Toutanova K. BERT: pre-training of deep bidirectional transformers for language understanding. 2019. - 61. Portes J, Trott A, Havens S, King D, Venigalla A, Nadeem M, et al. MosaicBERT: a bidirectional encoder optimized for fast pretraining. 2024. - 62. R Core Team. R: a language and environment for statistical computing; 2024. Available from: https://www.R-project.org/ - 63. Richardson JE, Bakar AM, Tosh J, Armstrong K, Smedmark J, Anderberg AA, et al. The influence of tectonics, sea-level changes and dispersal on migration and diversification of Isonandreae (Sapotaceae). Bot J Linn Soc. 2013;174(1):130–40. - 64. Branco P, Torgo L, Ribeiro RP. A survey of predictive modeling on imbalanced domains. ACM Comput Surv. 2016;49(2):1–50. - 65. Phillips JD, Gillis DJ, Hanner RH. Incomplete estimates of genetic diversity within species: implications for DNA barcoding. Ecol Evol. 2019;9(5):2996–3010. pmid:30891232 - 66. Aguirre-Liguori JA, Luna-Sánchez JA, Gasca-Pineda J, Eguiarte LE. Evaluation of the minimum sampling design for population genomic and microsatellite studies: an analysis based on wild maize. Front Genet. 2020;11:870. pmid:33193568 - 67. Karbstein K, Prinz K, Hellwig F, Römermann C. Plant intraspecific functional trait variation is related to within-habitat heterogeneity and genetic diversity in Trifolium montanum L. Ecol Evol. 2020;10(11):5015–33. pmid:32551078 - 68. Sun M, Folk RA, Gitzendanner MA, Soltis PS, Chen Z, Soltis DE, et al. Estimating rates and patterns of diversification with incomplete sampling: a case study in the rosids. Am J Bot. 2020;107(6):895–909. pmid:32519354 - 69. Mynard P, Algar AC, Lancaster LT, Bocedi G, Fahri F, Gubry-Rangin C, et al. Impact of phylogenetic tree completeness and mis-specification of sampling fractions on trait dependent diversification models. Syst Biol. 2023;72(1):106–19. pmid:36645380 - 70. Adaïmé M-É, Kong S, Punyasena SW. Deep learning approaches to the phylogenetic placement of extinct pollen morphotypes. PNAS Nexus. 2023;3(1):pgad419. pmid:38205029 - 71. Ribeiro RP, Moniz N. Imbalanced regression and extreme value prediction. Mach Learn. 2020;109(9):1803–35.

How it works

Once you click Generate, Ollama reads this article and crafts 5 comprehension questions. Your answers are graded against the article content — general knowledge won't be enough. Score 70+ to count toward your certificate.

Questions are cached — you'll always get the same 5 for this article.