constituency tree vs dependency tree
dependency grammar
directed binary grammatical relations between words
direct encoding of the relationship between predicates (verbs) and their arguments (nouns)
more popular than constituency grammar because of its emphasis on predicate-argument structure
predicates
functions that take different numbers and kinds of arguments
dependency grammar: arcs
arcs go from heads to dependents.
–> heads are often predicates, while dependents are often arguments
exactly 1 incoming edge for all tokens
root is the head of the entire structure
especially useful for language with free word order
why does dependency parsing matter for meaning
resolves attachment ambiguities that can matter for meaning
for what types of tasks might dependency parsing be useful
syntax generally:
what information does syntax give us about meaning
syntactic structure is the skeleton with which we build our mental representations, both enabling us to generalize and constrain possible meaning
is syntax enough to enable a model to understand meaning: the chinese room experiment
why is syntax insufficient for understanding language
the task of semantic role labeling (SRL)
task of identifying which constituents play which roles in an event
typically framed as a supervised classification task
semantic role labeling vs dependency parsing
Focus:
Output:
argument structure
uniformity of theta-assignment hypothesis (UTAH)
selectional restrictions of semantic roles
allow predicates to constrain the semantics of their arguments
semantic or thematic roles
abstract models of the role an argument plays in the event described by the predicate
recourses for SRL
the proposition bank (propbank)
framenet
SRL traditional pipeline
feature-based algorithm for SRL
features for SRL
given a labeled training set, a feature vector is extracted for each node
common feature templates:
- governing predicate
- phrase type
- headword POS
this information comes from syntax
evaluation of SRL
example system architecture SRL
main idea: treat SRL as neural sequence labeling task, similar to NER