Rhythms of Work: Multi-Scale Interpretation of Human Behavioral Traces for Workplace Agents
Organizations: Microsoft
Abstract
Runtime traces are becoming a central substrate for understanding agentic systems, yet interpretation has focused largely on what the agent did. Workplace agents face the complementary problem: interpreting the human activity that surrounds them. Hours of low-level events carry rich evidence about a user's state but are too granular to reason over directly, and flattening them into one stream or compressing them into a single embedding both treat "summarize the user's behavior" as if it had one correct answer. We argue instead that behavioral interpretation is resolution-dependent: the same trace should admit multiple addressable interpretations at different temporal resolutions. We construct a multi-resolution vocabulary of semantically normalized operators, recurring motifs, coherent episodes, and day-level rhythms, each preserving the structure salient at its own horizon. Applied to 667 million human-attributed events from a large commercial productivity suite (50,000 users, 100 organizations), it yields 120 operator types, thousands of motifs, 25 episode types, and five day-rhythm archetypes. We validate it on real telemetry: re-running the entire pipeline on a disjoint 2,000-user sample recovers the same taxonomy (structural stability), and on held-out users the full representation forecasts a user's next episode more accurately than a flat-operator baseline, a 17% relative macro-F1 gain (predictive validity), so the abstractions preserve future-relevant information rather than merely describe it. A controlled resolution ablation then shows that no single level is optimal across questions: different agent-facing questions about the same trace are best answered at different resolutions. Behavioral trace interpretation for agents should therefore be multi-resolution and query-conditioned: an agent should access the temporal grain a question needs, not one universal summary.
Figures & tables
| Level | Instances / coverage | Vocabulary | Typical scale |
|---|---|---|---|
| Raw events (human) | 667M events | 14K app–action pairs | sub-second to minutes |
| Canonical operators | 667M mapped events | 120 types | seconds |
| Motifs | 20.6M occurrences | 3,597 motifs | seconds to minutes |
| Episodes | 16.7M instances | 25 types | minutes to hours |
| Day rhythms | 1.82M user-days | 5 archetypes | hours to days |
Appendix figures & tables9 assets
Supplementary material from the paper’s appendix.
Appendix
| Shape | Content on top of the common baseline |
|---|---|
| baseline | persona role, time of day, the artifact under the cursor, today’s calendar, recent collaborators |
| +raw | the last 60 minutes of raw events (timestamp, app, action, operation) |
| +motif | a step-level trace: per step, its goal/purpose/app and a run-compressed action sequence |
| +episode | the current and recent episode labels, durations, and boundaries |
| +rhythm | the day-so-far summary: cumulative active time, episode-type mixture, meeting and AI-assistant share |
| +hierarchy | baseline + motif + episode + rhythm together (the bottom-up pipeline’s output) |
| Family | Capability | Sub-classes (sample counts) | |
|---|---|---|---|
| Perception | Motif-scale recognition | drafting 33, revising 33, investigating 33, wrap-up 33 | 132 |
| Perception | Episode-scale recognition | create 35, communicate 35, consume 35 | 105 |
| Perception | Day-scale recognition | full workday 33, deep work 33, light day 26 | 92 |
| Inference | Behavior projection | same-task 25, transition 25 | 50 |
| Inference | Anomaly detection | normal 25, fragmented 25 | 50 |
| Action | Interruption timing | ideal 25, mild 25, high 25, prohibitive 22 | 97 |
| Probe (Fig. 3 row) | Question, verbatim | Answer classes (ground truth) |
|---|---|---|
| Perception | ||
| motif recog. | “Looking at the user’s recent activity (the last hour or so), which best describes the kind of work they have been doing?” | drafting, revising, investigating, wrap-up |
| episode recog. | “What is the user’s current activity primarily aimed at?” | create, communicate, consume |
| day recog. | “Looking at the user’s full day so far (when they started, what kinds of work, how much overall activity), which best describes the day’s overall rhythm?” | full workday, deep work, light day |
| Inference | ||
| short-horizon proj. | “Based on the user’s recent activity and the patterns of their day so far, what is the user most likely to do in the next 30 minutes?” | same-task continues, task transition |
| Stratum | Group | Episode increment | Transitions |
|---|---|---|---|
| Overall | all | 2,975,438 | |
| Transition kind | state change | 2,570,957 | |
| Transition kind | same-label revisit | 404,481 | |
| Future gap | 0–10 s | 363,134 | |
| Future gap | 300 s | 2,612,304 | |
| Always-on | excluded | 2,967,600 |
Human Activity Recognition
Human activity recognition classifies actions and behaviors from wearable sensors, video, radio signals, and other measurements.
See all 228 papers