Semantic Relation Classification via Convolutional Neural Networks with Simple Negative Sampling
Paper · 2015 · Kun Xu, Yansong Feng, Songfang Huang et al.
Summary
When a sentence mentions a cause and its effect, recognizing the relation is only part of the job. A classifier also has to assign each expression to the right role. A sentence can say that a singer caused a commotion while devoting much of the space between those mentions to the singer’s performance. The words that connect the cause and effect are still there, but their location in the sentence gives a poor indication of which material matters. The authors tackle both problems on SemEval-2010 Task 8, a benchmark that supplies two marked nominals in each sentence and asks which semantic relation they express.
The classifier reads the shortest route between the marked expressions in a syntactic dependency tree. That route keeps the connecting words, the labels on the grammatical links, and the directions in which the links are traversed. A convolutional network examines short stretches of this ordered path and pools its strongest feature responses into a fixed-size representation. The authors also train the classifier on deliberately reversed paths. For each training example with a named relation, they keep the original sentence and mentions, exchange the path’s starting and ending points, and assign the reversed input to Other. At test time they read the path in both directions. The strongest named prediction determines the relation and its orientation when either reading yields a named relation.
The path classifier with reversal training reaches 84.0 macro-averaged F1 on the SemEval test set using path features alone. Adding WordNet hypernyms and words near the nominals raises the test score to 85.6, the highest among the systems the paper compares. A development comparison also favors the constructed negatives. Training with reversed paths yields 85.4 F1, compared with 83.5 for randomly sampled negatives from the NYT dataset and 81.3 for the setting without added negatives. A separate experiment gives the classifier the correct role assignment and shows how much easier the development task becomes with that information. Together, the results support using grammatical paths as evidence and using reversed readings of real examples to teach the distinction between the two endpoint roles.
Deep dive: Semantic Relation Classification via Convolutional Neural Networks with Simple Negative Sampling
How shortest dependency paths and reversed training examples help a convolutional network classify semantic relations and assign their direction. · about 35 minutes to read
The problem and its context
Recognizing a relation and assigning its roles
Relation extraction is a form of information extraction. In the version studied here, the inputs are a sentence and a designated pair of nominals, expressions that name or refer to things. The classifier assigns a semantic relation to that pair. On a cause-and-effect example, the label describes what the expressions have to do with each other, and the order of the arguments says which expression denotes the cause. Those are distinct judgments. The vocabulary in a sentence can strongly suggest a causal connection while the grammatical structure determines which participant does what.
The paper uses subject and object to describe the ordered endpoints of a relation. These are roles in the classification setup. Recovering their order involves more than finding a grammatical subject or object somewhere in the sentence. Consider the authors’ example in which a singer causes a commotion. A relative clause about the singer’s performance falls between the two marked expressions. Its verb has a grammatical relationship with the singer, but the verb expressing the cause-and-effect relation is the one that links the singer to the commotion. The relevant construction answers both questions at once. It supplies evidence for causation and identifies the singer as the cause.
There is also a distinction between the order in which mentions are presented and the order in which a relation reads. A benchmark can give each mention a fixed identifier so that the system has a consistent way to refer to it. That convention does not supply its semantic role. A method that always reads from the first marked mention to the second has to discover role information somewhere in that reading. A method that reads both ways can make each reading an explicit candidate and ask which candidate better fits a named relation.
A further decision is whether the pair belongs to any of the named categories. The benchmark uses Other for the residual class. There is consequently a difference between choosing the orientation of a named relation and deciding whether there is a named relation to report at all. The authors connect these decisions during training by using Other for the reversed reading of a labeled pair. That construction gives the residual label a concrete job. It tells the classifier how to respond to a reading that contains familiar evidence but puts the endpoints into the wrong roles.
The experiment starts with the mentions already marked. This matters for interpreting the work as relation extraction. It examines the reasoning involved in labeling a designated pair, with the rest of the sentence supplying evidence. In a wider extraction pipeline, a system would also have to locate the mentions and decide which pairs to examine. Here, identifying the correct relation and ordering its roles is the central problem, and the fixed input makes it possible to study that problem directly.
Why the sentence can contain too much evidence
A sentence has a surface order, but the words that happen to occur between the two nominals can perform several jobs. Some connect the nominals. Others elaborate on one nominal, describe another event, or supply details about the circumstances. In the singer example, the relative clause is meaningful and attached to the singer. Its relevance depends on the question being asked. It could matter to an account of the performance while adding little to the evidence that the singer caused a disturbance.
The authors use dependency parsing to distinguish those jobs. A dependency tree describes grammatical connections between words. Its edges have labels indicating the kind of grammatical link, as well as directions identifying how the words are connected. The shortest path through this structure can connect expressions that are separated by a long stretch of text. Relative clauses and other material that sit on branches away from the connecting route can fall outside the classifier’s input even when they appear between the mentions in print.
The paper draws on the shortest-path hypothesis associated with Bunescu and Mooney’s dependency kernel. The intuition starts with simple predicate–argument structures. When both mentions belong to the same predicate, the route between them can pass through that predicate and preserve how each mention attaches to it. A route can also span different predicate–argument structures. In that situation the authors expect a chain of predicates connected through shared arguments. This gives them a reason to treat a path as evidence even when a single verb does not directly join the two mentions.
The hypothesis also motivates the use of direction. Once a route is read from a chosen endpoint, its sequence records the order of the predicates and other items encountered. Starting at the opposite end changes that sequence and reverses how the path traverses the grammatical links. The authors see this as an opportunity to represent the role assignment in the input itself. The same syntactic analysis can supply a reading for each candidate orientation.
How earlier systems used syntax
The paper describes an earlier line of relation classification built on feature design. The SemEval work included an approach with 16 types of features. Among them were part-of-speech tags, lexical information from WordNet and FrameNet, and features derived from dependency parses. Such a system lets the designer specify what counts as a cue and which sources supply it. The paper treats syntactic evidence as particularly important because a grammatical connection can bring together words that are distant in the sentence.
The authors also describe kernel approaches that incorporated structure into comparisons between examples. They mention tree kernels, subsequence kernels, and dependency-based kernels. In that line of work, the choice of what to compare already expresses a view about the information that matters. A method that compares dependency paths centers the connection between the marked expressions. One that compares subsequences or pieces of a tree gives the learner a different view of the sentence. The shortest-path input therefore has a history that precedes the convolutional classifier developed in the paper.
Among neural approaches, the authors discuss systems that learn features from word sequences or constituent structure. Zeng and colleagues’ convolutional relation classifier provides one comparison. Socher and colleagues’ recursive matrix–vector approach provides another. The concern raised in the paper is that the input presented to such systems can include clauses and subsequences whose presence has more to do with their position or attachment in the sentence than with the relation being classified. Giving the learner expressive features still leaves it with the job of picking relevant evidence out of that input.
The authors describe a common treatment of direction in which each named relation has a separate output class for each possible orientation, alongside a shared Other class. That encoding gives the classifier a direct way to make a directional prediction. It also puts the entire burden of distinguishing the orientations on a single classification decision. The paper asks what changes if the classifier is instead shown the relation read in its expected direction and then given the swapped reading as deliberate counterevidence. That question links the choice of input representation to the design of the training set.
The method, step by step
Read the grammatical route in order
Start with the sentence and its marked mentions. The dependency tree supplies a route between them. The authors write that route as a sequence containing words, dependency labels, and arrows that record traversal direction. A word carries lexical evidence. A label tells the classifier what kind of grammatical connection it is crossing. An arrow indicates how the ordered reading passes through that connection. Together, these elements let a short stretch of the path describe a grammatical pattern as well as the words that appear in it.
The route through the singer example illustrates the selection of evidence. The clause about the performance branches away from the connection needed to classify the singer and the commotion. That clause can disappear from the path while the causal predicate remains. A sentence can also require a longer connecting route. In the paper’s illustrated Instrument–Agency example, the route passes through the words carried and receives. Their order contributes to the interpretation in which the endpoints have sender and receiver roles. The path therefore records a sequence of syntactic and lexical cues even when those cues span multiple predicates.
Reading the same route backward preserves the underlying sentence and the set of grammatical connections. It exchanges the endpoints, changes the order in which path items appear, and changes the traversal arrows. The edge labels still refer to the same grammatical connections. That combination matters for the training design. A classifier can encounter the same words under a different ordering of the surrounding structural cues. Learning the difference requires sensitivity to how the words and links fit together.
Classifying a marked pair from its dependency path
The steps in order.
Turn path items into vectors
A lookup table gives every represented path item a numerical vector. The idea is familiar from word embeddings, where a word is represented by a list of learned coordinates. Here the lookup operation also applies to dependency labels and traversal arrows. It puts each kind of item into the format required by the next layer. A window can consequently contain a word next to a structural cue and present both to the same feature extractor.
Wₑ ∈ ℝ^(d × |V|)
Here Wₑ is the embedding table, ℝ denotes real numbers, and ∈ indicates membership in the space of real matrices with the indicated shape. The dimension of one vector is d. The set V contains the path items covered by the lookup table, and |V| is its size. The table has a column for each item and d real-valued entries per column. Looking up an item retrieves that column. The shared dimension lets the method place the different item types into a common sequence of vectors.
The lexical initialization uses 50-dimensional vectors from Turian and colleagues’ work on word representations. That supplies starting coordinates for words. The authors include the embedding table among the parameters learned during training, so the objective can refine the representation for relation classification. The description names the source of the word vectors and identifies the other path item types, while leaving the initialization of those other entries unspecified.
Learn local patterns along the path
The convolution looks at fixed-width windows around successive positions in the path. For each position, the network concatenates the vectors of the items in the window. Concatenation means placing the vectors end to end in traversal order. As a consequence, items at different offsets within a window occupy different parts of its input vector. A cue that precedes a word and the same cue following that word are available to the transformation as different arrangements.
d_w = d × w
The symbol d_w denotes the length of the concatenated window vector, d is the size of an individual embedding, and w is the window width measured in path items. The multiplication sign expresses that each item contributes its full vector. Since labels and arrows are items in the path sequence, the width refers to that sequence and can cover a mixture of lexical and structural material.
W₁ ∈ ℝ^(n₁ × d_w)
Here W₁ is the linear transformation used by the convolutional layer, n₁ is the number of local features it computes, and d_w is the input width in vector coordinates. The symbol ℝ again identifies real entries, and ∈ states the matrix’s shape. Each of the n₁ rows supplies a different weighted combination of the window coordinates. Applying the same matrix across positions allows a feature to respond wherever its preferred pattern occurs on the path.
Z ∈ ℝ^(n₁ × t)
The matrix Z collects the convolutional responses, with n₁ feature rows and t columns, where t is the number of items on the input path. Each column records the responses for a position, and each row tracks one feature across positions. The symbol ℝ denotes the real number system and ∈ states that Z belongs to the matrix space of that shape. The authors describe the convolution as yielding this position-by-feature collection before pooling.
The operation is local relative to the dependency path. A window may contain a piece of the sentence whose words were far apart in surface order because the tree links them directly. Conversely, surface neighbors that sit off the path have no position in the window. The convolution therefore operates after a structural decision about what counts as nearby. The tree determines which evidence reaches this layer, while the learned transformation determines which patterns within that evidence produce strong responses.
The same arrangement explains how a local feature can distinguish a reversed reading. The window keeps its item order when it becomes a vector. Exchanging predecessor and successor positions changes which coordinates the convolution sees at each offset. The reversal also changes arrow directions where those arrows occur in the window. Though the words available to the classifier come from the same route, the network can assign different responses to the ordered patterns in each reading.
Pool the path and score the relations
The convolution produces a variable number of columns because paths have different lengths. The authors use max pooling to turn those columns into a representation of fixed size, following the use of pooling in Collobert and colleagues’ work. For each learned feature, the network keeps its largest response anywhere on the path. A single strong occurrence can therefore contribute to the final representation even when several other windows have weak responses for that feature.
pᵢ = maxⱼ Zᵢⱼ
In this description, pᵢ is coordinate i of the pooled vector p. The value Zᵢⱼ is the response of feature i at path position j. The maximum ranges over all of the path positions indexed by j. There is one pooled coordinate for each of the n₁ rows of Z, so the length of p is independent of the path length t. Different coordinates can take their maxima from different windows.
Pooling preserves the strongest response to each feature and discards the positions at which those responses occurred. The network can still be sensitive to order because the windows have already been read in sequence and their contents kept in order during concatenation. This gives the architecture a particular division of labor. The local responses can encode ordered constructions, while the pooled vector retains their strengths across the whole path. Information about the relative positions of distant responses has no separate coordinate in that vector.
A second transformation combines the pooled features. Its outputs pass through hyperbolic tangent, usually written tanh. This function changes the linear responses nonlinearly, allowing the next layer to use a transformed combination of path features. The paper gives computational cost as its reason for choosing tanh and says that the choice leaves generalization performance unchanged. The main reported comparisons concern the path representation and training strategy.
W₂ ∈ ℝ^(n₂ × n₁)
The symbol W₂ names the second transformation, n₁ is the pooled input size, and n₂ is the size of the resulting hidden layer. The notation ℝ and ∈ specifies a matrix of real entries with the displayed dimensions. The transformation combines n₁ inputs into n₂ responses, and tanh acts on each response. The authors interpret the resulting vector as a higher-level representation of the path’s syntactic evidence.
W₃ ∈ ℝ^(K × n₂)
Here W₃ is the output transformation for the path-only classifier. Its input has n₂ coordinates, and K is the number of relation outcomes in the distribution being predicted at this stage. The notation ℝ identifies the real-valued matrix space and ∈ assigns W₃ to the indicated shape. The transformation produces one score for each outcome. In settings with additional lexical features, the authors append those features to the input of the final classification layer.
dₖ(x) = exp(aₖ(x)) / ∑ⱼ exp(aⱼ(x))
Here x is an input path and aₖ(x) is its score for output class k before normalization. The function exp is the exponential. The index j ranges over the K output classes, and the sum in the denominator adds their exponentiated scores for this same path. The result dₖ(x) is the softmax probability assigned to class k. The probabilities together form the output vector d(x). For the comparison between path readings, the method uses the confidence of the relation predicted from each reading.
Teach the classifier what reversal changes
The training starts with examples whose marked nominals have relation annotations. For a named relation, the annotation tells the authors how to order its arguments. They construct the positive input by following the shortest path in that orientation. A positive example here is one whose target is a named relation. The same example yields a negative input by starting at the other nominal and traversing the path back to the original starting point. The negative target is Other.
The negative is constructed from a sentence that already contains evidence for the named relation. In the singer example, both paths have access to the singer, the causal connection, and the commotion. The reversed example changes the role assignment while retaining those cues. Encountering a causal word can thus support the correct classification only in combination with other evidence about the reading. The supervision is designed to make the ordering of the endpoints matter even when the sentence’s topic and decisive predicate are familiar.
The sampling rule uses each non-Other training instance as a source of a reversal. The original Other examples already carry the residual label. The construction of a new negative relies on the information provided by a named, directed annotation. It turns that annotation into a positive reading and a counterexample about the assignment of its roles. This also means that the decision about what counts as a negative is part of the training design, with consequences when a sentence supports several interpretations.
The objective compares the predicted class distribution with a target distribution. For a training path assigned a particular label, the target gives the learner the desired outcome for that path. Cross-entropy penalizes probability assigned away from the target, so a prediction that gives little probability to the annotated outcome incurs a larger cost. The same objective handles the original labeled paths and the constructed paths whose target is Other.
J(θ) = −∑ₓ ∑ₖ₌₁ᴷ tₖ(x) log dₖ(x) + λ‖θ‖₂
Here J(θ) is the training objective and θ comprises Wₑ, W₁, W₂, and W₃. The index x ranges over the training inputs. The inner sum ranges from the first output class to class K, and tₖ(x) is the target probability for class k on input x. The quantity dₖ(x) is the corresponding prediction and log is the logarithm. The leading minus sign turns the log-probability contribution into a cost. The norm term penalizes the parameters, and the paper describes λ as regularization weights, specified separately for the parameter groups. This compact expression combines the fit to labeled data with those penalties.
The authors use back-propagation to work out how the objective changes with the learned parameters. The gradient carries information from the output through the transformations and pooling to the embedding table. They update the parameters with stochastic gradient descent and AdaGrad, which adapts the update sizes during training. The path gives the learner a structured input, while the annotated and reversed examples determine which outputs the parameter updates favor.
For comparison, the paper also describes the conventional way of counting output classes when each named relation comes in two directions.
2 × K + 1
In this class-count expression, K denotes the number of named relation types before splitting them by orientation, 2 represents the two directional forms of each type, and 1 accounts for Other. This use of K refers to the base inventory, while K in the softmax description denotes the size of the distribution being produced. The conventional classifier encodes the orientation in the identity of a class. The reversal strategy can express the orientation through the reading of the path that produced the named prediction.
Make the directional decision at test time
A test sentence comes with the two marked expressions. The method constructs both readings of their shortest dependency path and passes each through the classifier. When the predicted class for each is Other, the final answer is Other. When one reading produces a named class and the other produces Other, the named class supplies the answer along with the ordering of the path that produced it. When both readings produce named classes, the prediction with the higher confidence wins.
The rule compares the outputs that each reading actually selects. Suppose one reading has Other as its most probable class but also assigns some probability to a named class. That reading still contributes an Other prediction to the decision. The named outcome from the opposite reading, if there is one, determines the result. The classifier can therefore be trained on a residual class at the path level and apply a definite decision rule to the pair as a whole.
The ideal case envisaged by the authors is a correct named prediction in the intended orientation and an Other prediction in the reverse orientation. The decision rule also specifies what happens when the two readings disagree in other ways. Both can return Other, or each can produce a named candidate. This makes directional prediction possible without being given the correct semantic order at test time. The role information needed to choose that order comes from how the classifier responds to the structured readings and from the examples used to train it.
Experiments and results
What the benchmark measures
The SemEval-2010 Task 8 data contain 10,717 annotated examples. The benchmark supplies 8,000 training instances and 2,717 test instances. The authors randomly sample 2,182 examples from the training portion for validation. They use the development set to tune the hyper-parameters for each experimental setting, and they report development results separately for comparisons that investigate direction and negative sampling.
Each item gives the classifier a sentence and the marked pair of nominals. This makes the evaluation an assessment of relation classification given the designated mentions. An error can arise from selecting the wrong relation, from mishandling its direction, or from making the wrong decision about Other. The official evaluation script supplies the macro-averaged F1 score used in the paper. F1 brings together precision, which reflects the correctness of predictions made for a category, and recall, which reflects how many of the relevant instances it retrieves. The macro average aggregates the scores across the categories counted by the evaluation.
The test comparisons combine results for earlier systems with results for the authors’ path classifiers. They are useful for judging the proposed method against established approaches on the same task. The development comparisons have another purpose. They vary the information supplied about direction, or change where the negative examples come from, to make particular design choices easier to interpret. A score on the development set answers a question about one of those setups and belongs on that split.
Which configurations were compared
The paper reports a best setting with window width 3, first hidden-layer size 200, and second hidden-layer size 100. The regularization weights are 10⁻⁴ for the embedding table, 10⁻³ for the first transformation, 10⁻⁴ for the second transformation, and 2 × 10⁻³ for the softmax transformation. These are the settings the authors report after tuning on development data. They specify the size of the local context, the capacity of the feature transformations, and the regularization applied to the learned parameters.
The support vector machine, or SVM, supplies a feature-engineered comparison, scoring 82.2 F1 on the SemEval test set with its 16 feature types. The paper also compares recursive neural approaches. The recursive neural network goes from 74.8 test F1 in the plain setting to 77.6 with part-of-speech tags, named-entity information, and WordNet features. Named entity recognition supplies information about entities mentioned in a text. The matrix–vector recursive system has a test score of 79.1 in its plain setting and 82.4 with the added linguistic features listed for it.
The earlier convolutional classifier scores 78.9 test F1 in the plain configuration and 82.7 with WordNet and nearby words. The paper also includes a dependency-based neural classifier, DepNN, with named-entity information. That entry reaches 83.6 test F1. These reference points differ in what they feed to the learner, so the table reports configurations as well as system names. An augmented score can reflect lexical and linguistic cues in addition to the architecture used to combine them.
The authors give the name depCNN to the path classifier that uses words and dependency traversal directions. The depLCNN variant adds dependency labels. The suffix +NS identifies the version trained using the negative sampling strategy. Extra lexical features constitute a separate change. In those configurations, the authors supply WordNet hypernyms, which express broader lexical categories, and words near the nominals as additional inputs to the softmax layer.
Relation classifiers on the SemEval-2010 Task 8 test set by macro-averaged F1
The path classifier with reversed negatives leads with path input alone and improves with added lexical features.
The numbers
| System or setting | F1 |
|---|---|
| SVM with engineered features | 82.2 |
| Matrix–vector recursive network with linguistic features | 82.4 |
| Earlier CNN with lexical features | 82.7 |
| DepNN with named-entity features | 83.6 |
| depCNN | 81.3 |
| depLCNN | 81.9 |
| depLCNN with lexical features | 83.7 |
| depLCNN with reversed negatives | 84.0 |
| depLCNN with reversed negatives and lexical features (this paper) | 85.6 |
Where the test gains appear
On the SemEval test set, the plain dependency-path configurations reach 81.3 F1 with traversal directions and 81.9 with both traversal directions and edge labels. Those results put each above the plain versions of the earlier convolutional and matrix–vector recursive systems in the same comparison. The plain path systems do use syntactic information, so “plain” here means that their inputs stop at the features in their path representation. It describes the absence of the additional lexical inputs compared in a separate set of configurations.
Adding the reversal strategy to the labeled path classifier yields 84.0 test F1 with the path representation alone. The compared versions of the earlier CNN and matrix–vector recursive system reach 82.7 and 82.4, respectively, when augmented with their listed linguistic inputs. The path-only result also exceeds the 83.6 test F1 listed for DepNN with named-entity information. The comparison establishes the standing of the proposed configuration among the systems reported in the paper. Its strongest path-only result already places it ahead of those augmented entries.
With the authors’ extra lexical features, the reversal-trained classifier achieves 85.6 test F1. The labeled path classifier with the same kinds of lexical additions and conventional direction handling achieves 83.7. The highest result therefore combines information selected by the dependency path, supervision derived from reversing that path, and explicit lexical context at the final layer. The path-only result is important alongside it because it shows how well the directional training setup works when the prediction depends on the path representation.
The paper’s comparisons serve different readers. Someone interested in the best submitted configuration can look to the score with lexical augmentation. Someone interested in the architectural proposal can compare the plain path variants with earlier plain systems. The closest comparisons for the directional strategy hold the approximate feature inventory fixed and compare the configurations with and without reversal training. Reading those entries together makes it possible to keep the headline performance separate from the evidence for the individual choices that contributed to it.
The development comparison between negative sources
The paper reports an experiment that trains with negatives sampled from another dataset and compares that procedure with constructing them from the labeled training items. The random strategy uses 8,000 negative examples from the NYT dataset. The proposed strategy constructs 6,586 negatives by taking the dependency path in the opposite direction for each non-Other instance in the training set. Both are compared with a development setting that uses no added negative examples.
Negative sampling strategies on the SemEval-2010 Task 8 development set by F1
Both sources improve on the setting without added negatives, and reversing labeled paths produces the highest score.
The numbers
| System or setting | F1 |
|---|---|
| No added negative examples | 81.3 |
| Random negatives from NYT | 83.5 |
| Reversed dependency paths (this paper) | 85.4 |
The no-addition setting reaches 81.3 development F1, the random NYT negatives reach 83.5, and the reversed paths reach 85.4. The comparison matters because a gain from the proposed method could otherwise be attributed simply to seeing additional negatives. The random comparison shows that adding negatives from another source also helps. The reversal procedure obtains the better development result while supplying a form of supervision tied directly to the directional decision.
The samples differ in more than how they are labeled. A reversed path comes from a sentence and pair already known to express a named relation in one orientation. The random negatives come from another dataset and have a different construction process. The quantities reported for the two sources differ as well. The comparison therefore supports a practical preference among the sampling procedures tested. It also motivates the more specific interpretation that keeping the same lexical evidence and changing its assignment can make a negative apt for this task.
What the ablations show
How much the role assignment affects the task
The pilot experiments alter when the classifier has access to the correct assignment of subject and object. The paper calls a setting “blind” if it withholds that assignment and “sighted” if it provides it. With blind training, features are read from the first marked nominal to the second according to the fixed inputs. With sighted training, the supplied assignment establishes the orientation used to train the classifier. Sighted evaluation supplies the correct assignment for the held-out example as well.
Access to role assignments on the SemEval-2010 Task 8 development set by F1
Giving the classifier the correct roles during training helps, and giving it those roles during evaluation produces the highest score.
The numbers
| System or setting | F1 (%) |
|---|---|
| Blind training and blind evaluation | 79.3 |
| Sighted training and blind evaluation | 81.3 |
| Sighted training and sighted evaluation (this paper) | 89.2 |
The first two conditions share blind evaluation. The move from 79.3 to 81.3 development F1 accompanies the addition of correct assignment information in training. That comparison shows that the way a labeled example is presented matters even when the correct order remains unknown at evaluation time. The supplied orientation organizes the training evidence around the semantic roles. A learner trained on those organized inputs can use that information when it later encounters an example with only the marked pair.
The sighted evaluation condition reaches 89.2 development F1. It removes the need to discover the assignment during evaluation by providing that assignment up front. The paper treats it as an upper-bound diagnostic for this experiment. Its relevance is the size of the opportunity suggested by easier access to role information. It describes an assisted classification problem on the development set, with a different information supply from the ordinary setting. The test results for the reversal strategy show how the classifier performs when it has to choose the orientation itself.
These evaluations separate the effects of knowing the roles while learning and being given the roles for a new instance. The comparison between the first two conditions addresses training. The comparison between the latter two conditions addresses the help available when the correct orientation is supplied at evaluation. Reversal training responds to the gap revealed by those conditions. It gives the learner examples targeted at the role decision, and the test rule requires that decision to be made from the two readings.
What the grammatical labels contribute
The plain depCNN and depLCNN configurations compare paths with traversal directions against paths with both directions and grammatical labels. On the test set, the former yields 81.3 F1 and the latter 81.9. The comparison retains the path-based approach and the conventional directional class inventory. This makes it a more focused comparison of the information carried by the labels than a comparison between an entire sentence-based classifier and the final proposed system.
Traversal direction gives the network one kind of structural information. It describes how the path moves relative to the orientation of a dependency edge. A grammatical label gives another kind. It tells the network what sort of connection that traversal represents. Windows can then distinguish stretches of path whose arrows have similar patterns but whose grammatical connections differ. The reported increase supports using the labels in this representation. The paper supplies an aggregate score for the change, so the comparison speaks to their usefulness across the benchmark.
Comparisons with earlier systems broaden the question. The plain labeled and unlabeled path variants both score above the plain recursive matrix–vector and conventional convolutional entries. That pattern fits the authors’ view that the selected dependency route can make useful structures available to a learner. Those comparisons change architecture or input choices together, so the closer path-versus-path comparison is the better guide to the incremental contribution of grammatical labels.
Whether the training effect survives lexical augmentation
The authors compare the labeled path classifier with and without the reversal strategy under both lexical feature settings. With path features alone, the test score moves from 81.9 to 84.0. With WordNet hypernyms and surrounding words added to each setup, it moves from 83.7 to 85.6. The advantage thus appears whether the final classifier works from the network’s path representation alone or receives additional lexical evidence.
These comparisons address the possibility that nearby words or broad lexical categories would supply enough evidence to make the directional training unnecessary. Their addition improves the score in the settings shown, and the better result in each pair still comes from the reversal strategy. The training examples and the lexical additions intervene at different points. The former change which readings receive which labels. The latter give the final classifier additional cues when it interprets a path. The reported settings show that the two changes can be used together.
The comparison with the conventional system also includes the way predictions represent direction. The reversal-trained configuration labels a reading and resolves the pair by comparing both predictions. The conventional version gives the different orientations distinct classes. The corresponding changes in training and prediction are part of the system the authors evaluate. The test scores describe the performance of that combined strategy under each feature setting.
Why the origin of a negative example matters
The negative-source comparison offers some support for the authors’ account of why reversal helps. Random NYT negatives improve on the development setting without added examples. That result is consistent with the paper’s suggestion that extra negatives can sharpen the distinction between a named relation and the residual category. Reversed negatives then improve on the random setting. They come from the same sentences that supplied the positives and preserve evidence that might otherwise encourage the named prediction.
The singer example shows the difference between the kinds of decision a negative can teach. An unrelated pair can help show what text without a relevant relation looks like. A reversed singer–commotion path teaches the classifier about a pair that does stand in a causal relationship, but whose proposed ordering puts the cause and effect in the wrong places. The lexical material has been held in the example, while the reading encodes a different assignment. A learner that keys heavily on the presence of a causal predicate has to handle that distinction to fit both targets.
The development scores compare actual sampling procedures, with differences in the origin and number of examples as well as in the way the negatives are selected. They give the strongest direct evidence that the reverse-path procedure was preferable in this experiment. An interpretation in terms of learning argument roles is also consistent with the pilot results, where correct role information raised the score, and the test results, where reversal training helped in both feature settings. Each comparison supports a different part of the account.
Limitations
Limits the authors identify
The shortest-path hypothesis is an assumption about where the useful evidence lies. The authors motivate it with cases where the marked nominals share a predicate and cases where a path links several predicates through shared arguments. The examples show how much information such a route can retain. The assumption also determines what the classifier can see. Material left on a branch away from the route will be absent from the path representation, regardless of whether it changes a reader’s interpretation of the relation.
The authors explicitly acknowledge that a pair of nominals can participate in more than one relation. A single dependency path can therefore be compatible with multiple labels. Their classifier makes a distribution over the available outcomes, and the evaluation procedure returns a selected relation and orientation for a pair. The possibility of multiple valid labels is especially relevant to the construction of negatives, which uses the annotated relation to decide which reading to reward and which reading to assign to Other.
They also acknowledge that more complex architectures could handle subject and object assignments. Their contribution is to show what a straightforward training construction can do in the evaluated setting. The proposed use of reversed negatives beyond relation extraction is presented as future work. The evidence in the paper concerns the specified SemEval task, with a development comparison that uses NYT as a source of negative training examples.
Limits of the representation and supervision
The classifier’s input depends on the dependency tree. If the structure gives an incorrect connection near a marked nominal, the path can change before the first learned layer sees it. A different route can remove a relevant word, insert an irrelevant one, or change the labels and directions presented to the classifier. The reported scores measure the method with its syntactic input in place. They leave open how sensitive the gains are to the quality of that input and which parser errors matter most.
Even a path that reflects the intended grammatical dependencies can provide a partial account of the sentence. The method keeps a specific relation between two endpoints. A phrase attached elsewhere may qualify a predicate or help disambiguate what an endpoint refers to. The lexical additions give the classifier access to some context around the nominals, but the experiments leave open how much useful information lies off the path and which kinds of relation depend on it. The same selection that removes the singer’s relative clause creates this question in less clear-cut cases.
Pooling makes a further selection. It records the strongest occurrence of each learned feature, and the window transformations determine how much local order each occurrence represents. A longer pattern whose significance depends on the order of several distant windows can be harder to recover from those maxima. The examples motivate the presence of multiple predicates on a path, but the reported scores offer no breakdown of performance by path length or by how many predicate–argument structures a reading crosses. The results establish aggregate performance for a fixed representation of paths of varying lengths.
The reversed-negative technique treats an opposite assignment as Other on the strength of the annotated orientation. That works as a training signal when exchanging the roles invalidates the named reading, as with the paper’s causal example. If both readings have a plausible interpretation, or if another named relation holds for the reversed pair, the construction can yield an ambiguous target. The paper’s acknowledgment that multiple relations may be available makes this a concrete limit of the supervision. The benchmark comparison shows the net effect of the rule across the evaluated examples.
There is also a difference between the confidence comparison used in prediction and an evaluation of confidence itself. The system compares outputs from two readings to choose a label, but the reported measure evaluates the resulting classifications. Questions about how comparable the two confidence scores are across relation types, or how frequently both readings produce plausible named predictions, would require a more detailed account of the outcomes. The aggregate F1 numbers establish how the decision rule performs on the benchmark.
Limits of the comparisons
The test table combines systems with different architectures, syntactic representations, and supplementary features. Its rankings show the performance reported for those configurations on a common benchmark. They offer a weaker basis for assigning the entire difference between two systems to any single choice. The path-label comparison and the paired lexical settings narrow the question, while the change to reversal training still includes both the constructed supervision and the way directional predictions are selected.
The negative-source experiment also compares samples that differ in source and quantity. Its result favors reversing labeled paths over the tested random NYT sampling procedure. Separate questions remain about the effects of sample count, source corpus, and whether a negative shares lexical material with a positive. A comparison in which these factors were held fixed would address those questions more directly. The paper’s experiment measures the result of changing the full sampling procedure available to the classifier.
The test scores are reported as aggregate F1 values, and the pilot and sample-source analyses are reported on development data. The numerical ordering is clear for the settings in the paper. Variation across repeated runs, uncertainty around reported scores, and the distribution of errors across relation types remain open. Similarly, the number from the sighted evaluation describes the benefit of supplying the correct assignment in that particular setup. Ordinary use still requires predicting the orientation of the marked pair.
Finally, SemEval supplies the mentions in each sentence. The results describe what happens once a pair has been designated. The difficulty of finding mentions, considering competing pairs, and connecting information across multiple sentences falls outside this evaluation. NYT contributes extra training examples in a development comparison, so that experiment addresses the source of negatives for SemEval. Questions about transferring the directional procedure to another extraction setting remain distinct from the reported benchmark result.
What came after
Changing the scope of the extraction task
One line of citing work moves from a designated nominal pair to end-to-end extraction. Miwa and colleagues’ work uses LSTMs, a type of recurrent network, on sequences and tree structures for end-to-end relation extraction. The connection is the use of linguistic structure alongside ordered text as evidence about relations. The change in task scope is equally important. The SemEval experiment begins after the relevant mentions have been supplied, while an end-to-end formulation takes on the larger extraction problem. End-to-End Relation Extraction
Zheng and colleagues approach the wider task by formulating the joint extraction of entities and relations through a tagging scheme. Tagging associates predictions with units in the input sequence. The point of contact with the 2015 paper is the need to express both the relation and the participants attached to it. The earlier classifier uses a path orientation to attach roles to given mentions. The tagging work moves the entity and relation decisions into a joint formulation. Joint Extraction of Entities and Relations
Zeng and colleagues give end-to-end extraction a copy mechanism for producing relational facts. Their work changes the output problem from selecting a category for a designated pair to extracting facts from text through a system that can copy material for its output. This is another way the citing literature takes up the association between participants and a relation. The earlier paper supplies a focused study of that association when the endpoints are already known. Extracting Relational Facts with Copying
Revisiting the choice of structural evidence
Wang and colleagues retain relation classification and convolution while introducing attention at multiple levels. Attention gives a network a way to weight evidence within its input. The 2015 paper handles evidence selection by taking a shortest path and pooling strong local responses. The citing work’s stated emphasis places attention inside a convolutional approach to the same classification problem, extending the question of how to decide which evidence should influence the relation prediction. Relation Classification with Multi-Level Attention
Zhang and colleagues apply graph convolution to pruned dependency trees. Their topic is especially close to the choice that motivates the shortest-path input. Both approaches use grammatical structure to restrict the text available for relation extraction. The earlier paper linearizes a connecting route and applies convolution to successive windows. The later work describes a convolution over a pruned tree, so the structural representation entering the convolution is a graph. The continuity lies in selecting useful syntactic evidence before or during its processing. Graph Convolution over Pruned Dependencies
Guo and colleagues use attention-guided graph convolution for relation extraction. This connects the emphasis on graphical structure with a learned signal about which connections to emphasize. In the 2015 classifier, the dependency route is fixed for the two mentions before feature learning begins. The later work’s stated approach puts attention into the processing of graph evidence. The shared problem is how to give a relation predictor access to relevant connections amid a larger collection of possible cues. Attention-Guided Graph Convolution
Extending evidence beyond one sentence
Peng and colleagues study cross-sentence relation extraction with graph LSTMs and consider relations among multiple arguments. The setting changes both the span of the evidence and the form of the relation. A shortest route in a single sentence provides a convenient input for a pair of marked nominals. A cross-sentence relation among several arguments calls for a representation with wider reach. The later work’s use of graph recurrence places that broader evidence in an explicitly structured input. Cross-Sentence Relation Extraction with Graph LSTMs
Nan and colleagues consider document-level relation extraction through latent structure refinement. A latent structure is one that the system infers as part of its processing. The 2015 method gets its initial structure from a dependency analysis of the sentence and works from a designated route through it. The document-level work addresses how to reason over a wider context and refine an inferred structure there. Both approaches put the organization of evidence at the center of extraction, at different textual scales. Latent Structure Refinement for Document-Level Extraction
Using relation evidence under different supervision
Xu and colleagues use relation extraction and textual evidence for question answering on Freebase. Their work places a relation decision in service of answering a question using a structured knowledge source. The 2015 paper isolates the classification decision for a marked pair in a sentence. The citing work gives that family of decisions a downstream purpose, where evidence from text helps connect a question to a relation relevant to finding its answer. Question Answering on Freebase
Qin and colleagues study robustness in distantly supervised relation extraction using deep reinforcement learning. Distant supervision derives training labels indirectly, which puts the quality of those labels at the center of the learning problem. This line of work connects to the earlier paper through the design and use of supervision. The SemEval method constructs an extra target by reversing an annotated relation. The later work addresses robustness in a setting where supervision itself is obtained differently. Robust Distant Supervision for Relation Extraction
Alt and colleagues apply fine-tuning of pretrained Transformers to distantly supervised relation extraction. Their approach brings a pretrained representation to a task with indirectly supplied labels and adapts it to that task. The 2015 classifier combines pretrained word vectors with a dedicated path encoder, and puts much of its emphasis on designing examples about relation direction. The later work takes representation learning and distant supervision as its stated focus. Fine-Tuning Transformers for Distantly Supervised Extraction
The citation links establish that these works engage with the earlier paper. Their stated methods show several directions that engagement takes, including broader extraction tasks, different ways of processing grammatical structure, and different sources of supervision. The particular reuse of reversed-path negatives is unspecified in these accounts. The connection that can be traced across them is the problem the 2015 paper makes explicit. A relation prediction depends on what evidence the system receives, how that evidence links the participants, and how training teaches the system to assign their roles.
Cite
Cite as Kun Xu, Yansong Feng, Songfang Huang and Dongyan Zhao. 2015. Semantic Relation Classification via Convolutional Neural Networks with Simple Negative Sampling. Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing.
@inproceedings{xu2015semantic,
title = {{Semantic Relation Classification via Convolutional Neural Networks with Simple Negative Sampling}},
author = {Kun Xu, Yansong Feng, Songfang Huang and Dongyan Zhao},
booktitle = {Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing},
year = {2015},
doi = {10.18653/v1/d15-1062},
url = {https://doi.org/10.18653/v1/d15-1062}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/xu-2015-semantic-relation-classification-convolutional-neural/