SlideShare a Scribd company logo
1 of 24
An Inference Sharing Architecture for a
  More Efficient Context Reasoning
      Aitor Almeida, Diego López-de-Ipiña
     Deusto Institute of Technology - DeustoTech
                 University of Deusto
                     Bilbao, Spain
         {aitor.almeida, dipina}@deusto.es
Semantic Inference in Context
             Management
• Ontologies are regarded as one of the best approaches to
  model the context information [Strang04]
• OWL ontologies offer a rich expression framework to
  represent the context data and its relations.
• Problem  as the number of triples in the ontology increases
  the inference time for environment actions become
  unsustainable.
Semantic Inference in Context
             Management
• Modern smart environments host a diverse ecosystem of
  computationally enabled devices
• Smart environments have at their disposal nowadays more
  pervasive computing capabilities than ever.
• The existence of a large number of devices available in the
  environment offers several advantages to help context
  management systems overcome the inference problem.
Semantic Inference in Context
             Management
• We have decided to split the inference problem among
  different reasoning engines or context consumers according
  to the interests stated by each of them.
• Inference is no longer performed by a central reasoning
  engine
   – Is divided into a peer-to-peer network of context producers and
     context consumers.
• Dividing the inference problem into smaller sub-units makes it
  more computationally affordable.
Inference Sharing Process
• Objetives
   1.   Attain the temporal decoupling of the different inference units.
        •    Allow the inference to be done concurrently in various reasoning engines.
   2.   Attain the spatial decoupling of the inference process.
        •    Increase the general robustness of the system making it more fault-tolerant.
   3.   Reduce the number of triples and rules that each reasoning engine
        has to manage.
        •    Use of more computationally constrained devices to carry out the inference
             process.
   4.   Compartmentalize the information according to the different
        interests of the reasoning engines..
   5.   Allow the dynamic modification of the created organization.
        •    The created hierarchy must change to adapt itself to these modifications.
Inference Sharing Process
• This organization also allows the creation of a reasoning
  engine hierarchy that provides different abstraction levels in
  the inferred facts.
Inference Sharing Process
Inference Sharing Process
• To divide the inference process three factors are taken into
   account:
 1. The ontological concepts that will be used by the reasoner.
   –   Concepts are organized in a taxonomy depicting the class relations of
       the ontology.
   –   We use the AMBI2ONT ontology.
   –   The context consumer can search for specific concepts (in our
       example “Luminosity”) or broader ones (as “Electrical Consumption”
       that encompass “LightStatus”, “AirConditioning” and
       “ApplianceStatus”).
Inference Sharing Process
Inference Sharing Process
2. The location where the measures originate from.
   –   We have a taxonomy of the locations extracted from the domain
       ontology.
   –   This taxonomy models the “contains” relations between the different
       rooms, floors and buildings
   –   The context consumer can search for an specific location (the
       Smartlab laboratory in our example) or for a set of related locations
       (for example all the rooms in the first floor of the engineering
       building)
Inference Sharing Process
Inference Sharing Process
3. The certainty factor (CF) associated to each ontological
   concept.
   –   In our ontology we model the uncertain nature of the environments.
   –   Sensors and devices are not perfect and their measures carry a
       degree of uncertainty.
   –   The context consumer can specify a minimum CF in its searches.
System Architecture
•   We use an agent based architecture.
•   Two type of agents:
    –   Context Providers: These agents represent those elements in the
        architecture that can provide any context data.
    –   Context Consumers: These agents represent those elements that
        need to consume context data.
•   The differentiation between providers and consumers is
    simply logical.
    –   The same device can act as a provider and a consumer at the same
        time, receiving data from sensors and supplying the inferred facts to
        another device.
    –   While the resulting inference process follows somewhat a
        hierarchy, the agent structure is purely a peer-to-peer architecture
        where there is no central element.
System Architecture
•   To be able to take part in the negotiation process all participants
    have to have information about the three factors described
    before.
