Giter Site home page Giter Site logo

kgc-attribute-value-prediction-with-constraints's Introduction

Numerical Attribute Prediction in Knowledge Graphs with Constraints

This repository consists of:

  • Preprocessed Numercial Triples in LiterallyWikidata
  • Models to predict numeric values of attributes in knowledge graphs:
    • Regression model
    • MT-KGNN model (revised from Dadoun, 2021)

Introduction

Knowledge Graph Completion is an important task for machines to utilize structural information provided by knowledge graphs to improve performance in various applications. However, current approaches to knowledge graph completion ignore the existing numerical data in the graphs, leading to a lack of understanding of the data and poor predicted performance. In this project, we aim to predict missing numerical attribute values for entities in KGs by incorporating arithmetic relationships between attributes as constraints in the models.

Methodology

To achieve this goal, we first defined three types of constraint shapes and identified seven constraint rules from a benchmark dataset called LiterallyWikidata (Gesese et al., 2021a). We then built a regression model and a multi-task approach model and incorporated constraints into the model through two experiments: a single-attribute regression model that added relevant attribute values as features, and a single-attribute prediction model that incorporated constraints into the loss function.

Results

Our results show that incorporating constraints can guide the model to make more accurate predictions for some attributes such as "height", but overall, it does not significantly improve the performance of the model. Nevertheless, this study provides a novel approach to incorporating arithmetic relationships between attributes in KG completion tasks, and can potentially be extended to other types of constraints to improve the accuracy of predictions.

References

  1. Amine Dadoun, Raphael Troncy, Michael Defoin-Platel, and Gerardo Ayala Solano. Predicting your next trip: A knowledge graph-based multi-task learning approach for travel destination recommendation. 2021 Workshop on Recommenders in Tourism, RecTour 2021, 2974, 2021. Gitlab: https://gitlab.eurecom.fr/amadeus/KGMTL4Rec
  2. Genet Asefa Gesese, Mehwish Alam, and Harald Sack. Literallywikidata - a benchmark for knowledge graph completion using literals. In SEMWEB, 2021.

kgc-attribute-value-prediction-with-constraints's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.