As humans we use our knowledge, our reasoning and our understanding of situational context to make accurate predictions about the world around us; machine learning doesn’t typically make use of any of this rich information.
The ability to leverage highly interrelated data will yield a step-change in the quality and complexity of predictions that can be made for the same volume of data.
We present Knowledge Graph Convolutional Networks: a method for performing machine learning over a Grakn Knowledge Graph, which captures micro-context and macro-context for any Concept within the graph.
This methodology demonstrates how we can usably combine knowledge, learning and reasoning to build systems that start to look truly intelligent.
Associated blog post:
https://blog.grakn.ai/knowledge-graph-convolutional-networks-machine-learning-over-reasoned-knowledge-9eb5ce5e0f68
Associated video:
https://youtu.be/Jx_Twc75ka0
This is a clip from the Grakn London Meetup at the Royal Academy of Engineering (November 2018). Join the community: grakn.ai/community
2. Follow us @GraknLabs
Machines aren’t as smart as we’d like
Highly domain constrained,
generalisation and model-wise
Reliant on big data
Require complex learning models
Only use flat arrays of input data
Don’t exploit data context
3. Follow us @GraknLabs
Human Capabilities
Long-term memory
Basic body function
Basic emotions
Appropriate social
response
Skilled movement
coordination
Language
Vision
Sensory processing
Planning
Motivation Motor control
Working memory
Reasoning
Abstract thought
Hearing
Personality
Learning
9. Follow us @GraknLabs
?
Reasoning
Not popular
when
taxon $a has super $b
taxon $b has super $c
then
taxon $a has super $c
rule
This allows us to infer
additional information
Species: Balaenoptera
acutorostrata
Genus: Balaenoptera
Family: Balaenopteridae
Order: Cetacea
Class: Mammalia
10. Follow us @GraknLabs
Reasoning How can we get machines to do reasoning for us?
Symbolic Automation
Requires structured data storage
Species: Balaenoptera
acutorostrata
Genus: Balaenoptera
Family: Balaenopteridae
Order: Cetacea
Class: Mammalia
12. Follow us @GraknLabs
Long-term Memory
Sounds like a database,
but with crazy complexity
But how do we humans store memories?
More of a distributed web - a graph
Hard to search without governing structure
(how many times did you forget what you went there for?)
13. Follow us @GraknLabs
Structured Long-term Memory
We can define a structure for our data
This way, it’s:
• Easy to search
• Possible to automate reasoning
Model: Entity, Relationship, Attribute as nodes
Roles as edges
Demo:
15. Follow us @GraknLabs
High-Level Architecture
Learner
Reasoner
Knowledge Graph
Learning
Reasoning
Long-term Memory
A learner talks to a knowledge graph
via a reasoner
22. Follow us @GraknLabs
Example: CITES Animal Trade Dataset
Convention on International Trade in
Endangered Species of Wild Fauna and Flora
• Lists exchanges (imports & exports) of items
between countries
• Forms a sparse graph of interconnected data
Scenario: We’re looking for suspicious trade to
enforce protection of the most endangered
animals
Demo: predicting attribute values using a KGCN
23. Follow us @GraknLabs
Predicting endangerment-level associated with traded-items
20 9 1
7 22 1
5 3 22
Confusion
Matrix
Actual
Class
Predicted Class
1
2
3
1 2 3
27. Follow us @GraknLabs
What does Grakn do?
Knowledge schema
Flexible Entity-Relationship
concept-level schema to
build knowledge models
Model complex
domains
Automated Reasoning
Automated deductive
reasoning of data points
during runtime (OLTP)
Derive implicit facts &
simplification
Distributed Analytics
Automated distributed
algorithms (BSP) as a
language (OLAP)
Automated large scale
analytics
Higher-Level Language
Strong abstraction over low-
level constructs and
complex relationships
Easier to work with
complex data