•   The negotiation follows these steps (Contract Net Protocol):
    1.   The Context Consumer Agent (CCA) sends a Call For Proposals (CFP)
         stating the context type and location he is interested in and the
         minimum certainty factor (CF) expected from the context.
    2.   The Context Provider Agents (CPA) replies to the CFP with individual
         proposals stating what they can offer to the CCA.
    3.   The CCA checks the received proposals. Some the context consumers
         have a maximum number of context sources they can subscribe to
         concurrently. This is dictated by the computational capabilities of the
         device running the CCA. If the number of received proposals is above
         this limit the CCA select those that it considers better (comparing their
         CF).
    4.   The CCA sends an Accept to the selected CCPs and subscribes to the
         context updates.
System Architecture
Validation
•   Using the OWL-DL reasoner that comes with Jena
    Framework
•   OWL entailent + domain rules
    –    Each measure of the context provider is related to one rule.
    –    50% of the measures fire a rule.
•   Average network latency of 50 ms
•   2 scenarios
    1.   A centralized reasoning process
    2.   Inference sharing among several reasoners.
Validation
Validation
Validation
Validation
Validation
Validation
Future Work
• As future work we intend to create a more complex
  negotiation process where the computational capabilities of
  each device are taken into account to better divide the
  inference according to them.
• We would like to dynamically reassign the rules from one
  reasoning engine to another according to their capabilities.
  – This will allow us to create the most efficient inference
      structure for any given domain.
Thanks for your attention

                       Questions?
This work has been supported by project grant TIN2010-20510-C04-03
(TALIS+ENGINE), funded by the Spanish Ministerio de Ciencia e Innovación

More Related Content

What's hot

Modern Software Architectures: Building Solutions for Web, Cloud, and Mobile
Modern Software Architectures: Building Solutions for Web, Cloud, and MobileModern Software Architectures: Building Solutions for Web, Cloud, and Mobile
Modern Software Architectures: Building Solutions for Web, Cloud, and MobileDan Mohl
 
Differences Between Architectures
Differences Between ArchitecturesDifferences Between Architectures
Differences Between Architecturesprasadsmn
 
Architectural Design in Software Engineering SE10
Architectural Design in Software Engineering SE10Architectural Design in Software Engineering SE10
Architectural Design in Software Engineering SE10koolkampus
 
N-Tier, Layered Design, SOA
N-Tier, Layered Design, SOAN-Tier, Layered Design, SOA
N-Tier, Layered Design, SOASperasoft
 
Three Software Architecture Styles
Three Software Architecture StylesThree Software Architecture Styles
Three Software Architecture StylesJorgen Thelin
 
Lecture 16 requirements modeling - scenario, information and analysis classes
Lecture 16   requirements modeling - scenario, information and analysis classesLecture 16   requirements modeling - scenario, information and analysis classes
Lecture 16 requirements modeling - scenario, information and analysis classesIIUI
 
Model-driven architecture (MDA)
Model-driven architecture (MDA) Model-driven architecture (MDA)
Model-driven architecture (MDA) Alia Hamwi
 
Software architecture
Software architectureSoftware architecture
Software architecturenazn
 
4 agile modeldevelopement-danielleroux
4 agile modeldevelopement-danielleroux4 agile modeldevelopement-danielleroux
4 agile modeldevelopement-daniellerouxIBM
 
Multi Tier Architecture
Multi Tier ArchitectureMulti Tier Architecture
Multi Tier Architecturegatigno
 
Analysis modeling & scenario based modeling
Analysis modeling &  scenario based modeling Analysis modeling &  scenario based modeling
Analysis modeling & scenario based modeling Benazir Fathima
 
Software architectural patterns - A Quick Understanding Guide
Software architectural patterns - A Quick Understanding GuideSoftware architectural patterns - A Quick Understanding Guide
Software architectural patterns - A Quick Understanding GuideMohammed Fazuluddin
 
3 Tier Architecture
3  Tier Architecture3  Tier Architecture
3 Tier ArchitectureWebx
 
Software Design and Modularity
Software Design and ModularitySoftware Design and Modularity
Software Design and ModularityDanyal Ahmad
 
Software engineering 17 architectural design
Software engineering 17 architectural designSoftware engineering 17 architectural design
Software engineering 17 architectural designVaibhav Khanna
 
Designing and documenting software architecture unit 5
Designing and documenting software architecture unit 5Designing and documenting software architecture unit 5
Designing and documenting software architecture unit 5Sudarshan Dhondaley
 
