Skip to content

Encoder

Definition
AI-generated

An encoder is the part of a neural network that maps raw inputs—tokens, images, counts, or continuous features—into an internal representation: a sequence of hidden states, a pooled vector, or latent parameters.

Why it matters in GWAS

Encoder choices determine what signal reaches variant scoring heads, single-cell latent spaces, or literature embeddings; shallow or mis-normalized encoders can entangle ancestry, batch, or library prep with biology, so GWAS-facing models need calibration and held-out genetic validation like any other predictor.

Example usage

"We froze the DNA Encoder layers and only trained the MLP head on UK Biobank labels to limit overfitting."

References

  • Vaswani A, et al. (2017). Attention is all you need. NeurIPS.

Last updated (UTC · Git history)