Evaluating Few-Shot Temporal Reasoning of LLMs for Human Activity Prediction in Smart Environments
On the map: LLM reasoning → Spatial and embodied reasoning
Abstract (arXiv)
Anticipating human activities and their durations is essential in applications such as smart-home automation, simulation-based architectural and urban design, activity-based transportation system simulation, and human-robot collaboration, where adaptive systems must respond to human activities. Existing data-driven agent-based models--from rule-based to deep learning--struggle in low-data environments, limiting their practicality. This paper investigates whether large language models, pre-trained on broad human knowledge, can fill this gap by reasoning about everyday activities from compact contextual cues. We adopt a retrieval-augmented prompting strategy that integrates four sources of context--temporal, spatial, behavioral history, and persona--and evaluate it on the CASAS Aruba smart-home dataset. The evaluation spans two complementary tasks: next-activity prediction with duration estimation, and multi-step daily sequence generation, each tested with various numbers of few-shot examples provided in the prompt. Analyzing few-shot effects reveals how much contextual supervision is sufficient to balance data efficiency and predictive accuracy, particularly in low-data environments. Results show that large language models exhibit strong inherent temporal understanding of human behavior: even in zero-shot settings, they produce coherent daily activity predictions, while adding one or two demonstrations further refines duration calibration and categorical accuracy. Beyond a few examples, performance saturates, indicating diminishing returns. Sequence-level evaluation confirms consistent temporal alignment across few-shot conditions. These findings suggest that pre-trained language models can serve as promising temporal reasoners, capturing both recurring routines and context-dependent behavioral variations, thereby strengthening the behavioral modules of agent-based models.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Spatial and embodied reasoning, one of 17 directions in LLM reasoning. Builds on 16 of its 32 references that are in the map. First posted on arXiv 20 Jan 2026.
Builds on
16 of 32 references.
Closest ancestors · 2
Same direction, newest first
- 2025Spatio-Temporal LLM: Reasoning about Environments and Actions7 Jul
- 2025Navigating Motion Agents in Dynamic and Cluttered Environments through LLM Reasoning10 Mar
Other references · 14
- 2024OpenCity: A Scalable Platform to Simulate Urban Activities with Massive LLM Agentscited by 35
- 2025CitySim: Modeling Urban Behaviors and City Dynamics with Large-Scale LLM-Driven Agent Simulationcited by 28
- 2019Looking Ahead: Anticipating Pedestrians Crossing with Future Frames Predictioncited by 25
- 2020Pedestrian Models for Autonomous Driving Part II: High-Level Models of Human Behaviorcited by 23
- 2021A Survey of Human Activity Recognition in Smart Homes Based on IoT Sensors Algorithms: Taxonomies, Challenges, and Opportunities with Deep Learningcited by 21
- 2020Pedestrian Behavior Prediction for Automated Driving: Requirements, Metrics, and Relevant Featurescited by 11
- 2023Smart Agent-Based Modeling: On the Use of Large Language Models in Computer Simulationscited by 11
- 2023GPT-4V Takes the Wheel: Promises and Challenges for Pedestrian Behavior Predictioncited by 11
- 2025From Text to Space: Mapping Abstract Spatial Models in LLMs during a Grid-World Navigation Taskcited by 10
- 2023Combining Public Human Activity Recognition Datasets to Mitigate Labeled Data Scarcitycited by 9
- 2025SpatialLLM: From Multi-modality Data to Urban Spatial Intelligencecited by 8
- 2024TR-LLM: Integrating Trajectory Data for Scene-Aware LLM-Based Human Action Predictioncited by 5
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026TRACE: Temporal Reasoning over Context and Evidence for Activity Recognition in Smart Homes
- 2026Knowledge Distillation for LLM-Based Human Activity Recognition in Homes
- 2026SMH-Bench: Benchmarking LLM Agents for Environment-Grounded Reasoning and Action in Smart Homes
- 2024Predicting User Behavior in Smart Spaces with LLM-Enhanced Logs and Personalized Prompts
- 2023GG-LLM: Geometrically Grounding Large Language Models for Zero-shot Human Activity Forecasting in Human-Aware Task Planning
- 2025ZARA: Training-Free Motion Time-Series Reasoning via Evidence-Grounded LLM Agents
- 2026Is More Context Always Better? Examining LLM Reasoning Capability for Time Interval Prediction
- 2025AgentSense: Virtual Sensor Data Generation Using LLM Agents in Simulated Home Environments