Elamur Research

Understanding Feature Focus in Multitask Settings for Lexico-semantic Relation Identification

Paper · 2021 · Houssam Akhmouch, Gaël Dias and Jose G. Moreno

Summary

Knowing that two words are related leaves an important question open. They might name the same thing, belong to the same category, or stand in a category-to-member or whole-to-part relation. In the paper’s examples, phone and telephone illustrate synonymy, while phone and mouthpiece illustrate meronymy, the relation between a whole and a part. These distinctions matter when a system uses words to find information or reason about text. Akhmouch and colleagues ask what evidence helps a classifier make such distinctions and whether the useful evidence changes when it learns several relations together. Their study examines a problem in lexical semantics.

The authors start with numerical representations of the two words. They add features that describe the degree and direction of their association, along with features drawn from phrases in which the words occur together. The direction-sensitive features are the paper’s main additions. They compare corresponding coordinates of the two word vectors in each order, so reversing a pair can change the resulting values. The authors test these features individually and in groups. They also compare classifiers trained on a single relation, classifiers that give several tasks a common representation, and a shared-private architecture that gives each task its own input alongside the common representation.

Across RUMEN, ROOT9, WEEDS and BLESS, combining related features generally improves on using a single feature from the same family. In the separate classifiers, cosine-based features are strong even for directional relations. Features that preserve direction frequently help further when combined with them. In joint training, direction-sensitive features and corpus patterns are more competitive as inputs to the common representation, especially when the individual tasks already have their own selected features. On the BLESS test for meronymy against random pairs, the separate classifier with selected features scores 0.864 F1, the tuned fully shared classifier scores 0.850, and the shared-private classifier scores 0.868.

The comparison has an important qualification. A well-tuned separate classifier remains difficult to beat, and the shared-private architecture has a statistically significant advantage over it in 4 out of 8 comparisons. On ROOT9 hypernymy against random pairs, the separate classifier has the stronger reported F1. The paper’s contribution is therefore as much about the placement of evidence as about joint training. A feature that contributes little to a stand-alone decision can have a different role once the architecture gives each task a separate source of evidence.

Deep dive: Understanding Feature Focus in Multitask Settings for Lexico-semantic Relation Identification

Akhmouch and colleagues test which features identify relations between words and how joint training changes which features help. · about 34 minutes to read

The problem and its context

Imagine a system that recognizes a connection between phone and telephone, and also recognizes one between phone and mouthpiece. A score for general relatedness could be high in both cases. The score would leave open whether the second word is another name for the same kind of thing or the name of a component. The paper concerns this additional decision. Given a pair and a relation of interest, the classifier estimates whether the relation holds. The authors place that ability in the context of applications including query expansion and question answering.

The paper distinguishes symmetric relations from relations whose meaning depends on the order of the words. Synonymy is symmetric in the sense used here. In a pair such as phone and telephone, either word can be presented first without changing the kind of connection being tested. Co-hyponymy is also symmetric. It relates terms at the same level under a broader category, as in the paper’s example of phone and monitor. Hypernymy is directional. In the paper’s example, phone is the broader term and speakerphone is a kind of phone. Meronymy is directional because the two words have different roles, as they do when one identifies a whole and the other identifies its part.

This distinction gives the authors a way to ask what a feature can express. A symmetric similarity measure assigns the same value to a pair in either order. It can help recognize that the words have something in common. A directional measure can supply further information about which term occupies which role. A phrase containing both words supplies another kind of evidence. Its wording may spell out the relationship, or it may merely put the words in the same sentence. The design problem is to make these kinds of evidence available and establish where each helps.

The decision studied in the paper is narrower than unrestricted relation labeling. Most of the earlier work discussed by the authors makes a binary decision about a specified relation. Here, the main test is also binary, with a named relation supplying the positive examples and random pairs supplying the negatives. Several such decisions can be learned together. Each still has its own output. The distinction matters because a system can succeed at recognizing examples of a target relation among random pairs while facing a different problem when the alternatives are other plausible semantic relations.

Three paths to relation identification

One tradition constructs features from the way words are represented. A word vector stores numerical coordinates derived from language use. Two such vectors can be placed side by side, subtracted, or added, giving a classifier different views of the same pair. Concatenation preserves the identity of the first and second positions. Vector arithmetic offers more direct comparisons, with the choice of operation determining which details are retained. These approaches are part of the paper’s account of distributional semantics.

Prior evaluations gave the authors a reason to pay attention to how these systems are tested. Features obtained from distributional representations can depend on the domain, and performance can depend on whether the vocabulary used for testing overlaps with the training vocabulary. A classifier that encounters a familiar term may use a tendency associated with that term. Such a prediction can be right while offering limited evidence about unfamiliar pairs. The paper draws on this earlier line of inquiry when it separates training vocabulary from test vocabulary. Do Supervised Distributional Methods Really Learn Lexical Inference Relations?

Corpus patterns offer another route. The starting observation is that particular constructions can express a particular relation between the words they connect. Hearst’s earlier work illustrates this approach for hyponymy. In the work discussed by Akhmouch and colleagues, patterns can also be represented as continuous vectors. That allows a classifier to combine contextual evidence with distributional evidence from the words themselves. Automatic Acquisition of Hyponyms from Large Text Corpora and Improving Hypernymy Detection with an Integrated Path-based and Distributional Method

The authors also draw on earlier work by Vu and Shwartz in which the coordinates of the two vectors are multiplied in corresponding positions. The resulting vector provides a separate interaction value for each coordinate. This is closely related to the idea behind comparing the vectors with a cosine, but it leaves the individual products available for the classifier to use. Together with the earlier work on directional measures for discrete contexts, it motivates the paper’s question about directional features for continuous word vectors. The experiment considers the coordinate-level form, a compressed form and a comparison that controls for input width.

