Top Banner
MLSEB: Edge Bundling using Moving Least Squares Approximation Jieting Wu, Jianping Zeng, Feiyu Zhu, Hongfeng Yu Department of Computer Science & Engineering University of Nebraska-Lincoln, Lincoln, Nebraska
42

MLSEB: Edge Bundling using Moving Least Squares ...MLSEB: Edge Bundling using Moving Least Squares Approximation Jieting Wu, Jianping Zeng, Feiyu Zhu, Hongfeng Yu Department of Computer

Sep 24, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: MLSEB: Edge Bundling using Moving Least Squares ...MLSEB: Edge Bundling using Moving Least Squares Approximation Jieting Wu, Jianping Zeng, Feiyu Zhu, Hongfeng Yu Department of Computer

MLSEB: Edge Bundling using Moving Least Squares Approximation

Jieting Wu, Jianping Zeng, Feiyu Zhu, Hongfeng Yu

Department of Computer Science & Engineering

University of Nebraska-Lincoln, Lincoln, Nebraska

Page 2: MLSEB: Edge Bundling using Moving Least Squares ...MLSEB: Edge Bundling using Moving Least Squares Approximation Jieting Wu, Jianping Zeng, Feiyu Zhu, Hongfeng Yu Department of Computer

Outline

• Motivation

• Background

• Approach

• Results

• Conclusion

2

Page 3: MLSEB: Edge Bundling using Moving Least Squares ...MLSEB: Edge Bundling using Moving Least Squares Approximation Jieting Wu, Jianping Zeng, Feiyu Zhu, Hongfeng Yu Department of Computer

Motivation

• State-of-the-art graph visualization

– Node-Link diagram • Pro

– Simple and intuitive • Con

– Easily incur visual clutter

– Edge bundling• Pros

– Effectively remedy visual clutter – Reveal high-level graph structures

• Cons– High complexity– Non-trivial quality evaluation

3

FFTEB [Lhuillier2017]

Page 4: MLSEB: Edge Bundling using Moving Least Squares ...MLSEB: Edge Bundling using Moving Least Squares Approximation Jieting Wu, Jianping Zeng, Feiyu Zhu, Hongfeng Yu Department of Computer

Background

• Edge bundling algorithms

– Visually merge edges based on similarity measurements

• Iterative refinement

4

Node-link Diagram

Edge Bundling

Rendering

Sampling Edges

Measuring Similarity

Moving Sample Points

(Resampling)

Page 5: MLSEB: Edge Bundling using Moving Least Squares ...MLSEB: Edge Bundling using Moving Least Squares Approximation Jieting Wu, Jianping Zeng, Feiyu Zhu, Hongfeng Yu Department of Computer

Background

• Force-directed edge bundling [Holten2010]

• Kernel density estimation (KDE) based methods

– KDEEB: Graph Bundling by Kernel Density Estimation [Hurter2012]

– CUBu: CUDA Universal Bundling [Matthew van der Zwan2016]

– FFTEB: Fast Fourier Transform Edge Bundling [Lhuillier2017]

5

Page 6: MLSEB: Edge Bundling using Moving Least Squares ...MLSEB: Edge Bundling using Moving Least Squares Approximation Jieting Wu, Jianping Zeng, Feiyu Zhu, Hongfeng Yu Department of Computer

Background

• Kernel density estimation (KDE) based methods

6

Page 7: MLSEB: Edge Bundling using Moving Least Squares ...MLSEB: Edge Bundling using Moving Least Squares Approximation Jieting Wu, Jianping Zeng, Feiyu Zhu, Hongfeng Yu Department of Computer

Background

• Kernel density estimation (KDE) based methods

– Image-based sampling

7

Page 8: MLSEB: Edge Bundling using Moving Least Squares ...MLSEB: Edge Bundling using Moving Least Squares Approximation Jieting Wu, Jianping Zeng, Feiyu Zhu, Hongfeng Yu Department of Computer

Background

• Kernel density estimation (KDE) based methods

– Mean-shift clustering

8

Page 9: MLSEB: Edge Bundling using Moving Least Squares ...MLSEB: Edge Bundling using Moving Least Squares Approximation Jieting Wu, Jianping Zeng, Feiyu Zhu, Hongfeng Yu Department of Computer