Lecture 19 design concepts
Lecture 19   design conceptsLecture 19   design concepts
Lecture 19 design conceptsIIUI
 
N-Tier Application Architecture
N-Tier Application ArchitectureN-Tier Application Architecture
N-Tier Application ArchitectureManoj Kumar
 

What's hot (20)

Modern Software Architectures: Building Solutions for Web, Cloud, and Mobile
Modern Software Architectures: Building Solutions for Web, Cloud, and MobileModern Software Architectures: Building Solutions for Web, Cloud, and Mobile
Modern Software Architectures: Building Solutions for Web, Cloud, and Mobile
 
Differences Between Architectures
Differences Between ArchitecturesDifferences Between Architectures
Differences Between Architectures
 
Software architecture
Software architectureSoftware architecture
Software architecture
 
Architectural Design in Software Engineering SE10
Architectural Design in Software Engineering SE10Architectural Design in Software Engineering SE10
Architectural Design in Software Engineering SE10
 
N-Tier, Layered Design, SOA
N-Tier, Layered Design, SOAN-Tier, Layered Design, SOA
N-Tier, Layered Design, SOA
 
Three Software Architecture Styles
Three Software Architecture StylesThree Software Architecture Styles
Three Software Architecture Styles
 
Lecture 16 requirements modeling - scenario, information and analysis classes
Lecture 16   requirements modeling - scenario, information and analysis classesLecture 16   requirements modeling - scenario, information and analysis classes
Lecture 16 requirements modeling - scenario, information and analysis classes
 
Model-driven architecture (MDA)
Model-driven architecture (MDA) Model-driven architecture (MDA)
Model-driven architecture (MDA)
 
Software architecture
Software architectureSoftware architecture
Software architecture
 
4 agile modeldevelopement-danielleroux
4 agile modeldevelopement-danielleroux4 agile modeldevelopement-danielleroux
4 agile modeldevelopement-danielleroux
 
Multi Tier Architecture
Multi Tier ArchitectureMulti Tier Architecture
Multi Tier Architecture
 
Analysis modeling & scenario based modeling
Analysis modeling &  scenario based modeling Analysis modeling &  scenario based modeling
Analysis modeling & scenario based modeling
 
Software architectural patterns - A Quick Understanding Guide
Software architectural patterns - A Quick Understanding GuideSoftware architectural patterns - A Quick Understanding Guide
Software architectural patterns - A Quick Understanding Guide
 
3 Tier Architecture
3  Tier Architecture3  Tier Architecture
3 Tier Architecture
 
Ch10
Ch10Ch10
Ch10
 
Software Design and Modularity
Software Design and ModularitySoftware Design and Modularity
Software Design and Modularity
 
Software engineering 17 architectural design
Software engineering 17 architectural designSoftware engineering 17 architectural design
Software engineering 17 architectural design
 
Designing and documenting software architecture unit 5
Designing and documenting software architecture unit 5Designing and documenting software architecture unit 5
Designing and documenting software architecture unit 5
 
Lecture 19 design concepts
Lecture 19   design conceptsLecture 19   design concepts
Lecture 19 design concepts
 
N-Tier Application Architecture
N-Tier Application ArchitectureN-Tier Application Architecture
N-Tier Application Architecture
 

Similar to An Inference Sharing Architecture for a More Efficient Context Reasoning

Chapeter 2 introduction to cloud computing
Chapeter 2   introduction to cloud computingChapeter 2   introduction to cloud computing
Chapeter 2 introduction to cloud computingeShikshak
 
Conceptual modeling of information systems
Conceptual modeling of information systemsConceptual modeling of information systems
Conceptual modeling of information systemsegeda9
 
Chapter Introductionn to distributed system .pptx
Chapter Introductionn to distributed system .pptxChapter Introductionn to distributed system .pptx
Chapter Introductionn to distributed system .pptxTekle12
 
Chap 01 lecture 1distributed computer lecture
Chap 01 lecture 1distributed computer lectureChap 01 lecture 1distributed computer lecture
Chap 01 lecture 1distributed computer lectureMuhammad Arslan
 
Distributed system
Distributed systemDistributed system
Distributed systemchirag patil
 
I3CON Newsletter #2
I3CON Newsletter #2I3CON Newsletter #2
I3CON Newsletter #2lk314
 
