Posner Cueing Task
Version: v1 (current)
A spatial attention paradigm measuring the costs and benefits of attentional orienting through valid and invalid spatial cues.
Overview
The Posner Cueing task (also called the Posner Spatial Cueing paradigm) is a foundational method for studying visual attention. A cue indicates where a target is likely to appear (left or right side). On most trials, the cue correctly predicts the target location (valid cue); on some trials, it incorrectly predicts (invalid cue); sometimes no directional information is provided (neutral cue).
Response times reveal attention's spatial selectivity: validly cued targets are detected faster (benefit), while invalidly cued targets are detected slower (cost), demonstrating that attention can be oriented to specific spatial locations before a target appears. The paradigm is central to understanding how attention enhances processing at attended locations.
This task is used extensively in cognitive neuroscience, clinical assessment of attention disorders, and studies of spatial neglect, ADHD, and aging.
Scientific Background
Classic Findings:
- Cue Validity Effect: Valid cues produce 20-50ms RT benefit; invalid cues produce 20-80ms RT cost
- Facilitation Effect: Neutral RT - Valid RT (benefit of spatial cueing)
- Cost Effect: Invalid RT - Neutral RT (cost of reorienting from invalid location)
- Covert Attention: Attention shifts without eye movements
Key Mechanisms:
- Attentional Spotlight: Enhanced processing at attended location, reduced at unattended locations
- Disengagement Cost: Time needed to disengage from invalid cue location and reorient
Seminal Papers:
- Posner, M.I. (1980). Orienting of attention. Quarterly Journal of Experimental Psychology, 32(1), 3-25.
- Posner, Snyder, & Davidson (1980). Attention and the detection of signals. Journal of Experimental Psychology: General, 109(2), 160-174.
Why Researchers Use This Task
- Attention Research: Study mechanisms of spatial attention and orienting
- Clinical Assessment: Evaluate attention deficits in ADHD, neglect, and brain injury
- Aging Studies: Track age-related changes in attentional control and orienting
- Cognitive Neuroscience: Map neural correlates of attention with EEG/fMRI
- Pharmacology: Test effects of drugs on attention (e.g., stimulants, sedatives)
Configuration Options
Response Mode
| Parameter | Type | Default | Description |
|---|---|---|---|
| Time-based trials | boolean | True | If enabled, trials auto-advance after timeout; if disabled, participant must respond via button |
Visual Settings
| Parameter | Type | Default | Description |
|---|---|---|---|
| Font size | number | 48 | Font size for cue and target symbols (8-400 pixels) |
| Box size | number | 80 | Size of left/right placeholder boxes (20-200 pixels) |
| Box separation | number | 300 | Distance between left and right boxes (100-800 pixels) |
Practice Trials
| Parameter | Type | Default | Description |
|---|---|---|---|
| Enable practice | boolean | False | Show practice trials with visual feedback before main trials |
| Practice trials | array | [] | Array of practice trial configurations |
Keyboard Shortcuts
Researchers can customize the keyboard bindings used during the task:
| Parameter | Type | Default | Description |
|---|---|---|---|
| Show keyboard hint | boolean | True | Display an on-screen hint showing the configured keys |
| Left key | key | Arrow Left (←) | Key for left target location |
| Left action label | text | "Left" | Label shown in the keyboard hint for the left key |
| Right key | key | Arrow Right (→) | Key for right target location |
| Right action label | text | "Right" | Label shown in the keyboard hint for the right key |
Trial Configuration
Each trial is defined in the Trials spreadsheet with the following columns:
| Column | Description | Example Values |
|---|---|---|
| cue_type | Relationship between cue and target | Valid, Invalid, Neutral |
| target_location | Where the target appears | Left, Right |
| cue_location | Where the cue appears | Left, Right, Center (auto-set if not specified) |
| block | Optional grouping label | Main, Block 1 |
| fixation_ms | Fixation cross duration before cue | 500 |
| cue_duration_ms | How long the cue is displayed | 100 |
| soa_ms | Stimulus Onset Asynchrony (cue onset to target onset) | 400 |
| target_duration_ms | Target display duration or response timeout | 2000 |
| iti_ms | Inter-trial interval after response | 1000 |
Note: The cue_location is automatically determined from cue_type and target_location if not specified:
- Valid cue: cue location = target location
- Invalid cue: cue location = opposite of target location
- Neutral cue: cue location = center
Example Trials
Standard protocol (80% valid, 20% invalid):
| cue_type | target_location | cue_location | fixation_ms | cue_duration_ms | soa_ms | target_duration_ms | iti_ms |
|----------|-----------------|--------------|-------------|-----------------|--------|-------------------|--------|
| valid | left | left | 500 | 100 | 400 | 2000 | 1000 |
| valid | right | right | 500 | 100 | 400 | 2000 | 1000 |
| valid | left | left | 500 | 100 | 400 | 2000 | 1000 |
| valid | right | right | 500 | 100 | 400 | 2000 | 1000 |
| invalid | left | right | 500 | 100 | 400 | 2000 | 1000 |
| neutral | right | center | 500 | 100 | 400 | 2000 | 1000 |
Practice Trials
The task supports three practice modes:
- None: Task begins directly with main trials
- Optional: Practice trials available; participant can skip after any trial
- Mandatory: Practice trials must be completed before main trials
During practice, participants receive visual feedback after each response (green checkmark for correct, red X for incorrect).
Participant Experience
Trial Sequence
- Main Instructions: Overview of the task and cue system
- (Optional) Practice Instructions: If practice enabled
- (Optional) Practice Trials: With visual feedback
- (Optional) Trials Instructions: Shown before main trials
- Main Trials: Each trial follows this sequence:
- Fixation cross (
+) appears at center (if fixation_ms > 0) - Cue appears (arrow pointing left/right or centered symbol)
- Brief blank period (SOA - cue duration)
- Target (
*) appears in left or right box - Participant presses left or right arrow key
- Brief inter-trial interval before next trial
- Fixation cross (
Response Methods
Keyboard (recommended):
- Press Left Arrow Key (←) when target appears on left (default -- configurable by researcher)
- Press Right Arrow Key (→) when target appears on right (default -- configurable by researcher)
Buttons (if time-based mode disabled):
- Click "Left" or "Right" button
All keyboard bindings are configurable by the researcher in the study configuration. The keys listed above are the defaults.
Data Output
Markers and Responses
Markers (cue_shown):
{
"type": "cue_shown",
"ts": "2024-01-01T00:00:01.000Z",
"hr": 1234.56,
"data": {
"trial_index": 1,
"stimulus_id": "posner_cueing_0_1",
"cue_type": "invalid",
"cue_location": "right",
"target_location": "left",
"block": "main"
}
}
Markers (target_shown):
{
"type": "target_shown",
"ts": "2024-01-01T00:00:01.400Z",
"hr": 1634.56,
"data": {
"trial_index": 1,
"stimulus_id": "posner_cueing_0_1",
"cue_type": "invalid",
"cue_location": "right",
"target_location": "left",
"expected_response": "left",
"block": "main"
}
}
Response Data:
{
"trial_index": 1,
"stimulus_id": "posner_cueing_0_1",
"source": "keyboard",
"raw_key": "ArrowLeft",
"cue_type": "invalid",
"cue_location": "right",
"target_location": "left",
"expected_response": "left",
"response_value": "left",
"correct": true,
"latency_ms": 512,
"ts": "2024-01-01T00:00:01.912Z",
"hr": 2146.56
}
Summary Artifact
A JSON file (posner_cueing_summary_<taskIndex>.json) with comprehensive statistics:
{
"task_kind": "posner_cueing",
"total_trials": 60,
"overall": {
"accuracy": 0.97,
"mean_rt_ms": 378,
"mean_correct_rt_ms": 372
},
"by_cue_type": {
"valid": {
"total": 48,
"accuracy": 0.98,
"mean_correct_rt_ms": 345
},
"invalid": {
"total": 10,
"accuracy": 0.94,
"mean_correct_rt_ms": 412
},
"neutral": {
"total": 2,
"accuracy": 0.97,
"mean_correct_rt_ms": 378
}
},
"cueing_effects": {
"validity_effect_ms": 67,
"facilitation_effect_ms": 33,
"cost_effect_ms": 34
},
"trials": [ /* per-trial data */ ]
}
Key metrics:
validity_effect_ms: Invalid RT - Valid RT (total cueing effect)facilitation_effect_ms: Neutral RT - Valid RT (benefit of valid cue)cost_effect_ms: Invalid RT - Neutral RT (cost of invalid cue)
Instructions
The task uses a four-tier instruction system:
- Main Instructions: Shown on a dedicated page before the task begins
- Practice Instructions: Shown before practice trials (if practice enabled)
- Trials Instructions: Shown before main trials after practice (if practice enabled)
- Hint Instructions: Quick-reference help available via "?" button during task
All instruction text can be customized in rich-text format during study configuration.
Design Recommendations
Trial Design
Standard cueing protocol (recommended):
- 80% valid trials (cue correctly predicts target location)
- 20% invalid trials (cue predicts opposite location)
- Optional: 10-20% neutral trials (no directional cue)
- Equal left and right target locations
- Randomize trial order to prevent anticipation
Minimum for reliable effects:
- 40 valid trials
- 10 invalid trials
- Total: 50+ trials
Timing Guidelines
| Parameter | Standard | Short SOA | Long SOA |
|---|---|---|---|
| Fixation (ms) | 500ms | 400ms | 600ms |
| Cue Duration (ms) | 100ms | 100ms | 100ms |
| Soa (ms) | 300-400ms | 100-200ms | 700-1000ms |
| Target Duration (ms) | 2000ms | 1500ms | 2500ms |
Note: SOA (Stimulus Onset Asynchrony) is the time from cue onset to target onset. The cue-target gap = SOA - cue duration.
Practice Trials
Include 12-16 practice trials:
- Mix valid, invalid, and neutral trials (matching main trial proportions)
- Equal left and right targets
- Provide feedback so participants learn the cue-target relationship
- Emphasize that cue is helpful but not always correct
Cue Validity
High validity (80% valid) is standard:
- Ensures participants use the cue
- Produces reliable validity effects
- Can increase to 85-90% for stronger effects
Balanced validity (50% valid):
- No predictive value (participants may ignore cue)
- Useful for clinical populations or control conditions
- Reduces expectancy effects
SOA Manipulation
- Short SOA (100-200ms): Reflexive attention, small effects
- Medium SOA (300-500ms): Optimal for voluntary attention, largest effects
- Long SOA (700-1000ms+): May produce inhibition of return (IOR) - slower RTs to validly cued locations
Common Issues and Solutions
No Validity Effect Observed
Problem: Invalid and valid RTs are similar
Possible causes:
- Cue validity too low (participants ignore cue)
- SOA too short or too long
- Participants not maintaining central fixation
Solutions:
- Increase cue validity to 85-90%
- Use medium SOA (300-500ms)
- Emphasize importance of cue in instructions
- Consider eye-tracking to verify fixation
High Error Rate (>10%)
Problem: Many incorrect responses
Possible causes:
- Task instructions unclear
- Target too brief or small
- Response mapping confusion
Solutions:
- Extend practice with clearer instructions
- Increase target visibility (larger boxes, longer duration)
- Verify participants understand left/right arrow key mapping
Anticipatory Responses (<150ms)
Problem: Participant responding before target appears
Solutions:
- Vary fixation duration randomly (jitter)
- Add catch trials (no target appears)
- Provide RT feedback during practice
- Exclude anticipatory responses from analysis
Keyboard Responses Not Working
Problem: Arrow keys don't register
Solutions:
- Ensure task window has focus (click on task area)
- Check browser compatibility (works best in Chrome/Edge/Firefox)
- Use button-based mode as alternative
Population-Specific Adaptations
Children (8+ years)
- Simpler cues (bright colored arrows)
- Larger boxes and targets
- Shorter sessions (40-50 trials)
- Longer SOA (400-500ms) to accommodate slower processing
- Button-based mode may be easier than arrow keys
- Emphasize "cue helps but isn't perfect" in instructions
Older Adults (65+)
- Larger targets and cues (increase box size and font size)
- Longer SOA (400-500ms) for slowed processing
- High-contrast stimuli (black on white)
- Self-paced mode (no time pressure)
- May show larger validity effects (difficulty disengaging from invalid cues)
Clinical Populations
- Hemispatial Neglect: Use 50% valid (no predictive value) to assess left/right asymmetry
- ADHD: May show reduced cueing benefits or increased errors
- Brain Injury: Adapt timing based on processing speed
- Consider eye-tracking to verify covert attention (fixation maintained)
References
- Posner, M. I. (1980). Orienting of attention. Quarterly Journal of Experimental Psychology, 32(1), 3-25.
- Posner, M. I., Snyder, C. R., & Davidson, B. J. (1980). Attention and the detection of signals. Journal of Experimental Psychology: General, 109(2), 160-174.
- Klein, R. M. (2000). Inhibition of return. Trends in Cognitive Sciences, 4(4), 138-147.
- Theeuwes, J. (2010). Top-down and bottom-up control of visual selection. Acta Psychologica, 135(2), 77-99.
See Also
- Flanker Task - Related selective attention paradigm
- Pro/Antisaccade - Oculomotor control task
- Visual Search - Spatial attention with multiple items