Sign–Amplitude Decoupling for Threshold-Critical Protein Imputation

Single-cell studies increasingly predict surface-protein levels from RNA, and then use those predictions the way immunologists use flow cytometry: to call each cell "positive" or "negative" for a marker and count populations. Models for this task are judged almost entirely by average error and correlation. Materials science learned the hard way that average error is the wrong yardstick when the output feeds a yes/no decision. In a crystal-stability benchmark, a regressor with a small mean error can still produce many false "stable" calls. This happens whenever its error band is wider than the distance between a prediction and the decision boundary. We propose to carry that lesson into single-cell RNA-to-protein prediction. We will measure how often current models flip positive/negative calls for cells near the gating threshold. We will then test one architectural fix borrowed from quantum simulation: predict which side of the threshold a cell is on (its "sign") separately from how far it lies from the threshold (its "amplitude").

The two sentences to repeat to a colleague are these. Models that score well on RMSE may still miscall exactly the cells that sit near a marker's positive/negative cutoff, and nobody currently measures this. We build that measurement, and we test whether a model that learns the discontinuous on/off decision apart from the smooth magnitude cuts those errors more than simpler fixes do.

Core Claim

The claim has two parts, and the first stands even if the second fails. First, on CITE-seq data (RNA plus antibody-measured surface protein from the same cell), regression-trained imputers show a "triangle of peril." Their false-positive and false-negative gating rates climb steeply for cells whose true protein level lies within about one RMSE of the gating threshold. Aggregate RMSE and Pearson correlation do not reveal this failure. Second, splitting the prediction as

$$y_{c,m} - \tau_m = s_{c,m}\, a_{c,m},$$

reduces these boundary errors at matched overall accuracy. Here $y_{c,m}$ is the log protein level of cell $c$ for marker $m$ and $\tau_m$ is that marker's gating threshold. The factor $s_{c,m} \in \{-1,+1\}$ comes from a classification head, and $a_{c,m} \ge 0$ comes from a nonnegative regression head that shares a backbone with it.

Where the Idea Comes From

The motivating evidence comes from materials discovery. A framework to evaluate machine learning crystal stability predictions (Matbench Discovery) benchmarks machine-learned potentials as pre-filters for crystal stability. It shows that low mean absolute error does not guarantee few false positives near the convex-hull boundary at 0 eV/atom, which is the "triangle of peril." It also argues for classification metrics (F1, discovery acceleration factor) over regression metrics. We borrow that evaluation logic directly.

The zero-temperature theme gives the second half of the evaluation. Materials databases score each structure by its single frozen energy minimum. Computing the absolute Gibbs free energy in atomistic simulations: Applications to defects in solids shows that this static proxy can overestimate vacancy formation energy by 60% and stacking-fault energy by 300% near melting. The analogue in single-cell imputation is to score a model by its point prediction alone and ignore the spread of plausible values. We therefore also evaluate a "finite-temperature" version of each model, which gates on the predicted probability of exceeding the threshold rather than on the point estimate.

The fermionic sign problem supplies the method and a diagnostic, not the biology. In quantum Monte Carlo, observables are ratios of averages of signed weights. When positive and negative weights nearly cancel, the average sign shrinks and the relative noise explodes, as discussed in Sign-Problem–Free Quantum Monte Carlo of the Onset of Antiferromagnetism in Metals.

A cheap version of this cancellation appears in gating. Suppose we estimate the change in a marker's positive fraction between two conditions, such as H1N1 infection versus control. The per-cell contribution is $\mathrm{sgn}(\hat y - \tau)$. When most cells sit near $\tau$, the population mean of these signs is close to zero. Its relative error then scales like $1/(|\langle \mathrm{sgn}\rangle|\sqrt{n})$, because a fixed per-cell sign error divided by a small mean gives a large ratio. We will report this "average sign" per marker as a predictor of which markers are hard to gate from imputation.

The architectural idea comes from Hybrid convolutional neural network and projected entangled pair states wave functions for quantum many-particle states. That work represents a frustrated magnet's ground state as a simple tensor network carrying the discontinuous sign pattern, times a deep CNN carrying the smooth amplitude. It reaches −0.495502 per site at $J_2=0.5$ on a 10×10 lattice.

A cautionary result also constrains us. A Score-Based Model for Learning Neural Wavefunctions finds that modeling a signed object with a single smooth gradient field breaks down at the surfaces where the object crosses zero. It needed explicit determinant structure to recover. By analogy, a single smooth regressor of $y-\tau$ spends its capacity near the zero crossing, which is exactly the threshold. That is the hypothesis we test.

We are honest that this analogy is mechanical rather than physical. RNA and protein counts are not quantum amplitudes. What transfers is a modeling pattern: a quantity with a hard zero crossing can be learned more easily when the crossing is represented explicitly rather than smoothed through.

Research Program

