Semantic role labeling (SRL) is the natural language processing task of finding the predicates in a sentence and assigning semantic roles to their arguments, answering the question who did what to whom, when, where and how. Within Speech & language AI, it sits between syntactic analysis and full meaning representation, producing a shallow semantic structure that downstream systems can query directly.
SRL abstracts away from surface syntax. In “The committee approved the budget” and “The budget was approved by the committee”, the subject changes, yet the approver and the thing approved stay the same. That stability makes SRL useful for information extraction, question answering and the evaluation of generated text.
How semantic role labeling works
Semantic role labeling works in four conceptual steps: predicate identification, predicate sense disambiguation, argument identification and argument classification. Older pipelines ran these steps as separate models, while modern neural systems usually solve them jointly in one network.
Predicate identification finds the verbs, and sometimes nouns or adjectives, that evoke an event. Sense disambiguation then chooses the frame, for example whether “run” means operating a company or moving quickly. Argument identification marks the spans that belong to the predicate, and argument classification assigns each span a role label.
The table below shows how one sentence is decomposed.
| Span | PropBank label | Meaning |
|---|---|---|
| sent | Predicate send.01 | Transfer event |
| the clerk | ARG0 | Sender, the agent |
| the report | ARG1 | Thing sent, the theme |
| to the auditor | ARG2 | Recipient |
| yesterday | ARGM-TMP | Time modifier |
Annotation schemes and role inventories
Role inventories define which labels a system can assign, and the choice of inventory shapes every later design decision. The two dominant resources are PropBank and FrameNet, with VerbNet providing a smaller set of thematic roles that links the two.
PropBank uses numbered core arguments, ARG0 to ARG5, whose meaning is defined per verb sense, plus general modifier roles such as ARGM-LOC and ARGM-TMP. FrameNet groups words into semantic frames with richly named frame elements, such as Buyer, Seller and Goods in the Commerce_buy frame.
The following comparison summarizes the main schemes.
| Scheme | Role style | Strength | Weakness |
|---|---|---|---|
| PropBank | Numbered, verb-specific | Large corpora, consistent | Labels mean little across verbs |
| FrameNet | Frame-specific names | Rich semantics | Sparse coverage, many labels |
| VerbNet | General thematic roles | Interpretable across verbs | Smaller lexicon |
| NomBank | PropBank style for nouns | Covers nominal predicates | Lower agreement |
Benchmarks follow these schemes. The CoNLL-2005 and CoNLL-2012 shared tasks use PropBank-style spans, while the CoNLL-2009 task uses dependency-based SRL, which labels only the head word of each argument.
Model architectures for SRL
SRL models have moved from feature-based classifiers over syntactic parse trees to neural sequence labelers and then to pretrained transformer encoders. Early systems relied heavily on parse path features, so parser errors propagated directly into role errors.
A common modern design encodes the sentence with a transformer, marks the predicate with an indicator embedding, and tags each token with a BIO scheme for every role. Span-based models instead score all candidate spans and select a consistent set. Generative approaches cast SRL as sequence-to-sequence generation of role tuples.
The table traces this development and the typical accuracy ranges reported on PropBank benchmarks.
| Approach | Key input | Typical span F1 |
|---|---|---|
| Feature-based classifiers | Parse tree paths | About 75 to 80 |
| BiLSTM sequence taggers | Word embeddings | About 82 to 84 |
| Transformer encoders | Contextual representations | About 86 to 89 |
| Large language model prompting | Instructions and examples | Varies, often lower without tuning |
Scores depend on the dataset, the use of gold or predicted predicates, and whether evaluation is in-domain. Performance usually drops several points out of domain, for example on biomedical or conversational text.
How SRL relates to neighboring tasks
SRL overlaps with several tasks in language processing but answers a different question. Dependency parsing describes grammatical relations, while SRL describes event participants. Relation extraction targets a fixed set of entity relations, whereas SRL covers any predicate in open text.
| Task | Output | Difference from SRL |
|---|---|---|
| Dependency parsing | Grammatical head-dependent links | Syntax, not event meaning |
| Named entity recognition | Typed entity spans | No predicate or role |
| Relation extraction | Fixed relation types | Closed schema |
| Semantic parsing | Full logical form | Deeper, more domain-bound |
Limitations and common pitfalls
SRL captures predicate-argument structure within a sentence, so it does not resolve pronouns or link events across sentences without help from coreference resolution. It also leaves negation, modality and implicit arguments only partly represented, which can mislead systems that treat labels as complete meaning.
- Mixing annotation schemes between training and evaluation data, which makes scores incomparable.
- Reporting results with gold predicates as if they reflected end-to-end performance.
- Ignoring light verbs and nominal predicates, such as “make a decision”, which carry the real event.
- Assuming numbered PropBank roles mean the same thing for every verb.
Practical deployments should also plan for error propagation. A missed predicate removes all of its arguments at once, and a wrong span boundary can attach a modifier to the wrong event. Teams that rely on SRL output usually add confidence thresholds, sample outputs for manual review and track per-role accuracy, because core roles such as ARG0 and ARG1 are labeled far more reliably than rare modifiers such as ARGM-MNR or ARGM-PRP.
Multilingual use adds another layer of difficulty. Annotated corpora exist for a limited set of languages, so systems for low-resource languages often rely on cross-lingual transfer from multilingual encoders or on projected annotations, both of which introduce systematic label noise that should be measured before results are trusted.
Stripped to the essentials
Every sentence describes some action or state. Semantic role labeling finds that action and the parts around it. It asks who acted, what was affected, who received something, and when or where it happened.
Think of filling in a form for each event. The form has boxes for the doer, the object, the receiver and the time. The computer reads the sentence and fills in the boxes. The answers stay the same even if the sentence is reworded.
Where it is applied
A compliance team at a bank reviews thousands of internal emails each week for unauthorized transfer approvals. A pipeline runs a transformer-based SRL model over every sentence and keeps only predicates in the approval and transfer frames, such as approve, authorize and send.
For each match, the system records the ARG0 as the approver, the ARG1 as the amount or account, and any ARGM-TMP as the date. Because roles survive passive voice and reordering, “the wire was signed off by the deputy” and “the deputy signed off on the wire” produce the same record. Analysts receive a structured table instead of raw text, and the review time per batch falls from about two days to a few hours, with flagged items still checked by a person.