A second tradition changes the underlying semantic space. HyperVec, as described by the authors, uses known hypernym–hyponym pairs to learn embeddings that reflect the hierarchy. Retrofitting takes an existing space and incorporates relational knowledge after the original vectors have been learned. The paper notes that such methods can directly affect only the words covered by their background knowledge. The subsequent approaches it discusses include learning a general specialization function and learning separate projections. It also describes work that builds relational information into a pretrained system through fine-tuning, including Inducing Relational Knowledge from BERT.

The third tradition changes what the classifier learns together. Attia and colleagues coupled a task about general relatedness with a task that distinguished types of relations. Balikas and colleagues asked a more specific question about transfer between individual relations. Bannour and colleagues used the same fully shared design and added examples through an attention-based augmentation procedure. The common premise is that learning one task may improve performance on another when they draw on overlapping information. A common representation gives the tasks a place to put what they learn in common.

A fully shared design also gives all the tasks the same route to the input. That restricts how evidence can be allocated when relations call for different cues. The shared-private design separates those responsibilities. It gives each relation its own route to selected pair features and still lets the relations draw on a common transformation. The authors adapt this general architectural idea from earlier work on text classification. Adversarial Multi-task Learning for Text Classification

The paper brings the feature and architecture questions together. Its design makes it possible to ask whether a directional comparison is useful by itself, whether it adds to a symmetric comparison and whether it is more useful to the common branch when the private branches already receive their preferred features. Those are distinct questions. The answer to the first concerns the evidence a feature provides in isolation. The answers to the others depend on what evidence the rest of the classifier already has.

The method, step by step

Start with an ordered pair

The input is an ordered word pair. Each word has a distributional vector, and the classifier always receives the two vectors concatenated in the order in which the words were supplied. Concatenation places all coordinates of the first word before all coordinates of the second. This keeps both vectors available and preserves the identities of the positions. If the broad category is typically supplied first in positive examples of hypernymy, a classifier can in principle use information about that position. The authors call this required input the concatenation of the word embeddings.

The optional inputs are grouped by what they represent. The symmetric distributional family is derived from comparisons whose values stay the same when the pair is reversed. The asymmetric distributional family exposes the two directions of comparison. The pattern family represents phrases in which the words appear together. Every selected feature is added to the required word-vector input. Thus, when the experiment refers to a single feature or a single feature family, it is describing which optional features accompany the word vectors.

From word pairs to jointly trained relation decisions

The steps in order.

From word pairs to jointly trained relation decisionsStep 1: Take an ordered pair of words1. Take an ordered pair of wordsStep 2: Concatenate their distributional vectors2. Concatenate their distributional vectorsStep 3: Derive symmetric and directional comparisons3. Derive symmetric and directional comparisonsStep 4: Encode and pool frequent connecting phrases4. Encode and pool frequent connecting phrasesStep 5: Select feature combinations for each task5. Select feature combinations for each taskStep 6: Select additional inputs for the shared branch6. Select additional inputs for the shared branchStep 7: Train the joint architecture across tasks7. Train the joint architecture across tasksStep 8: Predict each relation through its own output8. Predict each relation through its own output

Compare the words symmetrically

The first family starts with ordinary cosine similarity. This is a single number describing the alignment of two vectors after accounting for their lengths. Each word can have a different vector length, and the cosine expresses the agreement in direction. Swapping the words leaves this value unchanged. A pair can therefore register strong agreement without the cosine saying which word is broader or which term names a part.

The generalized cosine, also called Mult, keeps each coordinate product rather than reducing the comparison to a scalar. That gives the learning procedure access to a pattern of local agreement. For a given pair, some coordinates may contribute differently from others. A scalar would collapse those contributions before the classifier saw them. The generalized cosine in the paper is the elementwise product of the original vectors.

cosG(w⃗₁, w⃗₂) = ⨁ᵢ₌₁ᵈ (w₁ᵢ · w₂ᵢ)

Here cosG is the generalized cosine feature. The vectors w⃗₁ and w⃗₂ represent the first and second words, and d is the size of each vector. The index i runs from 1 through d. The symbols w₁ᵢ and w₂ᵢ name the corresponding coordinates, · means multiplication, and ⨁ means that the products are concatenated in coordinate order.

The generalized cosine and the ordinary cosine differ in both their content and their width. The authors introduce controls because a vector feature and a scalar feature give the next layer differently sized inputs. One control compresses the generalized cosine to a scalar while allowing the classifier to learn which products deserve more weight. It uses a linear transformation.

cosG1D(w⃗₁, w⃗₂) = ∑ᵢ₌₁ᵈ λᵢ w₁ᵢ w₂ᵢ

The name cosG1D denotes the scalar version of the generalized cosine. The arguments w⃗₁ and w⃗₂ are the word vectors, i indexes their coordinates, and d is their size. The coefficients λᵢ are learned weights, each attached to the product of coordinates w₁ᵢ and w₂ᵢ. The sum ∑ combines those weighted products from the first coordinate through d.

The other control moves in the opposite direction. It takes the scalar cosine and copies it to make a vector as wide as the generalized cosine. The copied inputs carry the same pair-level information as the original scalar. They give the following layer a different parameterization of that information. The comparison is useful because a repeated scalar and a vector of coordinate products now occupy the same number of input positions.

cosBr(w⃗₁, w⃗₂) = ⨁ᵢ₌₁ᵈ cos(w⃗₁, w⃗₂)

The name cosBr denotes cosine broadcast, while cos is the ordinary scalar cosine of w⃗₁ and w⃗₂. The index i counts the copies, d is both the number of copies and the width of each word vector, and ⨁ concatenates the copies. The expression being copied stays the same for every i.