We will build three things.

The first is a boundary-aware benchmark for RNA-to-protein imputation. Marker thresholds $\tau_m$ are fit on measured protein alone, using a two-component mixture on log antibody counts, so the ground truth is independent of any model. For each marker we report three things. The first is the rolling false-call rate as a function of $|y-\tau|$, the direct translation of Matbench's rolling-error plot. The second is gating F1 overall and within the boundary band. The third is the error in estimated positive fraction per sample, alongside the average-sign diagnostic.

The second is a sign–amplitude imputer. It uses scTEL's Transformer-LSTM backbone and masked-panel training from A joint analysis of single cell transcriptomics and proteomics using transformer, so any gain is attributable to the output factorization. Its two heads are trained jointly with a cross-entropy loss on $s$ and a loss on $a$ weighted to emphasize cells near threshold. A consistency term ties $s\cdot a$ back to measured $y-\tau$.

The third is a finite-temperature readout for every model. Gating is done on predicted exceedance probability, taken from quantile outputs where available and from ensembles otherwise. This lets us separate gains from calibrated uncertainty from gains from architecture.

Baselines

The naive reference is to predict each protein from its own coding gene's normalized mRNA, fit by per-marker isotonic regression. This is the same gene-dosage logic that clonealign: statistical integration of independent single-cell RNA and DNA sequencing data from human cancers exploits between DNA and RNA. It sets the floor that any learned model must clear on boundary cells, not only on average.

The strongest existing method is scTEL. It reports 86.6% cell-type classification accuracy on its CITE-seq collections, against 77.0% for sciPENN and 76.1% for Seurat. It is described as reaching the lowest per-marker RMSE and highest Pearson correlation. However, no reported scalar RMSE or gating result was found on Lacuna for scTEL, so we will reproduce it. It is the right competitor because it already handles missing panels and emits quantiles, which makes it the model most likely to be used for gating today.

We also include Mowgli from Paired single-cell multi-omics data integration with Mowgli, an optimal-transport nonnegative factorization, run with its protein reconstruction as an imputer on the bone-marrow CITE-seq and TEA-seq data. It represents the interpretable joint-embedding route and is reported to remain robust at 96% missing values.

All models get the same train/test cell splits, the same held-out donors, and the same threshold definitions. Each gets an equal hyperparameter budget of a fixed number of trials on a validation donor and matched GPU hours.

The key ablations use the same backbone and budget. The first is regression only. The second is regression plus finite-temperature gating. The third is a classifier head only. The fourth is the full sign–amplitude model without the consistency term.

Beating the field requires a statistically significant improvement in boundary-band F1 over scTEL with finite-temperature gating, in bootstrap over held-out donors, while overall RMSE degrades by no more than a few percent.

Why not just…?

Why not just train a classifier for positive/negative directly? This is the most serious threat. The sign head is essentially such a classifier, so the proposal only adds value if sharing a backbone with the amplitude head and tying the two through the consistency term improves boundary calls beyond a standalone classifier. The classifier-only ablation settles it. If it matches the full model, we report that the benchmark, not the architecture, is the contribution. We will then recommend classifiers for gating use.

Why not just gate on scTEL's quantile outputs? Calibrated uncertainty may by itself remove most boundary errors. This is precisely the finite-temperature question, and the regression-plus-probabilistic-gating ablation measures it directly. If it closes the gap, the lesson is that the field's "zero-temperature" habit of gating on point estimates is the problem, which is still a useful and actionable finding.

Why not just use a bigger or better regressor? Matbench Discovery reports that its best model, EquiformerV2 with DeNS, reaches F1 0.815 and a discovery acceleration factor of 5.04. It also shows that regression error near the boundary does not shrink in step with overall MAE. We test the single-cell analogue by scaling the scTEL backbone at fixed data. If boundary-band error falls in proportion to RMSE, our premise is wrong.

Proposed Experiments

The main experiments use the four CITE-seq collections from the scTEL study: PBMC (161,764 cells), MALT (8,412), H1N1 (53,201), and Monocytes (37,112). They also use Mowgli's bone-marrow CITE-seq and the trimodal TEA-seq PBMC data (~30,000 cells), with splits held out by donor.

The first decisive check is purely diagnostic, applied to reproduced scTEL and the naive baseline. Does the rolling false-call rate within one RMSE of threshold exceed, say, twice the overall rate, and do markers with small average sign show the largest errors in positive fraction? If not, the triangle of peril does not exist here and we stop.

The second check compares the sign–amplitude model against all ablations on boundary-band F1 and positive-fraction error for the H1N1-versus-control contrast.

The third check is a transfer test under missing panels. Markers are masked at training time, following scTEL's masking scheme, to test whether the sign head generalizes to unseen markers better than regression.

A clean negative result on the architecture, alongside a positive result on the benchmark, is an acceptable and publishable outcome.