Ternary Representations for Learning with Partial Evidence

This direction is no longer present in the current build. Its last version stays readable and citable here.

Version 1 of 111 papers18 conceptsfrozen 2026-10-04

In traditional machine learning, we often treat data as a collection of binary truths: a feature is either present or absent, a symptom is either reported or not, and a label is either true or false. However, real-world data is rarely this clean. Information is frequently missing, not because it doesn't exist, but because it wasn't measured, the technology changed, or the respondent didn't know the answer.

A growing body of research suggests that the most effective way to handle this "missingness" is not to hide it through imputation, but to elevate it to a first-class citizen. By moving from binary logic to ternary representations—explicitly encoding "positive," "negative," and "unknown"—models can leverage partial evidence to make significantly more accurate predictions.

The Problem of the Missing Middle

When a model encounters a missing value, the standard approach is often to fill it with a zero or a mean value. But as Zehang Li and colleagues point out in their work on The openVA Toolkit, treating an "unknown" survey response as a "negative" indicator leads to a systematic underestimation of symptom prevalence. If a respondent doesn't know if a deceased relative had a fever, assuming they didn't have one introduces a dangerous bias into public health data.

The intuition behind ternary encoding is to decouple "absence" from "ignorance." By modeling missing data as a unique state, we allow the model to maintain a representation of uncertainty. This prevents the system from conflating a lack of information with a specific biological or physical state.

Bridging Platforms with Neutral States

This concept is particularly powerful in genomics, where different sequencing technologies might capture different sets of data. In the crossNN framework, Dongsheng Yuan and Simone Schmid use a ternary scheme to classify brain tumors. They map methylated states to 1, unmethylated states to -1, and missing data to a neutral 0.

Because the model is trained to recognize 0 as "no information," it becomes platform-agnostic. It doesn't matter if a specific microarray sequences 450,000 sites or 850,000; the model simply ignores the gaps. This allows a single, lightweight neural network to achieve over 99% precision across disparate technologies without needing complex, platform-specific normalization.

Label Injection and Inference Hints

Beyond handling missing features, ternary representations allow models to accept "hints" during inference. In the Classification Transformer (C-Tran), Jack Lanchantin and Yanjun Qi use a ternary state embedding for multi-label image classification.

During training, they mask various labels, forcing the model to learn the relationships between known and unknown tags. At test time, if a human provides a partial hint (e.g., "this image definitely contains a 'cloud'"), the model can update its ternary embedding for that label from "unknown" to "known-positive." This extra metadata flows through the Transformer's self-attention mechanism, refining the predictions for all other unknown labels.

A similar logic applies to multi-task learning. Kaidi Cao and Jure Leskovec introduced MetaLink, which treats data and tasks as a graph. By injecting known labels for auxiliary tasks as edges, the model uses message passing to "fill in" the target tasks. This turns the relationship between tasks into a dynamic resource: if you happen to know the result of a cheap medical test, you can inject that "known" state to better predict the outcome of a more expensive one.

Measuring Task Affinity

Finally, this "label injection" serves as a powerful diagnostic tool for the field itself. Massimo Gallo and Pietro Michiardi found that the best way to predict if two tasks will play well together in a multi-task model is to simply provide the ground-truth labels of one task as auxiliary inputs to the other.

The degree to which this "perfect information" reduces error acts as a proxy for task affinity. It reveals the underlying information bottleneck: if knowing the answer to Task B makes Task A significantly easier, they are natural candidates for joint training.

Why It Works

Ternary representations work because they respect the geometry of information. In a binary system, "unknown" is forced to one side or the other, distorting the feature space. In a ternary system, "unknown" sits at the origin or in its own embedding dimension. This allows the model's optimization process to learn two distinct things: the relationship between features, and the reliability of the evidence itself. By explicitly representing what we don't know, we become much better at predicting what we do.

Papers in this version

History & citationVersion 1 · 2026-10-04

No longer present in the current build · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_ternary_representations_for_learning_wit_b4d714af,
  title = {Ternary Representations for Learning with Partial Evidence},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/ternary-representations-for-learning-with-partial-evidence/rdr_b4d714af02c6447fad4699d78cecec0c},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-26},
}

This exact version (version 1, frozen text):

@misc{lacuna_ternary_representations_for_learning_wit_b4d714af_v1,
  title = {Ternary Representations for Learning with Partial Evidence},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/ternary-representations-for-learning-with-partial-evidence/rdr_b4d714af02c6447fad4699d78cecec0c/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-26},
}