The family groups the original comparisons and their dimensional controls. A candidate can include any selected subset of this group. In particular, the search can retain both a detailed view and a compressed view of the same coordinate products.

CosF = (cos, cosG, cosBr, cosG1D)

Here CosF is the symmetric feature family. Its members are the ordinary cosine cos, the product vector cosG, the repeated scalar cosBr, and the learned scalar cosG1D. The parentheses give the order of the family members, which the authors later use when recording the selected subsets.

Make the comparison directional

The asymmetric features start from a different question. For a fixed coordinate, what happens when the value for the first word is used as the reference and compared with the value for the second? Reversing the comparison can change both the ratio inside the logarithm and the value that weights the result. The paper takes this construction from the form of the Kullback–Leibler divergence and adapts it to word representations.

Raw word coordinates are passed through a sigmoid, which maps them to values between 0 and 1. This makes the arguments of the logarithm positive. The formula compares transformed coordinates directly. It contains no step that normalizes all the transformed coordinates of a word to sum to one, so the most precise description is a directional feature based on the divergence formula.

Kull(w⃗₁ | w⃗₂) = ∑ᵢ₌₁ᵈ log(σ(w₁ᵢ) / σ(w₂ᵢ)) σ(w₁ᵢ)

The function Kull is the scalar directional comparison, and the bar | marks the order in which the vectors are compared. The symbols w⃗₁ and w⃗₂ denote the word vectors. The terms w₁ᵢ and w₂ᵢ are their coordinates at position i, and d is the number of positions. The function σ is the sigmoid, / forms the ratio of the transformed values, log takes its logarithm, and the adjoining σ(w₁ᵢ) weights the result by the transformed value for the first word. The summation ∑ adds the contributions across coordinates.

For a particular pair, the method computes the scalar in both directions. Giving the classifier both values lets it treat the order as evidence. The feature itself has ordered positions. If the words are exchanged, the two values exchange positions as well.

kull(w⃗₁, w⃗₂) = Kull(w⃗₁ | w⃗₂) ⊕ Kull(w⃗₂ | w⃗₁)

The lower-case kull names the pair feature, and Kull names the single directional calculation. The arguments w⃗₁ and w⃗₂ are the first and second word vectors. The bar | distinguishes the ordered arguments of each calculation, and ⊕ joins the first directional score to the second.

The authors use the same distinction between a scalar and a vector that they used for cosine. The scalar adds all the directional contributions together. The vector exposes the contribution from each coordinate. This allows a downstream layer to respond to different combinations of coordinates even when the total score is similar.

KullG(w⃗₁ | w⃗₂) = ⨁ᵢ₌₁ᵈ (log(σ(w₁ᵢ) / σ(w₂ᵢ)) σ(w₁ᵢ))

The function KullG returns the coordinate-level comparison in the direction indicated by w⃗₁ | w⃗₂. The index i runs through the d coordinates of the two vectors. The values w₁ᵢ and w₂ᵢ are passed through σ, the sigmoid. The logarithm log acts on their ratio, and the result is multiplied by σ(w₁ᵢ). The symbol ⨁ collects these contributions in order, without summing them.

kullG(w⃗₁, w⃗₂) = KullG(w⃗₁ | w⃗₂) ⊕ KullG(w⃗₂ | w⃗₁)

The lower-case kullG denotes the input feature built from the two directional vectors. The upper-case KullG denotes the calculation in a single direction. The vectors w⃗₁ and w⃗₂ exchange places on the two sides of ⊕, which concatenates the resulting vectors. The bar | preserves the order inside each directional calculation.

The paper also gives a scalar version of the coordinate-level comparison. Here the reduction uses learned weights, allowing contributions from different positions to affect the scalar differently. The unweighted scalar comparison and the learned reduction offer different ways to summarize the same underlying coordinate terms.

KullG1D(w⃗₁ | w⃗₂) = ∑ᵢ₌₁ᵈ λᵢ log(σ(w₁ᵢ) / σ(w₂ᵢ)) σ(w₁ᵢ)

The function KullG1D gives the scalar weighted comparison from w⃗₁ to w⃗₂ in the order marked by |. The sum ∑ runs over coordinate indices i up to d, the vector size. The coefficient λᵢ is the learned linear weight for that coordinate. The terms w₁ᵢ and w₂ᵢ supply the values for the sigmoid σ, and log is applied to the ratio of the transformed values.

kullG1D(w⃗₁, w⃗₂) = KullG1D(w⃗₁ | w⃗₂) ⊕ KullG1D(w⃗₂ | w⃗₁)

Here kullG1D is the pair input formed by concatenation ⊕. The operation KullG1D gives the learned scalar for one direction at a time. The vectors w⃗₁ and w⃗₂ trade places across the two calls, and the bar | separates the ordered inputs.

Finally, the broadcast version takes the original scalar comparison in each direction and repeats it to the corresponding vector width. This is the directional counterpart of the broadcast cosine. It provides a test of what happens when the scalar has the same input width as the feature that retains individual coordinate terms.

kullBr(w⃗₁, w⃗₂) = (⨁ᵢ₌₁ᵈ Kull(w⃗₁ | w⃗₂)) ⊕ (⨁ᵢ₌₁ᵈ Kull(w⃗₂ | w⃗₁))

The feature kullBr contains repeated copies of the scalar operation Kull. The arguments w⃗₁ and w⃗₂ determine which word is the reference in each direction, as indicated by |. The copy index i runs to d, the original vector size. Each ⨁ concatenates the copies for one direction, and ⊕ joins the two blocks.

KullF = (kull, kullG, kullBr, kullG1D)

The family KullF contains the scalar pair kull, the coordinate vectors kullG, the broadcast feature kullBr, and the learned scalar pair kullG1D. The listed order fixes how the authors record feature presence in the selected configurations. Each member gives the classifier a view of both directions.

