63
Human Information Processing CS160: User Interfaces John Canny

Human Information Processing - Peoplejfc/cs160/F12/lecs/lec13.pdf · Raise hand if you see an orange triangle . Attention . Attention Was there a red square? Was there a purple circle?

  • Upload
    others

  • View
    4

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Human Information Processing - Peoplejfc/cs160/F12/lecs/lec13.pdf · Raise hand if you see an orange triangle . Attention . Attention Was there a red square? Was there a purple circle?

Human Information

Processing

CS160: User Interfaces

John Canny

Page 2: Human Information Processing - Peoplejfc/cs160/F12/lecs/lec13.pdf · Raise hand if you see an orange triangle . Attention . Attention Was there a red square? Was there a purple circle?

Human Info. Processor – Perceptual

– Cognitive

– Motor (will discuss later)

– Working memory

– Long-term memory

Unified model – Probably inaccurate

– Predicts perf. well

– Very influential

Key – = half-life

– µ = capacity

– = memory type

Page 3: Human Information Processing - Peoplejfc/cs160/F12/lecs/lec13.pdf · Raise hand if you see an orange triangle . Attention . Attention Was there a red square? Was there a purple circle?

Perceptual Processor

Physical store from our senses: sight, sound, touch, … – Code directly based on sense used

• Visual, audio, haptic, … features

Selective • Spatial

• Pre-attentive: color, direction…

Capacity – Example: 17 letters for visual image store

Decay 200ms

Recoded for transfer to working memory – Progressive: 10ms/letter

Page 4: Human Information Processing - Peoplejfc/cs160/F12/lecs/lec13.pdf · Raise hand if you see an orange triangle . Attention . Attention Was there a red square? Was there a purple circle?

How many 3’s

1281768756138976546984506985604982826762 9809858458224509856458945098450980943585 9091030209905959595772564675050678904567 8845789809821677654876364908560912949686

[based on slide from Stasko]

Page 5: Human Information Processing - Peoplejfc/cs160/F12/lecs/lec13.pdf · Raise hand if you see an orange triangle . Attention . Attention Was there a red square? Was there a purple circle?

How many 3’s

1281768756138976546984506985604982826762 9809858458224509856458945098450980943585 9091030209905959595772564675050678904567 8845789809821677654876364908560912949686

[based on slide from Stasko]

Page 6: Human Information Processing - Peoplejfc/cs160/F12/lecs/lec13.pdf · Raise hand if you see an orange triangle . Attention . Attention Was there a red square? Was there a purple circle?

Visual Pop-Out: Color

http://www.csc.ncsu.edu/faculty/healey/PP/index.html

Page 7: Human Information Processing - Peoplejfc/cs160/F12/lecs/lec13.pdf · Raise hand if you see an orange triangle . Attention . Attention Was there a red square? Was there a purple circle?

Visual Pop-Out: Shape

http://www.csc.ncsu.edu/faculty/healey/PP/index.html

Page 8: Human Information Processing - Peoplejfc/cs160/F12/lecs/lec13.pdf · Raise hand if you see an orange triangle . Attention . Attention Was there a red square? Was there a purple circle?

Feature Conjunctions

http://www.csc.ncsu.edu/faculty/healey/PP/index.html

Page 9: Human Information Processing - Peoplejfc/cs160/F12/lecs/lec13.pdf · Raise hand if you see an orange triangle . Attention . Attention Was there a red square? Was there a purple circle?

Attention

I’m going to display an image briefly, and then hide it.

I’m going to ask you about a particular shape.

Please raise hand if you saw the requested shape.

Page 10: Human Information Processing - Peoplejfc/cs160/F12/lecs/lec13.pdf · Raise hand if you see an orange triangle . Attention . Attention Was there a red square? Was there a purple circle?

Attention

Page 11: Human Information Processing - Peoplejfc/cs160/F12/lecs/lec13.pdf · Raise hand if you see an orange triangle . Attention . Attention Was there a red square? Was there a purple circle?

Attention

Orange circle?

Purple square?

Page 12: Human Information Processing - Peoplejfc/cs160/F12/lecs/lec13.pdf · Raise hand if you see an orange triangle . Attention . Attention Was there a red square? Was there a purple circle?

Attention

Orange circle? Yes

Purple square? No

Page 13: Human Information Processing - Peoplejfc/cs160/F12/lecs/lec13.pdf · Raise hand if you see an orange triangle . Attention . Attention Was there a red square? Was there a purple circle?

Attention