Proactive Intelligent Home System Using Contextual Information and Neural Net...
Proactive Intelligent Home System Using Contextual Information and Neural Net...Proactive Intelligent Home System Using Contextual Information and Neural Net...
Proactive Intelligent Home System Using Contextual Information and Neural Net...IJERA Editor
 
Artificial Intelligence for Automated Decision Support Project
Artificial Intelligence for Automated Decision Support ProjectArtificial Intelligence for Automated Decision Support Project
Artificial Intelligence for Automated Decision Support ProjectValerii Klymchuk
 
Expert System Development.pptx
Expert System Development.pptxExpert System Development.pptx
Expert System Development.pptxvrajESHsHaH33
 
unit 5 Architectural design
 unit 5 Architectural design unit 5 Architectural design
unit 5 Architectural designdevika g
 

Similar to An Inference Sharing Architecture for a More Efficient Context Reasoning (20)

Chapeter 2 introduction to cloud computing
Chapeter 2   introduction to cloud computingChapeter 2   introduction to cloud computing
Chapeter 2 introduction to cloud computing
 
Real-Time Design Patterns
Real-Time Design PatternsReal-Time Design Patterns
Real-Time Design Patterns
 
Conceptual modeling of information systems
Conceptual modeling of information systemsConceptual modeling of information systems
Conceptual modeling of information systems
 
Chapter Introductionn to distributed system .pptx
Chapter Introductionn to distributed system .pptxChapter Introductionn to distributed system .pptx
Chapter Introductionn to distributed system .pptx
 
Chap 01 lecture 1distributed computer lecture
Chap 01 lecture 1distributed computer lectureChap 01 lecture 1distributed computer lecture
Chap 01 lecture 1distributed computer lecture
 
Distributed system
Distributed systemDistributed system
Distributed system
 
I3CON Newsletter #2
I3CON Newsletter #2I3CON Newsletter #2
I3CON Newsletter #2
 
Tugas 5 0317
Tugas 5 0317Tugas 5 0317
Tugas 5 0317
 
DSchap-02.ppt
DSchap-02.pptDSchap-02.ppt
DSchap-02.ppt
 
Patterns
PatternsPatterns
Patterns
 
81-T48
81-T4881-T48
81-T48
 
Proactive Intelligent Home System Using Contextual Information and Neural Net...
Proactive Intelligent Home System Using Contextual Information and Neural Net...Proactive Intelligent Home System Using Contextual Information and Neural Net...
Proactive Intelligent Home System Using Contextual Information and Neural Net...
 
Finald
FinaldFinald
Finald
 
Artificial Intelligence for Automated Decision Support Project
Artificial Intelligence for Automated Decision Support ProjectArtificial Intelligence for Automated Decision Support Project
Artificial Intelligence for Automated Decision Support Project
 
unit3.ppt
unit3.pptunit3.ppt
unit3.ppt
 
Expert System Development.pptx
Expert System Development.pptxExpert System Development.pptx
Expert System Development.pptx
 
Lecture 9.pptx
Lecture 9.pptxLecture 9.pptx
Lecture 9.pptx
 
Expert system
Expert systemExpert system
Expert system
 
unit 5 Architectural design
 unit 5 Architectural design unit 5 Architectural design
unit 5 Architectural design
 
Comsnets2013
Comsnets2013Comsnets2013
Comsnets2013
 

Recently uploaded

TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 

Recently uploaded (20)

TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 