Represent phrases that connect the words

The word-vector features can be computed from the words’ representations alone. The pattern features require occurrences in which the two words are close enough to extract a connecting sequence. The authors obtain these sequences from an English Wikipedia dump because the original relation datasets supply labeled pairs without the required pattern inputs. They keep patterns up to a maximum length of 10 words, a cutoff chosen experimentally.

The paper’s examples show why the sequences have to be treated as evidence of varying quality. A connector such as or between error and fault can help signal an alternative expression. The connective and between pineapple and apricot can occur where items of a similar kind are listed. Coordination can express many other things as well, so the classifier has to learn how much the observed phrase contributes. Other sequences simply record that the words appeared near each other. A frequency ranking gives the authors a way to choose a bounded set of phrases for representation.

Each pattern is encoded with either a bidirectional long short-term memory network, abbreviated BiLSTM, or the Universal Sentence Encoder. The BiLSTM represents a sequence using information from both directions along it. The Universal Sentence Encoder supplies a fixed-width representation of the input sequence. The method ranks patterns for each pair, encodes the most frequent ones and averages the resulting vectors within each encoding method.

patᵢ,ⱼʷ¹,ʷ² = encoderⱼ(w₁, pathᵢ, w₂)

The symbol patᵢ,ⱼʷ¹,ʷ² denotes the representation of the pattern at frequency rank i for the word pair w₁, w₂, using encoder j. The superscript marks the pair whose pattern is encoded. The symbol pathᵢ denotes the connecting sequence at that rank, and encoderⱼ is the function that takes the two words and the intervening sequence. The encoder index j selects either the BiLSTM or the Universal Sentence Encoder.

The paper uses an asterisk in the pattern index for the pooled representation. Averaging combines the selected phrases into one vector for the pair and encoder. As described, the ranking determines which phrases enter the average. The final vector retains their average coordinate values and gives the classifier a single pattern input of fixed width.

PatF = (pat∗,USE, pat∗,BiLSTM)

The name PatF denotes the pattern feature family. The member pat∗,USE is the average of the selected pattern vectors from the Universal Sentence Encoder, and pat∗,BiLSTM is the corresponding average from the bidirectional recurrent encoder. The asterisk ∗ marks pooling across the selected patterns for the given pair. The input can include either pooled representation or both.

Give each relation access to shared and private evidence

A multilayer perceptron is the separate classifier in the study. It receives the word-pair representation, transforms it through trainable layers and produces a binary prediction for one relation. The same broad input design can be used independently for different relations. A feature subset that works for one classifier can therefore differ from the one chosen for another.

In the fully shared architecture, all tasks draw on the same input vector and its transformation by the common layers. The relation-specific branches receive the resulting common representation. Their individual parameters still allow them to make different decisions from the same information. The word shared describes the route through which pair features reach these branches.

The shared-private architecture also lets a branch receive its own selected word-pair features. It concatenates those features with the output of the common layers before making its relation-specific decision. The private input gives the branch direct access to evidence selected for its own task. The shared input can be chosen separately, so the architecture can benefit from common features that would be redundant or less useful if every branch already had to rely on them in the same way.

S(Xₖ) = σ(Wˢₖ Xₖ + bˢₖ) = Xₖ₊₁

The function S is the transformation made by a shared layer. The input Xₖ goes into shared layer k, and Xₖ₊₁ is its output. The index k runs up to K, the number of shared layers. The matrix Wˢₖ and bias vector bˢₖ are the shared parameters for that layer, with s marking the shared branch. Matrix multiplication applies the weights to the input, + adds the bias, and σ applies the sigmoid to the result. The initial shared input is the vector of word embeddings and selected shared features.

Hʲ(Z_q) = σ(Wᴴʲ_q Z_q + bᴴʲ_q) = Z_q₊₁

The function Hʲ is a private transformation for task j. The task index ranges across the N relations being learned. The vector Z_q is the input to private layer q, Z_q₊₁ is its output, and Q is the number of private layers. The matrix Wᴴʲ_q and the bias bᴴʲ_q belong to that task and layer, with H identifying the private transformation. The sigmoid σ acts on the weighted input after the bias is added.

In the fully shared architecture, the initial Z for a branch is the output of the last shared layer. In the shared-private architecture, the initial Z joins that output to the separately chosen input for the task. The shared layer makes the same common representation available to the relation branches for a given pair. The private input can differ from branch to branch.

Oʲ = σ(Wᴼʲ Hʲ(Z_Q) + bᴼʲ)

Here Oʲ is the output for task j, and Hʲ(Z_Q) is the result of the final private transformation for that task. The index Q identifies the last private layer. The output parameters Wᴼʲ and bᴼʲ are the weights and bias for task j, with O identifying the output stage. The sigmoid σ maps the weighted sum to the binary decision score.

The training objective is binary cross-entropy. In this setting, the loss penalizes a score that puts little weight on the observed label. The shared parameters are updated as the training procedure alternates between tasks. The parameters private to a relation receive updates from that relation’s objective. This is the point at which joint training can change the representation a classifier learns. An update for either task can change the shared calculation that both tasks later use.

Search for features, then tune training

The authors organize feature selection around the families. With 2¹⁰ possible subsets of the optional features, they first look for a useful combination within each family. The word-vector concatenation stays present throughout. They then take the winning subset from each family and compare combinations of those subsets. This second stage can discover that cosine-based evidence and directional evidence work well together. Its cross-family candidates are defined by the earlier within-family choices.

For the shared-private configuration, the authors first fit the private classifiers independently and use the results to choose their private input vectors. Those choices constrain the joint search for the shared input. Hence, when the study describes a winning subset for the shared branch, it refers to what worked in the presence of the selected private inputs. A comparison between shared feature families is conditional on those inputs. It also answers a different question from a search that would choose all the branch inputs simultaneously.