Page 14: Human Information Processing - Peoplejfc/cs160/F12/lecs/lec13.pdf · Raise hand if you see an orange triangle . Attention . Attention Was there a red square? Was there a purple circle?

Attention

Next slide:

Raise hand if you see an orange triangle

Page 15: Human Information Processing - Peoplejfc/cs160/F12/lecs/lec13.pdf · Raise hand if you see an orange triangle . Attention . Attention Was there a red square? Was there a purple circle?

Attention

Page 16: Human Information Processing - Peoplejfc/cs160/F12/lecs/lec13.pdf · Raise hand if you see an orange triangle . Attention . Attention Was there a red square? Was there a purple circle?

Attention

Was there a red square?

Was there a purple circle?

Page 17: Human Information Processing - Peoplejfc/cs160/F12/lecs/lec13.pdf · Raise hand if you see an orange triangle . Attention . Attention Was there a red square? Was there a purple circle?

Selective Attention

Was there a red square? No

Was there a purple circle? Yes

Page 18: Human Information Processing - Peoplejfc/cs160/F12/lecs/lec13.pdf · Raise hand if you see an orange triangle . Attention . Attention Was there a red square? Was there a purple circle?

Selective Attention

Page 19: Human Information Processing - Peoplejfc/cs160/F12/lecs/lec13.pdf · Raise hand if you see an orange triangle . Attention . Attention Was there a red square? Was there a purple circle?

Perceptual Processor

Cycle time – Quantum experience: 100ms

• Percept fusion

Page 20: Human Information Processing - Peoplejfc/cs160/F12/lecs/lec13.pdf · Raise hand if you see an orange triangle . Attention . Attention Was there a red square? Was there a purple circle?

Perceptual Processor Cycle time

– Quantum experience: 100ms

• Percept fusion

– Frame rate necessary for movies to look continuous?

• time for 1 frame < Tp (100 msec) -> 10 frame/sec.

• Note: flicker sensitivity much faster (60-70 f/s)

– Max. morse code rate can be similarly calculated

Perceptual causality

– Two distinct stimuli can fuse if the first event appears to cause the other

– Events must occur in the same cycle

Page 21: Human Information Processing - Peoplejfc/cs160/F12/lecs/lec13.pdf · Raise hand if you see an orange triangle . Attention . Attention Was there a red square? Was there a purple circle?

Perception of Causality [Michotte 46]

http://cogweb.ucla.edu/Discourse/Narrative/Heider_45.html

Michotte demonstration 1. What do you see? Most observers

report that the red ball hit the blue ball. The blue ball moved

“because the red ball hit it.” Thus, the red ball is perceived to

“cause” the red ball to move, even though the balls are nothing

more than color disks on your screen that move according to a

program.

Page 22: Human Information Processing - Peoplejfc/cs160/F12/lecs/lec13.pdf · Raise hand if you see an orange triangle . Attention . Attention Was there a red square? Was there a purple circle?

Perception of Causality [Michotte 46]

http://cogweb.ucla.edu/Discourse/Narrative/Heider_45.html

Michotte demonstration 1. What do you see? Most observers

report that the red ball hit the blue ball. The blue ball moved

“because the red ball hit it.” Thus, the red ball is perceived to

“cause” the red ball to move, even though the balls are nothing

more than color disks on your screen that move according to a

program.

Page 23: Human Information Processing - Peoplejfc/cs160/F12/lecs/lec13.pdf · Raise hand if you see an orange triangle . Attention . Attention Was there a red square? Was there a purple circle?

Perceptual Processor

Cycle time – Quantum experience: 100ms

• Causality

Page 24: Human Information Processing - Peoplejfc/cs160/F12/lecs/lec13.pdf · Raise hand if you see an orange triangle . Attention . Attention Was there a red square? Was there a purple circle?

Working Memory

Access in chunks – Task dependent construct

– 7 +/- 2 (Miller)

Decay – Content dependant

• 1 chunk 73 sec

• 3 chunks 7 sec

– Attention span

• Interruptions > decay time

Page 25: Human Information Processing - Peoplejfc/cs160/F12/lecs/lec13.pdf · Raise hand if you see an orange triangle . Attention . Attention Was there a red square? Was there a purple circle?

Long Term Memory Very large capacity

– Semantic encoding

Associative access

– Fast read: 70ms

– Expensive write: 10s

• Can also move from WM to LTM via rehearsal

Context at the time of acquisition key for retrieval

Page 26: Human Information Processing - Peoplejfc/cs160/F12/lecs/lec13.pdf · Raise hand if you see an orange triangle . Attention . Attention Was there a red square? Was there a purple circle?