Background

• Kernel density estimation (KDE) based methods

– Mean-shift clustering

• Kernel density estimation

9

Page 10: MLSEB: Edge Bundling using Moving Least Squares ...MLSEB: Edge Bundling using Moving Least Squares Approximation Jieting Wu, Jianping Zeng, Feiyu Zhu, Hongfeng Yu Department of Computer

Background

• Kernel density estimation (KDE) based methods

– Mean-shift clustering

• Kernel density estimation

• Gradient-based advection

10

Page 11: MLSEB: Edge Bundling using Moving Least Squares ...MLSEB: Edge Bundling using Moving Least Squares Approximation Jieting Wu, Jianping Zeng, Feiyu Zhu, Hongfeng Yu Department of Computer

Background

• Kernel density estimation (KDE) based methods

– Incur excessive convergence artifact

• Require resampling to avoid excessive convergence

11

Page 12: MLSEB: Edge Bundling using Moving Least Squares ...MLSEB: Edge Bundling using Moving Least Squares Approximation Jieting Wu, Jianping Zeng, Feiyu Zhu, Hongfeng Yu Department of Computer

Background (Complexity)

• Kernel density estimation (KDE) based methods

– Image-based sampling

– Mean-shift clustering

– Iterative refinement (resampling)

12

Complexity: O(SNI + IE)

S: sample points

N: image pixel number

I: iteration number

E: edge number

Graph Bundling by Kernel Density Estimation [Hurter2012]

Page 13: MLSEB: Edge Bundling using Moving Least Squares ...MLSEB: Edge Bundling using Moving Least Squares Approximation Jieting Wu, Jianping Zeng, Feiyu Zhu, Hongfeng Yu Department of Computer

Examples of Existing Edge Bundling Methods

Original graph GBEB [Cui2008] FDEB [Holten2010]

SBEB [Ersoy2012]WR [Lambert2010]

KDEEB [Hurter2012] CUBu [Matthew van der Zwan2016] FFTEB [Lhuillier2017]

13

MINGLE [Ganser2011]

Page 14: MLSEB: Edge Bundling using Moving Least Squares ...MLSEB: Edge Bundling using Moving Least Squares Approximation Jieting Wu, Jianping Zeng, Feiyu Zhu, Hongfeng Yu Department of Computer

Evaluation?

GBEB [Cui2008] FDEB [Holten2010]

SBEB [Ersoy2012]WR [Lambert2010]

KDEEB [Hurter2012] CUBu [Matthew van der Zwan2016] FFTEB [Lhuillier2017]

14

MINGLE [Ganser2011]

Page 15: MLSEB: Edge Bundling using Moving Least Squares ...MLSEB: Edge Bundling using Moving Least Squares Approximation Jieting Wu, Jianping Zeng, Feiyu Zhu, Hongfeng Yu Department of Computer

Evaluation

• Quality of edge bundling

– Lhuillier et al. [Lhuillier2017] suggested to use the ratio of clutter reduction to amount of distortion to quantify the quality of a bundled graph

𝑄 =𝐶

𝑇

• C: clutter reduction

• T: amount of distortion

15

Page 16: MLSEB: Edge Bundling using Moving Least Squares ...MLSEB: Edge Bundling using Moving Least Squares Approximation Jieting Wu, Jianping Zeng, Feiyu Zhu, Hongfeng Yu Department of Computer

Evaluation

• Quality of edge bundling

– T: The distortion is measured by computing the distance between original edge drawings and the bundled edge drawings

– C: The calculation of clutter reduction has not been fully concluded in the existing work

16

Page 17: MLSEB: Edge Bundling using Moving Least Squares ...MLSEB: Edge Bundling using Moving Least Squares Approximation Jieting Wu, Jianping Zeng, Feiyu Zhu, Hongfeng Yu Department of Computer

Evaluation

• Quality of edge bundling

– We propose to employ the reduction of the used pixel number in a graph drawing to measure 𝐶

𝐶 = ∆𝑃 = 𝑃 − 𝑃′

– We also propose to use the average distortion ത𝑇, instead of the total distortion of all the sample points