The grid search covers the number of patterns and the main layer sizes. The Universal Sentence Encoder has an output width of 512. The candidate BiLSTM widths are 100, 200, 300, 400 and 500. The authors vary the number of retained patterns from 1 to 5 and the number of layers in the shared and private stacks between 1 and 2. Candidate hidden-layer widths are 5, 20, 50, 100, 150, 200 and 300 neurons. The epoch search ranges from 1 to 100. Validation F1 determines the training duration chosen within the search.

The weights start from a scaled uniform distribution. Training uses batches of 64 examples and a learning rate of 0.001 with Adam. The embedding comparison starts from either JoSE, the spherical representation discussed by the authors, or the 300-dimensional GloVe representations. The authors make their implementation and datasets available for reproducing the experiments.

Experiments and results

What the test sets require

The experiments use RUMEN, ROOT9, WEEDS and BLESS. Their relation inventories differ. RUMEN supplies synonym and hypernym comparisons against random pairs. ROOT9 and WEEDS supply hypernym and co-hyponym comparisons against random pairs. BLESS contains co-hyponyms as well, but the main results reported for that dataset are meronymy and hypernymy. This inventory places a directional relation alongside a symmetric one in several of the reported settings. The BLESS setting pairs directional relations.

RUMEN includes 6326 synonym pairs, 6326 hypernym pairs and 6326 random pairs. ROOT9 has 2447 hypernym pairs and 3200 co-hyponym pairs, alongside 1100 random pairs. WEEDS lists 1257 hypernym pairs, 2083 co-hyponym pairs and 6326 random pairs. For BLESS, the paper gives 1337 hypernym pairs, 3565 co-hyponym pairs, 2943 meronym pairs and 6702 random pairs. These are counts of examples in the dataset inventories. They give context for the tasks and show that the prevalence of positive examples can vary with the relation and dataset. How We BLESSed Distributional Semantic Evaluation

Pattern coverage varies as well. Among ROOT9 hypernym pairs, 64% have more than 2 extracted patterns. Among RUMEN hypernym pairs, the corresponding entry is 18%. In BLESS, 99% of the meronym pairs have no extracted pattern. The absence of a sequence from this extraction procedure and the absence of a relation are different observations. BLESS has positive meronymy labels even for pairs that supply no pattern evidence. The distributional branch can still use their word vectors. These coverage figures help explain why a pattern encoder faces different opportunities on different datasets.

The authors use a lexical split throughout. The test vocabulary has no intersection with the training and validation vocabularies. A test score consequently reflects how the supervised classifier handles pairs whose words were absent from those portions of the labeled relation data. The split proportions are 50% training, 20% validation and 30% test. The training portion is used for fitting, the validation portion guides choices about the configuration, and the test portion supplies the reported comparisons.

How to read the comparisons

The paper reports accuracy, precision, recall and F1. Accuracy counts the share of correct decisions overall. Precision concerns the share of predicted positives that belong to the target relation. Recall concerns the share of actual positive examples the classifier retrieves. F1 combines precision and recall by giving low values of either measure substantial influence. The paper tunes for validation F1, and F1 is the measure used in the charts below. Its emphasis matters especially where the random class is large enough for accuracy and positive-class performance to tell different stories.

The base MLP, or multilayer perceptron, takes the concatenated word vectors on their own. Best MLP adds the selected optional features and still learns only one relation. The other separate-classifier comparisons include the method attributed in the results to Shwartz and Dagan and the multiplicative-feature method of Vu and Shwartz. The multitask comparisons include the earlier fully shared system of Balikas and colleagues and the system of Bannour and colleagues that incorporates data augmentation.

Best Fully-shared uses the Balikas architecture with optimized pair features. This comparison comes close to isolating what richer inputs can do for a fully shared system. Best Shared-private changes the routing of evidence by also allowing a separate direct input for each relation. Both names refer to the configurations selected by the paper’s search. The principal GloVe results average 25 runs. For specified comparisons, the paper uses an unequal-variance t-test with a threshold of p ≤ 0.05.

Gains from richer inputs and separate routes

WEEDS provides a clear example of how much the input features matter. For co-hyponyms against random pairs, the embedding-only MLP reaches 0.449 F1. The comparison attributed to Shwartz and Dagan reaches 0.532 and the method of Vu and Shwartz reaches 0.691. Best MLP reaches 0.737. Both the fully shared classifier with selected features and the separate classifier score 0.737, while Best Shared-private reaches 0.761. The large gap between the basic and tuned private classifiers puts the architectural gain in context. Much of the improvement over the plain MLP is already available from feature selection.

Co-hyponym versus random classification on the WEEDS lexical test split by F1

Selected features raise performance in the separate classifier, and the shared-private configuration achieves the highest F1.

Co-hyponym versus random classification on the WEEDS lexical test split by F1Embedding-only MLP: 0.449Embedding-only MLP0.449Shwartz and Dagan: 0.532Shwartz and Dagan0.532Vu and Shwartz: 0.691Vu and Shwartz0.691Best MLP: 0.737Best MLP0.737Bannour and colleagues: 0.713Bannour and colleagues0.713Best Fully-shared: 0.737Best Fully-shared0.737Best Shared-private (this paper): 0.761Best Shared-private (this paper)0.761
The numbers
System or settingF1
Embedding-only MLP0.449
Shwartz and Dagan0.532
Vu and Shwartz0.691
Best MLP0.737
Bannour and colleagues0.713
Best Fully-shared0.737
Best Shared-private (this paper)0.761

