Skip to content

Information Extraction & NER

Pick names, places and relations out of free text

Language & knowledgeIntermediate#06
inTextText

What this capability means

Takes natural-language text and returns structured fragments: typed entities (person, organisation, date, amount) plus the relations or events among them. Unlike classification it does not give one label to the whole text but locates spans; unlike schema-driven structured output, the extracted targets come from the text itself rather than a fully prescribed field list.

How it is done

Early systems used conditional random fields or rule-based sequence labelling, tagging tokens BIO-style; pre-trained encoders with a tagging head then became standard. Relation and event extraction are often framed as entity-pair classification or as generation of triples directly. More recently, large models perform few-shot or zero-shot extraction against a given schema, avoiding per-type annotation.

Representative products

5

OpenAI

GPT-4o

A natively multimodal general model, with text, image and audio through one door

4Caps
Model Closed
TextImageAudioTextAudio
2024

Alibaba (Qwen)

Qwen

An open-weight family spanning many sizes, with multimodal versions

4Caps
Model Open weights
TextImageText
2023

Baidu

ERNIE

A Chinese model that began with knowledge-enhanced pretraining, an early landmark version

3Caps
Model Closed
TextText
2019

ByteDance (Seed)

Doubao

ByteDance’s general chat model and application

4Caps
Model Closed
TextImageText
2023

Zhipu AI

GLM

A Chinese general model that began with autoregressive blank-infilling pretraining

4Caps
Model Closed
TextText
2023

Organizations involved

Typical uses

  • Clause and amount extraction from contracts and filings
  • Résumé parsing and talent-pool building
  • Drug and symptom recognition in clinical notes
  • News events and knowledge-graph construction

How it is evaluated

Span-level F1
A hit requires both boundary and type to be correct
Relation F1
Share of triples (head, relation, tail) matched exactly
Exact-match rate
Share of records whose fields are all correct

Limits and hard parts

  • Nested and overlapping entities are flattened by token-level tagging schemes
  • Cross-sentence coreference is hard; pronouns bind to the wrong antecedent
  • Domain terms and novel words are missed when the type was unseen in training

Concepts behind it

NLP & Large Language Models

TokenizationBeginner

Models do not read characters, they read tokens — and how you split text quietly sets both capability and cost

4Linked
Figures 1 · Data 1

NLP & Large Language Models

Pretraining & Fine-tuningIntermediate

Learn language first from vast unlabelled text, then specialise with little data — the most data-efficient paradigm in modern AI

5Linked
Figures 1 · Data 1

Machine Learning

Supervised LearningBeginner

Pairs of questions and answers teach a model to answer on its own

4Linked
Figures 1 · Data 1