Multi-Hop Knowledge Graph Reasoning with Reward Shaping
Paper · 2018 · Xi Victoria Lin, Richard Socher and Caiming Xiong
Summary
A missing link in a knowledge graph can hide an answer that the rest of the graph supports. A graph might record where a person was born and which country contains that place, while omitting the direct link from the person to the country. This paper studies how to train a search agent to recover answers by following such chains. It builds on MINERVA, which starts at the entity named in a query and uses reinforcement learning to choose which edge to follow at each step. The query supplies the relationship to look for, and the agent proposes the entity it reaches at the end of its walk.
Training that agent from answers alone creates two problems. An answer missing from the training data earns the same reward as a wrong answer. Conversely, a recorded answer can earn full credit even when the route to it has little to do with the query. The authors address the first problem with reward shaping. A recorded answer still earns 1, while an unrecorded candidate receives a score from a separately trained graph completion system, such as ConvE or ComplEx. They address the second problem with action dropout. During training, a fresh random mask suppresses some outgoing edges at each step, so an agent that has learned to favor a particular move has opportunities to try other routes.
The evaluation covers UMLS, Kinship, FB15k-237 and WN18RR, as well as NELL-995. The authors report improvements over earlier path-based approaches on four of the five benchmarks across their variants. Their main comparison credits the ConvE variant with clear gains on UMLS, Kinship and FB15k-237, with relative improvements of 4%, 9% and 39%, respectively, over earlier path-based performance. The choice of reward scorer matters on WN18RR, where removing ConvE shaping improves development-set results and using ComplEx is more helpful. On NELL-995, the gains are limited. Across the development comparisons, removing action dropout generally does more harm than removing reward shaping, and the gains from the two techniques tend to be stronger for relations with several answers.
The study shows how a scorer that evaluates individual facts can help train an agent that retrieves answers through visible graph paths. The combination brings path-based answer ranking closer to the strongest embedding-based approaches and sometimes matches or exceeds them. The authors still see a gap between the two families. The walks make the search inspectable, while the experiments measure how well the final entities rank and leave the logical quality of individual routes open.
Deep dive: Multi-Hop Knowledge Graph Reasoning with Reward Shaping
Reward shaping gives partial credit for plausible answers, while action dropout makes a knowledge graph search agent explore more routes. · about 37 minutes to read
The problem and its context
What a missing link means
A knowledge graph records facts by connecting entities with labeled edges. An entity might be a person or a place. An edge gives a specific relationship between the entities and has a direction. Knowing that an entity is on one end of an edge consequently tells us something different from knowing it is on the other. A graph query gives the source and the relationship and asks for entities that could occupy the remaining position. The paper studies queries for which the desired link is absent from the graph available to the search.
The absence of an edge has several possible explanations. The relationship may fail to hold, or the people or processes that assembled the graph may have omitted a fact. That ambiguity matters for applications that use the graph to find information. The paper mentions semantic search and dialogue generation as examples. Those applications can benefit from recovering facts that a direct lookup would miss. The training problem is that the search agent needs feedback from the same resource whose omissions motivate the task.
The paper illustrates what a graph walk can add with a birthplace query. The graph records that Obama was born in Hawaii and that Hawaii is in the US. Starting at Obama, a search can follow the birthplace edge and then the location edge to the US. The labels on the path make it possible to see why that endpoint is plausible as a country of birth, even if the corresponding direct fact is missing. The relevant information lies in the combination of edges, with each edge supplying a different part of the answer.
Reaching an entity through some chain is a weaker condition than reaching it through a chain that supports the answer. The authors contrast the geographic example with a walk through Obama’s connection to McCain, McCain’s residence in the US and a graph edge from the US to Hawaii. That walk can finish in Hawaii for a birthplace query. Its political and residence links supply no grounds for the birthplace claim. The destination can therefore be correct in the same case where the path is incidental. A learning procedure that observes only the destination has little direct basis for distinguishing these cases. Knowledge representation and reasoning
Scoring a triple or following a route
One family of earlier approaches gives every entity and every relation a vector. A function combines the vectors for a source, a relation and a candidate answer to produce a plausibility score for the triple. To answer a query, the approach ranks candidates by that score. The paper places TransE, neural tensor networks and ComplEx among the examples of this family. The learned vectors can encode patterns from many links in the training graph. The score for a proposed fact, however, does not specify a sequence of graph edges that supports it. Translating Embeddings for Modeling Multi-relational Data · Reasoning With Neural Tensor Networks for Knowledge Base Completion · Complex Embeddings for Simple Link Prediction
Path-based methods make sequences of relations part of the prediction. Earlier work described by the authors treated the task as link prediction and trained a classifier using features derived from paths. Some approaches represented paths with discrete features. Others represented paths in a vector space, so the classifier could work with learned descriptions of sequences. In both cases, the sequence matters to what the system evaluates. The work discussed in the paper includes graph traversal in vector space and recurrent approaches to combining evidence across links. Traversing Knowledge Graphs in Vector Space · Chains of Reasoning over Entities, Relations, and Text using Recurrent Neural Networks
A further line of work made finding a path part of the learning problem. DeepPath uses the REINFORCE algorithm to find representative routes between entities. Diva also searches for paths between entities, and the authors interpret its variational objective as a way of assigning a reward through a learned system. MINERVA frames the task around information available in a query. It receives the starting entity and the requested relation, and it must choose moves before it knows the answer. The search takes place in the graph, without a precomputed set of paths from which to choose.
This formulation saves the work of preparing path features, but it puts the choice of where to search under pressure. A node with many outgoing edges presents many possible moves. The paths studied are short, usually 2-5 steps according to the paper, yet every new node can raise another broad choice. The difficulty is particularly acute around entities with many incoming and outgoing links. A path can reach such a node from many directions and leave it for many destinations. A correct answer found through a popular node can be hard to distinguish from an answer reached through a meaningful relational composition.
What the training signal can establish
MINERVA supplies credit when the endpoint matches a known answer. REINFORCE increases the probability of actions associated with rewarding walks, using trajectories generated by the current policy. The policy is the rule that gives probabilities to the available moves at each point in a search. When a route earns credit early, its actions become more attractive. A later walk is then more likely to sample those actions and find the same endpoint again. This feedback can consolidate useful behavior. It can also make an accidental route recur before the agent has sampled alternatives.
The incompleteness problem acts in the other direction. Suppose an agent arrives at a correct answer whose direct link appears elsewhere in the benchmark but is absent from training. The binary signal gives that answer no credit, even if the walk makes sense for the query. The authors illustrate the problem on UMLS by tracking how frequently the walk-based agent reaches these answers during its first 20 training epochs. The full benchmark can identify cases that the training graph cannot. Facts missing from the full benchmark remain outside what this check can verify.
The paper relates the problem of accidentally rewarded paths to weakly supervised semantic parsing. In the earlier work it discusses, a program can pass a test for an utterance without expressing what the utterance means. Randomizing the search over programs and spreading credit across rewarding candidates is one response. The graph setting has a similar distinction between passing the outcome check and finding an appropriate sequence. The authors use the local choice among graph edges to introduce randomization directly into the walk. From Language to Programs: Bridging Reinforcement Learning and Maximum Marginal Likelihood
MINERVA already uses entropy regularization, which encourages a distribution that assigns some probability to a wider range of actions. The authors distinguish that general pressure from applying a different mask at each step. A move can remain the policy’s favorite and still be suppressed on a particular visit, letting other moves compete for much more of the sampling probability. ReinforceWalk addresses limited reward by another route. As described in the paper, it updates a value function using accumulated search experience and learns off-policy, meaning that its updates can use experience beyond samples from the current policy. The approach studied here instead obtains scores for uncertain endpoints from a triple scorer trained before the graph walks begin.
The method, step by step
From a query to an answer candidate
Take the query about Obama’s country of birth. The search begins at Obama with the birthplace relation in context. At any entity the agent visits, it can choose among outgoing edges in the working graph. Each choice specifies both the relation to follow and the entity on the far end. The agent remembers the sequence of moves it has made. The query stays the same as the current entity and walk history change, so the policy can treat the same outgoing edge differently for different queries or at different points along a route.
A walk has a fixed step budget. To let the agent remain at an answer reached before the budget runs out, the graph offers a self-loop at every entity. Following this edge leaves the agent at the same node for that step. Repeated self-loops can fill the rest of the budget, giving the agent the effect of an early stop while keeping the number of decisions in the walk fixed. The option is still a move in the policy’s action set, so later choices can leave the node if the policy chooses another edge.
At training time, the policy first scores the moves. A random mask modifies the distribution used to pick one. The agent takes the sampled edge, updates its history and repeats the process. Only the endpoint gets a reward. A match to a recorded answer earns full credit, and other endpoints receive a plausibility score for the implied answer triple. The same terminal reward supplies the credit for all the decisions in that sampled walk, including any moves taken after the agent first reached the destination.
Training the graph search policy
The steps in order.
Entities, states and available moves
The authors separate the graph's vocabulary from the record of what links are present. Their graph notation is as follows.
𝒢 = (ℰ, ℛ)
Here 𝒢 denotes the knowledge graph, ℰ its entity set and ℛ its relation set. The parentheses group those sets in the paper’s notation. When a triple is said to belong to 𝒢, membership means that the corresponding directed edge is recorded in the graph, beyond its components belonging to the relevant vocabularies.
ℓ = (eₛ, r, eₒ) ∈ 𝒢
Here ℓ is one link, eₛ is its source entity, r is its relation label and eₒ is the object entity at the destination. The symbol ∈ means that the link belongs to the graph. A query has the same form with the object replaced by a question mark and with the requested relation written r_q, where q marks the query relation. Search produces candidate objects for that missing position. The surrounding facts that make a candidate plausible can be present even while the direct link being queried is absent.
sₜ = (eₜ, (eₛ, r_q)) ∈ 𝒮
Here sₜ is the state at step t, eₜ is the entity currently visited, eₛ is the original source and r_q is the requested relation. The set 𝒮 contains the possible states. Within a walk, the first component changes when the agent moves, and the inner pair stays fixed. The policy will also receive a representation of the history. That representation lets the policy distinguish different ways of arriving at the same state even though the available edges at that node are determined by the graph.
Aₜ = { (r′, e′) | (eₜ, r′, e′) ∈ 𝒢 }
Here Aₜ is the set of graph moves available from the current entity eₜ at step t. The candidate edge has label r′ and destination e′, with primes marking a possible next relation and entity. The vertical bar introduces the membership condition for including the pair. The final action set also includes the self-loop. Representing a move as a pair matters because several edges can share a label and lead to different destinations. The agent scores these as separate choices.
δ : 𝒮 × 𝒜 → 𝒮
Here δ denotes the transition function, 𝒮 is the set of states, and 𝒜 denotes the action space. The product symbol pairs a state with an action and the arrow gives the type of the result. A particular state supplies the current node and query context. Once the agent chooses an available edge, the graph supplies the next node, while the source and query relation carry forward. The randomness in the method comes from selecting the move. The destination of the selected edge is fixed.
Rᵦ(s_T) = 𝟙{(eₛ, r_q, e_T) ∈ 𝒢}
Here Rᵦ is the baseline binary reward, s_T the terminal state after the walk’s T steps, and e_T the entity in that state. The indicator 𝟙 gives 1 if the condition inside braces holds and 0 otherwise. The condition checks the link from the original source eₛ to e_T under query relation r_q. Credit depends on membership of this whole triple in the graph used for training, irrespective of how the agent arrived at the endpoint. The answer link and the links used to reach the answer play different roles in this expression.
How the policy scores a move
The policy assigns learned dense vectors to graph entities and relation labels. A dense vector gives the policy a set of numeric features for an entity or label. The action representation combines the features of the edge and its destination. That representation makes it possible for a policy to favor a relation in one context while still preferring one destination over others reachable by the same relation. In the formulas below, arrows over letters distinguish vectors from entity or relation identifiers.
a⃗ₜ = [r⃗ₜ₊₁ ; e⃗ₜ₊₁]
Here a⃗ₜ is the vector for a candidate action at step t, r⃗ₜ₊₁ is the vector for its relation and e⃗ₜ₊₁ is the vector for its destination. The subscripts point to the relation traversed and the entity visited if that action is taken. The bracket notation with a separator means concatenation, which places the coordinates of the relation vector before the coordinates of the entity vector. Each component vector has d coordinates, where d is the size of the entity and relation embeddings, so an action occupies 2d coordinates.
The search history starts with the query entity and a special start relation. From that point, the history records the relation and destination of each chosen action in order. An LSTM, a recurrent network that keeps an internal representation of a sequence, condenses that record into a vector. The initial update makes the source entity part of the history before the agent follows any graph edge.
h⃗₀ = LSTM(0⃗, [r⃗₀ ; e⃗ₛ])
Here h⃗₀ is the initial history representation, LSTM is the recurrent encoder and 0⃗ is its zero starting representation. The input concatenates r⃗₀, the embedding of the special start relation, with e⃗ₛ, the source entity’s embedding. The subscript 0 marks initialization. The special relation supplies the relation slot of an action-shaped input without requiring an actual incoming edge at the source.
h⃗ₜ = LSTM(h⃗ₜ₋₁, a⃗ₜ₋₁), t > 0
Here h⃗ₜ represents the history at step t, h⃗ₜ₋₁ is the preceding representation and a⃗ₜ₋₁ is the vector for the preceding action. The condition t > 0 limits this recurrence to steps after initialization. The encoder can therefore make the next decision sensitive to the order of the previously selected relations and entities. The same destination can yield different history representations when the agent reaches it along different routes.
The policy collects the vectors for the possible next actions into a matrix. The row for each action contains its relation and destination features. A second representation combines the current entity, encoded history and query relation. The policy transforms that representation and compares it with each action row. A softmax converts the resulting scores to probabilities across the current choices.
πθ(· | sₜ) = softmax(A⃗ₜ × W₂ ReLU(W₁[e⃗ₜ ; h⃗ₜ ; r⃗_q]))
Here πθ is the policy with trainable parameters θ. The dot indicates the full distribution over candidate actions conditional on state sₜ, and πθ(aₜ | sₜ) picks the entry for action aₜ. A⃗ₜ is the action matrix, with |Aₜ| rows and 2d columns. The notation |Aₜ| denotes the number of available actions and d is the embedding dimension. The context concatenates e⃗ₜ for the current entity, h⃗ₜ for the history and r⃗_q for the query relation. W₁ and W₂ are learned weight matrices, ReLU is a rectified linear activation that sets negative inputs to zero, and × denotes matrix multiplication. The softmax normalizes the action scores to a probability distribution. Though the compact notation conditions on sₜ, the history vector in the computation provides information beyond the current node and shared query.
Assigning credit to a sampled walk
The training objective gives credit to a policy that tends to finish at high-reward entities. The authors express it as an expectation over training triples and then over trajectories. In the objective, the query is formed from a triple’s source and relation, while the listed object supplies the supervised target for that example. The agent searches from the source under the relation. It receives no demonstrated action sequence to imitate.
J(θ) = 𝔼₍eₛ,r,eₒ₎∈𝒢 [𝔼₍a₁,…,a_T₎ ∼ πθ [R(s_T | eₛ, r)]]
Here J is the expected reward objective and θ contains the policy parameters. The outer 𝔼 averages over triples in 𝒢 whose components are source eₛ, relation r and object eₒ. The inner 𝔼 averages over the actions a₁ through a_T drawn during a trajectory, with ∼ indicating sampling from the policy πθ in the baseline formulation. T is the fixed number of steps, and R(s_T | eₛ, r) is the reward of the terminal state for the query defined by eₛ and r. Each action is sampled at the state produced by the preceding actions. The path distribution consequently depends on the policy’s decisions throughout the walk.
Following MINERVA, the authors train separately on each recorded answer to a query with multiple answers. For the training example targeting a particular object, other objects known to answer the same query in training are removed from the possible targets on the last step. This makes the agent search for the current example’s object, even if a different answer to that query is easier to reach. The distinction is important because the graph can contain many correct objects for a single source–relation pair, while a training example still specifies a particular target.
REINFORCE estimates the direction of improvement using sampled walks. The sampled terminal reward weights the contribution of the log probability for each selected action. If a trajectory earns a positive reward, its selected actions receive credit according to this expression. A trajectory that receives the binary reward of 0 contributes no positive signal here, even if one of its steps would have been useful on another route.
∇θ J(θ) ≈ ∇θ [∑ₜ R(s_T | eₛ, r) log πθ(aₜ | sₜ)]
Here ∇θ means differentiation with respect to the parameters θ, J is the objective and ≈ marks the stochastic approximation. The sum ∑ₜ runs over the decision steps t of a sampled walk. The terminal reward R uses the final state s_T, original source eₛ and relation r, so the same reward appears for every step in the sum. The logarithm log applies to the probability πθ(aₜ | sₜ) of the sampled move aₜ at state sₜ. The expression provides credit for the sequence through its choices. It contains no separate evidence about which move supplied the argument for an answer.
Giving uncertain endpoints a graded reward
The authors train a graph completion scorer before training the search policy. The scorer combines entity and relation embeddings to assign a value to a candidate triple. Its own training uses recorded facts in the graph, and its parameters remain fixed when the search policy trains. ConvE and ComplEx are the two choices assessed. The formulation keeps their job the same: given the query and the walk’s final entity, return a score for the proposed fact. The authors also allow for substituting another completion scorer or an ensemble.
R(s_T) = Rᵦ(s_T) + (1 − Rᵦ(s_T)) f(eₛ, r_q, e_T)
Here R is the shaped terminal reward, Rᵦ the binary reward and f the pretrained scoring function. The terminal state is s_T, with e_T its endpoint, while eₛ and r_q give the source and relation of the query. If Rᵦ returns 1, the factor multiplying f vanishes and the complete reward is 1. If Rᵦ returns 0, f supplies the reward. The uncertain case therefore gets a graded signal, while evidence from an observed answer takes precedence.
This substitution lets the walk benefit from patterns learned across the graph. Consider two unrecorded destinations reached on separate attempts. Under the binary reward their contribution is the same. With shaping, the scorer can make a plausible unrecorded triple more rewarding than an implausible one. The policy can then receive a stronger learning signal for the actions associated with the more plausible endpoint. That mechanism depends on where the scorer assigns its higher scores, and its contribution is limited to the candidates the agent actually reaches.
The design keeps the roles of source graph and scorer distinct. A high score changes the credit assigned to a walk. It does not insert a traversable edge into the graph, change the destination of a selected action or add an intermediate reward. Two walks to the same entity for the same query receive the same terminal score. The scorer can make the destination signal more informative, while deciding which routes to sample remains the job of the search policy.
Making room for other routes
Action dropout changes how the agent samples during training. At each step it draws a binary mask over the available actions. A retained action keeps its policy probability before the distribution is adjusted. An action whose mask entry is zero loses that contribution and receives only a small smoothing term. Among the retained moves, the policy still guides the choice. If the mask suppresses every move, the smoothing gives all actions equal probability.
π̃θ(· | sₜ) ∝ πθ(· | sₜ) ⊙ m⃗ + ε
Here π̃θ is the distribution actually used to sample the next action under dropout, and πθ is the policy’s original distribution at state sₜ. The dot again denotes the entries for all available actions. The symbol ⊙ means elementwise multiplication, so the mask vector m⃗ affects each action separately. The value ε is a small positive constant added to every entry. The symbol ∝ means the right-hand weights are normalized to yield probabilities. A suppressed action therefore retains a small chance of selection, and if every entry of m⃗ is zero, normalization gives a uniform distribution.
mᵢ ∼ Bernoulli(1 − α), i = 1, …, |Aₜ|
Here mᵢ is the mask entry for action i, ∼ means drawn from a distribution and Bernoulli specifies the random binary draw. The drop rate is α, so 1 − α is the probability of retaining an action’s policy weight. The action index i runs over the |Aₜ| moves at step t. The mask is regenerated at each step, so it acts on the sampled search experience. A transition that is suppressed on one visit remains available to the policy on subsequent visits.
The authors use the original πθ when computing the gradient, even though π̃θ generates the training moves. This distinction matters for reproducing the method. The dropout intervention changes which actions the agent gets experience with. The optimization still differentiates the log probability assigned by the unmasked policy to the action that occurred. The reward mechanism and the mask can be varied independently. One changes how endpoints contribute credit, while the other changes which trajectories have a chance to earn that credit.
Preparing the graph and decoding the search
The authors derive their data splits from MINERVA. They add inverse edges, giving a directed relation its own reverse label when traversed in the opposite direction. A recorded edge can then support a walk starting from either of its entities. Where training overlaps with development or test links, the authors remove the held-out edge and its inverse from the training graph. Removing both directions matters because an inverse edge would otherwise retain the same fact in traversable form.
The authors cap the number of outgoing edges available at a node to control memory use. The threshold is η, and the retained neighbors are those with the highest PageRank scores. This is a persistent restriction on the working graph. Action dropout applies a new random restriction to the choices from that graph at training time. A neighbor pruned by the cap is unavailable to the walk, whereas a retained neighbor suppressed by a mask can participate under a later mask. The PageRank Citation Ranking
Entity and relation vectors have size 200. The path encoder is a three-layer LSTM with hidden dimension 200. The authors initialize the embeddings and network layers using Xavier initialization. Their search over settings includes path lengths of 2 and 3, an outgoing edge cap of 256–512 and an action dropout rate of 0.1–0.9. They also retain MINERVA’s entropy regularization and tune its weight within 0-0.1. They use Adam to update parameters, with a learning rate search from 0.001 to 0.003 and mini-batch sizes from 128 to 512. They tune ordinary dropout on embeddings and feed-forward layers within 0–0.5. Those forms of dropout act on representations and network layers, while action dropout acts on the probability of sampling graph moves. Adam
At prediction time, the agent uses beam search, which retains a limited collection of promising partial walks as it advances. The beam size is 512 on NELL-995 and 128 on the other benchmarks. Several paths in the final beam may reach the same entity. To build the answer list, the authors assign each distinct endpoint the maximum score among the paths in the beam that reach it. An entity reached by several high-scoring paths thus occupies one position in the ranking. Taking the highest-scoring paths directly would allow repetitions to use those positions. The paper announces a PyTorch implementation for the experiments.
Experiments and results
The benchmarks and comparisons
The experiments use Alyawarra Kinship, Unified Medical Language Systems, FB15k-237 and WN18RR, with NELL-995 completing the set. The paper describes them as spanning several domains and different levels of sparsity. UMLS and Kinship are small, densely connected graphs in the authors’ analysis. FB15k-237, WN18RR and NELL-995 are larger and more sparsely connected. That variation lets the authors examine whether the same exploration procedure helps in graphs where many paths are within easy reach and in graphs where sampled walks cover a smaller part of the available route space.
The comparisons serve two purposes. MINERVA is the direct starting point, and NeuralLP and NTP-λ provide other multistep baselines. For these systems the authors use the results reported by the MINERVA study. NeuralLP and NTP-λ have omitted entries for larger datasets where they did not scale in that comparison. There is also a configuration difference to keep in view. The reported MINERVA results on UMLS and Kinship set the entity embeddings to zero. The authors’ search policy uses trained entity embeddings on every benchmark. The baseline table compares competing systems as evaluated, while the removals from the same search setup better isolate the effects of the new components.
The authors reproduce DistMult, ComplEx and ConvE as embedding-based competitors. These systems rank proposed answer triples directly. The two versions of the walking agent use either ComplEx or ConvE to shape the training reward. The same name can therefore refer to a standalone baseline or to a component of a walking system. These uses are evaluated differently. The standalone scorer can assign a value to a proposed triple without finding a graph path to its object. In the walking system, it evaluates endpoints that the training search has already produced. The trained policy and beam search then generate the answer list.
How answer rankings are scored
Each test triple supplies a source and a relation for the query and an object that the system is expected to recover. The system outputs a list of candidate entities ordered by a confidence score. When the evaluator looks up the object’s rank, it removes the other known correct answers from the list. This filtered evaluation avoids counting one correct object as a mistake for placing it ahead of another. Each test triple still contributes its own ranking example, including when several triples share the same query.
Eₒ = [e¹, …, eᴸ]
Here Eₒ is the ranked list of proposed objects, e¹ is the highest-ranked entity and eᴸ is the entity at the last position L in the list. The superscripts are positions in the list. The ellipsis covers the intermediate candidates. The evaluation uses the position of the particular test object after filtering other correct answers.
Hits at k is the percentage of examples for which the test object appears within the top k positions after filtering. The main comparison reports Hits at 1 and Hits at 10. Mean reciprocal rank, abbreviated MRR, gives an example the reciprocal of its filtered rank and averages those contributions over the evaluated examples. Moving the expected answer nearer the top improves both kinds of measure, but they react differently. A Hits measure at a given cutoff counts every placement within that cutoff as success. Reciprocal rank still distinguishes earlier and later positions inside it.
reciprocal rank = 1 / rₑₒ
Here rₑₒ denotes the filtered rank of the test object eₒ and 1 is the numerator used to convert that rank into a score. The MRR reported for a split is the mean of these scores on its evaluation examples. The main comparison presents Hits and MRR on a scale multiplied by 100. On NELL-995, the evaluation follows MINERVA in excluding test triples that contain unseen entities. For the other benchmarks the evaluation uses the full test split.
Where the walking agent improves
The authors report substantial gaps between earlier path-based methods and embedding competitors on Kinship and FB15k-237. They describe absolute gaps of 9.1 and 14.2 points, respectively, in the test comparison between the two families on those datasets. The article’s reported relative improvements describe how much the ConvE-shaped walker advances earlier path-based performance in the main comparison. Those relative gains are distinct from the earlier absolute gaps and from the entries for individual ranking metrics.
Relative test performance gains over earlier path-based systems by benchmark
The ConvE-shaped walker makes its largest reported gain on FB15k-237.
The numbers
| System or setting | relative improvement % |
|---|---|
| ConvE-shaped walk on UMLS | 4 |
| ConvE-shaped walk on Kinship | 9 |
| ConvE-shaped walk on FB15k-237 (this paper) | 39 |
The comparison shows where the strongest single variant, Ours(ConvE), advances the previous path-based results most clearly. The paper gives relative gains of 4% on UMLS, 9% on Kinship and 39% on FB15k-237. These are reported improvements in test-set query-answering performance over earlier path-based approaches. The prose reporting the gains does not assign those percentages to a particular Hits cutoff or MRR column, so the chart presents them as the paper’s relative performance gains.
The paper describes improvements over earlier path-based systems on four benchmarks when discussing the approach as a whole. Its detailed main comparison singles out the three clear gains above for the strongest single variant and reports no significant improvement over the existing state of the art on WN18RR or NELL-995. WN18RR also exposes a difference between the variants. ComplEx performs slightly worse than ConvE in the standalone comparison but gives the search more useful shaping on that graph. The results on NELL-995 are more limited, and the authors note that its test set covers only 12 relations. They connect the small gains to the kinds of relations they analyze separately on the development split.
The direct embedding baselines remain strong across the benchmarks. One explanation the authors offer is that a shared embedding space can capture connectivity patterns from the whole training graph. The walker has graph structure in a more explicit form, but it must select a small portion of the many available paths. Its access to information is affected by the working graph, the step budget and which paths the search keeps. The combination with embedding-based reward helps bring the path-based results into a comparable range, while the benchmark comparisons still leave an advantage for direct scoring on some metrics and datasets.
The appendix checks sensitivity to the random seed for standalone ConvE and the ConvE-shaped search. The authors use 5 different seeds per dataset with the other settings fixed, reporting the mean and standard deviation of test MRR across runs. They characterize the standard deviation as <0.01 for both approaches on every graph. This check addresses repeatability when the configuration stays fixed, including changes in the stochastic parts of training. The relation between the reward scorer and the walking policy requires a different comparison, which the component removals examine.
What the ablations show
What changes when a component is removed
The main ablation starts with the ConvE-shaped system with action dropout and removes each addition separately. Removing reward shaping returns to binary supervision while retaining masked action sampling. Removing action dropout restores sampling from the original policy while keeping the ConvE reward. The comparisons use development-set MRR. They ask how much each component contributes in the presence of the other under that evaluation protocol.
On most graphs, taking away either component lowers development MRR. Removing action dropout generally makes the larger difference. The pattern supports the authors’ claim that improving exploration plays a major role in the gains, alongside improving the information in the reward. The relative sizes matter because the two components could have produced similar improvements for different reasons. The ablation gives the authors a way to see how much ranking behavior changes when they keep one mechanism in place and take the other away.
The exception for ConvE reward shaping is WN18RR. The version with binary rewards performs better there than the ConvE-shaped version. The authors suggest that ConvE could be making the signal noisier on a graph where path-based methods tend to fare well. Yet ComplEx can help the walker on WN18RR even though it is slightly weaker as an independent scorer. For the role of shaping, the useful scores are the values assigned to uncertain objects encountered on training walks. The standalone evaluation instead asks how well the scorer ranks test objects among candidates. These tasks expose different parts of its behavior, and the paper leaves their relationship open.
On NELL-995, removing reward shaping makes little difference to the final development result. The learning curves show that the shaped system starts ahead and the binary-reward version gradually catches it. The early advantage and final similarity answer different questions. Shaping can change how soon a useful ranking policy emerges without creating a lasting gap once the comparison system has trained longer. This is why the paper examines development performance during training as well as the ablation scores at the end.
Faster gains and a wider search
The learning curves track development MRR against training epochs. On UMLS, Kinship and FB15k-237, the full approach rises to higher performance faster than the ablated versions, and the separation frequently lasts through training. On FB15k-237, the variants with a component removed begin to overfit while the full system is still improving. The variant without action dropout begins to overfit sooner. Here overfitting is visible as worsening performance on the held-out development examples as training proceeds. WN18RR shows the opposite pattern for ConvE shaping, whose negative effect on development performance is visible from early in training.
The authors initially consider whether action dropout might slow learning by repeatedly forcing the agent away from its preferred route. In the development curves, including action dropout improves performance from early on for each dataset. One explanation they favor is that broader experience helps the policy generalize. The comparison measures progress against epochs, which captures what the system learns from repeated passes through training. It leaves the amount of computing time needed for those epochs as a separate question.
The path counts tell a related story. The authors count a trajectory as distinct using both the edge labels and intermediate entities, so routes with the same labels can still count separately if their intermediate nodes differ. Removing action dropout sharply reduces the rate at which the search discovers distinct paths. That is direct evidence that the random masks change the experience collected by the policy, beyond their effect on the answer metric. Removing reward shaping, by comparison, slightly increases the number of paths visited during training on all the datasets. Greater path counts and higher development MRR therefore need not move together.
The authors interpret reward shaping as a form of guidance through the space of possible routes. Even when the mask makes a variety of walks available, what the policy learns depends on where those walks end and how the endpoints are scored. A scorer can give the training update a preference among several previously unrecorded outcomes. A raw count of distinct trajectories weighs every visited path the same. It can tell whether exploration broadened, while the answer metric tells whether the resulting search policy retrieves better candidates.
The size and density of the graph also matter to the shape of these curves. On UMLS and Kinship, discovery of new paths slows and development performance levels off. On the larger graphs, the authors see development scores decline from overfitting before path discovery shows a comparable slowdown. Their suggested explanation is that the sparser, larger graphs offer less transferable information from the fraction of routes the agent can sample. The curves establish when performance and path counts change in these runs. They leave the proposed explanation about sparsity as an interpretation of the dataset comparison.
When a query has several possible answers
The authors group relations by the average number of recorded answers per query. They write this average as ξᵣ, where r is the relation and ξᵣ summarizes its answer-set sizes across queries. A relation is classified as to-many if ξᵣ exceeds 1.5, and as to-one otherwise. These are labels for a relation’s average behavior. Individual examples can still have a different number of answers from what the category name might suggest.
UMLS and Kinship have almost exclusively to-many relations by this categorization. FB15k-237 mostly contains them as well. WN18RR has a more even mixture, with a slight majority of to-many examples. NELL-995’s development split consists almost entirely of to-one examples. This breakdown gives context to the large gains on the denser datasets, though the split into relation types is an analysis of recorded examples and does not independently vary graph density.
Across the development results, both interventions generally help on both kinds of relation, with larger benefits for to-many relations. The exceptions are informative. ConvE shaping on WN18RR hurts in both categories and does more damage for to-one relations. On NELL-995, the reported comparison for the small to-many group shows harm from both changes. The paper also finds that which category is easier varies across datasets. UMLS and WN18RR show higher scores on to-many relations, while FB15k-237 and NELL-995 show the reverse pattern. A group can benefit more from an intervention and still have a lower absolute score.
The relation grouping helps explain why incomplete rewards can arise frequently. When a source and relation admit several recorded objects, a split made by dividing triples can assign those objects to different partitions. During training, a walk can reach an object attached to its query in the held-out data and receive no binary credit. The importance of that mechanism depends on which relation types are present, what was recorded and what the agent explores. The ablation measures the resulting association between relation type and performance, leaving the amount attributable to each of those conditions unresolved.
When the query itself has appeared in training
A seen query is one whose source and relation appear together in a training fact, even though the development example supplies a different answer. An unseen query is a source–relation combination absent from training. This distinction is separate from the question of whether the entities themselves are in the training graph. A new combination of a familiar source and relation can make a query unseen under this definition.
Splitting by triple rather than by query explains why the distinction often resembles the to-many split. A query with several recorded answers has several opportunities to appear in different partitions, whereas a query with an individual recorded answer cannot be shared in that way. The authors observe broadly similar proportions across those groupings, with WN18RR as an exception. The groups themselves need not have the same members, so the authors examine both.
Seen queries yield higher development MRR across the compared systems on UMLS, Kinship and WN18RR. Other benchmarks show the reverse direction. There is consequently no uniform advantage in the observed scores from having the source–relation pair already present in training. The comparison also finds that the proposed changes typically help with unseen queries, with action dropout making the larger contribution. On NELL-995, both changes are ineffective for the seen subset. The authors leave the causes of these differences across datasets open.
Checking the evaluation and the exploration rate
The appendix revisits development MRR using the full benchmark graph to decide which candidates count as other correct answers. In ordinary development evaluation, test facts remain hidden. A candidate that really answers the query according to a test triple can then remain above the development target in the ranking and lower its measured reciprocal rank. This creates a second effect of missing labels, now in evaluation. It is distinct from the binary reward problem during training, though a split that distributes answers to the same query across partitions can produce both.
After all settings were fixed, the authors recalculated development scores with the full set of known facts available for filtering. On four datasets, scores rose substantially toward the levels seen on their test sets, and larger relative changes were associated with larger average node fan-out. The alternate evaluation illustrates how much the choice of known-answer set can affect ranking metrics. The authors retain the ordinary development protocol for tuning. It keeps the test facts out of the process that selects the settings.
Another appendix comparison varies action dropout. The authors report a positive association between average fan-out and the preferred drop rate. On UMLS and Kinship, they also try a drop rate of 1.0, which suppresses all policy weights in sampling and makes the next move uniform under the smoothing rule. Performance falls by a small but significant amount. The authors suggest that random sampling remains viable on those small graphs, while the larger graphs require guidance from the policy. Together with the path counts, this comparison shows why the mask is useful as a perturbation of a learned search. The policy can guide the agent through most of the available choices while the mask gives other moves a chance to appear in training.
Limitations
Limits the authors identify
The authors conclude that a gap between reinforcement-learning search and direct embedding approaches remains. Their results present several benchmarks on which the walking system is competitive, along with differences that depend on the dataset, reward scorer and metric. The behavior of ConvE and ComplEx on WN18RR gives a specific reason to be cautious when choosing a source of shaped rewards. Independent ranking performance need not predict the value of a scorer once its output is used to train a walker. The authors leave that relationship for further study.
They also leave open why some datasets favor seen queries or to-many relations in absolute performance while others favor different groups. The analyses identify patterns in the given splits. Their explanations for those patterns concern factors such as density, branching and the distribution of answer counts. Since the properties vary together across the benchmarks, those comparisons do not pick out a single cause. The relatively narrow set of test relations in NELL-995 is part of the authors’ account of why that benchmark provides less opportunity for the method to show a gain.
The experiment has practical resource limits. The cap on outgoing edges is there to fit the search into graphics memory. The authors also report that larger batches continued to help on some datasets, while memory constraints stopped the search at 512. Comparisons on the larger graphs omit results where earlier competing path-based systems failed to scale in the reported baseline study. The paper supplies evidence about the search under feasible configurations and leaves open what would happen with broader exploration or further tuning.
The future directions in the conclusion are learnable reward shaping, learnable action dropout and reinforcement learning that uses a learned representation of the environment to inform decisions. In the evaluated design, the reward scorer is fixed before policy training and the mask uses a tuned rate. A useful choice of rate can differ with graph fan-out, and a useful choice of scorer can differ from what the standalone results suggest. The proposed future directions concern whether parts of that choice can themselves be learned.
Limits of the evidence in the setup
The ranking evaluation checks whether the agent reaches and ranks recorded answers. It does not grade the reasoning expressed by a path. In particular, a correctly ranked answer reached along an irrelevant walk can still score well. Counting distinct paths verifies broader exploration, but the count gives equal weight to relevant and incidental routes. The study therefore shows that a search policy can make better ranked predictions while exposing how it moved. Establishing that the exposed walks are valid arguments would require evidence about path quality that the endpoint metric does not supply. Interpretability
The reward scorer supplies an estimate of triple plausibility from a graph that is itself incomplete. Some proposed facts with high scores may be wrong, and plausibility can be missed for facts poorly represented by the retained evidence. The soft reward can reduce the training penalty for a correct unrecorded answer when the scorer rates it highly. It can also provide credit to an incorrect endpoint. The WN18RR comparison gives a concrete case where adding the ConvE scores hurts even at the level of aggregate development ranking.
The graph walk imposes a reachability condition. A correct object can fail to appear in the output because the working graph, available directions, degree cap or step limit prevent the walker from getting there. Beam search adds another condition because only a limited set of partial walks survives. The experiment measures the combined effects of learning to search and having a graph that offers recoverable routes. It does not separately measure the fraction of ranking errors due to a missing viable route versus the failure to choose or keep a viable one.
Finally, the experiments hold out triples under the existing benchmark splits. An unseen query in the authors’ analysis is a source–relation pair absent from training. That is a narrower kind of generalization than answering about entities wholly absent from the training environment. The NELL-995 test restriction explicitly excludes triples with unseen entities. The full-graph filtering check shows another dependency on benchmark construction: measurements improve when more recorded correct answers can be recognized. Even that expanded check reaches only facts recorded in the benchmark as a whole.
What came after
The later works that cite this paper span link prediction, relation prediction, question generation and multihop question answering. Their stated topics provide several connections to the paper’s concerns. The citations establish that these works engage with the paper as prior research. They leave specific reuse of its reward assignment or edge masking unspecified.
Neural Bellman-Ford Networks presents a general graph neural network framework for link prediction. Link prediction is the closest match to the original task among these later works. Both are concerned with using a graph to predict a link that is absent from the input. In the reward-shaping paper, an agent commits to a sequence of explicit moves and learns from its endpoint. The later work places link prediction under a graph neural network framework. The connection is the role of graph information in scoring a missing connection, with the choice of how to represent and process that information left to each approach.
Learning Attention-based Embeddings for Relation Prediction in Knowledge Graphs pursues attention-based graph embeddings for relation prediction. It connects to the embedding side of the paper’s combination. The paper uses a graph completion scorer to judge whether a proposed relationship is plausible when the direct fact is unrecorded. The later work’s subject is how to learn embedding representations for relation prediction itself. That keeps the question of what the graph representation can predict in view, alongside the separate question of which explicit moves a search policy will make.
Avoiding Reasoning Shortcuts treats shortcuts in multihop question answering through adversarial evaluation, training and system development. Its closest connection is the gap between getting an answer right and using the evidence the task was designed to require. In the graph paper, a walk that passes through unrelated edges can receive full credit at a correct endpoint. The later work’s research focus shifts the shortcut problem toward evaluation as well as training. Adversarial evaluation addresses whether a system still answers when an easy route through the task is challenged.
Semantic Graphs for Generating Deep Questions uses semantic graphs in the task of generating questions. The change of task matters. The reward-shaping paper starts with a query and lets graph structure provide possible routes to an answer. Question generation places a graph on the other side of the problem, as part of the basis for producing a question. This is a connection through the representation of interconnected information. It leaves the role of the graph different in the two tasks, supplying routes for retrieval in one and structure for generating questions in the other.
BELLE presents a bi-level, multi-agent framework for multihop question answering. It returns to the problem of organizing a process that needs several reasoning steps. The paper on reward shaping organizes that process as one agent following a sequence of edges, with the endpoint supplying the training signal. BELLE’s stated design organizes reasoning across levels and agents. The shared concern is how to coordinate intermediate decisions towards an answer, while the particular graph-walk policy and its training interventions belong to the original paper.
Cite
Cite as Xi Victoria Lin, Richard Socher and Caiming Xiong. 2018. Multi-Hop Knowledge Graph Reasoning with Reward Shaping. Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing.
@inproceedings{lin2018multi,
title = {{Multi-Hop Knowledge Graph Reasoning with Reward Shaping}},
author = {Xi Victoria Lin, Richard Socher and Caiming Xiong},
booktitle = {Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing},
year = {2018},
doi = {10.18653/v1/d18-1362},
eprint = {1808.10568},
archivePrefix = {arXiv},
url = {https://doi.org/10.18653/v1/d18-1362}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/lin-2018-multi-hop-knowledge-graph-reasoning/
References
- Regina Barzilay and Min-Yen Kan, editors. 2017. Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics, ACL 2017, Vancouver, Canada, July 30 - August 4, Volume 1: Long Papers. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Jonathan Berant, Andrew Chou, Roy Frostig, and Percy Liang. 2013. Semantic parsing on freebase from question-answer pairs. In [DBLP:conf/emnlp/2013], pages 1533–1544. our card
- Antoine Bordes, Nicolas Usunier, Alberto Garcia-Durán, Jason Weston, and Oksana Yakhnenko. 2013. Translating embeddings for modeling multi-relational data. In Proceedings of the 26th International Conference on Neural Information Processing Systems - Volume 2, NIPS'13, pages 2787–2795, USA. Curran Associates Inc. OpenAlex ↗ · Scholar ↗
- Wenhu Chen, Wenhan Xiong, Xifeng Yan, and William Yang Wang. 2018. Variational knowledge graph reasoning. CoRR, abs/1803.06581. OpenAlex ↗ · Scholar ↗
- Rajarshi Das, Shehzaad Dhuliawala, Manzil Zaheer, Luke Vilnis, Ishan Durugkar, Akshay Krishnamurthy, Alex Smola, and Andrew McCallum. 2018. Go for a walk and arrive at the answer: Reasoning over paths in knowledge bases using reinforcement learning. In International Conference on Learning Representations. OpenAlex ↗ · Scholar ↗
- Tim Dettmers, Pasquale Minervini, Pontus Stenetorp, and Sebastian Riedel. 2018. Convolutional 2d knowledge graph embeddings. In Proceedings of the Thirty-Second AAAI Conference on Artificial Intelligence, New Orleans, Louisiana, USA, February 2-7, 2018. AAAI Press. OpenAlex ↗ · Scholar ↗
- Matt Gardner, Partha Pratim Talukdar, Bryan Kisiel, and Tom M. Mitchell. 2013. Improving learning and inference in a large knowledge-base using latent syntactic cues. In [DBLP:conf/emnlp/2013], pages 833–838. OpenAlex ↗ · Scholar ↗
- Xavier Glorot and Yoshua Bengio. 2010. Understanding the difficulty of training deep feedforward neural networks. In Proceedings of the Thirteenth International Conference on Artificial Intelligence and Statistics, AISTATS 2010, Chia Laguna Resort, Sardinia, Italy, May 13-15, 2010, volume 9 of JMLR Proceedings, pages 249–256. JMLR.org. OpenAlex ↗ · Scholar ↗
- Kelvin Guu, John Miller, and Percy Liang. 2015. Traversing knowledge graphs in vector space. In Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing, EMNLP 2015, Lisbon, Portugal, September 17-21, 2015, pages 318–327. The Association for Computational Linguistics. our card
- Kelvin Guu, Panupong Pasupat, Evan Zheran Liu, and Percy Liang. 2017. From language to programs: Bridging reinforcement learning and maximum marginal likelihood. In [DBLP:conf/acl/2017-1], pages 1051–1062. our card
- Isabelle Guyon, Ulrike von Luxburg, Samy Bengio, Hanna M. Wallach, Rob Fergus, S. V. N. Vishwanathan, and Roman Garnett, editors. 2017. Advances in Neural Information Processing Systems 30: Annual Conference on Neural Information Processing Systems 2017, 4-9 December 2017, Long Beach, CA, USA. OpenAlex ↗ · Scholar ↗
- He He, Anusha Balakrishnan, Mihail Eric, and Percy Liang. 2017. Learning symmetric collaborative dialogue agents with dynamic knowledge graph embeddings. In [DBLP:conf/acl/2017-1], pages 1766–1776. OpenAlex ↗ · Scholar ↗
- Diederik P. Kingma and Jimmy Ba. 2014. Adam: A method for stochastic optimization. CoRR, abs/1412.6980. our card
- Stanley Kok and Pedro M. Domingos. 2007. Statistical predicate invention. In ICML, volume 227 of ACM International Conference Proceeding Series, pages 433–440. ACM. OpenAlex ↗ · Scholar ↗
- Ni Lao, Tom Mitchell, and William W. Cohen. 2011. Random walk inference and learning in a large scale knowledge base. In Proceedings of the Conference on Empirical Methods in Natural Language Processing, EMNLP '11, pages 529–539, Stroudsburg, PA, USA. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Ni Lao, Amarnag Subramanya, Fernando C. N. Pereira, and William W. Cohen. 2012. Reading the web with learned syntactic-semantic inference rules. In Proceedings of the 2012 Joint Conference on Empirical Methods in Natural Language Processing and Computational Natural Language Learning, EMNLP-CoNLL 2012, July 12-14, 2012, Jeju Island, Korea, pages 1017–1026. ACL. OpenAlex ↗ · Scholar ↗
- Andrew McCallum, Arvind Neelakantan, Rajarshi Das, and David Belanger. 2017. Chains of reasoning over entities, relations, and text using recurrent neural networks. In Proceedings of the 15th Conference of the European Chapter of the Association for Computational Linguistics, EACL 2017, Valencia, Spain, April 3-7, 2017, Volume 1: Long Papers, pages 132–141. Association for Computational Linguistics. our card
- Volodymyr Mnih, Koray Kavukcuoglu, David Silver, Alex Graves, Ioannis Antonoglou, Daan Wierstra, and Martin A. Riedmiller. 2013. Playing atari with deep reinforcement learning. CoRR, abs/1312.5602. OpenAlex ↗ · Scholar ↗
- Andrew Y. Ng, Daishi Harada, and Stuart J. Russell. 1999. Policy invariance under reward transformations: Theory and application to reward shaping. In Proceedings of the Sixteenth International Conference on Machine Learning (ICML 1999), Bled, Slovenia, June 27 - 30, 1999, pages 278–287. Morgan Kaufmann. OpenAlex ↗ · Scholar ↗
- Lawrence Page, Sergey Brin, Rajeev Motwani, and Terry Winograd. 1999. The pagerank citation ranking: Bringing order to the web. Technical Report 1999-66, Stanford InfoLab. Previous number = SIDL-WP-1999-0120. our card
- Romain Paulus, Caiming Xiong, and Richard Socher. 2017. A deep reinforced model for abstractive summarization. CoRR, abs/1705.04304. our card
- Marc'Aurelio Ranzato, Sumit Chopra, Michael Auli, and Wojciech Zaremba. 2015. Sequence level training with recurrent neural networks. CoRR, abs/1511.06732. our card
- Tim Rocktäschel and Sebastian Riedel. 2017. End-to-end differentiable proving. In [DBLP:conf/nips/2017], pages 3791–3803. our card
- Yelong Shen, Jianshu Chen, Po-Sen Huang, Yuqing Guo, and Jianfeng Gao. 2018. Reinforcewalk: Learning to walk in graph with monte carlo tree search. CoRR, abs/1802.04394. OpenAlex ↗ · Scholar ↗
- Richard Socher, Danqi Chen, Christopher D. Manning, and Andrew Y. Ng. 2013. Reasoning with neural tensor networks for knowledge base completion. In Proceedings of the 26th International Conference on Neural Information Processing Systems - Volume 1, NIPS'13, pages 926–934, USA. Curran Associates Inc. OpenAlex ↗ · Scholar ↗
- Richard S. Sutton and Andrew G. Barto. 1998. Reinforcement learning - an introduction. Adaptive computation and machine learning. MIT Press. OpenAlex ↗ · Scholar ↗
- Kristina Toutanova, Danqi Chen, Patrick Pantel, Hoifung Poon, Pallavi Choudhury, and Michael Gamon. 2015. Representing text for joint embedding of text and knowledge bases. In EMNLP, pages 1499–1509. The Association for Computational Linguistics. our card
- Kristina Toutanova, Xi Victoria Lin, Wen-tau Yih, Hoifung Poon, and Chris Quirk. 2016. Compositional learning of embeddings for relation paths in knowledge base and text. In Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics, ACL 2016, August 7-12, 2016, Berlin, Germany, Volume 1: Long Papers. The Association for Computer Linguistics. OpenAlex ↗ · Scholar ↗
- Théo Trouillon, Johannes Welbl, Sebastian Riedel, Éric Gaussier, and Guillaume Bouchard. 2016. Complex embeddings for simple link prediction. In Proceedings of the 33nd International Conference on Machine Learning, ICML 2016, New York City, NY, USA, June 19-24, 2016, volume 48 of JMLR Workshop and Conference Proceedings, pages 2071–2080. JMLR.org. our card
- Ronald J. Williams. 1992. Simple statistical gradient-following algorithms for connectionist reinforcement learning. Machine Learning, 8:229–256. OpenAlex ↗ · Scholar ↗
- Wenhan Xiong, Thien Hoang, and William Yang Wang. 2017. Deeppath: A reinforcement learning method for knowledge graph reasoning. In Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing, EMNLP 2017, Copenhagen, Denmark, September 9-11, 2017, pages 564–573. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Bishan Yang, Wen-tau Yih, Xiaodong He, Jianfeng Gao, and Li Deng. 2014. Embedding entities and relations for learning and inference in knowledge bases. CoRR, abs/1412.6575. our card
- Fan Yang, Zhilin Yang, and William W. Cohen. 2017. Differentiable learning of logical rules for knowledge base reasoning. In [DBLP:conf/nips/2017], pages 2316–2325. OpenAlex ↗ · Scholar ↗
- David Yarowsky, Timothy Baldwin, Anna Korhonen, Karen Livescu, and Steven Bethard, editors. 2013. Proceedings of the 2013 Conference on Empirical Methods in Natural Language Processing, EMNLP 2013, 18-21 October 2013, Grand Hyatt Seattle, Seattle, Washington, USA, A meeting of SIGDAT, a Special Interest Group of the ACL. ACL. OpenAlex ↗ · Scholar ↗