Precision and recall show where those configurations differ. On that same WEEDS test, Best Fully-shared reaches 0.796 recall and 0.685 precision for co-hyponyms. Best Shared-private reaches 0.736 recall and 0.789 precision. The stronger shared-private F1 comes with higher precision and lower recall than the fully shared result. Its estimated co-hyponym predictions contain fewer false positives proportionally, while the fully shared configuration retrieves a larger share of the positive examples.

BLESS meronymy illustrates a different shape of result. The Best MLP score of 0.864 F1 already improves on the embedding-only MLP score of 0.748. The tuned fully shared system reaches 0.850, and the shared-private system reaches 0.868. Best Shared-private has 0.912 accuracy and 0.890 precision for this test. The earlier Bannour system has 0.896 accuracy and 0.913 precision. The shared-private architecture leads the F1 comparison while the earlier method has higher precision, a reminder that a row’s relative position depends on the metric.

Meronym versus random classification on the BLESS lexical test split by F1

The selected separate classifier and the shared-private architecture both improve on the fully shared configuration.

Meronym versus random classification on the BLESS lexical test split by F1Embedding-only MLP: 0.748Embedding-only MLP0.748Vu and Shwartz: 0.820Vu and Shwartz0.820Best MLP: 0.864Best MLP0.864Bannour and colleagues: 0.837Bannour and colleagues0.837Best Fully-shared: 0.850Best Fully-shared0.850Best Shared-private (this paper): 0.868Best Shared-private (this paper)0.868
The numbers
System or settingF1
Embedding-only MLP0.748
Vu and Shwartz0.820
Best MLP0.864
Bannour and colleagues0.837
Best Fully-shared0.850
Best Shared-private (this paper)0.868

On RUMEN, the changes are small at the strong end of the comparison. For synonymy against random pairs, Best MLP scores 0.865 F1, Best Fully-shared 0.864, and Best Shared-private 0.866. Best Shared-private obtains 0.889 precision, compared with 0.843 for Best Fully-shared. The corresponding recall values go in the other direction, at 0.844 for Best Shared-private and 0.887 for Best Fully-shared. The F1 values are close even though the classifiers differ in how many synonyms they retrieve and in how often their positive decisions are correct.

For RUMEN hypernymy against random pairs, the base MLP has 0.757 F1. Best MLP reaches 0.862, Best Fully-shared 0.859 and Best Shared-private 0.867. On BLESS hypernymy, the corresponding tuned configurations score 0.859, 0.862 and 0.873 F1. These comparisons show where the private input and the common representation work well together. The advantage is less general on the other hypernym tests.

ROOT9 hypernymy against random pairs is one such test. The GloVe results give Best MLP 0.965 F1 and give both Best Fully-shared and Best Shared-private 0.962. On ROOT9 co-hyponymy, Best MLP reaches 0.967 F1 and Best Shared-private reaches 0.968, with the fully shared result at 0.965. On WEEDS hypernymy, Best Shared-private scores 0.743 F1 and Best MLP scores 0.746. The Bannour system reaches 0.751 on that same test. These rows show the value of retaining a tuned separate classifier and the earlier joint method as benchmarks.

In the authors’ overall comparison with Best MLP, Best Shared-private improves significantly in 4 out of 8 cases and records a higher result without statistical significance in 2 out of 8. The discussion singles out the ROOT9 result as a significant advantage for the separate classifier in the F1 comparison. The authors emphasize that the separate classifier is a demanding baseline once it receives selected inputs. The shared-private gains concern what joint training and private routes can add on top of that feature engineering.

Changing the embedding space

The JoSE comparison asks whether the feature strategy still helps when the starting representation is intended to support relational information. The paper applies the same three classifier designs in this comparison. It reports F1 for the plain MLP, Best MLP and Best Shared-private using GloVe and JoSE. A change in ranking across those designs shows that the embedding space and the input feature choices have to be considered together.

On ROOT9 hypernymy against random pairs, the plain MLP scores 0.936 F1 with GloVe and 0.922 with JoSE. Best MLP scores 0.965 with GloVe and 0.963 with JoSE. Best Shared-private scores 0.962 with GloVe and 0.966 with JoSE. Thus the embedding associated with the stronger result changes across architectures in this setting. On WEEDS hypernymy, Best Shared-private reaches 0.743 with GloVe and 0.759 with JoSE. On BLESS meronymy, it reaches 0.868 with GloVe and 0.865 with JoSE.

GloVe and JoSE classifiers on the ROOT9 hypernym versus random lexical test split by F1

GloVe leads in the separate classifiers, while JoSE gives the highest F1 with the shared-private architecture.

GloVe and JoSE classifiers on the ROOT9 hypernym versus random lexical test split by F1Embedding-only MLP with GloVe: 0.936Embedding-only MLP with GloVe0.936Embedding-only MLP with JoSE: 0.922Embedding-only MLP with JoSE0.922Best MLP with GloVe: 0.965Best MLP with GloVe0.965Best MLP with JoSE: 0.963Best MLP with JoSE0.963Best Shared-private with GloVe: 0.962Best Shared-private with GloVe0.962Best Shared-private with JoSE (this paper): 0.966Best Shared-private with JoSE (thispaper)0.966
The numbers
System or settingF1
Embedding-only MLP with GloVe0.936
Embedding-only MLP with JoSE0.922
Best MLP with GloVe0.965
Best MLP with JoSE0.963
Best Shared-private with GloVe0.962
Best Shared-private with JoSE (this paper)0.966

Across the reported tasks, the base MLP with GloVe leads its JoSE counterpart in 5 out of 8 comparisons. Best MLP with JoSE leads its GloVe counterpart in 5 out of 8. The authors also report that the shared-private hypernymy comparisons favor the relational embeddings in 3 out of 4 configurations. There is variation by relation and architecture. The BLESS meronym example shows that directional labels alone give an incomplete guide to which embedding will produce the stronger result.

