literalkg
LiteralKG is a novel Attributed Knowledge Graph Embedding Model developed by NS Lab @ CUK based on pure PyTorch backend.
Science Score: 49.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 4 DOI reference(s) in README -
✓Academic publication links
Links to: arxiv.org, ieee.org -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (11.1%) to scientific vocabulary
Keywords
Repository
LiteralKG is a novel Attributed Knowledge Graph Embedding Model developed by NS Lab @ CUK based on pure PyTorch backend.
Basic Info
- Host: GitHub
- Owner: NSLab-CUK
- License: mit
- Language: Python
- Default Branch: main
- Homepage: https://nslab-cuk.github.io/2023/08/30/LiteralKG/
- Size: 59.3 MB
Statistics
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 1
- Releases: 0
Topics
Metadata Files
README.md
LiteralKG
LiteralKG, a novel Knowledge Graph Embedding Model, specialises in fusing different types of Literal information and entity relations into unified representations, which benefit companion animal disease prediction. LiteralKG is developed by NS Lab, CUK based on pure PyTorch backend.
1. Overview
Over the past few years, Knowledge Graph (KG) embedding has been used to benefit the diagnosis of animal diseases by analyzing electronic medical records (EMRs), such as notes and veterinary records. However, learning representations to capture entities and relations with literal information in KGs is challenging as the KGs show heterogeneous properties and various types of literal information. Meanwhile, the existing methods mainly aim to preserve graph structures surrounding target nodes without considering different types of literals, which could also carry significant information. We propose LiteralKG, a knowledge graph embedding model for the efficient diagnosis of animal diseases, which could learn various types of literal information and graph structure and fuse them into unified representations. We construct a knowledge graph that is built from EMRs along with literal information collected from various animal hospitals. We then fuse different types of entities and node feature information into unified vector representations through gate networks. Finally, we propose a self-supervised learning task to learn graph structure in pretext tasks and then towards various downstream tasks. Experimental results on link prediction tasks demonstrate that our model outperforms the baselines that consist of state-of-the-art models.
The overall architecture of LiteralKG.
2. Reproducibility
Setup environment for running:
- Running:
python -m venv LiteralKG
Connect to the environment:
- On window OS run:
env.bat - On linux OS or MAC OS run:
source image/bin/activate
Install pip packages:
pip install -r requirements.txt
To build model:
- Running
python main.py
There are large attribute features (.pickle files) that can be downloaded at here
3. Reference
:pencil: Blog on Network Science Lab
*
4. Citing LiteralKG
Please cite our paper if you find Literal useful in your work:
@Article{Hoang2023,
author = {Van Thuy Hoang and Thanh Sang Nguyen and Sangmyeong Lee and Jooho Lee and Luong Vuong Nguyen and O-Joun Lee},
title = {Companion Animal Disease Diagnostics Based on Literal-Aware Medical Knowledge Graph Representation Learning},
journal = {IEEE Access},
year = {2023},
volume = {11},
pages = {114238--114249},
month = oct,
issn = {2169-3536},
doi = {10.1109/ACCESS.2023.3324046},
}
5. Contributors
Owner
- Name: NS Lab @ CUK
- Login: NSLab-CUK
- Kind: user
- Location: Bucheon, Rep. of Korea
- Company: The Catholic University of Korea
- Website: https://nslab-cuk.github.io/
- Twitter: NS_CUK
- Repositories: 41
- Profile: https://github.com/NSLab-CUK
Network Science Lab, Dept. of Artificial Intelligence, The Catholic University of Korea
GitHub Events
Total
- Issues event: 1
- Push event: 1
Last Year
- Issues event: 1
- Push event: 1
Dependencies
- keras ==2.3.0
- scikit-learn ==0.22
- tensorflow-gpu ==1.13.1
- keras ==2.4.0
- scikit-learn ==0.22
- tensorflow-gpu ==2.2
- matplotlib *
- numpy *
- openpyxl *
- pandas *
- scikit-learn *
- scipy *
- sklearn *
- tensorboard *
- torch *
- torch-geometric *
- torchvision *
- tqdm *
