70
Net2Text: Query-Guided Summarization of Network Forwarding Behaviors NSDI ’18 Martin Vechev, Laurent Vanbever April, 11 2018 net2text.ethz.ch Rüdiger Birkner, Dana Drachsler-Cohen,

Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

  • Upload
    others

  • View
    6

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

Net2Text: Query-Guided Summarization

of Network Forwarding Behaviors

NSDI ’18

Martin Vechev, Laurent Vanbever

April, 11 2018

net2text.ethz.ch

Rüdiger Birkner, Dana Drachsler-Cohen,

Page 2: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

1

SEAT

NEWY

SUNV

LOSA

HOUS

ATLA

PHILDENV KSCY

CHIC

INDI

Page 3: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

1

NEWY

SEAT

SUNV

LOSA

HOUS

ATLA

PHILDENV KSCY

CHIC

INDI

Page 4: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

Where is the traffic leaving in NEWY

coming from?

1

Page 5: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

Approach Look at

From a wealth of low-level data,

identify important destinations to reroute

Challenge

to

entire forwarding stateall the traffic statistics

Where is the traffic leaving NEWY

coming from?

extract the high-level insights

2

Page 6: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

Understanding how the network behaves,

can take hours

Fast reaction is required

Networks get more and more complex

Customer experience depends on it

New peerings, more routers, etc.

3

Page 7: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

What if you could simply ask the questions…

4

and automatically get an answer?

Page 8: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

Type a message…

5

TextNet 2

Page 9: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

Where is the traffic…

5

TextNet 2

Page 10: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

Type a message…

5

TextNet 2

Where is the traffic leaving

in NEWY coming from?

questionnatural language

in

Page 11: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

Type a message…

5

Where is the traffic leaving

in NEWY coming from?

TextNet 2

Page 12: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

Type a message…

TextNet 2

summarynatural language

in

5

The traffic enters mostly in PHIL

and goes to Youtube and Netflix.

Where is the traffic leaving

in NEWY coming from?questionnatural language

in

Page 13: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

The Google traffic to NEWY

enters in BOST…

Net2Text has four stages:

parsing, data retrieval, summarization, translation

Input Output

How is Google traffic to NEWY handled?

Workflow

Network database

NL Parser Summarization Translation

6

Page 14: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

The Google traffic to NEWY

enters in BOST…

Net2Text has four stages:

parsing, data retrieval, summarization, translation

Input Output

How is Google traffic to NEWY handled?

Workflow

NL Parser Summarization Translation

7

Network database

Page 15: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

The parser maps the operator’s query

to the internal query language

SELECT * FROM paths WHERE egress=NEWY AND dest=Google

Query Type

?

Router

How is to traffic Google NEWY handled

EgressDestination

Traffic Identifier

Organization

Input Output

How is Google traffic to NEWY handled?

8

Page 16: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

Based on the query,

Net2Text retrieves all relevant data

SELECT * FROM paths WHERE egress=NEWY AND dest=Google

The Google traffic to NEWY

enters in BOST…

Input Output

How is Google traffic to NEWY handled?

Workflow

NL Parser Summarization Translation

Network database

9

Page 17: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

The database maintains

the forwarding state and traffic statistics

10

Page 18: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

The database maintains

the forwarding state and traffic statistics

path 1

ingress avg. bw

BOST

0.4 Mbps

98.4 Mbps

25.0 Mbps

egressdest.

1.0 Mbps

Google

Swisscom

Swisscom

Yahoo

path 2

path 3

path n

NEWY

BOST

ATLA

NEWY

ATLA

NEWY

HOUS

… …… ……

prefix

8.8.8.0/24

46.14.0.0/16

81.63.0.0/17

8.8.178.0/24

10

Page 19: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

All the data is summarized by

identifying a few clusters

path 1

path 2

path n

ingress avg. bw

BOST

BOST

SFO

98.4 Mbps

0.4 Mbps

16.1 Mbps

The Google traffic to NEWY

enters in BOST…

Input OutputWorkflow

TranslationHow is Google traffic to NEWY handled?

NL Parser Summarization

11

Page 20: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

path 1

ingress avg. bw

BOST

0.4 Mbps

98.4 Mbps

25.0 Mbps

short. path

1.0 Mbps

path 2

path 3

path n

T

BOST

BOST

T

BOST

F

T

… ………

prefix

8.8.8.0/24

8.8.4.0/24

