Hyperbolic Neur al Ne tworks - 2020 Conference06-15...Poincaré Embeddings for Learning Hierarchical...

26
Hyperbolic Neural Networks Hyperbolic Neural Networks

Transcript of Hyperbolic Neur al Ne tworks - 2020 Conference06-15...Poincaré Embeddings for Learning Hierarchical...

Page 1: Hyperbolic Neur al Ne tworks - 2020 Conference06-15...Poincaré Embeddings for Learning Hierarchical Representations, Nickel & Kiela, (NIPS 2017) Use hyperbolic space instead of Euclidean

Hyperbolic Neural NetworksHyperbolic Neural Networks

Page 2: Hyperbolic Neur al Ne tworks - 2020 Conference06-15...Poincaré Embeddings for Learning Hierarchical Representations, Nickel & Kiela, (NIPS 2017) Use hyperbolic space instead of Euclidean

Use hyperbolic space instead of Euclidean spacefor embedding data with a latent hierarchical structure

Page 3: Hyperbolic Neur al Ne tworks - 2020 Conference06-15...Poincaré Embeddings for Learning Hierarchical Representations, Nickel & Kiela, (NIPS 2017) Use hyperbolic space instead of Euclidean

imag

e so

urce

: htt

p://

insp

irehe

p.ne

t/re

cord

/135

5197

/plo

ts

The volume of a ball growsexponentially with its

radius!

Use hyperbolic space instead of Euclidean spacefor embedding data with a latent hierarchical structure

Page 4: Hyperbolic Neur al Ne tworks - 2020 Conference06-15...Poincaré Embeddings for Learning Hierarchical Representations, Nickel & Kiela, (NIPS 2017) Use hyperbolic space instead of Euclidean

imag

e so

urce

: htt

p://

insp

irehe

p.ne

t/re

cord

/135

5197

/plo

ts

The volume of a ball growsexponentially with its

radius!

Use hyperbolic space instead of Euclidean spacefor embedding data with a latent hierarchical structure

Imag

e so

urce

: htt

p://

prio

r.si

gchi

.org

Similarly as for a tree: the number of nodesgrows exponentially with the tree depth!

Page 5: Hyperbolic Neur al Ne tworks - 2020 Conference06-15...Poincaré Embeddings for Learning Hierarchical Representations, Nickel & Kiela, (NIPS 2017) Use hyperbolic space instead of Euclidean

Image source: http://prior.sigchi.org

Hot topic in ML since 

Poincaré Embeddings for LearningHierarchical Representations, Nickel & Kiela, (NIPS 2017)

Use hyperbolic space instead of Euclidean spacefor embedding data with a latent hierarchical structure

Page 6: Hyperbolic Neur al Ne tworks - 2020 Conference06-15...Poincaré Embeddings for Learning Hierarchical Representations, Nickel & Kiela, (NIPS 2017) Use hyperbolic space instead of Euclidean
Page 7: Hyperbolic Neur al Ne tworks - 2020 Conference06-15...Poincaré Embeddings for Learning Hierarchical Representations, Nickel & Kiela, (NIPS 2017) Use hyperbolic space instead of Euclidean
Page 8: Hyperbolic Neur al Ne tworks - 2020 Conference06-15...Poincaré Embeddings for Learning Hierarchical Representations, Nickel & Kiela, (NIPS 2017) Use hyperbolic space instead of Euclidean
Page 9: Hyperbolic Neur al Ne tworks - 2020 Conference06-15...Poincaré Embeddings for Learning Hierarchical Representations, Nickel & Kiela, (NIPS 2017) Use hyperbolic space instead of Euclidean

Poincaré BallPoincaré Ball

Page 10: Hyperbolic Neur al Ne tworks - 2020 Conference06-15...Poincaré Embeddings for Learning Hierarchical Representations, Nickel & Kiela, (NIPS 2017) Use hyperbolic space instead of Euclidean

Poincaré BallPoincaré Ball

Page 11: Hyperbolic Neur al Ne tworks - 2020 Conference06-15...Poincaré Embeddings for Learning Hierarchical Representations, Nickel & Kiela, (NIPS 2017) Use hyperbolic space instead of Euclidean

Poincaré BallPoincaré Ball

Page 12: Hyperbolic Neur al Ne tworks - 2020 Conference06-15...Poincaré Embeddings for Learning Hierarchical Representations, Nickel & Kiela, (NIPS 2017) Use hyperbolic space instead of Euclidean
Page 13: Hyperbolic Neur al Ne tworks - 2020 Conference06-15...Poincaré Embeddings for Learning Hierarchical Representations, Nickel & Kiela, (NIPS 2017) Use hyperbolic space instead of Euclidean

