Conditional random fields

Probabilistic & graphical · classical · 2001 · text · time series

What it is

A discriminative undirected graphical model over a whole sequence, so labels can depend on each other globally.

When to use it

Sequence labelling — named entities, chunking, bioinformatics — usually as the output layer over an RNN.

Caveats

Training requires running inference repeatedly, which is slow for large label sets or long-range dependencies. Exact inference is limited to chains and trees, and classic CRFs depend on hand-built features.

Key ideas

  • Model the label sequence given the input directly (discriminative), with no model of the input
  • Globally normalized over the whole sequence, which avoids label bias
  • Can use arbitrary overlapping features of the input

Related architectures

Original paper

Conditional Random Fields: Probabilistic Models for Segmenting and Labeling Sequence Data (2001, publisher)

Browse all 198 architectures

The architecture landscape, in one place.

Two things get called “ML architecture”: the classical statistical model families, and the neural network wirings. Both are here, tagged by what they are and what data they eat.

Start from your problem

Architectures

0 shortlisted