66.102.0.0/20

35.184.0.0/19

25.0 Mbpspath 4 HOUS F …35.184.0.0/19

Input pertaining to Google traffic leaving in NEWY Output

12

identifying a few clusters

All the data is summarized by

Page 21: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

path 1

ingress avg. bw

BOST

0.4 Mbps

98.4 Mbps

25.0 Mbps

short. path

1.0 Mbps

path 2

path 3

path n

T

BOST

BOST

T

BOST

F

T

… ………

prefix

8.8.8.0/24

8.8.4.0/24

66.102.0.0/20

35.184.0.0/19

25.0 Mbpspath 4 HOUS F …35.184.0.0/19

Input pertaining to Google traffic leaving in NEWY Output

{BOSTi},

13

identifying a few clusters

All the data is summarized by

Page 22: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

Each cluster represents a path specification

A summary consists of multiple path specifications

path 1

ingress avg. bw

BOST

0.4 Mbps

98.4 Mbps

25.0 Mbps

short. path

1.0 Mbps

path 2

path 3

path n

T

BOST

BOST

T

BOST

F

T

… ………

prefix

8.8.8.0/24

8.8.4.0/24

66.102.0.0/20

35.184.0.0/19

25.0 Mbpspath 4 HOUS F …35.184.0.0/19

Output

13

{BOSTi}

Input pertaining to Google traffic leaving in NEWY

,

Page 23: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

path 1

ingress avg. bw

BOST

0.4 Mbps

98.4 Mbps

25.0 Mbps

short. path

1.0 Mbps

path 2

path 3

path n

T

BOST

BOST

T

BOST

F

T

… ………

prefix

8.8.8.0/24

8.8.4.0/24

66.102.0.0/20

35.184.0.0/19

25.0 Mbpspath 4 HOUS F …35.184.0.0/19

Input pertaining to Google traffic leaving in NEWY Output

{BOSTi},

{BOSTi, Tsp}

{BOSTi, Tsp, ATLw}

,

13

identifying a few clusters

All the data is summarized by

Page 24: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

Path specifications are translated

back to natural language

{BOSTi},

{BOSTi, Tsp}

{BOSTi, Tsp, ATLw}

,

The Google traffic to NEWY

enters in BOST…

Input OutputWorkflow

How is Google traffic to NEWY handled?

NL Parser TranslationSummarization

14

Network database

Page 25: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

Google

to NEWY

The Traffic Identifier Description

enters in BOST

to obtain natural language from path specifications

Input Output

The Google traffic to NEWY

enters in BOST…

15

{BOSTi},

{BOSTi, Tsp}

{BOSTi, Tsp, ATLw}

,

The translation uses templates

Page 26: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

The Google traffic to NEWY

enters in BOST…

Net2Text has four stages:

parsing, data retrieval, summarization, translation

Input Output

How is Google traffic to NEWY handled?

Workflow

Network database

NL Parser Summarization Translation

16

Page 27: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

1

Performance & operator interviews

Scaling

Summarization

2

3

from question to succinct answer

summarizing fast

summaries within a few seconds

TextNet 2

Page 28: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

1

Performance & operator interviews

Scaling

Summarization

2

3

from question to succinct answer

summarizing fast

summaries within a few seconds

TextNet 2

Page 29: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

Traffic is being forwarded.

Finding a summary of the

network-wide forwarding state is simple

17

Page 30: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

Traffic from LOSA to 35.184.0.0/19,

which is owned by Google,

is leaving the network in CHIC

and takes the path

SUNV, DENV, KSCY, INDI to CHIC.

18

Finding a summary of the

network-wide forwarding state is simple

Page 31: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

amount of detail

provided by the summary19

Explainability

amount of data

described by the summary

Coverage

Page 32: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

19

Traffic is being forwarded.

Explainability

Coverage

Page 33: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

19

Traffic from LOSA to 35.184.0.0/19,

which is owned by Google, …

Explainability

Coverage

Page 34: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

Explainability

19

better

Coverage

Page 35: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

Score Weighted sum of the amount of traffic covered by

each path specification in the summary.

Summarization is an optimization problem

guided by the summary score

21

Page 36: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

Score

each path specification in the summary.

Summarization is an optimization problem

guided by the summary score

21

Coverage

Weighted sum of the amount of traffic covered by

Page 37: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

Score

each path specification in the summary.

Summarization is an optimization problem

guided by the summary score

21

