Learning Embeddings to lexicalise RDF Properties
Paper · 2016 · Laura Perez-Beltrachini and Claire Gardent
Summary
A fact can be easy to store and surprisingly hard to put into words. DBPedia records relationships using properties with fixed names. A property for the programming language of a piece of software, for instance, can appear in prose as written in, uses, or based on. Some of those phrases contain none of the words in the property name. Perez-Beltrachini and Gardent ask how to find such expressions automatically. They focus on lexicalisation, the step that supplies wording for a relation before a system turns a structured fact into a sentence. The intended output is a collection of phrases for each relation in a knowledge graph.
The authors gather candidates in two ways. They search for expressions containing words related to those in the property name, and they read Wikipedia sentences that mention entities connected by the property in DBPedia. The first route can find a phrase even when the text discusses completely different entities. The second can uncover wording that the name gives little reason to expect. To rank the resulting expressions, the authors learn numerical representations of DBPedia symbols and of words. They train them on triples paired with sentences produced by a simple grammar, and on separate sets of paraphrases. These two sources give the scorer a way to connect a database relation to text and a way to recognise alternative wording through shared word embeddings.
In the held-out evaluation on DBPedia object properties, the shortlist drawn from both candidate sources achieved recall of 0.38, compared with 0.29 for the extension-based DBlexipedia baseline at the same cutoff. Against the manually compiled reference lexicon, their precision scores were 0.09 and 0.11, respectively. Broader retrieval recovered more of the reference at the cost of much lower precision. The authors also inspected one of their system’s outputs by hand and counted valid alternatives that the reference had omitted. With those additions, precision for that frequency-weighted setting was 0.289.
The examples help explain both the gains and the errors. Written in expresses the programming-language relation for suitable software, even though its words scarcely resemble the property name. A phrase such as town in can express the country relation when the subject is a town, so its usefulness depends on the kind of fact being verbalised. Other highly scored phrases can share words with a triple while describing a different event or relation. The paper shows how to obtain a broader working vocabulary for DBPedia properties and why its entries still need to be interpreted in context.
Deep dive: Learning Embeddings to lexicalise RDF Properties
How learned embeddings connect DBPedia properties to everyday phrases, and what the lexicalisation experiments reveal about coverage and accuracy. · about 35 minutes to read
The problem and its context
A property name is only one clue
A structured fact names the things involved and specifies how they are related. In RDF, the representation used in the paper, the fact takes the form of a triple. The subject identifies the thing being described, the property identifies the relationship, and the object supplies the other participant or value. A triple about a place and its country can therefore associate the place with a country through the property COUNTRY. A person reading a description expects ordinary wording that fits the place, the country and the rest of the sentence.
Lexicalisation supplies that wording. The paper treats a property’s lexicalisations as relation expressions that can occur with the subject and object. An expression such as located in supplies material that a generator can place between suitable descriptions of the two entities. A phrase such as part of offers another choice. The entries are reusable pieces of language. Producing a document would also require decisions about what facts to include and how to present them. The work addresses the vocabulary needed for text generation.
The practical motivation comes from Linked Data. The paper describes large structured resources such as DBPedia and Yago, and notes that the conventions used to publish these resources can be hard for people to read directly. Presenting the information as prose opens uses beyond systems that already know how to process the underlying representation. The authors mention descriptions and explanations for general readers, assistance with formulating queries, and textual presentations of holdings in museums and libraries. In each case, a relation written for machine processing needs wording that a reader can interpret without learning the dataset’s naming conventions.
The relationship between a name and a suitable expression varies. The words of BIRTH DATE give a clear indication of what a sentence should convey, even though a phrase such as was born on changes the grammatical form and supplies a preposition. ROUTE END is less helpful. Finishes at expresses the idea without retaining the wording of the name. The crew-property example in the paper is more opaque still. Its identifier gives little indication that an expression involving command might be appropriate. If the task depended on translating each component of the identifier separately, these cases would require very different amounts of guesswork.
A property offers another clue through its extension. This is the set of subject–object pairs that the database records as standing in the relation. A programming-language property thus has an extension consisting of software and language pairs of the relevant kind. A writer may describe such a pair in useful terms while using none of the words from the identifier. A Wikipedia sentence about the software and its language can supply the wording that the property name leaves implicit. The clue is indirect because an article can discuss the same entities for several reasons. Their appearance gives the procedure somewhere to look, and the relation expressed by the sentence still has to be judged.
The two clues differ in what makes them fail. A descriptive name gives the lexical route something to search for even when there are few suitable Wikipedia sentences about known argument pairs. An opaque name reduces the value of that route, while a well-documented instance can still lead to an informative phrase. Entity mentions can also be plentiful without occurring in a sentence that states the relevant fact. The paper treats name-based evidence and instance-based evidence as complementary sources, each capable of supplying useful expressions that the other leaves out.
What earlier lexicons and extractors supplied
One approach described in the paper starts from how property names are built. Trevisan first divides a name into words and assigns their grammatical categories. Handwritten rules then map the resulting sequence of categories to a phrase pattern. An address property, for example, can become a construction that names the address of the subject and identifies it with the object. This works when the name contains sufficiently informative vocabulary and its grammatical shape suggests a sensible construction. The steps depend on tokenization and part-of-speech tagging.
That approach serves two roles in the paper. Its output is a baseline for judging how far name-derived rules can get on their own. Its procedure also helps produce training sentences. A rule can supply a workable association between structured data and wording even when it offers little variety in a finished lexicon. The authors take advantage of that narrower capability during training.
The ontology-lexicon work by Walter and colleagues uses both names and text. Its label-based component looks for related vocabulary, including synonyms of words in the property name. Its pattern-based component starts from sentences about entities connected by a DBPedia property. It generalises over grammatical connections between the entity mentions and uses handwritten patterns and counts to obtain expressions. Those grammatical connections come from dependency parsing.
The paper identifies a risk in promoting an expression because it occurs often around connected entities. The phrase can be common in the source sentences and still name a different relationship. By learning a similarity score that compares each candidate with a representation of the structured relation, the authors aim to assess the fit of expressions gathered by either route. Their use of both kinds of evidence is therefore a choice about ranking as well as a choice about search.
The authors also place their work alongside relation extraction. Earlier extraction systems described in the paper used labelled examples to learn patterns for particular relations. A recurring phrase in texts labelled for a relation could be evidence for an extraction rule. Open extraction widens the task to relations encountered in text, including ones outside a pre-defined inventory. The paper situates Open Information Extraction Using Wikipedia in this line of work.
Lexicalisation starts with a different object of interest. The property is fixed, and the task is to discover a set of expressions that can convey it. A general extractor is nonetheless useful inside that task because it can propose phrases that connect two textual arguments. PATTY, another comparison in the paper, also groups extracted variants and can associate relation clusters with pre-defined properties. This makes its output suitable for comparison with a lexicon induced specifically for DBPedia.
The immediate precedent for the numerical scorer is work by Bordes and colleagues on question answering. In the approach described by the authors, embeddings bring questions close to their corresponding answers. Automatically produced questions supply links to structured facts, and pairs of paraphrased questions provide additional evidence about wording. Perez-Beltrachini and Gardent adapt those roles. A triple is associated with a generated statement, while paraphrases help the word representations carry the association beyond the expressions that the generation rules happened to produce.
The resulting task sits between learning from labelled examples and collecting unexplained co-occurrences. The authors lack an annotated inventory of correct lexicalisations for training. They do have structured facts, a grammar that produces approximate expressions for them, and resources that associate pieces of text. Those ingredients provide distant supervision. The desired relationship is inferred from how the examples were assembled, so a training pair has an identifiable source of evidence even when its wording or semantic match is imperfect.
The method, step by step
From a stored fact to a ranked list of phrases
The procedure has a learning stage and a retrieval stage. In learning, a triple and a sentence produced from that triple should receive a high score together. The same sentence should receive a lower score when paired with a triple whose property has been replaced. In a separate task, paired paraphrases should receive a higher score than expressions the training procedure has paired artificially. Both learning tasks shape the representations of words.
In retrieval, the authors gather text candidates using the property name and the facts recorded under that property. They use ReVerb to identify expressions with a subject, a relation mention and an object. The scorer works on the candidate phrase, which can include the surrounding arguments. The lexicon entry comes from the relation mention inside it. This distinction lets the procedure draw evidence from a larger piece of text while returning a smaller expression that can be reused.
Learning and applying the RDF lexicalisation method
The steps in order.
Generating the links between facts and words
The first training collection begins with triples from the knowledge base. The authors use Trevisan’s property-name rules to assign a syntactic construction to each property. A small grammar then builds sentence variants from that construction and the arguments of individual triples. Generating the text gives the authors an explicit link between a sentence and the fact it was intended to express. The grammar can do this even when no human-written sentence is available for that fact.
The bridge example in the paper illustrates what varies. The underlying record places Dumbarton Bridge in Menlo Park California through LOCATED IN AREA. Generated variants can name the bridge directly, use a pronoun for it, or put the location first in a relative construction. Some variants read like fragments and some have awkward wording. They still bring together the property, its arguments and lexical evidence about location. Their role in training is to convey that association across changes in wording and sentence shape.
The paper reports 5.9 generated sentences per property on average in its account of this generation step. The assembled training collection T contains 317,853 triple–sentence pairs derived from 53,384 triples covering 149 relations. These figures describe the source of the supervision. A sentence variant supplies another textual view of a fact already represented in the triples. The collection can consequently contain many links between structured symbols and words while drawing its wording from a small generation procedure.
To make a negative example, the authors keep the sentence and both entities and substitute another property. They check that the unchanged pair of entities does not belong to the replacement property’s extension. The positive and negative examples therefore agree on the named participants and differ at the point the system is supposed to learn about. For a sentence about the influence of Aristotle on Christian philosophy, the negative example in the paper retains those participants and inserts a computing-media property.
A comparison of this kind gives the scorer a reason to pay attention to the relation words. If it gave both triples a high score simply because their entities matched the sentence, the ranking objective would still have an error to correct. The extension check also matters. Some pairs of entities participate in more than one database relation, so an arbitrary substitution could otherwise yield a triple that is recorded as true. The check uses the facts available in the knowledge base as the criterion for rejecting such substitutions.
Giving the scorer evidence about paraphrases
The generated sentences reflect the vocabulary available to the grammar and name-based rules. To broaden that vocabulary, the authors add a training collection P made up of pairs intended to express similar meanings. The connection to lexicalisation comes through the word representations. A phrase that never appears in a generated sentence can still share embedding information with wording that does, because the two tasks alter the same word matrix.
The first source is PPDB, whose entries were obtained through bilingual pivoting. The idea is that two expressions with a shared translation provide evidence of a paraphrase. The authors use the lexical and phrasal parts of the M package in version 2.0. Lexical entries pair individual words, whereas phrasal entries involve longer expressions. The syntactic entries in PPDB generalise over parts of a construction, so the authors choose categories that more directly serve their interest in alternative wording. They describe the medium package as a compromise between stronger filtering in smaller packages and greater coverage in larger ones. The selected PPDB material contributes 3,525,057 pairs to P. The extraction idea comes from Paraphrasing with Bilingual Parallel Corpora.
The second source, WikiAnswers, associates questions that users have marked as paraphrases. The resource is described as having 18M pairs and 2.4M distinct questions. The training collection in this paper includes 220,998 pairs from it. The distinction between the size of the resource and the number used for training is substantial for understanding the setup. The paper also reports the source authors’ estimate that 55% of the question pairs express genuine paraphrases. A pair can discuss the same subject and ask for different information, as the paper illustrates with questions about Coca-Cola that concern purchase quantities and price. These question pairs come from Paraphrase-Driven Learning for Open Question Answering.
DBPP, the third source, contributes 54,489 pairs drawn from the DBPedia ontology. These pair an entity with a class. A named entity and its class are related in a different way from two synonymous expressions. The role of the class is to give the learner a link from the name of a specific instance to general vocabulary that could occur in a description of it. This matters when an encyclopedic sentence uses a common noun while the triple contains an identifier for an individual entity.
The paper groups these sources together for the text-pair objective. Its positive examples are the pairs taken from the resources. To construct a negative, the authors retain one expression and exchange its partner for another expression with no recorded paraphrase association to the first in either direction. A word like collaborate, for example, has a useful positive partner in cooperate and can be contrasted with an unrelated replacement. The negative construction checks recorded pair membership. A resource with incomplete coverage can still leave a real paraphrase unrecorded, just as a noisy source can admit weak positives.
These ingredients provide different kinds of evidence. A lexical pair can make a synonym accessible to the scorer. A phrasal pair can associate expressions whose individual words differ. Questions contribute broader wording correspondences, with the noise that accompanies the collection method. Entity–class pairs give more general descriptions a connection to named instances. The learning procedure uses the same similarity task for all of them.
Representing a triple and a phrase
The precise scoring scheme begins with separate inventories of knowledge-base symbols and textual word forms. The knowledge-base inventory includes entities and properties. The text inventory corresponds to words found in the training collections. The authors assign a row of numerical values to each member of each inventory. These rows have the same length across the two inventories so that a representation assembled from one can be compared directly with a representation assembled from the other.
The triple representation is defined as follows.
f(t) = Kᵀ · φ(t)
Here t is an RDF triple and f(t) is its vector representation. K is the embedding matrix for knowledge-base symbols. The superscript ᵀ means transpose, which exchanges rows and columns. φ(t) is a binary column vector indexed by those symbols. An entry indicates whether its symbol occurs in the triple. The multiplication sign · here denotes matrix–vector multiplication, and = gives the definition of the vector. The operation adds the rows of K selected by φ(t), which lets both the property and its arguments contribute to the result.
The text representation is built in parallel.
g(s) = Wᵀ · ψ(s)
In this expression, s is a sentence or a natural-language phrase and g(s) is the resulting vector. W stores word embeddings. Again, ᵀ transposes the matrix, · denotes matrix–vector multiplication, and = defines the representation. ψ(s) is a binary column vector indexed by word forms. Its entries register presence and absence in s. This multiplication adds the rows corresponding to the word forms present in the text.
In the paper’s notation, nₖ is the number of distinct knowledge-base symbols and nᵥ is the number of distinct word forms. These determine the row counts of K and W, respectively. The paper uses n with a w subscript for the word inventory. Both matrices have d columns, where d is the shared dimensionality of the representations. Since the indicator vectors register presence, another occurrence of a word in the same phrase leaves that indicator unchanged. The same collection of word forms always gives the same g(s), regardless of their ordering. This is a bag-of-words representation.
The triple–text score compares the assembled vectors.
Sₜ/ₛ(t, s) = f(t)ᵀ · g(s)
Sₜ/ₛ is the triple–text similarity function. The subscripts t/s identify the types of its inputs, a triple t and a text s. f(t) and g(s) are the vectors just defined. The ᵀ on f(t) turns it into a row for multiplication, and · now gives the dot product. This takes the product of the values at each corresponding position and adds those products into a single score. The expression defines a scalar score, which the retrieval procedure uses to order candidates.
This form makes it possible for two pieces of evidence to help the score at once. Words associated with a property can align with its representation, and words related to the arguments can align with theirs. That is useful when familiar entities occur with an unfamiliar expression. It also introduces a point of ambiguity. A high score can reflect the entities or the general subject matter of a phrase even if its relation mention is a poor fit. During training, the property substitution creates pressure to disambiguate some of these cases. At retrieval time, the score still summarises the whole phrase.
The paraphrase task uses the dot product of two textual representations. The paper writes the phrase encoding with f in this equation. Using g makes the shared use of W explicit and keeps the notation for text consistent with the earlier definition.
Sₚ(pᵢ, pⱼ) = g(pᵢ)ᵀ · g(pⱼ)
Sₚ is the paraphrase similarity function. Here pᵢ and pⱼ are pieces of text indexed by i and j. The letter p in these arguments refers to phrases for the paraphrase task, whereas p elsewhere can denote a DBPedia property. g uses the word matrix W on each expression, ᵀ transposes the first vector, and · takes its dot product with the second. = defines the paraphrase score. Updating W to improve this score also changes the textual side of the triple–text comparison.
Learning from the positive and negative pairs
The training objective is a margin-based ranking loss. For each comparison, the desired positive score must exceed the negative score by a margin of 1. A relative ranking is suitable because the required output is an ordering of expressions. The training comparison asks whether the matched item scores sufficiently above its corrupted counterpart without requiring either score to have a particular absolute interpretation.
For the triple–sentence task, the per-comparison margin loss can be expressed in the following notation.
ℓₜ/ₛ(i, j) = [1 − Sₜ/ₛ(tᵢ, sᵢ) + Sₜ/ₛ(tⱼ, sᵢ)]₊
ℓₜ/ₛ(i, j) denotes the loss for a comparison indexed by i and j. The sentence sᵢ belongs to the positive triple tᵢ. The negative triple tⱼ is paired with that same sentence. Sₜ/ₛ scores each pair, the − sign subtracts the positive score, and the + sign adds the negative score. The 1 is the required margin. The notation [ ]₊ denotes the positive part of the enclosed margin expression, so a comparison that already satisfies the margin contributes no penalty. = defines this loss for each such positive and negative comparison.
For paraphrases, the corresponding objective keeps the first expression fixed.
ℓₚ(i, j, l) = [1 − Sₚ(pᵢ, pⱼ) + Sₚ(pᵢ, pₗ)]₊
ℓₚ(i, j, l) is the paraphrase loss for the phrases indexed by i, j and l. The positive pair consists of pᵢ and pⱼ, while the corrupted pair uses pᵢ and pₗ. Sₚ gives their scores. The 1 again specifies the margin, and the − and + signs make the loss fall as the positive pair’s score rises relative to the negative pair’s. The brackets with ₊ retain the positive part, and = specifies that this is the loss for the comparison.
The first objective pulls knowledge-base and text representations into a relationship suited to the lexicalisation task. The second reshapes the text representations using evidence that crosses word and phrase choices. Together they make the word matrix the place where paraphrase evidence can affect triple retrieval. The knowledge-base matrix participates directly in the first objective, since the text-pair comparisons contain no encoded triples.
Initialising and fitting the representations
The authors implement the scorer in Python with Keras and its Theano backend. They initialise W with pretrained vectors, while K receives uniform initialisation. The starting word vectors have length 100. The paper describes the word data used to train those vectors as 6 billion words from Wikipedia and English Gigaword. This gives the text side an initial representation before either of the paper’s ranking tasks updates it. The vectors come from GloVe.
The shared dimensionality d is 100. The word inventory has 130,970 entries drawn from T and P, and the knowledge-base inventory has 43,797 entries across entities and relations. The authors train the two similarity functions with stochastic gradient descent, which updates the representations in response to training examples. They set the learning rate to 0.1 and run for 5 epochs. The reported training time is roughly 15 hours.
Turning Wikipedia text into lexicon entries
For extension-based candidates, the authors use sentence material prepared with the MATOLL tools. The experimental description defines the source for a property in terms of Wikipedia sentences mentioning two entities that DBPedia connects through that property. The paper’s introductory discussion describes the search more broadly, in terms of sentences mentioning the subject, the object or both. The experimental definition is the relevant one for reading the reported E-LEX results. ReVerb extracts candidate relations from the selected Wikipedia material.
For lexical candidates, the procedure uses ReVerb extractions from Wikipedia and checks the words in the extracted relation mentions. The authors retain an extraction when its relation wording includes a word lexically related to a component of the property name. They use synonyms and derivationally related words from WordNet. Derivational links can connect words that share a base but belong to different grammatical categories. The lexical route can thus identify wording beyond a verbatim copy of the label while keeping the search tied to what the label says.
ReVerb supplies a subject, a relation expression and an object using frequency information and filters over textual patterns. Its role is to decide what constitutes a plausible extraction from the source text. The learned score has a subsequent role. It assesses which of the extracted phrases better fits the target relation. A fluent or common extraction may therefore be a good output of ReVerb and a poor candidate for a particular property.
The authors rank candidates using the dot product and then extract relation mentions from the selected phrases. They apply small normalisation rules to reduce repetition. Modifiers such as adverbs can make several instances of led by look like different expressions, even though they offer essentially the same reusable wording. Collapsing such variants helps avoid spending several places in the final list on the same relation phrase.
Selection can use a fixed number of high-ranking entries or a threshold based on the scores for a property. The experimental settings also include reranking with a combination of the learned score and the frequency of a normalised expression. Across these variants, the final product is a set of lexicalisations for a given property. The paper reports making the complete extractions for its bounded, frequency-weighted union setting available.
Experiments and results
The held-out properties and the comparison lexicons
DBPedia is the source of the structured facts. The paper describes it as a crowd-sourced resource derived from Wikipedia and distributed as RDF. The experiments concern object properties, which connect entities. These are suited to a retrieval route that can look for mentions of both participants in encyclopedic text.
The authors report a held-out evaluation on 30 properties. To be eligible, a property had to appear in the reference lexicon, in the comparison systems and in the available extension-based candidate material. That last condition matters because it gives both routes a chance to contribute on the selected set. It also separates the evaluation from the question of what happens across all properties for which the Wikipedia search fails.
The selection varies how frequently a property occurs in DBPedia and how readily its wording can be inferred from its name. The paper describes one third as occurring more than 80,000 times, one third fewer than 20,000 times, and another third between 20,000 and 80,000. PROGRAMMING LANGUAGE has the minimum reported frequency among the selected properties, at 5936 occurrences. TEAM has the maximum reported frequency, at 1,825,970. These are counts of occurrences in DBPedia. They do not measure how many relation phrases the procedure extracted for either property. The authors also include labels such as ROUTE END, for which a plausible expression may diverge from the words in the compound.
The reference is a hand-built DBPedia lexicon developed by McCrae and colleagues. The paper calls it GOLD. It provides expected property–lexicalisation pairs. An output receives credit for recovering a reference expression according to the study’s matching rule. The reference contains an average of 2.4 lexicalisations per property, a small number given the variation the paper seeks to recover.
The comparison systems represent distinct ways to obtain a lexicon. QUELO relies on tokenising and tagging property names and applying prepared rules. The extension-based DBlexipedia comparison draws on the Wikipedia sentences associated with property arguments and generalises over grammatical links between them. The broader DBlexipedia resource also has a label-based route, and the authors use its English lexical entries in their evaluation. PATTY obtains patterns from web text and groups them through relation extraction and clustering. The paper also includes random selection baselines at the fixed cutoff to test whether the learned ordering adds value to candidate collection.
What counts as a match
Precision measures how much of a returned lexicon the reference supports. Recall measures how much of the reference the returned lexicon recovers. The paper expresses these measures with counts of correct, found and reference items.
Precision = Correct / Found
Found is the number of returned property–lexicalisation pairs, and Correct counts the returned pairs credited by comparison with the reference. The slash denotes division. Precision is the resulting proportion of returned pairs that receive credit, and = specifies its definition.
Recall = Correct / GOLD
Correct again denotes the credited pairs, and GOLD is the number of reference pairs under evaluation. The slash divides the credited count by the reference count, and = defines Recall. This measure uses the reference inventory as its denominator, so it measures the recovery of known entries.
The paper reports micro-averaged precision, recall and F1. Micro-averaging pools decisions over the evaluated property–lexicalisation pairs. Properties that contribute more pairs consequently have more influence on the relevant totals. Because F1 combines precision and recall using their harmonic mean, it reflects how well the outputs cover the reference entries and how well they avoid unsupported results. The paper’s results figure also tracks the average count of candidates for each system, which helps explain why settings with broad output can behave differently from settings with short lists.
Matching is softer than requiring an exact string. The authors check whether the stemmed reference expression is contained in the candidate. A stem groups certain inflected forms around a shared base. The paper’s occupation example gives credit to a longer phrase that preserves the reference’s core wording while adding a modifier. This criterion accommodates some textual variation through stemming.
The same rule can miss an alternative phrasing that shares little surface form with a reference entry. That is important here because much of the method’s purpose is to find such alternatives. The authors therefore supplement the automatic comparison with a manual check for one output setting. This provides a second view of how frequently the system produced usable lexicalisations.
Candidate sets and selection rules
The experiments compare L-LEX, which uses name-related vocabulary, and E-LEX, which uses text about related entities. The authors also test their union and intersection. A union admits a candidate supported by either collection procedure, while an intersection keeps the candidates shared by the collections. This comparison tests how the results change when the scorer starts with a broader or narrower search space.
One selection rule returns the best candidates at k=10. Other rules determine the selection from the distribution of scores for each property. The authors try keeping candidates above the median or above the midpoint of the score range. The midpoint threshold is written as follows.
mid-range = (min + max) / 2
min and max are the lowest and highest candidate scores for that property. The parentheses group them, the + sign adds them, and / 2 gives their arithmetic midpoint. The expression defines mid-range as the threshold. This threshold depends on the extremes, whereas the median depends on where a score falls in the ordered collection.
The authors also test selection by the third quartile, called Q3 in the paper. A further variant uses frequency to rerank the candidates before applying that rule. Its score combines the embedding comparison with repeated occurrences of the expression.
reranking score = similarity score × frequency
similarity score is the dot product for the candidate and the structured representation used in ranking. frequency counts occurrences of the lexicalisation after stripping modifiers such as adjectives and adverbs for counting purposes. The multiplication sign × combines these terms, and = defines the score used for reranking. A relation mention occurring in several slightly different forms can therefore contribute to the frequency of a common normalised expression.
The frequency-weighted quartile procedure is called FreqQ3. For FreqQ3Limit(7,25), the authors impose a lower and an upper bound on the number of expressions returned. If the quartile procedure returns fewer than 7, they take the best 7. If it returns more than 25, they retain the best 25. This gives each property a list whose size can depend on its scores within the specified limits.
How much the systems recovered
At k=10, the learned ranking over the union of the two candidate sources reaches recall of 0.38. The extension-based DBlexipedia comparison reaches 0.29 at the corresponding cutoff. Precision goes the other way in this comparison. The union setting has precision of 0.09, and DBlexipedia has precision of 0.11. The paper regards those precision values as comparable while drawing attention to the gain in recovery of reference items.
PATTY retrieves a larger share of the reference, with recall of 0.59, and has precision of 0.0015. Returning all of the extension-based candidates gives the authors’ procedure recall of 0.80 at what the paper describes as comparable precision. These broad settings show how much of GOLD can be reached when the output is expansive. The shortlist comparison addresses the separate question of what can be recovered with a fixed selection size.
Recall against the DBPedia gold lexicon on the held-out properties
The learned union retrieves more reference expressions than DBlexipedia at the shared cutoff, while returning the entire extension pool gives the highest recall shown.
The numbers
| System or setting | Recall |
|---|---|
| DBlexipedia extension-based at k=10 | 0.29 |
| Learned union at k=10 (this paper) | 0.38 |
| PATTY | 0.59 |
| All extension-based candidates | 0.80 |
For the authors’ retrieval procedure, they report that taking the 10-best candidates gives the strongest precision and F1 among the selection approaches they discuss. They also report much lower precision from randomly chosen entries at the same cutoff. Since the random procedure does not benefit from the similarity ordering, this comparison supports the conclusion that the learned score puts useful candidates nearer the top. The paper characterises QUELO as the most precise comparison system and says it also obtains a high F1. The discussion gives the direction of these F1 comparisons, while the numerical results above are the stated precision and recall values.
QUELO’s successes help make sense of the precision result. It can derive owner and owner of from OWNER and recover recorded in from RECORDED IN. In the paper’s examples those outputs coincide with the reference entries for the respective properties. EDUCATION illustrates the other side of the same approach. The hand-built entries include attend, go to and study at, which demand vocabulary beyond the direct wording of the property label. The paper reports that QUELO misses those forms.
What inspection changed
The authors examine the outputs of the union setting with frequency reranking and bounded quartile selection. They identify correct expressions missing from GOLD and add those judgements to the reference used to assess that output. Precision under the expanded reference is 0.289 for that specific setting. Its condition matters. The 0.09 value reported for the union at k=10 comes from a different selection rule and the original reference.
The programming-language example illustrates what an omitted entry can look like. Programming language for comes from words that closely track the property label. Written in can be found through text that names both a piece of software and its language. Uses and based on offer further context-dependent possibilities. Seeing these expressions together explains why the authors seek both kinds of evidence. It also shows how judging an entry can depend on the relation and its arguments, since the same short phrase can express many different facts.
For COUNTRY, the reference contains located in, which the system retrieves. The authors regard part of as another legitimate wording. More specific entries refer to a village, commune, town or county in a country. They are meaningful when the subject is of the corresponding type. A lexicon of useful alternatives can therefore contain expressions of different breadth, even though the automatic evaluation presents them as pairs of a property and a phrase.
The paper also describes problems in the output of the comparison resources. A list can contain several forms of graduate from and still omit an expression such as study at. A count of distinct surface strings can give the impression of variety while much of the list expresses the relation in almost the same way. The normalisation in the authors’ procedure reduces some repetition, and the manual review makes it possible to see when an item adds a genuinely different way to say the fact.
What the ablations show
The source of a candidate changes what can be found
The paper does not report a component ablation of the embedding training. Its evidence about what drives the results comes from varying the candidate pools and selection rules, comparing the learned ranking with random selection, and inspecting the returned lexicalisations. These comparisons concern different parts of the procedure. Changing the source of candidates affects what the scorer has a chance to recover. Changing the selection rule affects which candidates survive. The manual inspection tests whether the evaluation recognises some of the outputs that survive.
The authors report that L-LEX consistently produces better recall within their comparisons of candidate sources. Their interpretation is that many reference expressions can be recovered from passages with no special connection to the recorded instances of a property. WordNet relatives of the label words take the search to other contexts where writers express the same general relationship. This result is especially relevant for reference coverage, since familiar wording may recur for many entity pairs beyond those recorded in the knowledge base.
The paper gives a direct indication of how often the extensional search can lack material. Among 149 DBPedia properties, the MATOLL corpus provides no sentences for 19. A method restricted to those sentences cannot recover a lexicalisation for such a property. This observation concerns corpus coverage before ranking. A stronger scorer would face the same empty candidate set. The lexical route can supply candidates in some of these cases when the label contains useful clues.
The earlier work by Walter and colleagues offers a parallel observation reported by the authors. In that work, the extension-based route yielded recall of 0.35, and adding a lexical approach based on synonyms of label words raised recall to 0.5. Those figures belong to the earlier study. They provide context for the present comparison without measuring the gain from adding a particular component to the embeddings.
The examples show where the extension route contributes even if the lexical route recovers more of the reference overall. The words written in offer little obvious path back to a search over the words in PROGRAMMING LANGUAGE. A sentence about software developed in a particular language can contain that wording directly. A property’s extension therefore gives access to expressions that can broaden a lexicon even when many of its existing reference phrases are easier to recover through the label.
An intersection and a union embody different assumptions about that tradeoff. The intersection asks for agreement between name-related and instance-related evidence. It can exclude an expression that is informative precisely because it has no lexical resemblance to the label. The union preserves that expression for the ranker to judge, along with candidates supported only by incidental co-occurrence. Any gain from the broader search depends on the later ranking and on how many entries the selection rule permits.
The ordering helps at a fixed cutoff
Returning a full candidate set lets the experiment ask how much of the reference is present somewhere in the pool. The extension-based collection’s recall of 0.80 demonstrates substantial coverage under this permissive condition. A shortlist asks a harder question about the quality of the ordering. The reference entry has to be present and rank high enough to survive selection.
The random comparison controls the length of the returned list. At k=10, the paper reports much lower precision for random selection than for its learned ordering. This lets the authors attribute some usefulness to where the scorer places reference matches within the candidate pools. The comparison evaluates the trained score as a whole. It gives no separate estimate for what was supplied by the initial word vectors, training on generated sentences, or subsequent learning from paraphrase pairs.
The threshold experiments illuminate the effect of output size. The paper reports the best precision and F1 for the fixed 10-best retrieval rule among the tested retrieval choices. Adaptive rules allow the number returned to vary with each property’s scores. Frequency weighting gives another opportunity to favour expressions that recur in source text. Neither choice guarantees a cleaner list. A frequent phrase can repeatedly express a different relationship, and a threshold can admit many weak entries if the scores do not distinguish them clearly.
The manual check addresses a different mechanism. By adding valid outputs missing from the reference, the authors change which observed predictions receive credit. The candidates and scores of the inspected setting are already fixed. The resulting precision of 0.289 thus demonstrates the influence of reference coverage for that output. It does not isolate a contribution from frequency weighting or show that the adaptive list would beat the fixed list under the same expanded reference.
The examples locate errors and useful variation
Several reported outputs cluster around a common expression, while others offer a distinct wording or restrict the kinds of entities the phrase can describe. Consider AFFILIATION. The output includes member of, associated with and inflected forms involving affiliate. Some pairs supply closely related variants of a shared phrase, while others expand the lexical choices. A bare count of retained items does not capture that difference in variety.
LEADER shows how easy it is for related vocabulary to introduce another meaning. An expression such as leader of can name a relationship between a person and an organisation. Lead to can express a consequence. A ranking procedure that treats the words as useful evidence may assign some credit to both, yet the phrases differ in what they claim when placed between two arguments. This is one reason the paper’s comparison of rankings and examples provides a fuller picture than the induced list alone.
The labelled examples also distinguish evidence supplied by the property name from evidence supplied by sentence context. Examples for PROGRAMMING LANGUAGE include both, and COUNTRY shows that context can add a description of the subject as well as connect it to the object. These examples establish that the overall procedure can collect both kinds of expressions. They leave open how frequently particular phrases depend on paraphrase training, since the paper does not remove that training and compare the resulting ranks or lists.
Limitations
Limits identified by the authors
The authors identify the reference lexicon as a constraint on interpreting precision and F1. With an average of 2.4 entries per property, the reference can omit usable ways to express a fact. A candidate that conveys the relation using different words may receive no credit, even under the softened matching rule. This makes the automatic precision measure partly a measure of agreement with the lexicon’s coverage. The increase in credited precision after manual inspection of one setting shows the importance of that issue in the authors’ own outputs.
The authors also call attention to the bag-of-words scoring representation. Their location example pairs a triple placing the American Film Institute in California with a sentence about a newly built city and a nearby location. The overlap in broadly related location vocabulary is enough to produce a high score in the reported example. The fact in the triple concerns a specific institution and place, while the sentence describes a different subject. The paper proposes exploring richer phrase representations to address such cases.
Word order and grammatical roles are especially relevant for a method that seeks to connect the two arguments of a property. The score for a phrase is assembled from an inventory of the words that occur in it. The vector itself cannot distinguish the roles those words play in the text. ReVerb uses textual patterns during candidate extraction, so some structural constraints apply before scoring. The authors’ example shows why an extracted expression can nevertheless keep a high score through topic or vocabulary overlap.
The study’s stated scope is DBPedia object properties. The authors identify datatype properties and a larger set of properties as subjects for future evaluation. A datatype property links an entity to a value rather than to another entity of the sort used for the Wikipedia retrieval pairs. The reported experiment gives no result about how the evidence gathering, phrase coverage or scoring would behave for those properties.
The paper also points out the practical coverage limit of an extension-only search. Some properties have few recorded instances or little useful sentence material. Others have no sentences in the candidate corpus. Adding the lexical route reduces dependence on that corpus, while the resulting coverage still depends on whether the property name leads to relevant words.
Limits visible in the evaluation setup
The evaluation is conditioned on properties appearing across the reference, the baselines and the extension-based candidate material. Choosing properties from several frequency ranges exposes the procedure to different parts of the inventory. It still leaves out a particularly difficult situation for an extension-based approach, namely a property with an empty source corpus. The separate count of properties that lack sentence material describes the scale of that problem in the authors’ collection. The held-out scores quantify lexicalisation on the eligible subset.
The paper reports 30 held-out properties in its evaluation description, while its printed property roster appears to contain more entries than that reported total. The numerical results are consequently best read with the evaluation size as stated by the authors. The roster supports discussion of the named examples and selection criteria, while the account leaves the discrepancy unresolved.
There is also a difference between the breadth of an expression and its validity. Located in can apply to many subjects with a country property. Town in adds a kind of entity to the assertion. It can be a suitable realisation of COUNTRY for a town, while applying it to every subject of the property would introduce false information. The reported output is a set of property–phrase pairs. The study does not measure a generator’s ability to infer and enforce the conditions under which each entry is appropriate.
The evaluation likewise concerns lexical items rather than complete passages. A relation mention can be correct while the sentence assembled around it has weak grammar or the wrong argument order. The paper uses patterns and sentence generation to create training data and uses relational extractions to collect candidates. It evaluates whether their relation phrases belong in a lexicon. It does not report a test of the readability, grammatical accuracy or factual fidelity of documents generated with that lexicon.
The matching rule has consequences in both directions. Allowing a candidate to contain a reference expression recognises minor elaborations and inflectional changes. A longer candidate can also preserve the matching words while adding meaning that makes it applicable in fewer cases. Conversely, an equally general paraphrase with different surface wording can go uncredited. The manual inspection helps reveal the second effect for the chosen output, while the paper does not report a uniform manual reassessment of all settings and baselines.
The training examples involve another form of incomplete supervision. Negative triples come from a test of membership in the recorded extension, and negative paraphrases come from the absence of a recorded pairing. These checks are defensible ways to build examples without labels. Their semantic accuracy still depends on the coverage of the source resources. A plausible property assignment may be missing from the knowledge base, and a valid paraphrase can be absent from a paraphrase collection. Positive associations can also be uneven, as the estimate for WikiAnswers makes clear.
Finally, several sources of learning operate together. The word vectors begin with distributional information from external text. Generated sentences link facts to words. Paraphrase pairs modify the same word matrix, and the candidate collections already encode knowledge about the property name or extension. The reported comparisons support the usefulness of their combined output and provide evidence about the effect of selection and candidate coverage. They leave the individual contribution of each training source undetermined.
What came after
The later citing work listed for this study is Bootstrapping Generators from Noisy Data, published in 2018. Its title identifies a broader generation problem and names noisy data as the material for bootstrapping. The lexicalisation paper gives a concrete instance of why noisy data is useful in this area. It constructs approximate sentences from recorded triples and supplements them with textual pairings whose reliability varies. Those sources make training possible without a hand-labelled target lexicon.
The connection can be traced at the level of supervision. A generated sentence has an identifiable link to the fact that prompted its construction, even when it is awkward. A paraphrase resource can supply wording beyond that construction, even when some pairs express different meanings. The lexicalisation study combines those imperfect signals to learn a score for selecting relation phrases. Its experiments judge the resulting phrases by reference coverage and by examination of entries the reference omitted.
The later paper’s citation establishes that it refers to the lexicalisation study. Its listed title gives the topic of the follow-up, and the record contains no methodological detail about the use of these embeddings, candidate sets or ranking procedures. The documented connection is therefore between a study that learns wording for particular RDF relations from noisy supervision and a later citing study whose stated subject is bootstrapping generators from noisy data.
Cite
Cite as Laura Perez-Beltrachini and Claire Gardent. 2016. Learning Embeddings to lexicalise RDF Properties. Proceedings of the Fifth Joint Conference on Lexical and Computational Semantics.
@inproceedings{perezbeltrachini2016learning,
title = {{Learning Embeddings to lexicalise RDF Properties}},
author = {Laura Perez-Beltrachini and Claire Gardent},
booktitle = {Proceedings of the Fifth Joint Conference on Lexical and Computational Semantics},
year = {2016},
doi = {10.18653/v1/s16-2027},
url = {https://doi.org/10.18653/v1/s16-2027}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/beltrachini-2016-learning-embeddings-lexicalise-rdf-properties/