SituationalLLM: Proactive Language Models with Scene Awareness for Dynamic, Contextual Task Guidance

List of Authors

  1. Muhammad Saif Ullah Khan ,  
  2. Muhammad Zeshan Afzal
    ,  
  3. Didier Stricker
Article Authors & roles Authors Peer review record Peer review Metrics
Cite

Abstract

Background

Large Language Models (LLMs) have demonstrated remarkable success in text-based reasoning tasks but struggle to provide actionable guidance in real-world physical environments. This limitation arises from their lack of situational awareness—an inability to recognize gaps in their understanding of a user’s physical context, leading to unreliable and overly generic instructions. To address this, we propose SituationalLLM, a novel approach that integrates structured scene representations into LLMs to improve context-aware assistance.

Methods

SituationalLLM leverages scene graphs—structured representations of objects, attributes, and spatial relationships—to encode real-world environments in a text-based Scene Graph Language. We introduce the Situational Awareness Database for Instruct-Tuning (SAD-Instruct), which pairs diverse scene graphs with multi-agent dialogue, enabling LLMs to iteratively refine their guidance through clarifying questions. A LoRA-adapted LLaMA-3-8B model is fine-tuned on SADInstruct to bridge structured knowledge with natural language reasoning, enhancing its ability to recognize missing information and dynamically adjust responses.

Results

Qualitative evaluations show that SituationalLLM outperforms state-ofthe-art LLMs (GPT-4, LLaMA-3) in providing precise, task-specific, and contextually relevant instructions. The model reduces hallucinations by proactively identifying missing environmental details and requesting clarifications before generating guidance. Through comparative analyses on everyday tasks (e.g., cooking, office assistance), SituationalLLM demonstrates superior adaptability, delivering grounded, user-centered recommendations.

Conclusion

By integrating structured scene representations and iterative dialogue-based refinements, SituationalLLM enables more reliable, context-aware AI assistants. This research highlights the significance of bridging structured knowledge with natural language for enhanced real-world task guidance. Future work should focus on expanding scenario diversity and improving real-time scene perception to further enhance situational adaptability.

Corresponding author
Muhammad Saif Ullah Khan
0000-0002-7375-807X
Grant information

This project has received funding from the European Union’s Horizon Europe research and innovation programme under grant agreement No. 101135724 (Language Augmentation for Humanverse [LUMINOUS]), addressing Topic HORIZON-CL4-2023-HUMAN-01-21.

The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.

Copyright
© 2025 Muhammad Saif Ullah Khan (Corresponding Author, Co-Author); Muhammad Zeshan Afzal (Co-Author); Didier Stricker (Co-Author) Creative Commons License

This work is licensed under a Creative Commons Attribution 4.0 International License.

First version published
Latest version published

Comments

Authors & roles

Muhammad Saif Ullah Khan

Augmented Vision Group, Deutsches Forschungszentrum fur Kunstliche Intelligenz GmbH, Kaiserslautern, Rhineland-Palatinate, 67663, Germany

Roles
Corresponding Author, Co-Author, Conceptualization, Data Curation, Formal Analysis, Methodology, Software, Validation, Visualization, Writing – Original Draft Preparation, Writing – Review & Editing
0000-0002-7375-807X

Muhammad Zeshan Afzal

Augmented Vision Group, Deutsches Forschungszentrum fur Kunstliche Intelligenz GmbH, Kaiserslautern, Rhineland-Palatinate, 67663, Germany

Roles
Co-Author, Conceptualization, Supervision, Writing – Review & Editing

Didier Stricker

Augmented Vision Group, Deutsches Forschungszentrum fur Kunstliche Intelligenz GmbH, Kaiserslautern, Rhineland-Palatinate, 67663, Germany

Roles
Co-Author, Funding Acquisition, Project Administration, Resources, Supervision, Writing – Review & Editing

Downloads over the last 12 months:

Cited by

via Crossref

View citing articles