Visualization for human-ai interaction
1
See quiz at humanaiclass.org
Human - AI
Interaction
Human - AI
Interaction
Human - AI
Interaction
Chinmay Kulkarni and Mary Beth Kery
Fall 2019, Human-Computer Interaction Institute, Carnegie Mellon University
Human-AI Interaction Fall 19 .
Assignment #1 review: whoa!
clf = tree.DecisionTreeClassifier()
2
Human-AI Interaction Fall 19 .
Assignment #1 review: common confusions
You can google terms
3
Human-AI Interaction Fall 19 .
Why do we care about Visualization in HAII?
4
Human-AI Interaction Fall 19 .
5
Human-AI Interaction Fall 19 .
6
Human-AI Interaction Fall 19 .
7
Human-AI Interaction Fall 19 .
Hairballs
8
Human-AI Interaction Fall 19 .
Today’s Agenda
9
Human-AI Interaction Fall 19 .
The process of visualization
Choose Data -> Transform -> map to visual attributes
E.g.
Student grades -> Group grades (+/-10 points) -> map each group to a bar, and number of students in group to height of bar chart
10
Human-AI Interaction Fall 19 .
Choosing the right data
11
Electoral college map
Popular vote map
Human-AI Interaction Fall 19 .
Choosing the right transformation
12
Human-AI Interaction Fall 19 .
Perils of transforming data poorly
Scales are so easy to abuse
13
Human-AI Interaction Fall 19 .
Perils of transforming data poorly
Scales are so easy to abuse
14
Human-AI Interaction Fall 19 .
Perils of transforming data poorly
Percentages make sense for proportions only
PS: Did Internet traffic from browsers grow faster 2000-2005 than 2005-2010?
15
Human-AI Interaction Fall 19 .
Perils of transforming data poorly
Percentages make sense for proportions only
A linear scale for exponentially distributed quantities makes it hard to compare rates
16
Human-AI Interaction Fall 19 .
Perils of encoding data poorly
What fraction of men can read the pie chart?
How much larger is “Don’t have it” to “have it”?
Is ALDE > (EPP + Non-inscrits + EUL-NGL)?
17
Human-AI Interaction Fall 19 .
Perils of encoding data poorly
What fraction of men can read the pie chart?
How much larger is “Don’t have it” to “have it”?
Is ALDE > (EPP + Non-inscrits + EUL-NGL)?
18
Human-AI Interaction Fall 19 .
Encoding: Which is the bigger square?
19
Human-AI Interaction Fall 19 .
Encoding: Which is the bigger square?
20
Human-AI Interaction Fall 19 .
Encoding: How much bigger is circle on right?
1.5x?
2x?
3x?
21
Human-AI Interaction Fall 19 .
From Jeff Heer: https://courses.cs.washington.edu/courses/cse442/17au/lectures/CSE442-VisualEncoding.pdf
22
Human-AI Interaction Fall 19 .
23
Human-AI Interaction Fall 19 .
24
Human-AI Interaction Fall 19 .
Why is visualization different for AI-infused products?
25
Human-AI Interaction Fall 19 .
Visualizing for the user of an AI/ML system
26
Human-AI Interaction Fall 19 .
Visualizing uncertainty for users
27
Human-AI Interaction Fall 19 .
What does visualization give users? Is it worth it?
28
Human-AI Interaction Fall 19 .
29
Human-AI Interaction Fall 19 .
Visualizing similar objects AI/ML
Where is the visualization in this app?
What does visualization give users here?
30
Human-AI Interaction Fall 19 .
Visualization is good: Quantified self
Shown: Apple health visualization
What do you think of these plots? What is unusual about them?
31
Human-AI Interaction Fall 19 .
What does visualization give users? Is it worth it?
32
Human-AI Interaction Fall 19 .
Visualization for developing AI/ML systems
33
Human-AI Interaction Fall 19 .
Tasks for visualization in AI/ML Development
Understanding data that goes into models
Monitoring models
34
Human-AI Interaction Fall 19 .
What is in this dataset (at scale)?
What do you think of this hairball?
35
Human-AI Interaction Fall 19 .
Exploring desirable outcomes of a model
What do you think of these visualizations?
Where you able to gain insights from them, why or why not?
36
Human-AI Interaction Fall 19 .
Reading comments
37
Human-AI Interaction Fall 19 .
“However, after reading this article I almost think usability has to be higher for applications that have real life impacts, like in the medical field, because there is very little room for error”
38
Human-AI Interaction Fall 19 .
Beyond this, there's still the issues of what the sliders will be among the thousands of features encoded by the model.
39
Human-AI Interaction Fall 19 .
Did I overthink the problem or did the algorithm went wrong? In my own mental model, I always think towards the way that let the algorithm build better models and produce better performance. But in the case of medical decisions, it is certainly not the appropriate way.
40
Human-AI Interaction Fall 19 .
“I thought the discussion at the end about the precision vs. glanceability tradeoff was really similar to how the class was divided on Tuesday about which type of user interface they would want to see”
41
Human-AI Interaction Fall 19 .