Memory Experiment

Page 27: Human Information Processing - Peoplejfc/cs160/F12/lecs/lec13.pdf · Raise hand if you see an orange triangle . Attention . Attention Was there a red square? Was there a purple circle?

Simple Experiment

Volunteer

Start saying colors you see in list of words – When slide comes up

– As fast as you can

Say “done” when finished

Everyone else time it…

Page 28: Human Information Processing - Peoplejfc/cs160/F12/lecs/lec13.pdf · Raise hand if you see an orange triangle . Attention . Attention Was there a red square? Was there a purple circle?

Paper

Home

Back

Schedule

Page

Change

Page 29: Human Information Processing - Peoplejfc/cs160/F12/lecs/lec13.pdf · Raise hand if you see an orange triangle . Attention . Attention Was there a red square? Was there a purple circle?

Simple Experiment

Do it again

Say “done” when finished

Page 30: Human Information Processing - Peoplejfc/cs160/F12/lecs/lec13.pdf · Raise hand if you see an orange triangle . Attention . Attention Was there a red square? Was there a purple circle?

Blue

Red

Black

White

Green

Yellow

Page 31: Human Information Processing - Peoplejfc/cs160/F12/lecs/lec13.pdf · Raise hand if you see an orange triangle . Attention . Attention Was there a red square? Was there a purple circle?

Stage Theory

Working

Memory

Sensory

Image Store

Long Term

Memory

decay decay,

displacement chunking /

elaboration

decay?

interference?

maintenance

rehearsal

Page 32: Human Information Processing - Peoplejfc/cs160/F12/lecs/lec13.pdf · Raise hand if you see an orange triangle . Attention . Attention Was there a red square? Was there a purple circle?

Recodes information

Organize (chunking)

Relate new material to already learned material

Link to existing knowledge, categories

Attach meaning – Make a story

– Make it nonsense and funny

– Make it visual

LTM and Elaboration

Page 33: Human Information Processing - Peoplejfc/cs160/F12/lecs/lec13.pdf · Raise hand if you see an orange triangle . Attention . Attention Was there a red square? Was there a purple circle?

Ellis

O’Farrell

Geary

Post

Sutter

Bush

Pine

California

Sacramento

Clay …

Streets of San Francisco

Page 34: Human Information Processing - Peoplejfc/cs160/F12/lecs/lec13.pdf · Raise hand if you see an orange triangle . Attention . Attention Was there a red square? Was there a purple circle?

An immigrant on Ellis Island saw a barrel floating in the water and said “O Barrel, where are you going?” The barrel was Geary and heading for the Post Office. At the post office was a Sitter who was trying to post a

Streets of San Francisco

Page 35: Human Information Processing - Peoplejfc/cs160/F12/lecs/lec13.pdf · Raise hand if you see an orange triangle . Attention . Attention Was there a red square? Was there a purple circle?

Bush to his friend who lived in a Pine Tree. Pine trees are BIG in California, but there are few in Sacramento, also known as the “Capitol of Clay”…

Streets of San Francisco

Page 36: Human Information Processing - Peoplejfc/cs160/F12/lecs/lec13.pdf · Raise hand if you see an orange triangle . Attention . Attention Was there a red square? Was there a purple circle?

Many students study by “cramming” or studying from a “fact

sheet”. The best known example is flash cards.

Good aspects:

• Self-testing, review, graduated recall

Bad aspects:

• Much better for short-term learning than long-term

• Not building understanding (or efficient coding)

• Empirical results poor to mixed

Non-linked learning

Page 37: Human Information Processing - Peoplejfc/cs160/F12/lecs/lec13.pdf · Raise hand if you see an orange triangle . Attention . Attention Was there a red square? Was there a purple circle?

Recognition over Recall Recall

– Info reproduced from memory

Recognition

– Presentation of info helps retrieve info (helps remember it was seen before)

– Easier because of cues to retrieval

We want to design UIs that rely on recognition!

Page 38: Human Information Processing - Peoplejfc/cs160/F12/lecs/lec13.pdf · Raise hand if you see an orange triangle . Attention . Attention Was there a red square? Was there a purple circle?

Facilitating Retrieval: Cues Any stimulus that improves retrieval

– Example: giving hints

– Other examples in software?

• icons, labels, menu names, etc.

Anything related to – Item or situation where it was learned

Page 39: Human Information Processing - Peoplejfc/cs160/F12/lecs/lec13.pdf · Raise hand if you see an orange triangle . Attention . Attention Was there a red square? Was there a purple circle?

