1 of 24

Visualizing Topological Importance:

A Class-Driven Approach

Yu (Demi) Qin, Tulane University

Brittany Fasy, Montana State University

Carola Wenk, Tulane University

Presented by Brian Summa, Tulane University

2 of 24

Motivation

  • Topological data analysis (TDA) extracts meaningful shape from complex data.
  • These features are represented compactly in persistence diagrams.
  • Not all topological features are equally important for analysis tasks!
  • Typically, persistence (lifetime) is used to (implicitly or explicitly) weigh feature importance.
  • But, persistence may not be the optimal weight for all datasets or tasks!

3 of 24

Low Persistence can be More Important

Example Datasets

References

[1] C. Hofer, NeurIPS 2017

[2] H Riihimaki, ATDA 2019

[3] V Patrangenaru, Sankhya A 2019

[4] Q Zhao, NeurIPS 2019

[5] P Bubenik, Inverse Problems 2020

More!

Protein Molecules

Histological Images

Leaf Images

4 of 24

Which topological feature is more important?

Persistence Diagram

Original Data

H1

5 of 24

Wait, if we have two classes….

Class A

Persistence Diagram

Original Data

H1

Persistence Diagram

Original Data

H1

Class B

Not all topological features are equally important for analysis tasks!

6 of 24

Can we learn the right weights?

7 of 24

Approach Overview

  • Use deep metric learning on vectorized topological features.
  • Train CNN with attention module and metric loss.

8 of 24

Results: Topological Classification

Dataset

W1

PWPI

WKPI

BC

PWGK

SWK

Ours

3D Shape

0.92

0.89

1.0

0.91

0.9

0.88

1.0

COLLAB

0.76

0.73

0.77

0.76

0.71

0.78

0.84

PROTEINS

0.77

0.76

0.79

0.76

0.72

0.76

0.87

Prostate

0.82

0.85

0.88

0.86

0.83

0.84

0.95

Colorectal

0.77

0.78

0.81

0.77

0.78

0.75

0.85

Typical

9 of 24

Importance Field Visualization

  • Create a 2D heatmap over a persistence diagram - Importance Field.
  • Importance field shows the importance of region of the diagram for classification.
  • Based on the gradient of class score in our model.

Our Model

10 of 24

In-Image Visualization

  • Maps importance field back to original image data.
  • Uses persistence diagram to lookup pixel locations of 0D feature critical pairs.
  • Renders interlevel set between critical pairs based on learned importance.

Importance Field

In-Image

VIS

11 of 24

Different Classes Different Importance Features

Gleason 3

Gleason 5

Original

Image

Importance

Field

In-Image

VIS

Prostate Cancer

Gleason 4

Similar Diagram,

Different Importance

12 of 24

Different Classes Different Importance Features

Gleason 3

Gleason 5

Original

Image

Importance

Field

In-Image

VIS

NORM

MUS

Prostate Cancer

Colorectal Cancer

Gleason 4

STR

13 of 24

Same Class Similar Important Features

MUC

TUM

Colorectal Cancer

Different Diagram,

Similar Importance

14 of 24

Same Class Similar Important Features

Gleason 3

MUC

Gleason 4

Original

Image

Importance

Field

In-Image

VIS

TUM

Prostate Cancer

Colorectal Cancer

15 of 24

Conclusions

  • The first approach is to visually present topological feature importance.
  • State-of-the-art topological classification accuracy with learned weights.
  • Novel in-image visualization revealing topological structures.

ML

VIS

TDA

16 of 24

Thank you to our funders

  • DOE ASCR DE-SC0022873
  • NIH R01GM143789
  • NSF-IIS 2136744
  • NSF-CCF 2046730
  • NSF-DMS 1664858

17 of 24

Thank you!

Q&A

Demi will be graduating soon!

Email: yqin2@tulane.edu

18 of 24

EXTRA SLIDES

19 of 24

Graph Dataset

  • Extended Filtration to capture H0 and H1 in one diagram
  • Our model can indicate H0 vs H1, which is more important

Extended Filtration

Protein Graph

Collab Graph

Ours Persistence

20 of 24

3D Shapes

  • Our model can learn the weight on high persistence as well

21 of 24

Prostate Cancer Images

Original Image

Importance Field VIS

In-Image

VIS

High Importance

22 of 24

Colorectal Cancer Images

23 of 24

Pipeline - Prostate Cancer

24 of 24

Ours vs Persistence - Colorectal Cancer

  • Our Learned Importance vs Persistence Importance

Ours

Persistence