ത𝑇 =𝑇

𝑆

T is the total distortion generated

S is the number of sample points

17

Page 18: MLSEB: Edge Bundling using Moving Least Squares ...MLSEB: Edge Bundling using Moving Least Squares Approximation Jieting Wu, Jianping Zeng, Feiyu Zhu, Hongfeng Yu Department of Computer

Evaluation

• Quality of edge bundling

– We have a quality metric to quantify the quality of edge bundling

𝑄 =∆𝑃

ത𝑇

• ∆𝑃: reduced pixels ↑

• ത𝑇: average distortion ↓

18

Page 19: MLSEB: Edge Bundling using Moving Least Squares ...MLSEB: Edge Bundling using Moving Least Squares Approximation Jieting Wu, Jianping Zeng, Feiyu Zhu, Hongfeng Yu Department of Computer

Evaluation

• Quality of edge bundling

– The pros and cons of the existing methods

• Pros

– Create visually appealing edge bundles that reduce clutter

• Cons

– Resampling is required in iterative refinement

– Does not take distortion into their methods

19

Page 20: MLSEB: Edge Bundling using Moving Least Squares ...MLSEB: Edge Bundling using Moving Least Squares Approximation Jieting Wu, Jianping Zeng, Feiyu Zhu, Hongfeng Yu Department of Computer

Contribution

• We present MLSEB, a novel method to generate edge bundles based on moving least squares (MLS) approximation

– Introduce MLS into edge bundling

• Simplify the edge bundling pipeline

• Generate better quality results compared to other methods

– Based on the aforementioned quality metric

– Ensure scalability and efficiency

• A set of graphs that range from ten thousand to a half million edges

• A GPU implementation

20

Page 21: MLSEB: Edge Bundling using Moving Least Squares ...MLSEB: Edge Bundling using Moving Least Squares Approximation Jieting Wu, Jianping Zeng, Feiyu Zhu, Hongfeng Yu Department of Computer

Approach

• The pipeline of moving least squares edge bundling

21

Node-link Diagram

Edge Bundling

Rendering

Sampling Edges

Measuring Similarity

Moving Sample Points

(Resampling)

Page 22: MLSEB: Edge Bundling using Moving Least Squares ...MLSEB: Edge Bundling using Moving Least Squares Approximation Jieting Wu, Jianping Zeng, Feiyu Zhu, Hongfeng Yu Department of Computer

Approach

• The pipeline of moving least squares edge bundling

22

Node-link Diagram

Edge Bundling

Rendering

Sampling Edges

Measuring Similarity

Moving Sample Points

Moving Least Squares

(Resampling)

Page 23: MLSEB: Edge Bundling using Moving Least Squares ...MLSEB: Edge Bundling using Moving Least Squares Approximation Jieting Wu, Jianping Zeng, Feiyu Zhu, Hongfeng Yu Department of Computer

Approach

• The pipeline of moving least squares edge bundling

23

Node-link Diagram

Edge Bundling

Rendering

Sampling Edges

Measuring Similarity

Moving Sample Points

Moving Least Squares

Page 24: MLSEB: Edge Bundling using Moving Least Squares ...MLSEB: Edge Bundling using Moving Least Squares Approximation Jieting Wu, Jianping Zeng, Feiyu Zhu, Hongfeng Yu Department of Computer

Approach

• Moving least squares application

– Reconstructing continuous functions from a set of unorganized point samples

• 2D curve reconstruction

24

Curve Reconstruction from Unorganized Points [Lee00]

Page 25: MLSEB: Edge Bundling using Moving Least Squares ...MLSEB: Edge Bundling using Moving Least Squares Approximation Jieting Wu, Jianping Zeng, Feiyu Zhu, Hongfeng Yu Department of Computer

Approach

• Moving least squares application

– Reconstructing continuous functions from a set of unorganized point samples

• 3D surface reconstruction

25

Moving Least Squares Multiresolution Surface Approximation [Mederos03]

Page 26: MLSEB: Edge Bundling using Moving Least Squares ...MLSEB: Edge Bundling using Moving Least Squares Approximation Jieting Wu, Jianping Zeng, Feiyu Zhu, Hongfeng Yu Department of Computer