Explainability

weights based on level of detail

of the path specification

Weighted sum of the amount of traffic covered by

Page 38: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

Score

each path specification in the summary.

Summarization is an optimization problem

guided by the summary score

21

Goal Find path specifications that maximize the score.

Weighted sum of the amount of traffic covered by

Page 39: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

all the data

in all details

22

Explainability

Coverage

Page 40: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

Goal Find k path specifications each of size at most t

that maximize the score.

Score

each path specification in the summary.

Summarization is an optimization problem

guided by the summary score and a size restriction

23

Weighted sum of the amount of traffic covered by

Page 41: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

24

k = 3, t = 3

Ø,Ø,Ø

Page 42: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

24

Ø,Ø,Ø

{LOSAi},Ø,Ø{SUNVe},Ø,Ø

Page 43: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

24

Ø,Ø,Ø

{LOSAi},Ø,Ø{SUNVe},Ø,Ø

{LOSAi},{NEWYe},Ø{SUNVe, LOSAi},Ø,Ø

Page 44: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

24

Ø,Ø,Ø

{LOSAi},Ø,Ø{SUNVe},Ø,Ø

{LOSAi},{NEWYe},Ø

{LOSAi},{NEWYe},{Yahood}

{SUNVe, LOSAi},Ø,Ø

{SUNVe, LOSAi, Googled},{SUNVe, NEWYi, Yahood},{HOUSe, NEWYi, Yahood}

{SUNVe}, {SUNVe, LOSAi},Ø

Page 45: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

The search space is exponential

in the number of path specifications and feature values

Ø,Ø,Ø

… {LOSAi},Ø,Ø{SUNVe},Ø,Ø

{LOSAi},{NEWYe},Ø

{LOSAi},{NEWYe},{Yahood}

{SUNVe, LOSAi},Ø,Ø

{SUNVe, LOSAi, Googled},{SUNVe, NEWYi, Yahood},{HOUSe, NEWYi, Yahood}

{SUNVe}, {SUNVe, LOSAi},Ø…

24

Page 46: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

25

Due to the size of the search space,

exhaustive exploration is not feasible

Page 47: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

1

Performance & operator interviews

Scaling

Summarization

2

3

from question to succinct answer

summarizing quickly

summaries within a few seconds

TextNet 2

Page 48: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

Net2Text relies on two optimizations

Sampling

Optimization 1 Optimization 2

Reduce the search space Reduce the input data

26

Approximation

Page 49: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

26

Sampling

Optimization 1

Reduce the search space

Approximation

Page 50: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

27

Ø,Ø,Ø

{LOSAi},Ø,Ø{SUNVe},Ø,Ø

{LOSAi},{NEWYe},Ø

{LOSAi},{NEWYe},{Yahood}

{SUNVe, LOSAi},Ø,Ø

{SUNVe, LOSAi, Googled},{SUNVe, NEWYi, Yahood},{HOUSe, NEWYi, Yahood}

{SUNVe}, {SUNVe, LOSAi},Ø

Page 51: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

Maximal coverage

The search space contains two types of edges:

blue edges that increase coverage

28

Ø,Ø,Ø

{LOSAi},Ø,Ø{SUNVe},Ø,Ø

{LOSAi},{NEWYe},Ø

{LOSAi},{NEWYe},{Yahood}

{SUNVe, LOSAi},Ø,Ø

{SUNVe, LOSAi, Googled},{SUNVe, NEWYi, Yahood},{HOUSe, NEWYi, Yahood}

{SUNVe}, {SUNVe, LOSAi},Ø

Page 52: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

Maximal explainability

29

The search space contains two types of edges:

red edges that increase explainability

Maximal coverage

Ø,Ø,Ø

{LOSAi},Ø,Ø{SUNVe},Ø,Ø

{LOSAi},{NEWYe},Ø

{LOSAi},{NEWYe},{Yahood}

{SUNVe, LOSAi},Ø,Ø

{SUNVe, LOSAi, Googled},{SUNVe, NEWYi, Yahood},{HOUSe, NEWYi, Yahood}

{SUNVe}, {SUNVe, LOSAi},Ø

Page 53: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

Net2Text reduces the search space

to solutions that balance coverage and explainability

30

Ø,Ø,Ø

{LOSAi},Ø,Ø{SUNVe},Ø,Ø

{LOSAi},{NEWYe},Ø

{LOSAi},{NEWYe},{Yahood}

