Context model explained
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.
Notes and References
- Book: Rapid integration of software engineering techniques . Springer . Nicolas Guelfi . Anthony Savidis . 2006 . 131 . 3-540-34063-7 .
- Book: The Engineering Handbook of Smart Technology for Aging, Disability and Independence . Wiley . Abdelsalam Helal . Mounir Mokhtari . Bessam Abdulrazak . 2008 . 592 . 978-0-471-71155-1.
- Trullemans . Sandra . Lars . Van Holsbeeke . Beat . Signer . The Context Modelling Toolkit: A Unified Multi-Layered Context Modelling Approach . Proceedings of the ACM on Human-Computer Interaction (PACMHCI), 1(1) . 7:1–7:16 . ACM . 2017 .
- 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.
- 10556321 . 148753 . 10.1093/nar/27.23.4636. Improved microbial gene identification with GLIMMER . 1999 . Delcher . A. . Harmon . D. . Kasif . S. . White . O. . Salzberg . S. L. . Nucleic Acids Research . 27 . 23 . 4636–4641 .
- Wang . Xiao Hang . D. Qing . Zhang . Tao . Gu . Hung Keng . Pung . Ontology based context modeling and reasoning using OWL . Proceedings of the Second IEEE Annual Conference on Pervasive Computing and Communications Workshops . 18–22 . IEEE . 2004 . 10.1.1.3.9626 .
- An ontology-based context model in intelligent environments . Gu . Tao . Xiao Hang . Wang . Hung Keng . Pung . Da Qing . Zhang . Proceedings of Communication Networks and Distributed Systems Modeling and Simulation Conference . 2004 . 270–275 . 2004.
- https://www.fbo.gov/utils/view?id=e151081630f5eb16692e286f00e450ad Component, Context, and Manufacturing Model Library – 2 (C2M2L-2)