Approach

• MLSEB– Image-based sampling

26

Page 27: MLSEB: Edge Bundling using Moving Least Squares ...MLSEB: Edge Bundling using Moving Least Squares Approximation Jieting Wu, Jianping Zeng, Feiyu Zhu, Hongfeng Yu Department of Computer

Approach

• MLSEB

– Assume there is an implicit skeleton that is a suitable place to gather sample points and form bundles

• Skeleton can be interpreted as a curve

27

Page 28: MLSEB: Edge Bundling using Moving Least Squares ...MLSEB: Edge Bundling using Moving Least Squares Approximation Jieting Wu, Jianping Zeng, Feiyu Zhu, Hongfeng Yu Department of Computer

• MLSEB

– Skeleton can be interpreted as a piece-wise polynomial curve

• Calculate 𝑓𝑖 by minimizing a weighted least squares error 𝟄

– Within a radial neighborhood ℎ𝑖 of 𝑥𝑖

Approach

28

𝑥𝑖

Least squares approximation

𝑓𝑖

ℎ𝑖

𝟄 =

𝑗=1

ℎ𝑖

( 𝑥𝑗 − 𝑓𝑖 )2𝜭 |𝑥𝑗 − 𝑥𝑖|

Page 29: MLSEB: Edge Bundling using Moving Least Squares ...MLSEB: Edge Bundling using Moving Least Squares Approximation Jieting Wu, Jianping Zeng, Feiyu Zhu, Hongfeng Yu Department of Computer

• MLSEB

– Skeleton can be interpreted as a piece-wise polynomial curve

• Calculate 𝑓𝑖 by minimizing a weighted least squares error 𝟄

– Within a radial neighborhood ℎ𝑖 of 𝑥𝑖

Approach

29

Weighting function:Gaussian function

𝟄 =

𝑗=1

ℎ𝑖

( 𝑥𝑗 − 𝑓𝑖 )2𝜭 |𝑥𝑗 − 𝑥𝑖|

𝑥𝑖

𝑓𝑖

ℎ𝑖

Page 30: MLSEB: Edge Bundling using Moving Least Squares ...MLSEB: Edge Bundling using Moving Least Squares Approximation Jieting Wu, Jianping Zeng, Feiyu Zhu, Hongfeng Yu Department of Computer

Approach

• MLSEB

– Skeleton can be interpreted as a piece-wise polynomial curve

• Calculate 𝑓𝑖 by minimizing a weighted least squares error 𝟄

– Within a radial neighborhood ℎ𝑖 of 𝑥𝑖– Project 𝑥𝑖 into 𝑓𝑖

30

𝟄 =

𝑗=1

ℎ𝑖

( 𝑥𝑗 − 𝑓𝑖 )2𝜭 |𝑥𝑗 − 𝑥𝑖|

Page 31: MLSEB: Edge Bundling using Moving Least Squares ...MLSEB: Edge Bundling using Moving Least Squares Approximation Jieting Wu, Jianping Zeng, Feiyu Zhu, Hongfeng Yu Department of Computer

Approach

• MLS vs. KDE

31

MLSKDE

Page 32: MLSEB: Edge Bundling using Moving Least Squares ...MLSEB: Edge Bundling using Moving Least Squares Approximation Jieting Wu, Jianping Zeng, Feiyu Zhu, Hongfeng Yu Department of Computer

Approach

• MLS vs. KDE

– KDE-based methods incur excessive convergence

• Resampling is required to generate better bundling results

32

KDE

Page 33: MLSEB: Edge Bundling using Moving Least Squares ...MLSEB: Edge Bundling using Moving Least Squares Approximation Jieting Wu, Jianping Zeng, Feiyu Zhu, Hongfeng Yu Department of Computer

Approach

• MLS vs. KDE

– MLS method only samples edges in the initial step, and it doesn’tincur excessive convergence in the following iterations

33

MLS

Iteration 0 Iteration 2 Iteration 5 Iteration 10

Sample edges only once

Page 34: MLSEB: Edge Bundling using Moving Least Squares ...MLSEB: Edge Bundling using Moving Least Squares Approximation Jieting Wu, Jianping Zeng, Feiyu Zhu, Hongfeng Yu Department of Computer

