COGENT: A Modular Cognitive Architecture for Agentic User Simulation
Organizations: Stanford University · Microsoft
Abstract
LLM-based user simulation can support interface design, accessibility research, and interactive-agent evaluation, but standard computer-use agents are optimized for task completion rather than reproducing how people perceive, reason, and act. We introduce COGENT (COGnitive agENT), a modular cognitive architecture for simulating user interaction with desktop interfaces. COGENT draws on established cognitive theories, such as Norman's action cycle and ACT-R, to enable explainable, intervenable, and modular user simulation by decomposing the simulation process into cognitive modules with explicit representations of perception, memory, user state, intentions, and action selection. We begin by presenting six intervenability demonstrations, each tracing how a single edit to memory, a user attribute, or a processing module propagates through the cognitive pipeline to produce a behavioral change. We evaluate COGENT's behavioral and attributional fidelity across three benchmarks -- AgentNetBench, A11y-CUA, and SENSE-42 -- finding that it achieves statistically significant fidelity gains over computer-use baselines in reproducing recorded human behavior and recovers the relational structure among human self-reported psychological states. Together, these demos and evaluations demonstrate COGENT's utility toward more faithful, explainable, intervenable, and modular LLM-based cognitive simulations.
Figures & tables
| Agent | Exact action | Action type |
|---|---|---|
| COGENT | 59.8 [56.4,63.0] | 84.1 [81.6,86.5] |
| CUA | 52.2 [48.8,55.3] | 79.0 [76.1,81.9] |
| CUA-User | 53.7 [50.3,57.1] | 80.9 [78.2,83.6] |
| Agent | Tasks | JS distance | Sequence distance | HNG |
|---|---|---|---|---|
| COGENT | 43 | 0.272 [0.239,0.320] | 0.511 [0.467,0.557] | 2.020 [1.572,2.546] |
| CUA | 43 | 0.370 [0.330,0.432] | 0.595 [0.527,0.660] | 2.198 [1.761,2.682] |
| CUA-User | 43 | 0.418 [0.362,0.493] | 0.612 [0.546,0.681] | 2.153 [1.814,2.506] |
| CUA-User-CB | 43 | 0.389 [0.351,0.437] | 0.532 [0.478,0.580] | 1.890 [1.577,2.280] |
Appendix figures & tables17 assets
Supplementary material from the paper’s appendix.
Appendix
| Demo | Changed component | Supported contrast |
|---|---|---|
| (a) Icon memory | Empty versus nine-item calibration memory | Six executed inputs versus one; semantic and procedural knowledge are changed together. |
| (b) Close window | Executable Alt+F4 memory | Native close click versus keyboard chord; one input and successful closure in both. |
| (c) Carefulness | Stable trait, low versus high | Direct submission versus review then confirmation; trait values remain fixed. |
| (d) Frustration | Initial dynamic-state value | Two attempts and completion versus one attempt then Executive help-seeking pause. |
| (e) Motor | Direct versus minimum-jerk execution | Different measured movement time and intermediate positions; common button target, slightly different endpoints. |
| (f) Perception | Image transformation at the perceptual boundary | Direct Ready selection versus revealing labels first; raw starting interface unchanged. |
| Agent | Exact action | Action type | Any valid | Human choice |
|---|---|---|---|---|
| COGENT | 59.8 | 84.1 | 61.0 | 32.0 |
| [56.4, 63.0] | [81.6, 86.5] | [48.7, 72.3] | [18.0, 47.6] | |
| CUA | 52.2 | 79.0 | 61.0 | 18.0 |
| [48.8, 55.3] | [76.1, 81.9] | [50.0, 71.6] | [7.5, 29.2] | |
| CUA-User | 53.7 | 80.9 | 57.3 | 29.8 |
| [50.3, 57.1] | [78.2, 83.6] | [46.9, 67.0] | [17.4, 43.2] |
| Condition | Exact (%) | Type (%) | JS |
|---|---|---|---|
| Full Cogent | 57.32 | 81.21 | 0.0561 |
| Raw downstream image | 58.26 (0.978) | 82.00 (1.000) | 0.0502 (1.000) |
| Memoryless | 56.87 (1.000) | 81.40 (1.000) | 0.0553 (1.000) |
| Objective-only control | 58.73 (0.161) | 82.02 (1.000) | 0.0573 (1.000) |
| Interface-only action | 53.11 (0.010) | 75.84 (0.010) | 0.0490 (1.000) |
| No lagged feedback | 53.63 (0.010) | 80.59 (1.000) | 0.0561 (1.000) |
| Condition | Metric | Accuracy | 95% CI | ||
|---|---|---|---|---|---|
| Raw downstream image | Exact | 58.26 | 0.978 | ||
| Type | 82.00 | 1.000 | |||
| Memoryless | Exact | 56.87 | 1.000 | ||
| Type | 81.40 | 1.000 | |||
| Objective-only control | Exact | 58.73 | 0.161 | ||
| Type | 82.02 | 1.000 |
| Condition | JS | JS | 95% CI | |
|---|---|---|---|---|
| Raw downstream image | 0.05016 | 1.000 | ||
| Memoryless | 0.05531 | 1.000 | ||
| Objective-only control | 0.05732 | 1.000 | ||
| Interface-only action | 0.04901 | 1.000 | ||
| No lagged feedback | 0.05612 | 1.000 |
| Condition | Exact change [95% CI] | Type change [95% CI] | ||
|---|---|---|---|---|
| Raw downstream image | 5934 | 5463 | ||
| Memoryless | 5911 | 5444 | ||
| Objective-only control | 5910 | 5443 | ||
| Interface-only action | 5468 | 5060 | ||
| No lagged feedback | 5905 | 5439 |
| Agent | Tasks | Success | Failure | Unverif. | Success rate |
|---|---|---|---|---|---|
| COGENT | 43 | 24 | 15 | 4 | 55.8% |
| CUA | 43 | 20 | 21 | 2 | 46.5% |
| CUA-User | 43 | 19 | 22 | 2 | 44.2% |
| Contrast | Metric | Difference | 95% CI |
|---|---|---|---|
| COGENT CUA | Pooled JS | -0.098 | |
| COGENT CUA | Sequence | -0.084 | |
| COGENT CUA | Seq. HNG | -0.177 | |
| COGENT CUA-User | Pooled JS | -0.146 | |
| COGENT CUA-User | Sequence | -0.101 | |
| COGENT CUA-User | Seq. HNG | -0.133 |
| Agent | Tasks | JS distance | Sequence distance | HNG |
|---|---|---|---|---|
| COGENT | 14 | 0.346 | 0.469 | 1.987 |
| [0.306, 0.421] | [0.402, 0.538] | [1.297, 2.920] | ||
| CUA | 14 | 0.406 | 0.535 | 1.921 |
| [0.322, 0.533] | [0.425, 0.643] | [1.456, 2.443] | ||
| CUA-User | 14 | 0.485 | 0.611 | 2.311 |
| [0.396, 0.614] | [0.483, 0.746] | [1.659, 3.030] |
| Contrast | Metric | Difference | 95% CI |
|---|---|---|---|
| COGENT CUA | Pooled JS | -0.060 | |
| COGENT CUA | Sequence | -0.066 | |
| COGENT CUA | Seq. HNG | +0.065 | |
| COGENT CUA-User | Pooled JS | -0.139 | |
| COGENT CUA-User | Sequence | -0.142 | |
| COGENT CUA-User | Seq. HNG | -0.324 |
| Agent | Tasks | JS distance | Sequence distance | HNG |
|---|---|---|---|---|
| COGENT | 24 | 0.323 | 0.489 | 2.084 |
| [0.282, 0.386] | [0.437, 0.537] | [1.486, 2.869] | ||
| CUA | 20 | 0.382 | 0.553 | 1.925 |
| [0.334, 0.469] | [0.465, 0.634] | [1.513, 2.393] | ||
| CUA-User | 19 | 0.448 | 0.616 | 2.219 |
| [0.382, 0.542] | [0.503, 0.727] | [1.741, 2.778] |
| Agent | Tasks | Humans | Agent length | Human length |
|---|---|---|---|---|
| COGENT | 24 | 191 | 16.46 | 22.84 |
| [12.96, 19.92] | [19.04, 26.90] | |||
| CUA | 20 | 159 | 10.80 | 23.19 |
| [7.45, 14.35] | [18.93, 27.77] | |||
| CUA-User | 19 | 151 | 9.84 | 21.07 |
| [5.84, 13.95] | [16.61, 25.38] |
| Task | COGENT | CUA | CUA-User | Human |
|---|---|---|---|---|
| 1 | S | S | F | 8 |
| 2 | F | S | S | 8 |
| 6 | F | F | F | 8 |
| 7 | S | S | S | 8 |
| 9 | S | S | F | 8 |
| 10 | S | S | S | 8 |
| Hypothesis | Human | Agent |
|---|---|---|
| Temporal demand: less modality switching | ||
| Mental demand: less modality switching | — | |
| Effort: more decisions per scored unit | ||
| Process | Prompt excerpt | Inputs outputs |
|---|---|---|
| Perception | “Approximate what THIS user actually NOTICES on the screen right now.” | Raw frame, session, working memory, attributes, previous expectation percept, uncertainty, P# motor regions and O# state cues with text and normalized boxes; host-masked image. |
| Retrieval | “Return only existing items that actually come to mind.” | Session, percept/P#/O#, working memory, attributes, long-term store recalled item IDs, content, and type (fact/procedure/gist). |
| Comprehension | “State the situation model in 1-2 sentences (their subjective read, possibly wrong).” | Session, attributes, masked image, percept/P#/O#, recall, working memory, previous action/expectation situation, previous-action assessment and evidence references, working-memory writes/evictions. |
| Monitor | “Determine whether the complete SESSION OBJECTIVE has been achieved.” | Session, percept, uncertainty, situation, action assessment, working memory completion Boolean and evidence. |
| Appraise | “Return one value for every listed dynamic-state key, including values that remain unchanged.” | All traits/states, Monitor result, percept/situation, recall, working memory, action experience updated states and optional experience summary. |
| Executive | “Choose at most one meta-action from: ask_help, rest, give_up. Use null when the user continues acting.” | Session, relevant updated attributes, situation, Monitor result, working memory, action experience intention, new/keep/switch/refine event, meta-action, reason. |
User Simulation
User simulation models human behavior and interaction to test, train, and evaluate AI systems with synthetic users.
See all 150 papers