Natural Language based Context Modeling and Reasoning for Ubiquitous Computing with Large Language Models: A Tutorial
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
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2017Proximal Policy Optimization Algorithmscited by 14,441
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2023Visual Instruction Tuningcited by 7,792
- 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
- 2022Flamingo: a Visual Language Model for Few-Shot Learningcited by 4,337
38 more
- 2021On the Opportunities and Risks of Foundation Modelscited by 3,961
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
- 2017Deep reinforcement learning from human preferencescited by 3,846
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
- 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,155
- 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,579
- 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,222
- 2019Fine-Tuning Language Models from Human Preferencescited by 2,124
- 2022Survey of Hallucination in Natural Language Generationcited by 2,056
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
- 2020mT5: A massively multilingual pre-trained text-to-text transformercited by 1,813
- 2020Big Self-Supervised Models are Strong Semi-Supervised Learnerscited by 1,375
- 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,371
- 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,255
- 2023HuggingGPT: Solving AI Tasks with ChatGPT and its Friends in Hugging Facecited by 1,173
- 2022Code as Policies: Language Model Programs for Embodied Controlcited by 1,172
- 2023PaLM 2 Technical Reportcited by 1,154
- 2021GLM: General Language Model Pretraining with Autoregressive Blank Infillingcited by 1,026
- 2021Transformers in Vision: A Surveycited by 1,009
- 2019How Can We Know What Language Models Know?cited by 953
- 2023A Multitask, Multilingual, Multimodal Evaluation of ChatGPT on Reasoning, Hallucination, and Interactivitycited by 888
- 2022GLM-130B: An Open Bilingual Pre-trained Modelcited by 837
- 2022A Generalist Agentcited by 802
- 2023SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language Modelscited by 787
- 2021GPT Understands, Toocited by 715
- 2019Universal Adversarial Triggers for Attacking and Analyzing NLPcited by 709
- 2021Multimodal Few-Shot Learning with Frozen Language Modelscited by 657
- 2023Automatic Prompt Optimization with "Gradient Descent" and Beam Searchcited by 628
- 2021Prompt Programming for Large Language Models: Beyond the Few-Shot Paradigmcited by 599
- 2022ProgPrompt: Generating Situated Robot Task Plans using Large Language Modelscited by 598
- 2023MemoryBank: Enhancing Large Language Models with Long-Term Memorycited by 539
- 2023LLM+P: Empowering Large Language Models with Optimal Planning Proficiencycited by 496
- 2023DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-Correctioncited by 465
- 2022LLM-Planner: Few-Shot Grounded Planning for Embodied Agents with Large Language Modelscited by 459
- 2023Harnessing the Power of LLMs in Practice: A Survey on ChatGPT and Beyondcited by 409
- 2023A Comprehensive Survey on Pretrained Foundation Models: A History from BERT to ChatGPTcited by 364
- 2022Visual Language Maps for Robot Navigationcited by 362
- 2019ERNIE: Enhanced Representation through Knowledge Integrationcited by 301
50 most cited of 78 All 78 (JSON)
Built on by
Citing papers per year: 2025: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2023A Survey on Large Language Model based Autonomous Agents
- 2025A Survey of Context Engineering for Large Language Models
- 2025Talk with the Things: Integrating LLMs into IoT Networks ↗
- 2024Exploring Large Language Model based Intelligent Agents: Definitions, Methods, and Prospects
- 2025Tele-LLM-Hub: Building Context-Aware Multi-Agent LLM Systems for Telecom Networks
- 2025AutoIOT: LLM-Driven Automated Natural Language Programming for AIoT Applications
- 2025From Language to Action: A Review of Large Language Models as Autonomous Agents and Tool Users
- 2025Reasoning LLMs for User-Aware Multimodal Conversational Agents