Context model

From HandWiki

A context model (or context modeling) defines how context data are structured and maintained (It plays a key role in supporting efficient context management).[1] It aims to produce a formal or semi-formal description of the context information that is present in a context-aware system. In other words, the context is the surrounding element for the system, and a model provides the mathematical interface and a behavioral description of the surrounding environment. It is used to represent the reusable context information of the components (The top-level classes consist of Operating system, component container, hardware requirement and Software requirement).

A key role of context model is to simplify and introduce greater structure into the task of developing context-aware applications.[2][3]

Examples of context models

The Unified Modeling Language as used in systems engineering defines a context model as the physical scope of the system being designed, which could include the user as well as the environment and other actors. A system context diagram represents the context graphically..

Several examples of context models occur under other domains.

  • In the situation of parsing a grammar, a context model defines the surrounding text of a lexical element. This enables a context sensitive grammar that can have deterministic or stochastic rules. In the latter case, a hidden Markov model can provide the probabilities for the surrounding context.[4]
  • A context model can also apply to the surrounding elements in a gene sequence. Like the context rules of a grammar disambiguating a lexical element, this helps to disambiguate the role of the gene.[5]
  • Within an ontology, a context model provides disambiguation of a subject via semantic analysis of information related to the subject.[6][7]
  • In terms of a physical environment, a context model defines the external interfaces that a system will interact with. This type of context model has been used to create models for virtual environments such as the Adaptive Vehicle Make program. A context model used during design defines land, aquatic, or atmospheric characteristics (stated in terms of mathematical algorithms or a simulation) that the eventual product will face in the real environment.[8]
  • In the context of large language models, a context model refers to a component or aspect of the language model that focuses on understanding and incorporating contextual information from the input text. The main purpose of a context model is to provide the language model with a better understanding of the context surrounding words, phrases, or sentences, so that it can generate more coherent and contextually appropriate responses. In deep learning-based language models like GPT-4 or BERT, the context model is an inherent part of the architecture. These models use mechanisms such as attention mechanisms and multi-layered transformer (machine learning) architectures to capture contextual information from the input sequence. The context model takes into account the relationships between words and their surrounding text, helping the language model understand the meaning of a word in a specific context, handle ambiguities, and generate more accurate and coherent responses.
  • Examples of AI-based numerical weather prediction systems that apply context models include Google DeepMind's GraphCast, Huawei's PanguWeather, and NVIDIA's FourCastNet, drawing from historical and re-analysis context data. In general, the approach is to match up current conditions using past data as context and then apply a mix of physics and historical outcomes to form a projection.

References

  1. Nicolas Guelfi; Anthony Savidis (2006). Rapid integration of software engineering techniques. Springer. p. 131. ISBN 3-540-34063-7. https://archive.org/details/rapidintegration0000rise/page/131. 
  2. Abdelsalam Helal; Mounir Mokhtari; Bessam Abdulrazak (2008). The Engineering Handbook of Smart Technology for Aging, Disability and Independence. Wiley. pp. 592. ISBN 978-0-471-71155-1. 
  3. Trullemans, Sandra; Van Holsbeeke, Lars; Signer, Beat (2017). "The Context Modelling Toolkit: A Unified Multi-Layered Context Modelling Approach". Proceedings of the ACM on Human-Computer Interaction (PACMHCI), 1(1) (ACM): 7:1–7:16. https://www.academia.edu/33265122. 
  4. Klein, Dan, and Christopher D. (2002) Manning. "A generative constituent-context model for improved grammar induction." In Proceedings of the 40th Annual Meeting on Association for Computational Linguistics, pp. 128-135. Association for Computational Linguistics.
  5. Delcher, A.; Harmon, D.; Kasif, S.; White, O.; Salzberg, S. L. (1999). "Improved microbial gene identification with GLIMMER". Nucleic Acids Research 27 (23): 4636–4641. doi:10.1093/nar/27.23.4636. PMID 10556321. 
  6. Wang, Xiao Hang; Zhang, D. Qing; Gu, Tao; Pung, Hung Keng (2004). "Ontology based context modeling and reasoning using OWL". Proceedings of the Second IEEE Annual Conference on Pervasive Computing and Communications Workshops (IEEE): 18–22. 
  7. Gu, Tao; Wang, Xiao Hang; Pung, Hung Keng; Zhang, Da Qing (2004). "An ontology-based context model in intelligent environments". Proceedings of Communication Networks and Distributed Systems Modeling and Simulation Conference 2004: 270–275. http://www-public.it-sudparis.eu/~zhang_da/pub/Ontology-2004-2.pdf. 
  8. Component, Context, and Manufacturing Model Library – 2 (C2M2L-2), Broad Agency Announcement, DARPA-BAA-12-30, February 24, 2012