An Inference Sharing Architecture for a More Efficient Context Reasoning

  • 1. An Inference Sharing Architecture for a More Efficient Context Reasoning Aitor Almeida, Diego López-de-Ipiña Deusto Institute of Technology - DeustoTech University of Deusto Bilbao, Spain {aitor.almeida, dipina}@deusto.es
  • 2. Semantic Inference in Context Management • Ontologies are regarded as one of the best approaches to model the context information [Strang04] • OWL ontologies offer a rich expression framework to represent the context data and its relations. • Problem  as the number of triples in the ontology increases the inference time for environment actions become unsustainable.
  • 3. Semantic Inference in Context Management • Modern smart environments host a diverse ecosystem of computationally enabled devices • Smart environments have at their disposal nowadays more pervasive computing capabilities than ever. • The existence of a large number of devices available in the environment offers several advantages to help context management systems overcome the inference problem.
  • 4. Semantic Inference in Context Management • We have decided to split the inference problem among different reasoning engines or context consumers according to the interests stated by each of them. • Inference is no longer performed by a central reasoning engine – Is divided into a peer-to-peer network of context producers and context consumers. • Dividing the inference problem into smaller sub-units makes it more computationally affordable.
  • 5. Inference Sharing Process • Objetives 1. Attain the temporal decoupling of the different inference units. • Allow the inference to be done concurrently in various reasoning engines. 2. Attain the spatial decoupling of the inference process. • Increase the general robustness of the system making it more fault-tolerant. 3. Reduce the number of triples and rules that each reasoning engine has to manage. • Use of more computationally constrained devices to carry out the inference process. 4. Compartmentalize the information according to the different interests of the reasoning engines.. 5. Allow the dynamic modification of the created organization. • The created hierarchy must change to adapt itself to these modifications.
  • 6. Inference Sharing Process • This organization also allows the creation of a reasoning engine hierarchy that provides different abstraction levels in the inferred facts.
  • 8. Inference Sharing Process • To divide the inference process three factors are taken into account: 1. The ontological concepts that will be used by the reasoner. – Concepts are organized in a taxonomy depicting the class relations of the ontology. – We use the AMBI2ONT ontology. – The context consumer can search for specific concepts (in our example “Luminosity”) or broader ones (as “Electrical Consumption” that encompass “LightStatus”, “AirConditioning” and “ApplianceStatus”).
  • 10. Inference Sharing Process 2. The location where the measures originate from. – We have a taxonomy of the locations extracted from the domain ontology. – This taxonomy models the “contains” relations between the different rooms, floors and buildings – The context consumer can search for an specific location (the Smartlab laboratory in our example) or for a set of related locations (for example all the rooms in the first floor of the engineering building)
  • 12. Inference Sharing Process 3. The certainty factor (CF) associated to each ontological concept. – In our ontology we model the uncertain nature of the environments. – Sensors and devices are not perfect and their measures carry a degree of uncertainty. – The context consumer can specify a minimum CF in its searches.
  • 13. System Architecture • We use an agent based architecture. • Two type of agents: – Context Providers: These agents represent those elements in the architecture that can provide any context data. – Context Consumers: These agents represent those elements that need to consume context data. • The differentiation between providers and consumers is simply logical. – The same device can act as a provider and a consumer at the same time, receiving data from sensors and supplying the inferred facts to another device. – While the resulting inference process follows somewhat a hierarchy, the agent structure is purely a peer-to-peer architecture where there is no central element.
  • 14. System Architecture • To be able to take part in the negotiation process all participants have to have information about the three factors described before. • The negotiation follows these steps (Contract Net Protocol): 1. The Context Consumer Agent (CCA) sends a Call For Proposals (CFP) stating the context type and location he is interested in and the minimum certainty factor (CF) expected from the context. 2. The Context Provider Agents (CPA) replies to the CFP with individual proposals stating what they can offer to the CCA. 3. The CCA checks the received proposals. Some the context consumers have a maximum number of context sources they can subscribe to concurrently. This is dictated by the computational capabilities of the device running the CCA. If the number of received proposals is above this limit the CCA select those that it considers better (comparing their CF). 4. The CCA sends an Accept to the selected CCPs and subscribes to the context updates.
  • 16. Validation • Using the OWL-DL reasoner that comes with Jena Framework • OWL entailent + domain rules – Each measure of the context provider is related to one rule. – 50% of the measures fire a rule. • Average network latency of 50 ms • 2 scenarios 1. A centralized reasoning process 2. Inference sharing among several reasoners.
  • 23. Future Work • As future work we intend to create a more complex negotiation process where the computational capabilities of each device are taken into account to better divide the inference according to them. • We would like to dynamically reassign the rules from one reasoning engine to another according to their capabilities. – This will allow us to create the most efficient inference structure for any given domain.
  • 24. Thanks for your attention Questions? This work has been supported by project grant TIN2010-20510-C04-03 (TALIS+ENGINE), funded by the Spanish Ministerio de Ciencia e Innovación