SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2109.05808 · EMNLP · 2021

Expanding End-to-End Question Answering on Differentiable Knowledge Graphs with Intersection

Amir Saffari, Priyanka Sen, Armin Oliya

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 4 functions out of this paper's own repositories and ran 3 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
sid-sundrani/differentiable-kb-qa — 3 of 4
FunctionStatusWhere it lives
GRUCell Ran sid-sundrani/differentiable-kb-qa/kgqa/models/models_nhop.py
pointer only (licence: NONE) · get_code("ffb88ab54dda0980")
calculate_BCE Ran sid-sundrani/differentiable-kb-qa/kgqa/models/models_nhop.py
pointer only (licence: NONE) · get_code("d993de144cba9873")
get_hit_k1 Ran sid-sundrani/differentiable-kb-qa/kgqa/models/models_nhop.py
pointer only (licence: NONE) · get_code("171ff39d43fafc36")
GNNLightning2 Not yet run sid-sundrani/differentiable-kb-qa/kgqa/models/models_nhop.py
pointer only (licence: NONE) · get_code("14c5390b1cff34eb")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

End-to-end question answering using a differentiable knowledge graph is a promising technique that requires only weak supervision, produces interpretable results, and is fully differentiable. Previous implementations of this technique (Cohen et al., 2020) have focused on single-entity questions using a relation following operation. In this paper, we propose a model that explicitly handles multiple-entity questions by implementing a new intersection operation, which identifies the shared elements between two sets of entities. We find that introducing intersection improves performance over a baseline model on two datasets, WebQuestionsSP (69.6% to 73.3% Hits@1) and ComplexWebQuestions (39.8% to 48.7% Hits@1), and in particular, improves performance on questions with multiple entities by over 14% on WebQuestionsSP and by 19% on ComplexWebQuestions.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2109.05808")
get_code_for_paper("2109.05808")
have("2109.05808")

Connect an agent — have() is free.