Approach

• Moving least squares edge bundling

– Project a sample point 𝑥𝑖 into its local regression curve 𝑓𝑖• 𝑓𝑖 is locally approximated

– Within a radial neighborhood of 𝑥𝑖• The distortion of 𝑥𝑖 is locally minimized

34

DistortionEuclidean distance

𝟄 =

𝑗=1

ℎ𝑖

( 𝑥𝑗 − 𝑓𝑖 )2𝜭 |𝑥𝑗 − 𝑥𝑖|

Page 35: MLSEB: Edge Bundling using Moving Least Squares ...MLSEB: Edge Bundling using Moving Least Squares Approximation Jieting Wu, Jianping Zeng, Feiyu Zhu, Hongfeng Yu Department of Computer

Approach

• Moving least squares edge bundling

– Image-based sampling (sample edges in the initial step)

– Moving least squares approximation and projection

– Iterative refinement

35

Complexity: O(SNI + E)

S: sample points

N: image pixel number

I: iteration number

E: edge number

Page 36: MLSEB: Edge Bundling using Moving Least Squares ...MLSEB: Edge Bundling using Moving Least Squares Approximation Jieting Wu, Jianping Zeng, Feiyu Zhu, Hongfeng Yu Department of Computer

Results

36

• Dataset 1: a small US migrations graph (9780 edges)

FDEB

FFTEBMLSEB (our method)

SamplesTime (ms)

/ iterationIterations Quality

FDEB 3785K 80 300 8.9

FFTEB 489K 48 262 7.60

MLSEB 207K 38 10 9.20

Page 37: MLSEB: Edge Bundling using Moving Least Squares ...MLSEB: Edge Bundling using Moving Least Squares Approximation Jieting Wu, Jianping Zeng, Feiyu Zhu, Hongfeng Yu Department of Computer

Results

37

• Dataset 2: a France airlines graph (17274 edges)

FDEB

MLSEB (our method) FFTEB

SamplesTime (ms)

/ iterationIterations Quality

FDEB 6685K 110 300 3.7

FFTEB 864K 70 244 21.3

MLSEB 990K 94 10 26.0

Page 38: MLSEB: Edge Bundling using Moving Least Squares ...MLSEB: Edge Bundling using Moving Least Squares Approximation Jieting Wu, Jianping Zeng, Feiyu Zhu, Hongfeng Yu Department of Computer

Results

38

• Dataset 3: a large US migrations graph (545881 edges)

FFTEB MLSEB (our method)

SamplesTime (ms)

/ iterationIterations Quality

FFTEB 6.4M 123 390 13.28

MLSEB 5.8M 554 20 13.30

Page 39: MLSEB: Edge Bundling using Moving Least Squares ...MLSEB: Edge Bundling using Moving Least Squares Approximation Jieting Wu, Jianping Zeng, Feiyu Zhu, Hongfeng Yu Department of Computer

Conclusion

• Moving Least Squares Edge Bundling (MLSEB)

– A simple and efficient method for constructing edge bundles of large graphs using MLS projection

• Only sample edges once, and avoid resampling in the following iterations

• Achieve better visualization results based on a quality metric

• Ensure scalability and efficiency

39

Page 40: MLSEB: Edge Bundling using Moving Least Squares ...MLSEB: Edge Bundling using Moving Least Squares Approximation Jieting Wu, Jianping Zeng, Feiyu Zhu, Hongfeng Yu Department of Computer

Acknowledgement

• This research has been sponsored by the National Science Foundation through grants IIS-1652846, IIS-1423487, and ICER-1541043.

40

Page 41: MLSEB: Edge Bundling using Moving Least Squares ...MLSEB: Edge Bundling using Moving Least Squares Approximation Jieting Wu, Jianping Zeng, Feiyu Zhu, Hongfeng Yu Department of Computer

Thank You!

41

Page 42: MLSEB: Edge Bundling using Moving Least Squares ...MLSEB: Edge Bundling using Moving Least Squares Approximation Jieting Wu, Jianping Zeng, Feiyu Zhu, Hongfeng Yu Department of Computer

42