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

Neural network-oriented graph database #102

Open
anssiko opened this issue Sep 11, 2020 · 1 comment
Open

Neural network-oriented graph database #102

anssiko opened this issue Sep 11, 2020 · 1 comment
Labels
Developer's Perspective Machine Learning Experiences on the Web: A Developer's Perspective Discussion topic Topic discussed at the workshop

Comments

@anssiko
Copy link
Member

anssiko commented Sep 11, 2020

The Pipcook, a front-end oriented DL framework talk by @WenheLI makes the following point on model storage issues in the web context:

And finally, we are thinking about model storage.
As you know that, a deep learning model essentially is a graph with some weights.
And if we can come up with, it's kind of like, we call it neural network orientated database.
Basically, it's a graph orientated database that stores the information in a graph format.
And in this way, we can definitely reduce the serialization overhead.
We are just trying to put some, like deep learning models into the indexedDB or some other regular database.

Questions:

  • Can we improve IndexedDB to make it more amenable to storing graphs such as ML/DL models? What are the specific requirements that should be satisfied?
  • What can we learn from graph databases such as Neo4j that would be transferrable to the web?
@anssiko anssiko added the Developer's Perspective Machine Learning Experiences on the Web: A Developer's Perspective label Sep 11, 2020
@yorkie
Copy link

yorkie commented Sep 16, 2020

@WenheLI @anssiko IMO the storage stuff should contain the following works:

  1. define an intermediate representation for the deep learning models, it might be a web-oriented edition of ONNX intermediate representation spec.
  2. define the ops, it's working with the WebNN spec.
  3. define the update strategy, it contains how to load a model from a remote URL, how to patch, and the cache control.

The purpose of model storage and spec might make the inferencing libraries like tfjs, tvm, and others are able to generate more performant code & model for the Web.

Thus I don't think starting from IndexedDB and Neo4j might be a good choice, which would change the behavior of most DL libraries to work with, and can't resolve the real problems that we met today.

@anssiko anssiko added this to the 2020-09-23 Live Session #3 milestone Sep 21, 2020
@dontcallmedom dontcallmedom added the Discussion topic Topic discussed at the workshop label Oct 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Developer's Perspective Machine Learning Experiences on the Web: A Developer's Perspective Discussion topic Topic discussed at the workshop
Projects
None yet
Development

No branches or pull requests

3 participants