Global Normalization of Convolutional Neural Networks for Joint Entity and Relation Classification
Paper · 2017 · Heike Adel and Hinrich Schütze
Summary
Identifying an entity and identifying its relationship to another entity are connected decisions. A name may refer to a person, an organization, or a place; a relation involving that name can help resolve the ambiguity. Conversely, knowing the types of the participants can make some relations more plausible than others. Heike Adel and Hinrich Schütze investigate how to make these decisions together, instead of treating entity classification and relation extraction as independent predictions. Their contribution is a convolutional network whose output layer scores a complete combination of entity types and relation labels.
The paper concerns information extraction: recovering structured information from sentences. Its input is a sentence together with a candidate pair of entities, which may be words or short phrases. The system predicts the type of the first candidate, the relation between the candidates, and the type of the second candidate. This differs from ordinary named entity recognition, where a system labels the words of a sentence to identify entity mentions. Here, the central problem is classification of supplied candidates, although the experiments also examine a more demanding setting that does not supply multiword entity boundaries.
The architecture combines convolutional representations of entities and their surrounding text with a conditional random field, or CRF. A CRF assigns scores to connected label decisions and normalizes those scores jointly. The authors arrange the outputs as a short chain: first entity type, relation, second entity type. Learned transition scores express compatibility between neighboring labels. A relation can therefore influence which entity types receive the strongest joint score, while the entity types can influence the relation. The system still makes a prediction for each candidate pair separately; it does not jointly normalize every entity and relation in a sentence-wide table.
On the entity and relation recognition benchmark, the CRF output layer produces a higher combined entity-and-relation score than separate softmax outputs in every experimental setup. Relation macro F1 is 65.25 with the CRF against 62.76 with softmax when candidate pairs contain named entities. In table filling with supplied entity boundaries, the corresponding scores are 62.10 and 58.86. Without those boundaries, they are 62.51 and 58.15. Improvements are not uniform across classes, and entity classification changes much less than relation extraction in the harder settings. The strongest conclusion is therefore specific: learning compatibility among the outputs improves this architecture’s joint classification results on this benchmark. Broader dataset validation and joint normalization over an entire table remain future work.
Interesting ideas
Connect decisions through the structure of the task. The output sequence need not imitate the order of words in the input. The authors build a chain from the decisions that depend on one another: an entity type, a relation, and another entity type. This is useful whenever the natural structure of the answer differs from the surface structure of the evidence. A system that assigns document categories, semantic roles, or linked record attributes can often benefit from representing relationships among its outputs directly.
Distinguish shared features from a shared decision. Sharing an encoder does not ensure that the final predictions are mutually informed. Separate classifiers can use related representations while still select their answers independently. The paper adds an explicit compatibility mechanism at the output. The reusable lesson is to inspect where interaction actually happens: in the input representation, in shared parameters, in the training objective, or during final selection. These mechanisms address different weaknesses.
Match representation machinery to the material. Entities tend to occupy shorter spans than their surrounding contexts. The architecture therefore gives entities and contexts separate convolutional machinery, allowing them to use different filter widths. This is a practical design principle beyond neural extraction: do not assume that a name, a sentence, and a document require identical processing simply because all are text. Their useful evidence can exist at different scales.
Evaluate the candidate universe, not just the classifier. Restricting the input to named-entity pairs makes the task different from filling a table that also contains ordinary words. It changes both the available clues and the prevalence of examples with no relation. The paper makes these conditions explicit rather than presenting all scores as interchangeable. Search, matching, semantic analysis, and error correction have the same issue: candidate generation can simplify the decision before the measured classifier begins.
Measure agreement before trusting aggregation. The system predicts an entity’s type repeatedly as that entity appears in different pairs, then uses majority voting. The authors examine whether these repeated predictions actually conflict. This turns a convenient engineering choice into a testable assumption. Whenever overlapping windows, multiple queries, or several specialists produce judgments about the same object, the disagreement itself should be measured rather than hidden by the final vote.
Inspect what a compatibility layer learned. A higher score alone does not establish that a joint mechanism captures the intended dependencies. The paper also examines strongly scored transitions between entity types and relations. Such inspection cannot replace evaluation, but it can distinguish a plausible mechanism from an unexplained numerical gain. The same approach applies to statistical rule weights, routing preferences, and learned associations in transparent systems.
Deep dive: Global Normalization of Convolutional Neural Networks for Joint Entity and Relation Classification
How global normalization connects entity types and relations in a convolutional network, with its method, results, and practical limits. · about 35 minutes to read
How Mova uses it
Mova’s architecture connects language structure, frames, world state, and explicit reasoning. Its documented core uses rules, learned parameters, and graph knowledge; the paper’s convolutional network and CRF are not documented as an implemented Mova component. The useful transfers are therefore largely proposals about structured decisions, candidate handling, and evaluation. The status marks below compare each proposal with the documented mechanisms. They do not establish that the paper caused an implementation, and an unlisted capability may still exist elsewhere.
Idea: Represent connected decisions explicitly. Where: Section 3.2, the output sequence and its dependency approximation. Area: semantic representation. Mova: частково є (prag frames, world state, and compiled global knowledge). Mova already connects participants, predicates, and consequences, but that does not establish a joint scoring procedure for alternative interpretations. A proposed extension would retain several candidate role assignments and compare their compatibility before committing to a frame. Why Mova: this could let evidence about an action clarify its participants while preserving an explanation of the choice.
Idea: Separate shared evidence from joint selection. Where: Introduction and Section 3.2. Area: architecture. Mova: частково є (the en → prag → world pipeline). Passing the same parse into several readers gives them shared evidence, but does not guarantee that their conclusions agree. Mova could document whether each interaction shares features, exchanges observations, or jointly chooses an interpretation. Why Mova: the distinction would identify where an upstream error becomes irreversible and where a later observation could still correct it.
Idea: Use a small structured output instead of labeling everything again. Where: Section 3.2 and Figure 2. Area: math and semantic classification. Mova: нове, proposed against the documented scope; a corresponding joint output scorer is not established. A bounded experiment could connect only the uncertain participant type, candidate predicate interpretation, and other participant type. It need not reproduce the neural encoder. Why Mova: a compact compatibility calculation fits the preference for explicit logic and statistics while avoiding an unnecessarily large inference problem.
Idea: Treat the ordering of decisions as a hypothesis. Where: Section 3.2, the entity–relation–entity factorization. Area: math. Mova: частково є (typed frames and graph links). The paper assumes that relation–entity dependencies are more useful here than a direct connection between entity types. Mova could similarly state which dependencies a local interpretation check includes and which it omits. Why Mova: making the dependency assumption visible would prevent a convenient implementation graph from being mistaken for a complete account of meaning.
Idea: Keep local joint reasoning distinct from document-wide consistency. Where: Section 4.2 and Conclusion and Future Work. Area: architecture and reasoning. Mova: частково є (explicitly bounded recursive calls and world-level state). A pairwise compatibility check could improve a local frame without establishing consistency across every event or entity in a document. Its receipt should state that scope. Why Mova: Mova’s evidence boundaries would remain clear when several individually admitted interpretations interact.
Idea: Match processing to span size. Where: Section 3.1, entity and context convolutions. Area: data representation. Mova: частково є (separate lexical, morphological, syntactic, and frame mechanisms). The transferable principle is to give short names and larger contexts different evidence procedures. A dictionary candidate might use its internal form for one purpose and its dependency environment for another. Why Mova: this could preserve useful distinctions that disappear when every textual unit receives the same treatment.
Idea: Preserve both the candidate and its surrounding evidence. Where: Section 3.1 and Figure 2. Area: lexical semantics. Mova: вже є (dictindex stores occurrence text, token positions, dependency frames, and provenance). The paper reinforces the value of keeping evidence from the entity span separate from evidence around it. Mova could test which contextual fields help reviewers distinguish senses, without treating statistical co-occurrence as a definition. Why Mova: dictionary decisions need inspectable examples as well as candidate labels.
Idea: Do not reduce a relation to the text between its arguments. Where: Section 3.1, the relation input split. Area: syntax and semantic interpretation. Mova: частково є (dependency-based frames and dictindex occurrence frames). The paper represents context around both candidates, including material outside their intervening span. Mova could use this as an evaluation question: does a relation reader retain relevant evidence beyond the nearest linear interval? Why Mova: dependency structure can connect evidence that a simple substring would discard.
Idea: Learn compatibility without confusing it with a hard rule. Where: Section 3.2 and Section 4.5. Area: statistics and reasoning. Mova: частково є (learned feature weights alongside compiled rules and graph knowledge). A frequent association between a participant type and a relation should influence preference without automatically becoming a universal exclusion. Why Mova: explicit separation between defeasible evidence and mandatory constraints would support both transparent explanations and unusual but valid cases.
Idea: Compare complete alternatives rather than isolated winners. Where: Section 3.2, sequence scoring and Viterbi decoding. Area: search. Mova: частково є (the maths student’s top-K judge and bounded alternative exploration). A semantic reader could preserve several local possibilities and select a compatible combination using a declared score. Why Mova: a locally weaker interpretation may become preferable when the rest of the event supplies supporting evidence; this remains an unverified transfer.
Idea: Make absence an explicit output category. Where: Section 4.1 and Appendix A. Area: data and evaluation. Mova: частково є (reported gaps, unsupported-task failures, and explicit missing-context outcomes). The paper’s no-relation label represents a valid negative classification. Mova should keep such an outcome distinct from insufficient evidence, an unknown concept, or an execution failure. Why Mova: these states require different next steps, even when none produces a positive relation.
Idea: Evaluate realistic negative candidates. Where: Section 4.2, comparison of the experimental setups. Area: evaluation. Mova: частково є (negative controls and held-out checks). A frame or dictionary experiment should include plausible-looking candidates that ultimately have no supported interpretation, rather than testing only preselected positives. Why Mova: this would measure whether the system can reject unsupported connections as well as recognize known ones.
Idea: Record negative sampling as part of the experiment. Where: Section 4.2 and Appendix A. Area: data and statistics. Mova: частково є (source-bound runs, retained configuration, and measurement records). If an experiment subsamples common negative cases, it should record the sampling procedure and distinguish the resulting training distribution from evaluation. Why Mova: otherwise a gain may reflect a changed candidate mix rather than a better interpretation mechanism.
Idea: Separate boundary recognition from classification. Where: Sections 4.2 and 4.3. Area: evaluation and tokenization. Mova: частково є (tokenization, parsing, and separate lexical and frame stages). A reader can classify a supplied phrase correctly while failing to find that phrase in ordinary text. Mova could report performance with trusted spans separately from performance using its own segmentation. Why Mova: this would locate whether errors arise in finding the unit or understanding it.
Idea: Audit the rule for scoring multiword objects. Where: Section 4.2, the boundary-free setup. Area: evaluation. Mova: нове, proposed against the documented scope; this particular scoring audit is not established. The paper counts a multiword entity as correct when a constituent cell receives the required class. Mova should state whether an evaluation rewards a correct token, a complete phrase, or a correctly linked entity. Why Mova: these criteria establish different capabilities and should not share an unexplained headline score.
Idea: Measure repeated judgments before voting. Where: Section 4.4. Area: statistics. Mova: частково є (treeagree voting, dictindex aggregation, and mouse observation deduplication). Mova could measure how frequently the same item receives conflicting labels across contexts or specialists before combining them. Why Mova: a stable vote and a disputed vote may produce the same final label while requiring very different review effort.
Idea: Retain the distribution behind an aggregate. Where: Sections 4.2 and 4.4. Area: interpretability. Mova: частково є (treeagree keeps voting evidence and rejected edits). A majority label should remain connected to its supporting and dissenting observations. Mova could apply this consistently to repeated frame or dictionary decisions. Why Mova: reviewers could inspect whether disagreement follows a particular source, syntactic construction, or candidate pairing.
Idea: Inspect learned associations directly. Where: Section 4.5 and Figure 4. Area: interpretability. Mova: вже є (rules expose evidence, and dictindex reports counts and explained selectors). A new compatibility scorer should likewise expose its strongest associations for review. Why Mova: plausible-looking weights would not prove correctness, but implausible ones could reveal data imbalance, representation mistakes, or an unintended shortcut before wider use.
Idea: Evaluate the output mechanism against a simpler alternative. Where: Section 4.3 and Table 1. Area: experimental design. Mova: частково є (rule audits, feature controls, and regression gates). A proposed structured selector should be compared with independent selection while keeping the underlying observations as similar as practical. Why Mova: this would test whether compatibility reasoning contributes value beyond the representations already available.
Idea: Distinguish architectural comparison from a fully fixed ablation. Where: Appendix B and Table 4. Area: evaluation. Mova: частково є (configuration-bound experiments and held-out tuning). The paper tunes some capacities separately for its output alternatives. Mova should record such changes and, where the question demands it, also compare settings with fixed capacity. Why Mova: the resulting claim would match the experiment, rather than attributing every change to a single component.
Idea: Report individual categories alongside aggregate scores. Where: Section 4.3 and Table 1. Area: evaluation and statistics. Mova: вже є (detailed rule audits, controls, and traced school decisions). An improved average can coexist with a weakened relation class. Mova should preserve category-level results when adding a compatibility mechanism. Why Mova: a broadly helpful change may still damage a task family that matters operationally.
Idea: State the composition of every combined metric. Where: Section 4.1, Table 1, and the notes accompanying Table 2. Area: evaluation. Mova: частково є (explicit assessment reports and reproducible benchmark commands). The paper uses different entity-class conventions in its internal comparison and its comparison with earlier systems. Mova should identify included classes whenever it reports a combined measure. Why Mova: readers need to know what an apparent improvement actually averages.
Idea: Compare systems under aligned conditions. Where: Section 4.3, comparison with earlier systems. Area: evaluation. Mova: вже є (source-bound measurements and requirements to compare the same questions). The paper warns against interpreting results from different setups and splits as a clean ranking. Mova can retain that rule when comparing parser repairs, readers, or dictionary procedures. Why Mova: a number becomes informative only when the task and evidence conditions are identifiable.
Idea: Begin with a minimal evidence baseline. Where: Related Work and Section 4.3. Area: engineering and evaluation. Mova: частково є (deterministic core mechanisms and bounded capability tests). The authors deliberately evaluate a system whose external input features are word embeddings rather than a large collection of linguistic features. Mova’s corresponding baseline could use native structural observations before adding richer sources. Why Mova: a simple baseline makes the contribution and maintenance cost of each additional evidence channel easier to assess.
Idea: Tune and stop on development evidence. Where: Section 4.1 and Appendix B. Area: statistics and training. Mova: вже є (held-out experiments, gated self-improvement, and separate assessment data). The paper uses development performance for parameter selection, learning-rate adjustment, and stopping. Mova’s non-neural parameter searches can follow the same separation. Why Mova: repeatedly adapting to assessment answers would undermine the meaning of the reported result.
Idea: Preserve dataset version identity. Where: Appendix A. Area: data provenance. Mova: вже є (immutable source versions, fingerprints, and separately named index epochs). The authors note that the corpus had changed relative to earlier published counts. Mova’s source identity should similarly include the actual version used, rather than only a familiar dataset name. Why Mova: apparent disagreements between experiments can originate in changed examples rather than changed algorithms.
Idea: Keep interaction evidence separate from admitted knowledge. Where: Section 4.5, interpreted through Mova’s admission boundaries. Area: knowledge management. Mova: вже є (reviewed dictionary admission, staged teaching material, and provenance-bearing graph knowledge). A learned compatibility between a relation and an entity type is evidence about the training data, not automatically a world fact or dictionary definition. Why Mova: this preserves the distinction between a useful statistical preference and knowledge approved for durable use.
These proposals borrow the paper’s experimental questions and structural reasoning. They do not establish that a CRF would improve Mova, that neural representations are required for the transfer, or that any particular compatibility rule is already justified.
The problem and its context
Entity classification asks what kind of thing a mention denotes. Relation extraction asks how a pair of mentions is connected. The paper treats both as parts of a larger interpretation problem. A sentence is not merely a collection of names followed by a separate collection of relations; the relation can help explain the names, and the names can help explain the relation.
The authors illustrate this with “Mercedes.” Its form alone does not force a single entity type. It might denote a person, an organization, or a location. If the sentence uses it as the place argument of a residence relation, that relational role provides evidence for a location interpretation. A pipeline that fixes the entity type before considering the relation cannot readily use this evidence to reconsider its earlier choice.
The reverse direction matters as well. Once the participants’ types are known, the range of plausible relations becomes narrower. A system should not have to rediscover every compatibility from the sentence independently for every output. Connecting the classifications allows evidence about one decision to influence another.
The motivation is practical question answering and knowledge-base construction. A question about where someone lives requires both identifying the relevant participant and recognizing the relation to a place. A knowledge base likewise needs typed objects connected by meaningful relations. Mistakes in either component can spoil the extracted structure.
What earlier approaches contributed
The paper describes independent systems and pipelines as common approaches. In a pipeline, a named-entity tool first identifies or classifies mentions, after which another component predicts relations between selected pairs. This division is convenient, but it gives the tasks an order that does not reflect their mutual dependence.
Earlier joint approaches already recognized that dependence. Roth and Yih’s global-inference formulation uses constraints and linear programming to connect decisions. Its relevance is the principle that independently plausible predictions should also be evaluated for their compatibility. Adel and Schütze pursue a related goal through a learned neural output layer.
The paper also describes task-specific support vector machines combined through a card-pyramid parsing procedure in Kate and Mooney’s work. That approach again separates some predictive machinery while bringing the decisions together through a joint procedure. The new paper’s distinction is that its entity and relation outputs participate in the training objective of a single network.
Another line uses a table to represent the extraction problem. In Miwa and Sasaki’s table representation, entity labels occupy diagonal cells and relation labels occupy other cells. The paper describes that system as using both local and global scores. Gupta and colleagues subsequently use recurrent networks to fill such a table with multitask training.
These predecessors matter because the contribution is narrower than inventing joint extraction. The authors propose a particular way to combine convolutional representations with globally normalized output decisions. Their comparison asks whether this combination improves on independent softmax outputs using the same broad architecture.
Why a CRF was a useful starting point
Conditional random fields had already been used in extraction and labeling. The related-work discussion includes several non-neural CRF variants, often organized around labels assigned to input tokens. A token-labeling CRF naturally connects neighboring word labels, which can help a sentence receive a coherent annotation.
Neural output layers provided another precedent. The authors cite Collobert and colleagues, Lample and colleagues, and Andor and colleagues in discussing earlier neural labeling and global-normalization work. Their own output task is different: the convolutional network produces representations for spans and contexts, rather than a separate classification problem at every input token.
The paper therefore changes what constitutes the CRF sequence. Instead of following the sentence word by word, it follows the semantic decisions associated with a candidate pair. The relation sits between the entity types because it is expected to connect strongly to both.
The authors also discuss a CNN–CRF combination used for semantic slot filling. That precedent shows that convolutional representations and structured outputs can work together, but the prediction unit remains different. Adel and Schütze emphasize sentence-based classification of a supplied pair, with a short output structure designed specifically for the coupled tasks.
This distinction makes the contribution understandable without accepting a broad novelty claim about every component. Convolution, pretrained embeddings, and CRFs are existing ingredients. The proposed contribution is their arrangement around an entity–relation–entity decision sequence, together with experiments testing global against local normalization.
The method, step by step
The method begins with a sentence and a query pair. A query entity is a candidate word or phrase whose type must be classified. The pair also defines the relation question: what, if anything, connects these candidates in this sentence?
The system does not receive a natural-language question. The query is a structural choice of candidate spans. Different pairs from the same sentence become different inputs, even though much of the surrounding text is shared.
From a candidate pair to joint labels
The steps in order.
Representing the words
Every input token receives a vector representation. The paper uses word embeddings trained on Wikipedia with word2vec. These vectors supply the network’s lexical input.
The important experimental restriction is that the system does not add the collection of linguistic features used by some comparison systems. Its claim of using only embeddings concerns input features. It still has an architecture that distinguishes entity regions from contexts and an output layer that learns dependencies among labels.
For classifying an individual candidate, the sentence is divided conceptually into the candidate itself, the text before it, and the text after it. This lets the representation preserve a distinction between the words naming the candidate and the words that describe its role.
For relation classification, the architecture includes those regions around each candidate. It therefore retains the first entity, its left and right contexts, and the equivalent regions for the second entity. These regions can overlap. They are views centered on the candidates rather than a partition into mutually exclusive sentence fragments.
In the example involving Anderson and “chief,” the first candidate is a person name near the start of the sentence, while the second is an ordinary word inside a descriptive phrase. The context for one candidate can contain the other candidate. This is intentional: the relation representation needs evidence about how both occur within the sentence.
Convolution over entities and contexts
A convolutional layer applies learned filters to local sequences of embedding vectors. Different filters can respond to different patterns. The resulting activations are then reduced through k-max pooling, which keeps strong filter responses for the region.
The paper uses separate convolutional machinery for entity spans and surrounding contexts. Entities are typically shorter, so the authors allow a smaller filter width for them. Across the reported systems, the context filter width is 3 and the entity filter width is 2.
This distinction is architectural, rather than a claim that every entity is linguistically simple. A short name and a long context impose different practical demands on a filter. Using separate parameters lets the network learn patterns appropriate to each without requiring the same local detector to serve both roles.
The authors also point out a possible future extension: the entity representation could be changed from words to characters more easily because it has its own processing path. That extension is not part of the reported experiments. It is a reason for the modular design, not evidence about character-based performance.
After convolution and pooling, the selected outputs are concatenated. Concatenation preserves the fact that different values came from different input regions. A hidden layer can then learn combinations spanning those regions.
Task-specific hidden representations
Entity classification and relation extraction receive task-specific hidden representations. In a readable notation, the hidden transformation is:
h_z = tanh(V_zᵀ c_z + b_z)
Here z identifies the task: EC for entity classification or RE for relation extraction. The vector c_z contains the concatenated pooled features used by that task. V_z is a learned weight matrix, b_z is a learned bias vector, and h_z is the resulting hidden representation. The tanh function supplies the nonlinear transformation.
The paper denotes the size of the concatenated representation by C_z and the hidden-layer size by H_z. The weight matrix connects these spaces. The superscript T means transpose: the matrix is oriented so that multiplication produces the desired hidden vector.
This layer is where patterns from different input regions can be combined. A feature detected in the candidate span may matter differently depending on a feature in the surrounding context. The hidden representation provides a learned basis for the final classification scores.
The distinction between task-specific hidden layers and a joint output layer is important. The former allows the tasks to encode different useful patterns. The latter connects the eventual labels. The network does not have to make entity classification and relation extraction identical internally to make their outputs interact.
Turning representations into label scores
Before the CRF can operate, each hidden representation must produce scores for possible labels:
v_z = W_zᵀ h_z
The vector v_z contains output scores for task z. W_z is the learned mapping from the hidden representation h_z to the output-label space. Unlike a softmax probability vector, these are scores that the CRF will combine with transition scores.
The paper defines the output-space size as follows:
N = N_EC + N_RE
N_EC is the number of entity-class labels, N_RE is the number of relation labels, and N is the combined label-space size used by the output construction. The key idea is that entity and relation decisions can be represented within a common structured scoring interface.
These scores alone do not yet express compatibility. They say how well a label fits the relevant input representation. Compatibility enters when the CRF scores neighboring decisions together.
Constructing the output chain
The CRF receives this ordered score sequence:
d = [v_EC(e₁), v_RE(r₁₂), v_EC(e₂)]
The symbols e₁ and e₂ identify the candidate entities. The symbol r₁₂ denotes the relation to be predicted between them. The first and last vectors score entity labels; the middle vector scores relation labels. The symbol d denotes the entire sequence of score vectors.
This is the method’s central construction. The CRF sequence is a sequence of classification decisions, not a sequence of input words. Its length is n = 3 regardless of the sentence length.
The proposed ordering reflects an assumption about dependencies:
P(T_e₁, R_e₁e₂, T_e₂) ≈ P(T_e₁) · P(R_e₁e₂ | T_e₁) · P(T_e₂ | R_e₁e₂)
T_e₁ and T_e₂ denote the entity types. R_e₁e₂ denotes the relation class. P denotes probability, and the vertical bar introduces a conditional probability. The approximation expresses the authors’ intuition that each entity type is strongly connected to the relation, while a direct dependency between the entity types is less central.
This expression explains the chosen chain structure. It should not be read as a claim that the two entities are unrelated in every other respect. The approximation leaves out a direct entity-to-entity connection so that a simple linear-chain CRF can model the selected interactions.
The sentence is also implicit in this notation. All of these classification scores arise from the sentence and candidate pair. The system is not assigning entity and relation probabilities without textual evidence.
Scoring a complete prediction
A candidate answer is a sequence y containing the proposed labels. The CRF adds the input-dependent label scores to learned transition scores:
s(y) = Σᵢ₌₀ⁿ Q[yᵢ, yᵢ₊₁] + Σᵢ₌₁ⁿ d[i, yᵢ]
The function s gives the total score of prediction sequence y. The value d[i, yᵢ] is the input-dependent score assigned to the selected label yᵢ at output position i. Q[k, l] is the learned transition score for placing label l after label k.
The chain includes beginning and ending tags. These allow the score to account for how a sequence starts and finishes as well as how its internal decisions connect. The transition sum includes those boundary connections, while the observation-score sum concerns the actual output positions.
The scores are additive because the CRF works in log space. A favorable transition can strengthen an otherwise uncertain combination; an unfavorable transition can weaken a combination whose individual labels look plausible in isolation.
These transition scores are learned preferences. The paper does not present them as an inventory of manually specified logical prohibitions. The difference matters: a low-scoring combination is disfavored by the learned scoring function, rather than necessarily excluded by an explicit rule.
Training with global normalization
Training compares the correct complete sequence with the alternatives. The intended normalized probability is:
p(ŷ) = exp(s(ŷ)) / Σỹ∈Y exp(s(ỹ))
The symbol ŷ denotes the correct label sequence. Y is the set of candidate label sequences considered by the CRF. The symbol ỹ ranges over that set, exp converts a score from log space, and p(ŷ) is the probability assigned to the correct complete prediction.
The paper describes optimizing the log-probability of the correct sequence. Equivalently, the logarithm of the normalized expression is:
log p(ŷ) = s(ŷ) − log Σỹ∈Y exp(s(ỹ))
Every symbol has the same meaning as in the preceding expression. The subtraction makes the training signal depend on both the correct score and the total competing score mass. The forward algorithm computes the normalization needed for this objective.
The paper’s displayed training equation places a log-probability label beside a normalized exponential ratio. The distinction above keeps the probability and its logarithm mathematically separate. The substantive training account is clear: the network is trained through a globally normalized CRF objective.
This is stronger coupling than merely adding a separate entity loss to a separate relation loss. A complete output combination competes against other combinations. The training process can therefore adjust both the input-based scores and the compatibility scores to favor the correct joint result.
Decoding at test time
At test time, the system chooses the highest-scoring complete sequence:
y* = arg maxỹ∈Y s(ỹ)
The symbol y* denotes the selected prediction. The arg max operation returns the candidate sequence with the greatest score. The Viterbi algorithm performs this search for the linear-chain structure.
Because every sequence shares the same normalizing denominator for a given input, maximizing the score also selects the most probable sequence under the CRF. Decoding does not need to normalize each entity decision independently and then reconcile the results afterwards.
Training procedure and parameter selection
The authors tune parameters using a held-out development portion of the training data. They use gradient descent with batch size 10 and an initial learning rate of 0.1. When development performance declines, they halve the learning rate.
Training uses development-based early stopping, with a maximum of 20 epochs. The regularization term is L2 with λ = 10⁻³. These choices constrain training and make the development split part of the experimental procedure instead of an additional test set.
The appendix reports separately selected architecture sizes. In setup 1, the softmax system uses 500 context filters and 100 entity filters, whereas the CRF system uses 200 and 50. Both use context and entity hidden sizes of 100 and 50 in that setup.
For setup 2, both output alternatives use 500 context filters and 100 entity filters. The context hidden size is 100 for softmax and 200 for the CRF; the entity hidden size is 50. In setup 3, both alternatives use 500 context filters, 100 entity filters, a context hidden size of 100, and an entity hidden size of 50.
These details qualify the phrase “same architecture.” The central comparison changes the output mechanism within the same general convolutional design, but the reported best settings do not keep every capacity parameter fixed. The authors also announce source-code availability, although the experimental account remains the basis for interpreting the reported results.
Experiments and results
The experiments use the entity and relation recognition dataset, abbreviated ERR, associated with Roth and Yih. The authors adopt the train–test division used by Gupta and colleagues and reserve part of training for development.
The entity inventory includes people, organizations, locations, and an Other category. Ordinary non-entity material receives O in the table-filling representation. Other and O are therefore different: one is an entity category, while the other indicates that the candidate is not being assigned a named-entity class.
The positive relation inventory covers location, employment, organizational location, residence, and killing. Candidate pairs without a labeled relation receive N. This negative relation label is central to the harder setups because most candidate pairs do not express one of the target relations.
The experimental conditions
Setup 1 restricts queries to pairs of named entities. This resembles the candidate conditions used by earlier pair-based systems. It also simplifies entity classification: the system already knows that each query member belongs to the named-entity candidate set.
Setup 2 uses table filling. A diagonal cell stores an entity classification, while another cell represents the relation between its row and column candidates. The table retains supplied entity boundaries, so a multiword entity is represented as a single unit rather than split across its words.
For a sentence representation containing m units, the table has the following number of predicted cells:
m(m + 1) / 2
Here m denotes the number of units along a table dimension. Only one triangular half together with the diagonal is predicted. This avoids treating both symmetric table positions as separate instances in the representation described by the paper.
Each non-diagonal query produces a relation prediction and entity predictions for its participants. As a result, an entity can receive a type prediction in many different pair queries. The final diagonal classification is obtained by majority vote over those repeated predictions.
Setup 3 removes the supplied multiword boundaries. Each token receives its own row and column. This is more realistic when entity spans are not already available, but it also changes the classification problem: the system cannot directly convolve the complete multiword entity as one candidate span.
The evaluation follows an earlier table-filling convention. A multiword entity receives credit if an appropriate constituent cell is classified correctly. That convention should be kept in mind when interpreting boundary-free entity results; it is not the same as demanding a perfectly recovered span.
Candidate prevalence and dataset counts
The difference between the setups is substantial even before learning begins. Appendix A records 3344 negative test pairs for setup 1 and 120,716 for setups 2 and 3. These counts describe different candidate universes, so scores should be compared within their stated conditions.
The positive relation test counts are also uneven. The test set contains 94 location-relation examples, 76 employment examples, 105 organizational-location examples, 100 residence examples, and 47 killing examples. The smaller categories make per-class inspection especially useful.
The training counts for positive relations are 243, 243, 239, 342, and 203 in the corresponding categories. Development contains 66, 82, 106, 79, and 18. These are dataset counts, not balanced quotas imposed by the method.
For entity categories, the test data contain 321 people, 198 organizations, 427 locations, and 125 Other instances. The O count is 6313. The categories differ in both frequency and role, so a single aggregate cannot fully describe the output behavior.
The authors subsample negative examples during training for the table-filling settings. The appendix states that the development negatives are sub-sampled as well. This helps manage the predominance of N, but the test results still concern the much larger negative candidate population specified for evaluation.
Metrics and the main output-layer comparison
The paper reports F1 for individual classes, task-wise macro F1, and an average across the entity and relation tasks. Macro averaging gives each included class a place in the task score rather than allowing the most frequent category to dominate by example count.
The cleanest headline comparison is between CRF and softmax within the same setup. The softmax alternative uses separate output normalization for entity classification and relation extraction. The CRF alternative connects the outputs.
ERR relation macro F1 across candidate setups
The CRF has the higher relation macro F1 within every setup.
The numbers
| System or setting | F1 |
|---|---|
| Setup 1, softmax | 62.76 |
| Setup 1, CRF (this paper) | 65.25 |
| Setup 2, softmax | 58.86 |
| Setup 2, CRF | 62.10 |
| Setup 3, softmax | 58.15 |
| Setup 3, CRF | 62.51 |
Entity macro F1 behaves differently. In setup 1, softmax scores 91.95 and the CRF scores 91.42. The combined entity-and-relation score nonetheless favors the CRF: 78.33 against 77.36.
In setup 2, entity macro F1 is 84.35 for softmax and 84.65 for the CRF. The corresponding combined scores are 71.61 and 73.38. The relation improvement is therefore accompanied by a small favorable change in the entity aggregate.
In setup 3, the entity results are 76.85 for softmax and 76.88 for the CRF. Their combined scores are 67.50 and 69.69. The structured output’s main contribution in this condition lies in relation extraction instead of a substantial change in entity classification.
These findings support joint output normalization, but they do not mean every component improves. Setup 1 already provides strong information about candidate identity, and the entity aggregate there favors softmax. The conclusion rests on the complete pattern, especially the relation results and the combined metric.
Category-level behavior
The hardest setup makes the nonuniformity especially clear. Some relation categories benefit, while others favor the independent output alternative.
ERR setup 3 relation-class F1 without supplied entity boundaries
Global normalization helps several relation classes but does not improve every class.
The numbers
| System or setting | F1 |
|---|---|
| Located in, softmax | 44.96 |
| Located in, CRF (this paper) | 52.29 |
| Work for, softmax | 52.63 |
| Work for, CRF | 65.31 |
| OrgBased in, softmax | 46.15 |
| OrgBased in, CRF | 57.65 |
| Live in, softmax | 64.09 |
| Live in, CRF | 61.45 |
| Kill, softmax | 82.93 |
| Kill, CRF | 75.86 |
Setup 2 also contains a mixed pattern. The residence relation scores 64.29 with softmax and 60.12 with the CRF, although the overall relation macro F1 favors the CRF. The employment category moves in the opposite direction, from 52.89 with softmax to 61.42 with the CRF.
Entity classes show their own variation. In setup 3, people score 91.46 with softmax and 92.21 with the CRF, while Other scores 62.67 and 61.19. These results are consistent with a useful overall structured decision mechanism that still redistributes errors among categories.
The distinction matters for deployment. A system chosen by its overall relation score may be a poor choice for a particular relation if that category is operationally important. The paper supplies enough per-class detail to see that the headline gain is not universal.
Comparison with earlier systems
The broader comparison changes the entity averaging convention. Following the earlier studies being compared, the authors exclude Other from the entity score in that comparison table. Its entity and combined figures therefore should not be substituted for the corresponding values in the direct softmax–CRF comparison.
For the CRF system in setup 1, the comparison table reports entity F1 of 92.1, relation F1 of 65.3, and a combined score of 78.7. In setup 2, the figures are 88.2, 62.1, and 75.2. In setup 3, they are 82.1, 62.5, and 72.3.
The authors explicitly caution that earlier results differ in setup and train–test division. Their closest comparison is Gupta and colleagues because the relevant setup and split align. Even there, feature availability matters.
The feature-rich Gupta system reports entity F1 of 92.4, relation F1 of 69.9, and a combined score of 81.2. Its version without additional features reports 88.8, 58.3, and 73.6. Against that latter version, the new CRF system has weaker entity classification, stronger relation extraction, and what the authors describe as comparable combined performance.
The paper does not establish a blanket state-of-the-art victory. It instead offers a comparatively simple, embedding-based system whose structured output is effective, especially when judged against its own locally normalized alternative.
What the ablations show
The paper’s main controlled comparison replaces the globally normalized CRF with separate softmax outputs. It also studies candidate conditions, repeated entity predictions, and learned transitions. It does not provide a broad component-by-component ablation of every architectural choice.
What the output-layer comparison establishes
The softmax–CRF comparison supports the usefulness of explicitly coupling labels. The input representations alone do not explain why the CRF receives the better combined score in every setup, because both alternatives use the same general convolutional approach.
However, the comparison is not a perfectly fixed-capacity substitution in every condition. The appendix reports separately tuned filter counts and hidden sizes. The measured result belongs to the reported tuned systems, and the experiment does not isolate normalization from every capacity difference.
This qualification does not erase the result. It defines its strength. The paper demonstrates that its structured-output design is competitive within the chosen training and tuning procedure; it does not prove that all observed changes must come exclusively from the normalization formula.
What removing boundaries reveals
Comparing setups 2 and 3 examines the effect of supplied entity spans. Entity classification becomes weaker when multiword candidates are split into tokens. The authors suggest that losing convolution over the complete entity span is a possible reason.
That explanation is plausible but not independently isolated. Removing boundaries also changes the candidate representation and the set of queries. There is no separate experiment that changes only entity-span convolution while keeping every other boundary-related condition constant.
Relation macro F1 remains comparable across the boundary conditions. The authors interpret this as evidence that relation classification can accommodate some entity-classification errors. A careful reading should preserve the narrower observation: relation performance remains strong under the reported metric in spite of weaker entity classification. The experiment does not identify exactly which internal mechanism compensates.
What majority-vote agreement reveals
Repeated pair queries could create contradictory entity types. The majority vote would then conceal a consistency problem: the same entity might look like a different category depending on its partner.
For the best reported system, the authors find only 9 entities with such disagreement in the test data, corresponding to 0.12%. Among those cases, the maximum disagreement with the majority label is 36%, the minimum is 2%, and the median is 8%.
This supports majority voting as a practical aggregation method in that experiment. It also shows that independently processed pairs need not produce widespread instability. It does not establish a sentence-wide consistency guarantee, because the architecture still lacks joint normalization over all pairs.
What transition inspection reveals
The authors inspect transitions whose learned scores exceed 0.5. Figure 4 presents strong associations between entity types and relations, which they judge to be appropriate.
This analysis connects the numerical improvement to the intended mechanism. The CRF has learned recognizable type–relation preferences rather than serving only as an opaque extra layer.
The inspection is qualitative and selective. It does not evaluate every transition, establish probability calibration, or show that every mistaken prediction violates an expected compatibility. It is supporting evidence about the learned structure, not a complete explanation of the error distribution.
Limitations
The paper’s evidence is strongest within its own benchmark and output-layer comparison. Several limits are stated by the authors, while others follow from the experimental design. Keeping these categories separate prevents a useful result from becoming a broader claim than the experiments justify.
Limits the authors identify
The authors explicitly leave evaluation on additional datasets for future work. The reported experiments therefore do not establish that the method transfers to other domains, annotation schemes, or candidate distributions. A successful comparison on ERR is evidence about ERR under the described conditions.
They also identify joint normalization over the complete table as a future direction. The current system processes candidate pairs separately. Although entity votes are highly consistent in the reported test, that empirical agreement does not turn the architecture into a globally normalized sentence-level graph predictor.
The paper acknowledges that setup 1 simplifies entity classification by supplying named-entity candidates. Its entity score cannot be treated as directly comparable to a system that must also determine which words are entities. The input condition already supplies valuable information.
The authors further warn that their comparison with earlier systems mixes different experimental conditions. Differences in splits, candidate setup, and feature sets limit what the ranking can establish. Their discussion of the closest comparison is correspondingly more cautious than a general superiority claim.
The boundary-free condition is described as more realistic, but its evaluation retains a special convention for multiword entities. Recognizing an appropriate constituent cell is sufficient for credit. The authors state this rule; readers should preserve it when interpreting what “without boundaries” means.
Limits visible in the setup
The chain is an approximation to the full dependency structure. It connects each entity type to the relation but does not directly connect the entity types to one another. Nor does it connect a pair’s prediction to every other relation involving those entities. The experiments show that this restricted structure is useful, not that it captures all relevant dependence.
The term global normalization refers to the complete output sequence for a query pair. It does not mean that every decision in the sentence, document, or knowledge base receives a single shared normalization. This scope is especially important because table filling visually suggests a larger interconnected object than the actual inference unit.
The compatibility scores are learned from the dataset. They need not behave like universal semantic laws. An association can be useful for benchmark prediction while remaining defeasible in unusual cases. The paper does not evaluate behavior under deliberately atypical type–relation combinations.
The evaluation also does not establish calibrated confidence. F1 measures classification outcomes, while transition inspection examines learned preferences. Neither demonstrates that a reported probability reliably expresses the chance of correctness across different conditions.
Negative sub-sampling changes the examples encountered during learning and development. The paper describes the use of sub-sampling but does not provide a separate sensitivity study showing how alternative negative mixtures affect performance. The reported result belongs to that chosen procedure.
The paper does not report a systematic runtime or memory comparison. A short chain and a relatively simple architecture suggest manageable inference, but the experiments do not quantify a universal efficiency advantage. Computational simplicity in the architectural discussion should remain distinct from a measured speed claim.
The main comparison also lacks reported significance tests or variation across repeated training runs. Consequently, readers can assess the direction and category pattern of the reported scores, but cannot infer the stability of every small difference from a variance estimate that is not given.
Finally, the results concern a fixed entity and relation inventory. They do not show discovery of previously unknown relation categories, unrestricted extraction from arbitrary documents, or automatic expansion of a knowledge schema. The system chooses among the labels specified for the task.
These limits leave the central contribution intact. A compact structured output can improve a convolutional joint classifier without turning the task into word-by-word labeling. What remains unestablished is how broadly that result generalizes and how much additional benefit would come from larger consistency structures.
What came after
The citation record includes later work on scientific information extraction and dialogue classification. It supports placing the paper within those subsequent research conversations, but does not on its own establish that either work adopted its particular CRF chain.
Multi-Task Identification of Entities, Relations, and Coreference for Scientific Knowledge Graph Construction appeared in 2018. Its stated subject connects entity identification, relation identification, and coreference resolution for scientific knowledge-graph construction. That combination shares the broad concern that several interpretation tasks affect the structured result. The citation record does not specify whether the later work uses global normalization, convolutional representations, or the entity–relation–entity ordering. A more specific inheritance claim would require evidence about its method.
Context-aware Neural-based Dialog Act Classification on Automatically Generated Transcriptions appeared in 2019. Its title places it in dialogue-act classification with contextual information and automatically generated transcripts. Its citation shows that the paper was referenced beyond entity and relation extraction. It does not establish which architectural or training idea was reused, or whether the citation concerns structured output decisions rather than another aspect of neural classification.
The original paper itself proposes a clear next step: normalize the predictions of an entire table together, rather than treating each candidate pair as the joint inference unit. That direction addresses the main structural boundary of the reported system. A sentence-wide decision procedure could, in principle, connect repeated entity judgments and multiple relations directly, but the paper offers it as future work rather than a measured result.
The durable contribution is therefore a precise design idea. Global normalization can be organized around a small set of interdependent semantic decisions even when the input is a sentence and the output is not a token-label sequence. The experiments demonstrate the value of that construction within the stated benchmark, while the later citation record shows continuing relevance without supplying evidence for a more detailed lineage.
Cite
Cite as Heike Adel and Hinrich Schütze. 2017. Global Normalization of Convolutional Neural Networks for Joint Entity and Relation Classification. Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing.
@inproceedings{adel2017global,
title = {{Global Normalization of Convolutional Neural Networks for Joint Entity and Relation Classification}},
author = {Heike Adel and Hinrich Schütze},
booktitle = {Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing},
year = {2017},
doi = {10.18653/v1/d17-1181},
url = {https://doi.org/10.18653/v1/d17-1181}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/adel-2017-global-normalization-convolutional-neural-networks/