Relation Extraction
Relation extraction identifies and classifies semantic relationships between named entities in text, such as WORKS_AT between a person and a company.
Relation extraction is a natural language processing task where annotators or models identify the semantic relationship between two or more entities mentioned in a text. For example, given the sentence 'Dr. Amara Diallo joined Corpshore AI as Chief Medical Officer', a relation extraction model should identify the EMPLOYMENT relation between PERSON:Amara Diallo and ORGANIZATION:Corpshore AI.
Relation annotation is typically performed in two stages: first, named entities are marked with NER annotation, and then annotators draw directed relation links between pairs of entities with the appropriate relation type from the taxonomy. Relation schemas can be general or domain-specific, with medical and legal domains having extensive relation taxonomies covering causality, prescription, liability, and jurisdiction.
High-quality relation extraction training data requires annotators who understand the semantic distinctions between relation types in the target domain. Inter-annotator agreement on relation type is typically lower than on entity span, so training, calibration exercises, and regular audits are more critical for relation annotation programs.
Frequently asked questions
Relation extraction is used heavily in finance for extracting company relationships and financial events from news, in healthcare for mapping drug-disease and gene-protein relationships from literature, in legal tech for identifying parties and obligations in contracts, and in intelligence analysis for mapping networks of people and organizations from documents.
Related terms
Related Corpshore AI services
Ready to scope a pilot?
Tell us your modality, volume, and languages. We'll return an indicative scope, timeline, and cost band.