Facilitating Retrieval: Cues

US Presidents with first name “William” ?

Page 40: Human Information Processing - Peoplejfc/cs160/F12/lecs/lec13.pdf · Raise hand if you see an orange triangle . Attention . Attention Was there a red square? Was there a purple circle?

Facilitating Retrieval: Cues

US Presidents with first name “William” ?

Page 41: Human Information Processing - Peoplejfc/cs160/F12/lecs/lec13.pdf · Raise hand if you see an orange triangle . Attention . Attention Was there a red square? Was there a purple circle?

Facilitating Retrieval: Cues

US Presidents with first name “William” ?

Clinton

McKinley

Harrison

Taft

Page 42: Human Information Processing - Peoplejfc/cs160/F12/lecs/lec13.pdf · Raise hand if you see an orange triangle . Attention . Attention Was there a red square? Was there a purple circle?

Decision Making and

Learning

Page 43: Human Information Processing - Peoplejfc/cs160/F12/lecs/lec13.pdf · Raise hand if you see an orange triangle . Attention . Attention Was there a red square? Was there a purple circle?

Power Law of Practice

• Task time on the nth trial follows a power law

where a = .4, c = limiting constant

– You get faster the more times you do it!

Applies to skilled behavior (sensory & motor)

Does not apply to – Knowledge acquisition

– Improving quality

1a

nT T n c

Page 44: Human Information Processing - Peoplejfc/cs160/F12/lecs/lec13.pdf · Raise hand if you see an orange triangle . Attention . Attention Was there a red square? Was there a purple circle?

Problem solving

Page 45: Human Information Processing - Peoplejfc/cs160/F12/lecs/lec13.pdf · Raise hand if you see an orange triangle . Attention . Attention Was there a red square? Was there a purple circle?

Writing books

Manual skills

Page 46: Human Information Processing - Peoplejfc/cs160/F12/lecs/lec13.pdf · Raise hand if you see an orange triangle . Attention . Attention Was there a red square? Was there a purple circle?

Fitts’ Law

Page 47: Human Information Processing - Peoplejfc/cs160/F12/lecs/lec13.pdf · Raise hand if you see an orange triangle . Attention . Attention Was there a red square? Was there a purple circle?

Motor Processor

Receive input from the cognitive processor

Execute motor programs – Pianist: up to 16 finger movements per second

– Point of no-return for muscle action

Page 48: Human Information Processing - Peoplejfc/cs160/F12/lecs/lec13.pdf · Raise hand if you see an orange triangle . Attention . Attention Was there a red square? Was there a purple circle?

0XSTART TARGET

S

D

Page 49: Human Information Processing - Peoplejfc/cs160/F12/lecs/lec13.pdf · Raise hand if you see an orange triangle . Attention . Attention Was there a red square? Was there a purple circle?

Hand movement based on series of microcorrections = remaining distance after ith move

relative movement accuracy remains constant

0XSTART TARGET

S

D

iX

1

i

i

X

X

Page 50: Human Information Processing - Peoplejfc/cs160/F12/lecs/lec13.pdf · Raise hand if you see an orange triangle . Attention . Attention Was there a red square? Was there a purple circle?

0XSTART TARGET

S

D

Hand movement based on series of microcorrections = remaining distance after ith move

relative movement accuracy remains constant

Each microstep reduces the log of the error by

The number of steps grows with log D/S

1

i

i

X

X

log

iX

Page 51: Human Information Processing - Peoplejfc/cs160/F12/lecs/lec13.pdf · Raise hand if you see an orange triangle . Attention . Attention Was there a red square? Was there a purple circle?

a, b = constants (empirically derived)

D = distance

S = size

ID is Index of Difficulty = log2(D/S+1)

Fitts’ Law

• Models well-rehearsed selection task

• T increases as the distance to the target increases

• T decreases as the size of the target increases

2log ( / 1)T a b D S

Page 52: Human Information Processing - Peoplejfc/cs160/F12/lecs/lec13.pdf · Raise hand if you see an orange triangle . Attention . Attention Was there a red square? Was there a purple circle?

Experimental Data

Page 53: Human Information Processing - Peoplejfc/cs160/F12/lecs/lec13.pdf · Raise hand if you see an orange triangle . Attention . Attention Was there a red square? Was there a purple circle?

Toolbar Example

Microsoft Toolbars offer the user the option of

displaying a label below each tool. Name at

least one reason why labeled tools can be

accessed faster. (Assume, for this, that the

user knows the tool.)