{SUNVe, LOSAi},Ø,Ø

{SUNVe, LOSAi, Googled},{SUNVe, NEWYi, Yahood},{HOUSe, NEWYi, Yahood}

{SUNVe}, {SUNVe, LOSAi},Ø

Page 54: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

Net2Text reduces the search space

to solutions that balance coverage and explainability

{SUNVe},{SUNVe, LOSAi},{SUNVe, LOSAi, Yahood}

Balanced coverage and explainability

30

Ø,Ø,Ø

{LOSAi},Ø,Ø{SUNVe},Ø,Ø

{LOSAi},{NEWYe},Ø

{LOSAi},{NEWYe},{Yahood}

{SUNVe, LOSAi},Ø,Ø

{SUNVe, LOSAi, Googled},{SUNVe, NEWYi, Yahood},{HOUSe, NEWYi, Yahood}

{SUNVe}, {SUNVe, LOSAi},Ø

Page 55: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

Net2Text reduces the search space

to solutions that balance coverage and explainability

Graph has a monotonicity property

Guaranteed lower bound on the score

Net2Text greedily explores the graph

Solution is not far off from best solution

The child’s score is always higher

Always follow most promising path

31

Page 56: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

32

Sampling

Optimization 2

Reduce the input data

Approximation

Page 57: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

across multiple levels

Network traffic is highly skewed

Traffic distribution

Routing and network topology

Network traffic is repetitive and redundant

Few destinations carry most of the traffic

Repetitive forwarding patterns

Level 1

Insight

Level 2

33

Page 58: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

to speed up summarization by sampling

Net2Text uses redundancy in the data

Net2Text iterates over all entries at least once

Reduce input data by sampling

Problem

Solution

Summary is resilient to loss of redundant informationInsight

34

Page 59: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

1

Scaling

Summarization

2

from question to succinct answer

summarizing fast

Performance & operator interviews3

summaries within a few seconds

TextNet 2

Page 60: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

Net2Text needs to be quick and applicable

Performance Applicability

Aspect 1 Aspect 2

End-to-end timing Operator interviews

35

Page 61: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

Performance Applicability

Aspect 1

End-to-end timing

35

Page 62: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

summarizing the entire forwarding state

Setup ATT North America from Topology Zoo

How is traffic being forwarded?

Full routing tables (~650k prefixes)

Four features

egress

destination

shortest path

ingress

Pushing Net2Text to its limits by

25 nodes, 10 of them egresses

36

Question

Page 63: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

Net2Text

no sampling

0 10 20 10095

Time (s)

1.0

0.0

0.2

0.4

0.6

0.8

Score w.r.t. no sampling

37

Page 64: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

1/101/1000 no sampling

0 10 20 10095

Time (s)

1.0

0.0

0.2

0.4

0.6

0.8

Score w.r.t. no sampling

Net2Text finds good summaries

within seconds thanks to sampling

37

Page 65: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

Greedy Heuristic

Time (s)

0 10 20 10095

1.0

0.0

0.2

0.4

0.6

0.8

Score w.r.t. no sampling

Baseline is slightly faster than Net2Text,

but not as resilient to sampling

Pick largest path aggregate

38

Page 66: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

Only sampling higher than 1/5k

has a significant effect on the score

Sampling Rate

1/1 1/100 1/10k 1/1M

1.0

0.0

0.2

0.4

0.6

0.8

Score w.r.t. no sampling

39

Page 67: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

Net2Text needs to be quick and applicable

Performance Applicability

Aspect 2

Operator interviews

40

Page 68: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

Operators see value of assistants in their daily tasks

Especially “Where is the traffic coming from?”

NL is useful, especially for less technical people

Supported questions are relevant

Support in all time consuming tasks

Operators don’t mind to use query languages

Assistants

Questions

NL I/O

41

We asked various operators about Net2Text,

they found it useful

Page 69: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

Net2Text assists network operators

by summarizing the forwarding state

Net2Text answers questions in natural language

Net2Text presents a summary

Net2Text responds in a timely manner

with a succinct summary in natural language

that balances coverage and explainability

and the supported queries are relevant

Page 70: Net2Text: Query-Guided Summarization of Network ......Score each path specification in the summary. Summarization is an optimization problem guided by the summary score 21 Goal Find

net2text.ethz.ch

Dana Drachsler-Cohen Martin Vechev Laurent VanbeverRüdiger Birkner