What the ablations show

Width explains part of the cosine comparison

The feature-combination analysis is more detailed than a comparison of the final classifiers. For the distributional families, the authors compare single optional features, pairs of features, subsets formed by dropping a family member and the full family. They also evaluate combinations built from the best subsets within families. These comparisons keep the word-vector concatenation in place. They measure whether an engineered feature makes that common starting point more useful for the target decision.

Within the symmetric family, ordinary cosine and the learned scalar form of the generalized cosine generally give the weakest individual results. The difference in width is the reason for including cosine broadcast. Repeating the ordinary cosine makes a wider input without adding a coordinate-level observation. Conversely, the learned scalar form of the generalized cosine reduces a wide representation to a single input. The relatively weak results of the scalar variants support the authors’ concern that input dimension matters in a comparison between cosine and the generalized cosine.

The controls also show why width and information should be considered together. The broadcast feature repeats a global summary, while the generalized cosine makes specific coordinate products available to subsequent layers. The paper reports that the strongest subsets frequently use the generalized cosine, cosine broadcast and the compressed generalized cosine together, especially in hypernymy. A feature that performs weakly alone can still contribute to a combination. Here, the uncompressed products give the classifier detail, while the scalar summaries give it more direct access to aggregate comparisons.

The selected subsets vary with the task. For RUMEN synonymy, the best separate classifier uses the generalized cosine and cosine broadcast as its optional inputs. For the ROOT9 co-hyponym comparison, the selected separate classifier also uses the compressed generalized cosine and the pattern features. Results across relations therefore say more than a single ranking of individual cosine variants would. They indicate which different forms of evidence are useful together, given the words and labels in each task.

Direction is useful even when symmetric evidence is strong

Within the directional family, the broadcast variant is often among the weaker choices, both as an individual addition and in combinations. The authors report variation across datasets, so the pattern is less regular than in the cosine analysis. The general result is that combinations of directional features tend to help more than individual ones. The representations let the classifier see a directional aggregate, its underlying coordinate contributions, or a learned reduction. A successful subset can draw on more than one of these views.

A central observation is that cosine-family features remain strong for directional relations. In the separate classifiers, the authors find that the cosine family tends to outperform either the directional family or the pattern family on hypernymy and meronymy. This is consistent with these tasks requiring evidence that the words belong together in the first place. The embedding concatenation already retains order, so a comparison symmetric in its own arguments can assist an overall prediction that is sensitive to which word appears first.

The cross-family comparisons show where explicit direction improves this foundation. For the directional relations, the authors usually find useful combinations of symmetric and asymmetric distributional evidence. For co-hyponymy, the useful complement to cosine-based evidence is often a pattern input. In the RUMEN synonymy comparison, symmetric distributional features suffice for the best separate configuration. Those outcomes concern the ways the features work in the presence of one another. A strong cosine-only result for hypernymy and a gain from adding directional evidence are compatible findings.

The distinction also helps interpret the paper’s claim about feature families. A family contains representations of related quantities, so its members may seem redundant. The experiment shows that the downstream classifier can use several forms of a quantity productively. The form of the input affects what can be learned conveniently by the later layers. Compressing coordinate products changes what reaches those layers, while broadcasting a scalar changes the number of input positions allocated to a global comparison.

Pattern encoders depend on usable observations

Among the pattern features, the BiLSTM generally performs better than the Universal Sentence Encoder in the authors’ separate-classifier comparisons. The analysis also makes it clear that extraction coverage conditions the comparison. ROOT9 offers many positive pairs with several extracted patterns, and pattern features are particularly useful there. The chances of finding a phrase that expresses the relation are better when there are more candidate phrases available for a pair.

The pattern family’s contribution also depends on what comparison is being made. A pattern can be individually useful as an addition to the required word vectors, and still be less useful once cosine or directional features have been selected. It can likewise be relatively weak in a separate architecture while becoming a useful addition to the common branch of a shared-private one. The paper tests these cases through selected subsets, which gives a more precise reading of the apparent encoder advantage. Its evidence concerns the encoded and pooled Wikipedia phrases, as used with the other inputs in the experiment.

The shared branch sees a different feature problem

The shared-private comparisons change what counts as a useful addition. The private inputs already contain the features selected for each task by separate training. The search can therefore favor a feature family for the shared route that would be weaker as the only optional family in a single-task classifier. The paper finds that the directional distributional family becomes more competitive against cosine-based inputs in this setting. It is particularly strong in the BLESS shared-branch comparisons. The pattern family also gains relative importance in the shared branch compared with its place in the separate classifiers.

RUMEN hypernymy gives a concrete example. The selected private input for hypernymy contains the generalized cosine, cosine broadcast and the compressed generalized cosine, as well as the ordered scalar directional comparison and the pooled BiLSTM pattern feature. The accompanying synonymy branch has the generalized cosine and cosine broadcast in its private input. The shared input uses the coordinate-level directional feature, the directional broadcast feature and the learned scalar directional feature. The required word vectors accompany the selected features.

That arrangement illustrates a division the fully shared architecture has fewer ways to express. Both tasks have private access to strong symmetric comparisons. The common branch can emphasize additional directional information. The authors suggest that this may help the architecture handle differences between the tasks, since a joint setting always includes at least one directional relation. The selected inputs show where the architecture can get the evidence. The interpretation concerns the role it may play once shared and private signals are available together.

Only 2 out of 8 of the reported best shared-branch configurations improve through a combination of different feature families. This differs from the strong cross-family combinations in the separate classifiers, where everything useful has to enter a single branch. In the shared-private architecture, apparently separate family choices can still produce a combined decision, because a task receives features through both routes. A shared input drawn from one family can complement private inputs that contain another.