Page 54: Human Information Processing - Peoplejfc/cs160/F12/lecs/lec13.pdf · Raise hand if you see an orange triangle . Attention . Attention Was there a red square? Was there a purple circle?

Toolbar Example

1. The label becomes part of the target.

The target is therefore bigger. Bigger

targets, all else being equal, can always

be acccessed faster, by Fitt's Law

2. When labels are not used, the tool

icons crowd together

Page 55: Human Information Processing - Peoplejfc/cs160/F12/lecs/lec13.pdf · Raise hand if you see an orange triangle . Attention . Attention Was there a red square? Was there a purple circle?

Tool Matrix Example

You have a palette of 16 tools in a graphics

application that consists of a matrix of fixed-

size icons.

which array design would be faster, an 8x2

array or a 16x1 array?

Page 56: Human Information Processing - Peoplejfc/cs160/F12/lecs/lec13.pdf · Raise hand if you see an orange triangle . Attention . Attention Was there a red square? Was there a purple circle?

Which Pointer is faster?

Engelbart

Source: Card, Stu. Lecture on Human Information Interaction. Stanford, 2007.

Page 57: Human Information Processing - Peoplejfc/cs160/F12/lecs/lec13.pdf · Raise hand if you see an orange triangle . Attention . Attention Was there a red square? Was there a purple circle?

Experiment: Mice are fastest!

Source: Card, Stu. Lecture on Human Information Interaction. Stanford, 2007.

Page 58: Human Information Processing - Peoplejfc/cs160/F12/lecs/lec13.pdf · Raise hand if you see an orange triangle . Attention . Attention Was there a red square? Was there a purple circle?

Fitts’ Law

• Time Tpos to move the hand to target size S which is distance D away is given by:

Tpos = a + b log2 (D/S + 1)

Source: Landay, James. “Human Abilities”. CS160 UC Berkeley.

Index of Difficulty (ID)

Only relative precision matters

Page 59: Human Information Processing - Peoplejfc/cs160/F12/lecs/lec13.pdf · Raise hand if you see an orange triangle . Attention . Attention Was there a red square? Was there a purple circle?

Fitts’ Law

• Time Tpos to move the hand to target size S which is

distance D away is given by:

Tpos = a + b log2 (D/S + 1)

Source: Landay, James. “Human Abilities”. CS160 UC Berkeley.

Device Characteristics

(bandwidth of human muscle group & of

device)

a: start/stop time

b: speed

Page 60: Human Information Processing - Peoplejfc/cs160/F12/lecs/lec13.pdf · Raise hand if you see an orange triangle . Attention . Attention Was there a red square? Was there a purple circle?

Bandwidth of Human Muscle Groups

Source: Card, Stu. Lecture on Human Information Interaction. Stanford, 2007.

Page 61: Human Information Processing - Peoplejfc/cs160/F12/lecs/lec13.pdf · Raise hand if you see an orange triangle . Attention . Attention Was there a red square? Was there a purple circle?

Why is the mouse fastest?

1

2

3

3 2 1 0 4 5 6

Mo

ve

me

nt

Tim

e (

se

c)

ID=log (Dist/Size + .5) 2

Mouse

T = 1.03 + .096 log2 (D/S + .5) sec

Why these results? Time to position mouse proportional to Fitts’ Index of Difficulty ID. [i.e. how well can the muscles direct the input device] Therefore speed limit is in the eye-hand system, not the mouse. Therefore, mouse is a near optimal device.

Source: Card, Stu. Lecture on Human Information Interaction. Stanford, 2007.

Page 62: Human Information Processing - Peoplejfc/cs160/F12/lecs/lec13.pdf · Raise hand if you see an orange triangle . Attention . Attention Was there a red square? Was there a purple circle?

Fitts’ Law in Microsoft Office

2007

Larger, labeled controls can be

clicked more quickly

Mini Toolbar: Close to the cursor

Magic Corner: Office Button in the

upper-left corner

Source: Jensen Harris, An Office User Interface Blog : Giving You Fitts. Microsoft, 2007.

Page 63: Human Information Processing - Peoplejfc/cs160/F12/lecs/lec13.pdf · Raise hand if you see an orange triangle . Attention . Attention Was there a red square? Was there a purple circle?

Review

MHP consists, of multiple, dedicated processors

running asynchronously.

Visual systems are mostly bottom-up but attention can

shape recognition top-down.

Memory principles: multi-level, rehearsal, linking

Fitt’s Law

Power Law of Practice

UI optimization