UncertainGen: Scalable Uncertainty-Aware Representation Learning of DNA Sequences
Abdulkadir Celikkanat, Andres R Masegosa, Mads Albertsen, Thomas Dyhre Nielsen
NeurIPS 2026
TL;DR. We introduce the first probabilistic embedding framework for metagenomic binning, modeling each DNA fragment as a probability distribution to capture uncertainty, with closed-form contrastive learning and theoretical guarantees.
Abstract. Learning effective representations of DNA sequences is fundamental to genomic data analysis, especially in the presence of high sequence similarity and inter-species DNA sharing. Existing approaches rely on deterministic embeddings, such as k-mer statistics or representations from large language models, which fail to capture the inherent uncertainty in short and ambiguous DNA fragments. We propose UncertainGen, a lightweight probabilistic representation learning framework that embeds DNA sequences as distributions in a latent space. The learned embedding variance captures positional ambiguity, increasing for sequences compatible with multiple genomic clusters. We establish theoretical guarantees on embedding distinguishability, and show that the probabilistic formulation induces a data-adaptive metric that expands the effective representational space. We evaluate UncertainGen in the metagenomic binning task to demonstrate the practical benefits of uncertainty-aware representations. Experiments show that probabilistic embeddings consistently outperform deterministic k-mer and large genome foundation models, while remaining lightweight and efficient.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:46 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
UncertainGen represents each DNA fragment as a Gaussian embedding, evaluated on metagenomic binning. All three reviewers like the core idea, so the wide 2/3/5 spread really turns on whether the empirical claims are robust and fairly benchmarked. Unless reviewer RZZP's concerns are addressed, I am leaning reject. Please address:
- From reviewer RZZP, I am most interested in the authors' response to the concern that the "consistently outperforms" claim depends on the F1 score cutoff.
- From reviewer RZZP, I'd also like to understand the relationship to SemiBin2 and whether it can be added to the benchmark.
- From reviewer tW5i, I am most interested in whether the fragment ambiguity that motivates the method can actually be quantified on these datasets and shown to track the learned variance.
- Please also address the lack of clarity pointed out by reviewer phBp.
Final justification
The rebuttal led to substantive improvements and a number of score raises. Reviewer concerns are addressed, so I am recommending acceptance.
Read meta-review
Meta-review
UncertainGen represents each DNA fragment as a Gaussian embedding, evaluated on metagenomic binning. All three reviewers like the core idea, so the wide 2/3/5 spread really turns on whether the empirical claims are robust and fairly benchmarked. Unless reviewer RZZP's concerns are addressed, I am leaning reject. Please address:
- From reviewer RZZP, I am most interested in the authors' response to the concern that the "consistently outperforms" claim depends on the F1 score cutoff.
- From reviewer RZZP, I'd also like to understand the relationship to SemiBin2 and whether it can be added to the benchmark.
- From reviewer tW5i, I am most interested in whether the fragment ambiguity that motivates the method can actually be quantified on these datasets and shown to track the learned variance.
- Please also address the lack of clarity pointed out by reviewer phBp.
Final justification
The rebuttal led to substantive improvements and a number of score raises. Reviewer concerns are addressed, so I am recommending acceptance.
1 comment
- Rating
- 5/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 2/4
- Significance
- 2/4
- Originality
- 2/4
- Contribution type
- use_inspired
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper on representation learning of DNA sequences focuses on using self-supervised contrastive learning to produce probabilistic embeddings where each fragment is modeled as Gaussian. The test of performance is how good the the learned representations are for a metagenomic binning task, one particular difficulty being that sequences can be present across multiple species. The authors visualize clustering performance of their model on a toy dataset, then present a comparison to other model’s representations used for the same metagenomic binning task and state that their model outperforms others (under a specific threshold for the F1 metric) across several benchmark datasets, though they don’t present a full pipeline. They compare to other lightweight models as well as DNA LLMs. They also present some theory on the need for probabilistic rather than deterministic embeddings, since the covariance terms can capture the uncertainty inherent in the problem.
Strengths and weaknesses
The paper presents a real problem and exploits simple observations (challenges from fragments being short, can have the same sequences in multiple species, different species can have the same k-mer profile) to introduce a new method, so it’s well motivated in general. The contrastive loss formulation, modeling fragments as Gaussian, and methods are fairly clear. The theory is fine and related to the method. I wonder about the similarity to other contrastive learning based methods such as SemiBin2 for metagenomic binning, which is not included in the benchmark. The incorporation of only very lightweight and only very computationally-intensive methods in the benchmark seems contrived.
Furthermore, the performance benefit is less clear and less obviously robust. The actual performance metric for Figure 2 seems obfuscated and potentially brittle. “As shown in Figure 5, across all datasets, UNCERTAINGEN consistently outperforms its deterministic counterparts.” Yet Figure 8 shows that if the F1 score threshold is changed from 0.9 to 0.8, DNABERT-S actually performs better on some of the benchmarks. So it seems the paper may have chosen the cutoff based on the model’s performance? It may be more fair to say that the model is “consistently competitive with or outperform high-parameter count models.” The method seems very valid as a lightweight alternative, though. The claims just seem too strong for only considering one metric and cutoff in the main text (with the more detailed evaluation in the supplement tempering the stated claim). The DNABERT-S paper also reports on a few ranges of F1 thresholds. The effect of embedding dimension size is important to include and the plateau seems clear.
Questions
Did you consider any other performance metrics for metagenomic binning? How do you have confidence in the robustness of your method?
Are there other axes of interest in this problem beyond performance and parameter size (your method is clearly lightweight, and showing parameter size is not necessarily all that interesting since you benchmark extremely light vs. extremely heavy methods)?
Is there a reason you don’t benchmark other methods in the toy data setting? The purpose of that toy data analysis is a little unclear to me, and it could be another setting to compare results against other models (assuming it’s not so trivial that they all do well).
You mention and cite SemiBin2, which is another deep learning based contrastive method (though not an LM, it’s much more lightweight than e.g. DNABERT), but don’t benchmark it. Why? It outperforms DNABERT-S on some of their own benchmarking so seems worthwhile for you to include.
Limitations
The authors do not present a full metagenomic binning pipeline, so it is hard to know whether the reported performance would change if there are other considerations or metrics further in the pipeline to make the method practically useful. It is also hard to know whether the findings are robust under different performance metrics, with the F1 threshold of 0.9 being the specific choice leading to the presented model being best. It would be a stronger paper if the authors showed the same result under other potential/relevant metrics and thresholds.
It remains unclear to me whether the central performance claim is “best performance” vs. “best tradeoff of performance and complexity/efficiency” – the authors should clarify which they really mean. Either way, there are some issues to address.
The paper’s application is limited to the metagenomic binning focus, which is a real problem in the field. Impact may be limited as the method is designed for sequence distinguishability across species, and the work doesn’t say anything about how the method might actually be adapted for other problems in computational genomics.
Final justification
I am satisfied with the responses to the points below and will raise my score to accept.
Q1 (Area Chair point 1) - I am satisfied with the proposed wording "UncertainGen recovers more high-quality species-level clusters and degrades far less as the quality criterion is tightened, at a small fraction of the computational cost.” Q4 (Area Chair point 2) - inclusion of a sequence-only version SemiBin2 is important to establish direct comparisons and underscore the above point, as it's another model for this task that uses a contrastive formulation rather than a heavier self-supervised approach.
Formatting concerns
I believe the authors have unintentionally unblinded themselves with the following (lines 357-359): "As discussed in the theoretical analysis of Section 3, incorporating covariance terms provides additional representational capacity to our model, UNCERTAINGEN, compared to its Euclidean distance version, REVISITKMERS." --> REVISITKMERS [5] is cited and this wording suggests the authors are the same. This is also somewhat apparent given an emphasis on [5] throughout the paper but especially suggestive here.
3 comments
Rebuttal
We thank the reviewer for the constructive feedback. We agree that the wording of some of our claims should be clarified. Below, we address each question, including the two issues highlighted by the Area Chair (Q1 and Q4):
Q1 (Area Chair point 1): Did you consider other performance metrics for metagenomic binning? How do you have confidence in the robustness of the method?
On the choice of threshold. The criterion was not introduced by us and was not selected in view of our own results. It is the criterion of the DNABERT-S [32] evaluation protocol we adopted, and it reflects a community standard rather than a modelling choice: high-quality metagenome-assembled genomes are conventionally defined by high completeness and low contamination [21], and recovering them is the outcome practitioners actually act on - an emphasis stated explicitly in the binning literature we cite, including SemiBin2 [21]. In a labelled clustering setting, is the natural analogue of that criterion: because a high requires both high precision and high recall, it selects clusters that are simultaneously clean and nearly complete. We do not claim it is identical to completeness and contamination estimates from tools such as CheckM2, but it is a meaningful labelled proxy for high-quality recovery previously adopted by many other relevant works.
On robustness. We agree that a single threshold is not sufficient to establish it. We therefore report the full sweep from to in the table below (it was already given in Figure 8 of the manuscript):
| Dataset | Method | (>0.5) | (>0.6) | (>0.7) | (>0.8) | (>0.9) |
|---|---|---|---|---|---|---|
| Reference 5 | DNABERT-S | 235 | 215 | 191 | 174 | 140 |
| UncertainGen | 179 | 177 | 173 | 163 | 151 | |
| Reference 6 | DNABERT-S | 214 | 207 | 194 | 177 | 145 |
| UncertainGen | 179 | 177 | 171 | 162 | 151 | |
| Plant 5 | DNABERT-S | 80 | 67 | 55 | 46 | 29 |
| UncertainGen | 76 | 73 | 64 | 55 | 44 | |
| Plant 6 | DNABERT-S | 75 | 65 | 56 | 41 | 34 |
| UncertainGen | 68 | 64 | 59 | 52 | 43 | |
| Marine 5 | DNABERT-S | 227 | 185 | 151 | 118 | 77 |
| UncertainGen | 234 | 223 | 206 | 191 | 174 | |
| Marine 6 | DNABERT-S | 214 | 186 | 152 | 111 | 65 |
| UncertainGen | 253 | 241 | 224 | 209 | 189 |
Our advantage therefore grows monotonically with the required quality: UncertainGen is ahead at every threshold on Marine 5 and Marine 6, from upwards on Plant 5 and upwards on Plant 6, and at on Reference 5 and 6. It is also relevant which datasets these are, because the advantage is broadest on Marine and Plant, derived from the more complex CAMI2 challenge data, and narrowest on Reference 5 and 6, which are synthetically constructed from reference genomes. DNABERT-S does recover more clusters at relaxed thresholds on the Reference sets, but a substantial share of those clusters does not survive a stricter quality criterion.
On other metrics. We additionally report Adjusted Rand Index (ARI), Adjusted Mutual Information (AMI) and Normalized Mutual Information (NMI) as threshold-independent measures of overall clustering quality, which require no threshold at all (at the time of writing, the Marine results were still being computed so could not be included.). Overall, these analyses support our main conclusion: UncertainGen is particularly effective at recovering high-quality species-level clusters while remaining lightweight and computationally efficient.
| Dataset | Score | DNABERT-S | UncertainGen |
|---|---|---|---|
| reference 5 | NMI | 0.923 | 0.973 |
| AMI | 0.923 | 0.973 | |
| ARI | 0.728 | 0.890 | |
| reference 6 | NMI | 0.948 | 0.981 |
| AMI | 0.948 | 0.981 | |
| ARI | 0.806 | 0.938 | |
| Plant 5 | NMI | 0.751 | 0.836 |
| AMI | 0.751 | 0.836 | |
| ARI | 0.333 | 0.536 | |
| Plant 6 | NMI | 0.728 | 0.801 |
| AMI | 0.728 | 0.801 | |
| ARI | 0.306 | 0.491 |
We will replace "consistently outperforms" with the precise statement these results support, which is that UncertainGen recovers more high-quality species-level clusters and degrades far less as the quality criterion is tightened, at a small fraction of the computational cost. We are grateful for this point, it makes the empirical claim both narrower and more informative.
Q4 (Area Chair point 2): Why is SemiBin2 not included in the benchmark?
We agree that this is an important comparison. Our primary goal is to evaluate sequence representations rather than complete end-to-end binning pipelines. Methods such as SemiBin2 [21] typically use additional signals, including abundance or coverage information, together with pipeline-specific processing. These inputs are not available in the controlled benchmarks used in our study, so a direct comparison with the full SemiBin2 system would not isolate the contribution of the learned representation.
As discussed in Q1, we therefore follow the DNABERT-S evaluation protocol, where all methods are compared using the same sequence information and clustering procedure. This provides a fair, controlled setting for comparing lightweight and foundation-model-based representations without introducing additional features or downstream components.
To address the reviewer’s concern, we adapted SemiBin2 to the same sequence-only setting, without abundance features, and evaluated it under the same benchmark protocol over five independent runs:
| Dataset | Method | (>0.5) | (>0.6) | (>0.7) | (>0.8) | (>0.9) |
|---|---|---|---|---|---|---|
| Reference 5 | SemiBin2 | 198 | 192 | 180 | 161 | 128 |
| UncertainGen | 179 | 177 | 173 | 163 | 151 | |
| Reference 6 | SemiBin2 | 197 | 189 | 180 | 166 | 138 |
| UncertainGen | 179 | 177 | 171 | 162 | 151 | |
| Plant 5 | SemiBin2 | 79 | 69 | 56 | 43 | 33 |
| UncertainGen | 76 | 73 | 64 | 55 | 44 | |
| Plant 6 | SemiBin2 | 75 | 65 | 54 | 41 | 31 |
| UncertainGen | 68 | 64 | 59 | 52 | 43 | |
| Marine 5 | SemiBin2 | 246 | 221 | 192 | 151 | 108 |
| UncertainGen | 234 | 223 | 206 | 191 | 174 | |
| Marine 6 | SemiBin2 | 259 | 235 | 206 | 169 | 122 |
| UncertainGen | 253 | 241 | 224 | 209 | 189 |
Under this controlled comparison, UncertainGen recovers more clusters at on all six datasets and at on five of six datasets. These results show that UncertainGen’s main advantage lies in recovering high-quality clusters as discussed in Q1 above. We will include these results in the revision and clearly distinguish this sequence-only evaluation from the performance of the complete SemiBin2 pipeline. Our claim is not that UncertainGen replaces a full state-of-the-art binner, but that its probabilistic formulation provides a stronger sequence representation under a common and controlled setting. More broadly, integrating the proposed uncertainty-aware representation into a complete binning pipeline, including abundance and other complementary signals, is an important future direction for the bioinformatics community. These binners are also typically not used in isolation so it can be integrated as a part of an ensemble*.
*Sereika, M., Mussig, A.J., Jiang, C. et al. Genome-resolved long-read sequencing expands known microbial diversity across terrestrial habitats. Nat Microbiol (2025).
Q2: Are there other relevant axes beyond performance and parameter count?
The model size is only one aspect of the comparison. First, in recent years, large foundation models have also been adapted to genomic data. In our paper, we demonstrate that larger scale does not automatically lead to better task-specific performance on genomic data with the metagenomics binning application. Despite being substantially smaller, UncertainGen outperforms DNABERT-S in the high-quality-bin regime. This suggests that a lightweight model with an inductive bias tailored to sequence ambiguity can provide a better accuracy–computation trade-off.
Second, UncertainGen provides information beyond the final clustering score. Unlike deterministic baselines, it produces sequence-level uncertainty that can support downstream decisions. In our filtering experiment, removing high-uncertainty sequences preserves more high-recall clusters than random filtering, showing that the learned variance is practically useful. To the best of our knowledge, this is the first probabilistic embedding framework for DNA sequence representation.
Third, the method is efficient in both data and computation. UncertainGen is trained using positive pairs sampled from the approximately two million pairs available in the benchmark used by DNABERT-S. In addition, Appendix B reports G MACs per 1,000-bp sequence for UncertainGen, compared with G MACs for DNABERT-S, a difference of more than four orders of magnitude.
We will revise the discussion to emphasize these broader axes: uncertainty estimation, computational cost, and the accuracy–efficiency trade-off.
Q3: Why are other methods not evaluated in the toy setting?
The purpose of the toy experiment in Sections 4.1 and B.1 in the appendix is not to establish overall clustering performance, but to illustrate the theoretical results and the additional modeling capacity provided by UncertainGen’s probabilistic embeddings. In particular, it shows how sequences associated with multiple classes are represented through both their mean and variance, and how uncertainty changes their effective distance to neighboring clusters (through Eq. 5). To the best of our knowledge, UncertainGen is the first probabilistic embedding approach for genomic sequences. Since the existing baselines are deterministic, they do not produce sequence-level variance and therefore cannot be evaluated on this uncertainty-specific behavior. We compare these methods separately on the benchmark datasets to assess overall clustering performance.
Revisions strengthen paper, raising score
Thanks to the authors for the updates and clarifications, especially for the responses and additional results in Q1 (Area Chair point 1) and Q4 (Area Chair point 2). I am satisfied with the proposed wording "UncertainGen recovers more high-quality species-level clusters and degrades far less as the quality criterion is tightened, at a small fraction of the computational cost.” The inclusion of a sequence-only version SemiBin2 is important to establish direct comparisons and underscore this point, as it's another model for this task that uses a contrastive formulation rather than a heavier self-supervised approach. I appreciate the authors’ efforts to resolve these point and have raised my score.
Thank you for the follow-up and for revisiting your assessment. We are happy that the added results and clarifications addressed your main concerns. Your feedback helped us make the empirical claim more precise and strengthen the comparison with SemiBin2.
- Rating
- 5/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 4/4
- Significance
- 3/4
- Originality
- 4/4
- Contribution type
- use_inspired
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper proposes a lightweight probabilistic representation learning framework for DNA fragments, evaluated on metagenomic binning. The authors motivate the work by noting limitations of deterministic DNA embeddings, including classical k-mer profiles and genome foundation model embeddings, which map each fragment to a single point and therefore cannot express ambiguity arising from shared, conserved, or highly similar genomic regions. UNCERTAINGEN instead represents each fragment as a Gaussian distribution in latent space, with small neural networks parameterizing the mean and diagonal variance. This yields an uncertainty-aware similarity based on a closed-form Mahalanobis-like distance, where learned variances adaptively modulate distances between fragments. The paper also provides theoretical results on distinguishability, arguing that fixed-variance or deterministic-style embeddings can fail under certain multi-cluster constraints, while adaptive variance increases representational flexibility. Empirically, the authors evaluate on six metagenomic binning benchmarks, showing improved numbers of high-quality bins over k-mer baselines, a deterministic k-mer embedding baseline, and LLM embeddings, while remaining computationally order of magnitude lightweight.
Strengths and weaknesses
Strengths — Use-inspired contribution The paper addresses a practically important and well-motivated problem: learning DNA-fragment representations for metagenomic binning, where distinguishable embeddings are valuable for reconstructing genome/species-level bins from mixed microbial samples. The related work is clearly organized and positions the method well against classical k-mer methods, deterministic contrastive embeddings, and genome foundation models. Methodologically, the Gaussian embedding formulation is elegant: each fragment is represented by a mean and diagonal variance, and the authors derive a closed-form pairwise likelihood, avoiding sampling during training while inducing a Mahalanobis-like adaptive distance. The theoretical section provides a useful framework for thinking about distinguishability, showing how variance terms can modulate pairwise distances and why fixed/deterministic-style embeddings may be limited in stylized ambiguous settings. The toy experiment is also helpful, as it visually illustrates that ambiguous or multi-class sequences receive higher variance and occupy intermediate latent regions.
Weaknesses / limitations
A central motivation of the paper is that some DNA fragments are ambiguous because they may be shared across genomes/species or have highly similar k-mer profiles, but the paper does not directly quantify how prevalent this ambiguity is in the evaluated datasets. It would strengthen the use-inspired claim to include statistics on cross-species k-mer similarity or shared/conserved fragments, and to correlate these ambiguity measures with learned variance and improvements in high-quality bins.
Relatedly, while the uncertainty-based filtering experiment suggests the variance estimates are useful, it does not directly establish that high variance corresponds to the biological ambiguity motivating the method. The theoretical analysis provides good intuition, but the packing-number conditions and the sequence configuration used in the corollary/theorem appear quite stylized; in high-dimensional embeddings the packing number may be extremely large, so the direct practical relevance of the impossibility result is unclear. Tighter assumptions or empirical validation of the theorem’s setting on real benchmark data would make the theory more convincing.
The focus on is reasonable for high-quality bin recovery, but the paper could more clearly justify this threshold and emphasize performance trends across multiple F1 levels, since some baselines appear closer under relaxed thresholds.
Questions
Q1 - Quantifying ambiguity: The motivation relies on ambiguous fragments arising from shared/conserved regions or highly similar k-mer profiles across genomes. Can the authors quantify how often such ambiguity occurs in the six benchmark datasets, e.g., cross-species nearest-neighbor k-mer similarity or fragments with near-identical k-mer profiles across labels? Follow-up: Do high learned variance values correlate with biologically or statistically ambiguous fragments? For example, are high-variance fragments enriched for conserved regions, shared genes, mobile elements, or fragments whose k-mer profiles are close to multiple species?
Q2 - Practical relevance of theory: The theoretical results use a packing-number condition and a stylized setting where one sequence is positive with many mutually negative sequences. How often, if at all, does this configuration arise in the benchmark datasets? Can the authors clarify the practical scale of the packing number for the embedding dimensions used?
Q3 - Positive/negative pair construction: Splitting a fragment into two halves is a common self-supervised strategy, but random negative sampling can introduce false negatives. Do the authors estimate the false-negative rate or its effect on uncertainty estimates?
Limitations
While the paper is well motivated and presents a useful uncertainty-aware representation framework, two main aspects could be clarified or strengthened. A central motivation is that DNA fragments can be ambiguous due to inter-species sharing, conserved regions, or highly similar k-mer profiles, but the paper does not directly quantify the prevalence of this ambiguity in the evaluated datasets. It would strengthen the use-inspired contribution to report dataset-level ambiguity statistics and to show whether learned variance correlates with ambiguous fragments and with the observed improvements in high-quality bins.
The theoretical analysis provides useful intuition for why adaptive variance can improve distinguishability, but the assumptions behind the corollary and theorem are quite stylized. In particular, the packing-number condition may be difficult to realize in the high-dimensional embedding spaces used experimentally, and the setup with one sequence positive to many mutually negative sequences may not directly reflect typical metagenomic ambiguity. A finite-variance or empirically grounded version of the theory would make the connection to practice clearer.
Final justification
Authors did a decent job on answering most of my questions to the satisfaction, so I am keeping thy score as is, 5.
Formatting concerns
NA
2 comments
Rebuttal
We thank the reviewer for the thoughtful and encouraging feedback. Below, we address the reviewer’s questions, including the point highlighted by the Area Chair. We will incorporate these clarifications into the revised paper.
Q1 (Area Chair point 3): Quantifying ambiguity:
We thank the reviewer for this insightful question. The controlled experiment in Section 4.1 was designed to verify this behavior under known ambiguity: sequences constructed from multiple classes are located between clusters and receive substantially larger predicted variances. In the six genomic benchmarks, however, ambiguity is not explicitly annotated. The available labels specify the source species, but they do not indicate whether an individual fragment originates from a conserved gene, a horizontally transferred region, or a mobile element. Hence, the exact biological categories mentioned by the reviewer cannot be identified directly from the benchmark labels without mapping each fragment back to its source genome and incorporating external functional annotations. At present, we do not see a reliable way to test this biological interpretation using the information provided by these benchmarks alone. A definitive analysis would require mapping fragments back to their source genomes and incorporating genome-level alignments and functional annotations.
We will clarify this limitation in the revision and distinguish the controlled evidence from the biological interpretation of variance in the real datasets. Such an analysis would require substantial additional annotation and is beyond what can be completed reliably during the rebuttal period, so we view it as an important direction for future work. We would also welcome the reviewer’s suggestions for an analysis that could be carried out using the information currently available.
Q2: Practical relevance of theory
The packing-number result is not intended to claim that every benchmark contains the exact extremal configuration, or that the packing bound is reached during training. Its purpose is only to establish an expressivity limitation: there exist collections of pairwise constraints that a deterministic fixed-point representation cannot satisfy simultaneously, whereas sequence-dependent covariance provides additional flexibility.
This configuration can be interpreted locally around an ambiguous DNA fragment. A fragment may be similar to several candidate species or sequences, while those candidates should remain mutually separated. This creates the same qualitative tension as the theoretical construction: the ambiguous fragment should be close to multiple alternatives that must themselves remain far apart. Our toy experiment illustrates this setting in a controlled way by constructing sequences with mixed class membership and showing that they are assigned larger variances.
The packing number also cannot be determined from the embedding dimension alone; it depends on the radius of the bounded region and the required pairwise separation, in addition to the dimension. We agree that the packing number may be very large. Therefore, the theorem should not be interpreted as claiming that this worst-case configuration occurs frequently in the benchmark datasets. Rather, it shows that deterministic embeddings can fail under certain conflicting pairwise constraints, whereas adaptive covariance provides additional representational flexibility. The empirical results complement this existence result: even without directly verifying that the extremal packing configuration occurs, adaptive variance improves high-quality-bin recovery.
We will revise the discussion to distinguish more clearly between the worst-case theoretical result and the empirical claims, and to avoid implying that the packing condition is necessarily saturated in the six benchmarks.
Q3: Positive/negative pair construction
We agree that random negative sampling can occasionally select two fragments from the same genome and therefore might produce a false negative. This is a consequence of the self-supervised construction: positive pairs are obtained from two halves of the same fragment, whereas fragments used for negative pairs are sampled independently.
When genome-of-origin labels are available, the exact false-negative probability for uniformly sampling two distinct fragments is , where is the total number of fragments and the number belonging to species . This expression accounts for class imbalance. For a balanced dataset with species and fragments per species, this reduces to . The training set contains approximately 29,000 genomes. Thus, if genomes were represented uniformly, the probability that two independently sampled fragments originate from the same genome would be approximately . False negatives are therefore expected to be rare, although the exact rate depends on the per-genome sampling distribution. In the revised manuscript, we will clarify this point and discuss the potential effect of false negatives on the learned uncertainty. We will also note that more informed negative-sampling strategies are a promising direction for future work.
Dear Reviewer tW5i,
As the discussion period is nearing its end, please let us know if there are any remaining concerns or additional points you would like us to address.
Thank you for your time and consideration.
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- use_inspired
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
Alignment free sequence fragment models are relevant in many contexts : de novo assembly, metagenomics, ancient DNA analysis, to name a few.
Currently, two primary approaches for species or taxon identification is to:
-
Provide a deterministic embedding for each fragment, followed by clustering. This suffers from the fact that the same fragment may be found in two different, related tax or that very different fragments may arise from the same taxon. Authors thus propose a probabilistic embedding - the first such approach for this problem
-
Use a sequence foundation model which can be laborious and time intensive to train: authors suggest their lightweight neural network is at par with such models using a fraction of the training and representation costs
Strengths and weaknesses
In my opinion, the key novelty of this paper is as follows:
-
First work to take a stab at a probabilistic embedding for short sequences (albeit simplistic), an important first step
-
A neat closed-form expectation that smoothly connects the probabilistic embedding to a distance metric.
Questions
The paper would benefit from an architecture figure, as the current description makes it difficult to follow the overall workflow.
Few architectural and hyperparameter choices (256, 512 dimensions) lack justification/ablations in main text.
What are reference 5 and 6, it should be part of main text.
The authors are selling themselves short by not discussing other potential uses of their algorithm, like analysis of ancient DNA. What could be different kinds of distance metrics that can be used for different use cases ?
Limitations
A formal algorithm/pseudocode is needed to clearly specify the training procedure. (Ok to add in appendix)
The description of the clustering component seems insufficient, making it challenging to reproduce or evaluate the method.
The gaussian representation with constrained variance - covariance matrix is too restrictive. The authors should discuss how the closed form solution will devolve as the matrix generalizes and what may be more empirical (albeit less tractable) ways for clustering.
Final justification
Happy with the updates the authors propose making - updating score.
Formatting concerns
None
2 comments
Rebuttal
We thank the reviewer for recognizing the paper’s novelty and practical relevance. The concerns raised primarily relate to clarity and the presentation of our design choices, and we agree that aspects of the paper could be explained more clearly. We address each concern below and will incorporate the corresponding revisions into the paper. Given the positive assessment, we were, however, a bit surprised by the score and felt that it was not fully aligned with what we perceived as an otherwise favorable evaluation of the core contribution. We would be grateful if the reviewer could reconsider the assessment in light of our responses, and we remain happy to clarify any remaining points during the discussion period.
Q1: The paper would benefit from an architecture figure, as the current description makes it difficult to follow the overall workflow.
We are not allowed to share a link to an architecture figure in the rebuttal period but we will add one in the revision. Briefly, each DNA fragment is first converted into a -dimensional -mer frequency vector. Two very simple, lightweight encoders then process the same input: a mean encoder outputs the mean vector, while a variance encoder outputs diagonal covariance through an element-wise exponential transformation. Each encoder contains a -unit hidden layer, batch normalization, a sigmoid activation, dropout with , and a final projection to the 256-dimensional latent space. The resulting mean and variance are combined through the closed-form similarity in Eq. 5 and optimized using the contrastive objective in Eq. 2. The “Model” class in the “model.py” file of the shared implementation contains the exact architecture.
DNA sequences -> 4-mer input vectors (256) -> {mean encoder network: 512 -> sigmoid -> 256 | variance encoder network: 512 -> sigmoid -> 256 -> exp} -> similarity in Eq. 5 -> contrastive objective in Eq. 2.
Q2: Few architectural and hyperparameter choices (256, 512 dimensions) lack justification/ablations in main text.
Our aim is to use a deliberately small architecture so that improvements can be attributed to the probabilistic representation rather than model scale. The 512-unit hidden layer provides sufficient capacity while keeping the encoder lightweight. The latent dimension was selected using the dimension ablation reported in Fig. 6(c) and Fig. 11 in the appendix. Performance improves substantially between 4 and 64 dimensions and generally stabilizes between 64 and 128, while 256 dimensions provides consistently strong performance across the datasets. We will clarify that 256 dimensions was chosen as a robust common setting rather than as a finely tuned dataset-specific value. We will also clarify that the 512-unit hidden size is a simple capacity choice shared across both encoders and across all experiments, not a central contribution of the method.
Q3: What are reference 5 and 6, it should be part of main text.
We agree that the dataset names are insufficiently explained. These six benchmark datasets (Reference 5/6, Plant 5/6, and Marine 5/6) introduced by the DNABERT-S authors and used to evaluate sequence representations. Reference 5 and Reference 6 are synthetically constructed from fungal and viral reference genomes in GenBank whereas the Plant and Marine datasets are derived from more complex CAMI2 challenge datasets [53]. Across the six test sets, sequences range from approximately to kbp, and the number of fragments per species is highly imbalanced, ranging from to . The Reference datasets contain fragments from approximately – genomes, while the Plant and Marine datasets contain roughly 70,000–125,000 sequences from approximately – species [32]. In the revised version of the manuscript, we will provide a more detailed presentation of the datasets.
Q4: The authors are selling themselves short by not discussing other potential uses of their algorithm, like analysis of ancient DNA. What could be different kinds of distance metrics that can be used for different use cases ?
We thank the reviewer for this suggestion. Metagenomic binning was selected because it provides a setting for our proposed probabilistic sequence embeddings in which sequence ambiguity directly affects clustering: fragments may be shared across species or have similar k-mer profiles despite different origins. This makes it possible to evaluate whether the learned variance captures ambiguity, as illustrated in Fig. 4. However, the proposed framework is not specific to metagenomic binning. The same mean–variance representation could be adapted to other genomic tasks such as taxonomic classification, detection of conserved or horizontally transferred regions, sequence retrieval, and uncertainty-aware filtering before downstream analysis. Our current formulation uses the generalized Mahalanobis term in Eq. 5 because it follows directly from the probabilistic model and remains available in closed form. Other applications could use cosine similarity between means, symmetric KL divergence, Wasserstein distance, Bhattacharyya distance, or learned task-specific metrics. These alternatives may provide additional flexibility, although some would lose the computational simplicity of the current closed-form formulation. We will expand this discussion in the revision while keeping our experimental claims limited to metagenomic binning.
Dear Reviewer phBp,
As the discussion period is nearing its end, please let us know if there are any remaining concerns or additional points you would like us to address.
Thank you for your time and consideration.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
We thank the area chair for identifying the central points of disagreement. Since the meta-review was written, Reviewer RZZP has replied to our response and raised their rating from 2 to 5, stating that they are satisfied with the revised empirical claim and that the sequence-only SemiBin2 comparison establishes the direct comparison they asked for. The first two points the area chair singled out as decisive are therefore resolved from the perspective of the reviewer who raised them. We summarize the evidence below and are glad to clarify anything that remains open during the discussion period.
Dependence on the F1 cutoff. We agree that "consistently outperforms" was too broad and will revise this wording. The F1>0.9 criterion itself was not introduced by us and was not selected in view of our own results. It comes with the DNABERT-S [32] evaluation protocol we adopted, and it reflects a community standard rather than a modelling choice. Metagenomic binning is ultimately judged on the recovery of high-quality metagenome-assembled genomes, conventionally defined by high completeness and low contamination because those are the bins practitioners act on. The binning literature we cite states this emphasis explicitly, including SemiBin2 [21]. In a labelled clustering setting, F1>0.9 is the natural analogue of that criterion. A high F1 requires both high precision and high recall, so it selects clusters that are at once clean and nearly complete.
To test robustness, we reported results across the full 0.5−0.9 threshold range. The overall pattern across these thresholds, rather than performance at any single cutoff, provides the robustness evidence. As the quality bar is tightened from 0.5 to 0.9, UncertainGen retains 58–84% of the clusters it recovers, against 30–68% for DNABERT-S and 41−70% for the sequence-only SemiBin2. Our advantage therefore grows monotonically with the required quality. UncertainGen is ahead at every threshold on Marine 5/6, from 0.6 upwards on Plant 5, from 0.7 upwards on Plant 6, and at 0.9 on Reference 5/6. The advantage is also broadest on Marine and Plant, derived from the more complex CAMI2 challenge data, and narrowest on Reference 5/6, which are synthetically constructed from reference genomes. Threshold-independent NMI, AMI and ARI results also favour UncertainGen. We will narrow the claim to exactly the statement Reviewer RZZP endorsed, that UncertainGen recovers more high-quality species-level clusters and degrades far less as the quality criterion is tightened, at a small fraction of the computational cost
Ambiguity and learned variance. The controlled toy experiment in Section 4.1 directly evaluates the behavior under known ambiguity: sequences constructed from multiple classes lie between clusters and receive substantially larger predicted variances. For the six genomic benchmarks, however, biological ambiguity is not explicitly annotated. The available labels identify the source species but do not indicate whether an individual fragment comes from a conserved gene, horizontally transferred region, or mobile element. A direct biological validation would therefore require mapping fragments back to their source genomes and incorporating genome-level alignments and functional annotations. We will clarify this limitation and distinguish the controlled evidence from the biological interpretation of variance on the real datasets.
Clarity. In our response to Reviewer phBp, we clarified the overall architecture, the roles of the mean and variance encoders, the choice of latent dimensionality, and the construction and characteristics of the benchmark datasets. In the revised manuscript, we will incorporate these clarifications, add an architecture figure, expand the dataset descriptions, and better distinguish the scope of the theoretical result from the empirical claims.