[Paper Review] KGvec2go -- Knowledge Graph Embeddings as a Service
KGvec2go is a lightweight Web API service that provides on-demand access to pre-trained knowledge graph embeddings from four major knowledge graphs—DBpedia, WebIsALOD, Wiktionary, and WordNet—using RDF2Vec. The service enables efficient, low-resource consumption of semantic vectors in downstream applications, and evaluation shows that combining embeddings from multiple knowledge graphs can outperform individual models on semantic similarity benchmarks.
In this paper, we present KGvec2go, a Web API for accessing and consuming graph embeddings in a light-weight fashion in downstream applications. Currently, we serve pre-trained embeddings for four knowledge graphs. We introduce the service and its usage, and we show further that the trained models have semantic value by evaluating them on multiple semantic benchmarks. The evaluation also reveals that the combination of multiple models can lead to a better outcome than the best individual model.
Motivation & Objective
- To enable efficient, on-demand access to pre-trained knowledge graph embeddings without requiring full model downloads or local training.
- To support lightweight integration of knowledge graph embeddings in resource-constrained environments such as mobile devices and data science workflows.
- To evaluate the semantic quality of embeddings from diverse knowledge graphs on standard benchmarks.
- To explore the potential of combining embeddings from multiple knowledge graphs to improve performance on semantic tasks.
- To provide a scalable, accessible service for researchers and practitioners to consume knowledge graph embeddings as a service.
Proposed method
- Training knowledge graph embeddings using the RDF2Vec algorithm on four distinct knowledge graphs: DBpedia, WebIsALOD, Wiktionary, and WordNet.
- Generating sentence-like walks from each node in the knowledge graph, excluding datatype properties, to form a corpus for word2vec training.
- Applying the continuous bag of words (CBOW) and skip-gram models from word2vec to learn dense vector representations for entities and relations.
- Exposing the trained embeddings through a RESTful Web API that allows querying vector representations and similarity scores for specific concepts.
- Supporting both individual concept retrieval and pairwise similarity computation via lightweight HTTP requests.
- Combining similarity scores from multiple knowledge graph embeddings using weighted averaging to improve performance on benchmark tasks.
Experimental results
Research questions
- RQ1Can a Web API service provide efficient, on-demand access to pre-trained knowledge graph embeddings without requiring full model downloads?
- RQ2Do embeddings trained on diverse knowledge graphs—ranging from curated to automatically generated—carry meaningful semantic information?
- RQ3Can the combination of embeddings from multiple knowledge graphs outperform the best individual embedding model on semantic similarity benchmarks?
- RQ4How do embeddings from different knowledge graphs compare in performance across standard semantic evaluation datasets?
- RQ5To what extent can lightweight, API-based access to embeddings support real-world applications in low-resource or mobile environments?
Key findings
- The KGvec2go API successfully enables on-demand, lightweight access to pre-trained knowledge graph embeddings via simple HTTP requests, reducing computational and memory overhead.
- Embeddings from all four knowledge graphs—DBpedia, WebIsALOD, Wiktionary, and WordNet—demonstrate semantic relevance, as evidenced by significant rank correlations on standard benchmarks.
- On the WS-353 benchmark, the combined embedding model achieved a Spearman correlation of ρ = 0.678, outperforming the best individual model (ρ = 0.571).
- On the MEN benchmark, the combined model achieved ρ = 0.230, surpassing the best individual model (ρ = 0.207), indicating improved performance through ensemble combination.
- On SimLex-999, the combined model achieved ρ = 0.2815, closely matching the best individual model (WordNet, ρ = 0.2870), showing strong generalization across similarity tasks.
- The results indicate that relatedness is better captured than similarity in the embeddings, as expected due to the lack of a similarity-specific training objective.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.