pocketz.doi.bio/docs/signalp6/02-architecture.md

SignalP 6.0 — Architecture & Training

SignalP 6.0 is a protein language model (encoder) + conditional random field (decoder). The language model reads the sequence and produces a rich per-residue representation; the CRF turns those representations into a coherent left-to-right labeling of the sequence (which residues are n/h/c-region, where the cleavage site is, which SP type).

FASTA sequence
      │
      ▼
[ organism-group embedding ]  ──►  prepended as extra token
      │
      ▼
30-layer BERT protein LM (ProtBERT, pretrained on UniRef100)   ← encoder
      │  per-residue hidden states
      ▼
linear projection → CRF emissions
      │
      ▼
linear-chain CRF with learnable transition matrix              ← decoder
      │
      ▼
per-residue labels → SP type, cleavage site, n/h/c regions

Encoder — the protein language model

Decoder — conditional random field

Training data

Homology-reduced set of experimentally annotated proteins (the SignalP 5.0 dataset, extended with the rare types):

| Class | Sequences | |-------|-----------| | Sec/SPI | 3,352 | | Sec/SPII | 2,261 | | Tat/SPI | 595 | | Sec/SPIII (pilin) | 113 | | Tat/SPII | 36 | | Intracellular (negative) | 16,421 | | Transmembrane (negative) | 2,615 |

The two new types (Tat/SPII: 36, Sec/SPIII: 113) are strikingly data-poor — this is exactly why a pretrained language model was needed to make them learnable.

Training procedure

Fast vs. slow mode

Next: 03-usage.md for running it.