typedb / typedb-ml

TypeDB-ML is the Machine Learning integrations library for TypeDB
https://vaticle.com
Apache License 2.0
550 stars 93 forks source link

Improve learning stability #101

Closed jmsfltchr closed 5 years ago

jmsfltchr commented 5 years ago

What is the goal of this PR?

Improve the stability of the model training process. Too much effort is required by the model to predict elements of the graph that are preexisting. These elements are far more numerous than the relations to be predicted, and so they dominate the priorities of the loss function.

We are also disinterested in predicting the class of edges, we wish only to predict the existence of relation nodes. We should take the view that the roleplayer edges of a relation are attached, and thereby are predicted to exist if their relation is predicted to exist.

What are the changes implemented in this PR?

Efforts to improve the stability and consistency of model training.