Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

edges with weight #43

Open
saustar opened this issue Sep 7, 2021 · 3 comments
Open

edges with weight #43

saustar opened this issue Sep 7, 2021 · 3 comments

Comments

@saustar
Copy link

saustar commented Sep 7, 2021

hi
I am not able to find two things:

  1. How to give data where edges are present with some weight?? So that edge weights are taken into embedding calculation.
  2. Cold start problems? How to use embeddings for cold start?
@barbara3430
Copy link

Dear @saustar

  1. I am assuming that by cold start you mean the situation where no graph interactions exist for a given node (e.g. a product freshly added to inventory). For such cases a mean embedding of a selected group of nodes can be substituted (e.g. if your product has a certain characteristic which is important for your setting - it is let's say a car, you can use a mean embedding of other cars). You can also modify Cleora's code a bit to initialize a new node with an embedding coming from another representation model, e.g. a picture or text embedding of node properties, instead of random initialization. This way, Cleora will take into account the similarity relations expressed by upstream embeddings and the introduction of cold-start items will become much easier. We are currently working on supporting this conveniently as a separate mode of operation.

Some experiments with new node embedding computation are described in "Node Reconstruction (Inductivity)." section of our paper https://arxiv.org/pdf/2102.02302.pdf .

  1. Data with weighted edges can be modelled by changing Cleora computation slightly. Per notation from our paper, you can arbitrarily manipulate the weights in the M matrix and feed greater/smaller values whenever needed to enhance/decrease edge influence (we are currently treating all edges equally). We have this feature on our desired feature list but with smaller priority than cold start initialization, so this is expected to be implemented but further down the line.

@PierceLBrooks
Copy link

@barbara3430 do you have any recommendation for how one might go about implementing this matrix influence for the simple case of an input graph structure expressed with only one complex, reflexive column?

@akshath-nykaa
Copy link

@barbara3430 thanks for Cleora, when are you planning to release a way to incorporate edge weights while computing the transition matrix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants