mlsanityData to 7 Oct 2026

Natural Language based Context Modeling and Reasoning for Ubiquitous Computing with Large Language Models: A Tutorial

arXiv 2309.15074 ↗First posted 24 Sep 2023cs.CL cs.AI cs.HCcited by 1

On the map: LLM reasoning → Reasoning for agents, planning and code

Abstract (arXiv)

Large language models (LLMs) have become phenomenally surging, since 2018--two decades after introducing context-awareness into computing systems. Through taking into account the situations of ubiquitous devices, users and the societies, context-aware computing has enabled a wide spectrum of innovative applications, such as assisted living, location-based social network services and so on. To recognize contexts and make decisions for actions accordingly, various artificial intelligence technologies, such as Ontology and OWL, have been adopted as representations for context modeling and reasoning. Recently, with the rise of LLMs and their improved natural language understanding and reasoning capabilities, it has become feasible to model contexts using natural language and perform context reasoning by interacting with LLMs such as ChatGPT and GPT-4. In this tutorial, we demonstrate the use of texts, prompts, and autonomous agents (AutoAgents) that enable LLMs to perform context modeling and reasoning without requiring fine-tuning of the model. We organize and introduce works in the related field, and name this computing paradigm as the LLM-driven Context-aware Computing (LCaC). In the LCaC paradigm, users' requests, sensors reading data, and the command to actuators are supposed to be represented as texts. Given the text of users' request and sensor data, the AutoAgent models the context by prompting and sends to the LLM for context reasoning. LLM generates a plan of actions and responds to the AutoAgent, which later follows the action plan to foster context-awareness. To prove the concepts, we use two showcases--(1) operating a mobile z-arm in an apartment for assisted living, and (2) planning a trip and scheduling the itinerary in a context-aware and personalized manner.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 78 of its 118 references that are in the map. First posted on arXiv 24 Sep 2023.

Builds on

78 of 118 references.

References · 78

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2022Training language models to follow instructions with human feedbackcited by 15,712
  4. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  5. 2017Proximal Policy Optimization Algorithmscited by 14,441
  6. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  7. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  8. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  9. 2023Visual Instruction Tuningcited by 7,792
  10. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
  11. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
  12. 2022Flamingo: a Visual Language Model for Few-Shot Learningcited by 4,337
38 more
  1. 2021On the Opportunities and Risks of Foundation Modelscited by 3,961
  2. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
  3. 2017Deep reinforcement learning from human preferencescited by 3,846
  4. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
  5. 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,155
  6. 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,579
  7. 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,222
  8. 2019Fine-Tuning Language Models from Human Preferencescited by 2,124
  9. 2022Survey of Hallucination in Natural Language Generationcited by 2,056
  10. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
  11. 2020mT5: A massively multilingual pre-trained text-to-text transformercited by 1,813
  12. 2020Big Self-Supervised Models are Strong Semi-Supervised Learnerscited by 1,375
  13. 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,371
  14. 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,255
  15. 2023HuggingGPT: Solving AI Tasks with ChatGPT and its Friends in Hugging Facecited by 1,173
  16. 2022Code as Policies: Language Model Programs for Embodied Controlcited by 1,172
  17. 2023PaLM 2 Technical Reportcited by 1,154
  18. 2021GLM: General Language Model Pretraining with Autoregressive Blank Infillingcited by 1,026
  19. 2021Transformers in Vision: A Surveycited by 1,009
  20. 2019How Can We Know What Language Models Know?cited by 953
  21. 2023A Multitask, Multilingual, Multimodal Evaluation of ChatGPT on Reasoning, Hallucination, and Interactivitycited by 888
  22. 2022GLM-130B: An Open Bilingual Pre-trained Modelcited by 837
  23. 2022A Generalist Agentcited by 802
  24. 2023SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language Modelscited by 787
  25. 2021GPT Understands, Toocited by 715
  26. 2019Universal Adversarial Triggers for Attacking and Analyzing NLPcited by 709
  27. 2021Multimodal Few-Shot Learning with Frozen Language Modelscited by 657
  28. 2023Automatic Prompt Optimization with "Gradient Descent" and Beam Searchcited by 628
  29. 2021Prompt Programming for Large Language Models: Beyond the Few-Shot Paradigmcited by 599
  30. 2022ProgPrompt: Generating Situated Robot Task Plans using Large Language Modelscited by 598
  31. 2023MemoryBank: Enhancing Large Language Models with Long-Term Memorycited by 539
  32. 2023LLM+P: Empowering Large Language Models with Optimal Planning Proficiencycited by 496
  33. 2023DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-Correctioncited by 465
  34. 2022LLM-Planner: Few-Shot Grounded Planning for Embodied Agents with Large Language Modelscited by 459
  35. 2023Harnessing the Power of LLMs in Practice: A Survey on ChatGPT and Beyondcited by 409
  36. 2023A Comprehensive Survey on Pretrained Foundation Models: A History from BERT to ChatGPTcited by 364
  37. 2022Visual Language Maps for Robot Navigationcited by 362
  38. 2019ERNIE: Enhanced Representation through Knowledge Integrationcited by 301

50 most cited of 78 All 78 (JSON)

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2023A Survey on Large Language Model based Autonomous Agents
  2. 2025A Survey of Context Engineering for Large Language Models
  3. 2025Talk with the Things: Integrating LLMs into IoT Networks ↗
  4. 2024Exploring Large Language Model based Intelligent Agents: Definitions, Methods, and Prospects
  5. 2025Tele-LLM-Hub: Building Context-Aware Multi-Agent LLM Systems for Telecom Networks
  6. 2025AutoIOT: LLM-Driven Automated Natural Language Programming for AIoT Applications
  7. 2025From Language to Action: A Review of Large Language Models as Autonomous Agents and Tool Users
  8. 2025Reasoning LLMs for User-Aware Multimodal Conversational Agents