By contrast, the selected fully shared inputs rely chiefly on cosine-based features. The fully shared architecture delivers the same transformed input to the separate task heads, and the feature search tends to favor symmetric comparisons for that common route. The paper interprets this result alongside the shared-private selections. Giving each task its own feature input changes which additional evidence wins the search for the common input. That is a more specific conclusion than saying that a particular feature family is always best for multitask learning.

Limitations

Limits the authors identify

The authors emphasize variation across datasets. In particular, the directional feature combinations give less regular results than those from the cosine family. The broadcast directional feature often performs poorly, yet its role changes with the configuration. It belongs to the selected shared input for the RUMEN hypernymy target and to the selected shared inputs on BLESS. A general tendency in the private classifiers is therefore insufficient to determine the best setting in advance.

Pattern extraction is another constraint the authors identify. Their motivating examples include sequences whose wording has little to do with the target relation. The choice to pool several frequent sequences is meant to reduce dependence on any one of them. The benchmarks also vary substantially in how often useful patterns can be observed. A method whose input requires an extracted sequence has less opportunity to help when almost all the positive examples lack such a sequence, as in the BLESS meronym data.

The paper acknowledges that the feature-tuned private classifier is difficult to improve upon. The shared-private architecture has the stronger result in several comparisons, and the ROOT9 hypernym F1 result favors the private classifier. The authors likewise describe the overall GloVe and JoSE comparison as difficult to settle. The pattern favoring JoSE for hypernymy coexists with a BLESS meronymy comparison that favors GloVe. The evidence supports configuration-dependent gains.

The authors also identify limited lexical coverage as a drawback of some earlier specialization techniques. Their feature design can work from general distributional vectors and available corpus sequences without requiring each word to have appeared in a curated specialization set. Its usable inputs still depend on the underlying vectors and extracted phrases. The lexical split establishes that test words were held out from the supervised benchmark data. Their occurrence in the material used to obtain vectors or extract phrases is a separate matter.

Limits visible in the experimental design

The negative class defines what the reported scores establish. The main comparisons ask whether a pair belongs to a particular semantic relation or comes from the random class. A harder contrast might place a synonym beside a co-hyponym, or reverse a correctly ordered hypernym pair and require a different prediction. The relation labels and directional features make these questions natural, but the reported random-pair results give limited evidence on them. A relatively accurate binary detector may still have trouble discriminating related pairs with roles that are easily confused.

This is especially important when interpreting the directional features. They make the effect of exchanging the input words available to the classifier. The experiments show that they can help with tasks whose positive relation is directional, and that they can be valuable in the shared route. The word embeddings are also supplied in order, so a classifier can already respond to the positions of the words. The paper’s comparisons measure the contribution of optional features in that broader input. A separate evaluation on deliberately reversed pairs would answer how frequently the learned decision responds correctly to changing the relation’s direction.

The mathematical construction is best understood as a feature inspired by Kullback–Leibler divergence. The sigmoid maps every coordinate to a value in the desired range. It gives no guarantee that the collection of coordinates sums to one. As a result, properties that rely on comparing normalized probability distributions need separate justification here. The measured usefulness of the feature concerns the numerical mapping used by the classifiers.

The feature search also places limits on the word best. A subset first has to perform well within its own family to be carried forward to the cross-family search. A feature that is weaker in isolation might have complemented a different family more effectively than the family winner. The shared-private search introduces a second dependency by choosing the private inputs independently before searching for the shared input. The selected configurations have the best measured performance under that search procedure. The experiment leaves open what a simultaneous search over all branch inputs could find.

The contrast between fully shared and shared-private architectures changes access to evidence and the learned computation. The shared-private design has more routes for information, with separately chosen direct inputs available to the relation branches. The results establish that this design often performs better under the paper’s selection and training procedure. They give limited evidence about how much of the effect comes from the private features themselves, how much comes from the altered input parameterization and how much comes from joint updates. The feature-family comparisons narrow the possible explanations, but they vary whole inputs whose effects can interact.

The selected subsets are likewise evidence about available inputs. They show that classification can improve when particular feature families are made available through particular branches. They give a less direct view of what each hidden representation encodes and which features drive an individual prediction. The word vectors themselves remain in each candidate, and several engineered features are derived from those same vectors. A successful subset can contain related quantities whose separate contributions vary from one pair to another.

Finally, the lexical split controls vocabulary reuse within the supervised task. It does not stand in for a transfer test across corpora, languages or relation inventories. The pattern data come from English Wikipedia, and the benchmarks vary in both the relations they contain and the availability of corpus phrases. The measured effects therefore describe the interaction of these benchmarks, embedding choices, extraction procedure and task pairings. They give a basis for asking the same architectural question in other settings, while leaving those settings open to measurement.

What came after

No later study is documented here as extending or testing the paper’s feature allocation. Whether separately selected private inputs and direction-sensitive shared inputs yield the same gains on other relation inventories or in other corpora remains open.

Cite

Cite as Houssam Akhmouch, Gaël Dias and Jose G. Moreno. 2021. Understanding Feature Focus in Multitask Settings for Lexico-semantic Relation Identification. Findings of the Association for Computational Linguistics: ACL-IJCNLP 2021.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/2021.findings-acl.244

@inproceedings{akhmouch2021understanding,
  title = {{Understanding Feature Focus in Multitask Settings for Lexico-semantic Relation Identification}},
  author = {Houssam Akhmouch, Gaël Dias and Jose G. Moreno},
  booktitle = {Findings of the Association for Computational Linguistics: ACL-IJCNLP 2021},
  year = {2021},
  doi = {10.18653/v1/2021.findings-acl.244},
  url = {https://doi.org/10.18653/v1/2021.findings-acl.244}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/akhmouch-2021-understanding-feature-focus-multitask-settings/