Our contributionsOur contributions

Image sources: stackexchange.com , wikipedia.org

exp (v)x

Page 14: Hyperbolic Neur al Ne tworks - 2020 Conference06-15...Poincaré Embeddings for Learning Hierarchical Representations, Nickel & Kiela, (NIPS 2017) Use hyperbolic space instead of Euclidean

Our contributionsOur contributions

Page 15: Hyperbolic Neur al Ne tworks - 2020 Conference06-15...Poincaré Embeddings for Learning Hierarchical Representations, Nickel & Kiela, (NIPS 2017) Use hyperbolic space instead of Euclidean

Our contributionsOur contributions

Page 16: Hyperbolic Neur al Ne tworks - 2020 Conference06-15...Poincaré Embeddings for Learning Hierarchical Representations, Nickel & Kiela, (NIPS 2017) Use hyperbolic space instead of Euclidean

Our contributionsOur contributions

Page 17: Hyperbolic Neur al Ne tworks - 2020 Conference06-15...Poincaré Embeddings for Learning Hierarchical Representations, Nickel & Kiela, (NIPS 2017) Use hyperbolic space instead of Euclidean

Our contributionsOur contributions

Page 18: Hyperbolic Neur al Ne tworks - 2020 Conference06-15...Poincaré Embeddings for Learning Hierarchical Representations, Nickel & Kiela, (NIPS 2017) Use hyperbolic space instead of Euclidean
Page 19: Hyperbolic Neur al Ne tworks - 2020 Conference06-15...Poincaré Embeddings for Learning Hierarchical Representations, Nickel & Kiela, (NIPS 2017) Use hyperbolic space instead of Euclidean

Riemannian OptimizationRiemannian Optimization

Both Euclidean and hyperbolic parameters

Riemannian SGD:

Riemannian gradient:

x ← exp (−η∇ L), x ∈xc

xR D c

n

∇ L =xR (1/λ ) ∇ L, conformal factor λ =x

c 2x x

c

1 − c∥x∥2

2

exp (v)x

Image source: stackexchange.com

Page 20: Hyperbolic Neur al Ne tworks - 2020 Conference06-15...Poincaré Embeddings for Learning Hierarchical Representations, Nickel & Kiela, (NIPS 2017) Use hyperbolic space instead of Euclidean

ExperimentsExperiments

Page 21: Hyperbolic Neur al Ne tworks - 2020 Conference06-15...Poincaré Embeddings for Learning Hierarchical Representations, Nickel & Kiela, (NIPS 2017) Use hyperbolic space instead of Euclidean

All word and sentence embeddings have dimension 5.

ExperimentsExperiments

Page 22: Hyperbolic Neur al Ne tworks - 2020 Conference06-15...Poincaré Embeddings for Learning Hierarchical Representations, Nickel & Kiela, (NIPS 2017) Use hyperbolic space instead of Euclidean

ExperimentsExperiments

Page 23: Hyperbolic Neur al Ne tworks - 2020 Conference06-15...Poincaré Embeddings for Learning Hierarchical Representations, Nickel & Kiela, (NIPS 2017) Use hyperbolic space instead of Euclidean

ExperimentsExperiments

Page 24: Hyperbolic Neur al Ne tworks - 2020 Conference06-15...Poincaré Embeddings for Learning Hierarchical Representations, Nickel & Kiela, (NIPS 2017) Use hyperbolic space instead of Euclidean

THANK YOU!THANK YOU!

hyperbolicdeeplearning.com

Please visit our website:

Octavian Ganea is currently looking for postdoctoral positions!

Page 25: Hyperbolic Neur al Ne tworks - 2020 Conference06-15...Poincaré Embeddings for Learning Hierarchical Representations, Nickel & Kiela, (NIPS 2017) Use hyperbolic space instead of Euclidean

Matrix-vector multiplication

We define:

Nice properties:

Page 26: Hyperbolic Neur al Ne tworks - 2020 Conference06-15...Poincaré Embeddings for Learning Hierarchical Representations, Nickel & Kiela, (NIPS 2017) Use hyperbolic space instead of Euclidean

When the curvature c goes to zero, it recovers the usualmatrix multiplication!

lim M (x) =c→0⊗ c Mx

Matrix-vector multiplication