Top Banner
Engineering Ambient Intelligence Systems using Agent Technology using Agent Technology Nikos Spanoudakis Technical University of Crete
40

Engineering Ambient Intelligence Systems using Agent Technology

Jan 08, 2017

Download

Software

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Engineering Ambient Intelligence Systems using Agent Technology

Engineering Ambient Intelligence Systems using Agent Technologyusing Agent Technology

Nikos SpanoudakisTechnical University of Crete

Page 2: Engineering Ambient Intelligence Systems using Agent Technology

Presentation Contents

Application Domain and Challenges

The ASEME Methodology

System Architecture System Architecture

Results

Conclusion

Page 3: Engineering Ambient Intelligence Systems using Agent Technology

Project goals

HERA (Home sERvices for specialised elderly Assisted living) aims to provide cost-effective specialized assisted living services for the elderly people suffering from elderly people suffering from

Mild Cognitive Impairment (MCI)

mild/moderate Alzheimer Disease (AD)

other diseases (diabetes, cardiovascular)

to improve the quality of their home life, extend its duration

Page 4: Engineering Ambient Intelligence Systems using Agent Technology

Application Domain

Ambient Assisted Living (AAL)

combination of tele-homecare and smart homes

in the field of Ambient Intelligence (AmI)

Page 5: Engineering Ambient Intelligence Systems using Agent Technology

Challenges

Engineering an AAL system is a non-trivial task(Nehmer et al., 2006)

Several issues are open for this type of applications (Kleinberger et al., 2007; Koch, applications (Kleinberger et al., 2007; Koch, 2006):

Adaptability

Natural and anticipatory Human-Computer Interaction

Heterogeneity

Lack of an evaluation framework considering legal, ethical, economical, usability and technical aspects

Page 6: Engineering Ambient Intelligence Systems using Agent Technology

Contribution

An Agent Oriented Software Engineering (AOSE) methodology for developing AmI systems

An architecture for the problem domain An architecture for the problem domain

An architecture for integrating agents to the general service oriented software architecture

Page 7: Engineering Ambient Intelligence Systems using Agent Technology

Why agents?

Agents are

proactive (have goals and pursue them)

reactive (respond to events in environment)

social (acquainted with other similar software and can cooperate-compete with it)

autonomous (do not need human intervention to act)

intelligent (may perform tasks that when performed by humans we consider that are the evidence of a certain intelligence)

Page 8: Engineering Ambient Intelligence Systems using Agent Technology

THE ASEME METHODOLOGY

A methodology for guiding project development

Page 9: Engineering Ambient Intelligence Systems using Agent Technology

AOSE Considerations

What, how many agents? How to structure of agent? Model of the environment? Communication? Communication? Relationships? Coordination? Protocols?

(Hexmoor and Brainov, 2002)

Page 10: Engineering Ambient Intelligence Systems using Agent Technology

ASEMEthe phases and abstraction layers

Agent Level Capability LevelDevelopment

Phase Society Level

Levels of Abstraction

Goals RequirementsActorsRequirements

Analysis

Capabilities

Agent Control ComponentsSociety Control

Roles and Protocols

Design

Analysis

Agent codeCapabilities

codePlatform

management codeImplementation

Analysis

Functionality

Page 11: Engineering Ambient Intelligence Systems using Agent Technology

Requirements Analysis

Identify the stakeholders

Seniors@home

Hospitals, health centers

Telecom operators, internet service providers (ISPs), portals

Page 12: Engineering Ambient Intelligence Systems using Agent Technology

The Systems Actors Goals model (SAG) - initial

Page 13: Engineering Ambient Intelligence Systems using Agent Technology

SAG refined

Page 14: Engineering Ambient Intelligence Systems using Agent Technology

Analysis Phase

The first model is the System Use Cases

Goals are transformed to high level tasks and are decomposed to simple tasks

Let’s see for example the goal assign pills

Page 15: Engineering Ambient Intelligence Systems using Agent Technology

Analysis Phase

Transform SAG goal to use case (SUC)

Page 16: Engineering Ambient Intelligence Systems using Agent Technology

Analysis Phase

Refine the SUC diagram

Page 17: Engineering Ambient Intelligence Systems using Agent Technology

The Agent Interaction Protocols model For each use case connecting two roles

we create an interaction protocol

We use Gaia formulas to define liveness of each role within the protocolof each role within the protocol

Operator Interpretationx . y x followed by yx | y x or y occursx* x occurs 0 or more timesx+ x occurs 1 or more timesx ~ x occurs infinitely often[x] x is optional

x || y x and y interleaved

Page 18: Engineering Ambient Intelligence Systems using Agent Technology

The AIP modelRole

Rules for engaging

Results

Liveness

Page 19: Engineering Ambient Intelligence Systems using Agent Technology

The system roles model (SRM)

Shows each role’s liveness

Including all used protocols

Associating including use case to Associating including use case to capabilities

Included use cases to activities

Associating activities to functionalities

Page 20: Engineering Ambient Intelligence Systems using Agent Technology

Example – Assign pills

Page 21: Engineering Ambient Intelligence Systems using Agent Technology

Example – Assign pills

Page 22: Engineering Ambient Intelligence Systems using Agent Technology

Assign pills: Produced SRM

Role: PersonalAssistant

Capabilities and Protocols:

AssignPills_PersonalAssistant, …

Activities:

ReceiveNewPillPrescriptionRequest, UpdateUserScheduleReceiveNewPillPrescriptionRequest, UpdateUserSchedule

Liveness:

PersonalAssistant = AssignPills_PersonalAssistant OP? …

AssignPills_PersonalAssistant = ReceiveNewPillPrescriptionRequest. UpdateUserSchedule

… This formula was copied from the AIP model

Page 23: Engineering Ambient Intelligence Systems using Agent Technology

Assign pills: Refined SRM

Role: PersonalAssistant

Capabilities and Protocols:

AssignPills_PersonalAssistant, UpdateUserSchedule, …

Activities:

ReceiveNewPillPrescriptionRequest, ResolveConflicts, ReceiveNewPillPrescriptionRequest, ResolveConflicts, UpdateUserScheduleStructure, …

Liveness:

PersonalAssistant = AssignPills_PersonalAssistant~ || …

AssignPills_PersonalAssistant = ReceiveNewPillPrescriptionRequest. UpdateUserSchedule

UpdateUserSchedule = ResolveConflicts. UpdateUserScheduleStructure

Page 24: Engineering Ambient Intelligence Systems using Agent Technology

A graphical view of SRM

The functionality graph

Interfaces with external systems

Functionality sending a standard FIPA ACL message

Page 25: Engineering Ambient Intelligence Systems using Agent Technology

Design phase

In the design phase liveness formulas are transformed to statecharts

Then,

The variables (in/out params) of each state activity are defined

the transition expressions are defined

Page 26: Engineering Ambient Intelligence Systems using Agent Technology

Transformation templates

Are applied recursively in formulas

Page 27: Engineering Ambient Intelligence Systems using Agent Technology

The Inter- and Intra-Agent Control

The inter-agent control (EAC) is a statechart defining the parallel behaviour of two or more roles

The intra-agent control (IAC) coordinates the interactions between the agent’s capabilities (or modules)

Every role in an EAC can be merged in the IAC model as-is and it can be refined: By turning a state to a superstate with substates

IAC allows the parallel execution of multiple protocols

Page 28: Engineering Ambient Intelligence Systems using Agent Technology

The EAC model for AssignPills

Page 29: Engineering Ambient Intelligence Systems using Agent Technology

And the Personal Assistant

Page 30: Engineering Ambient Intelligence Systems using Agent Technology

Automatic Code Generation

Automatically generating all control code. The developer just needs to invoke functions at appropriate parts

Page 31: Engineering Ambient Intelligence Systems using Agent Technology

Automatic Code Generation

Automatically generating all control code. The developer just needs to invoke functions at appropriate parts

Page 32: Engineering Ambient Intelligence Systems using Agent Technology

The ASEME Dashboard

Page 33: Engineering Ambient Intelligence Systems using Agent Technology

AmI Architecture

Environment

Interfaces(standards)

People

ComputingSubsystems

Sensors

Page 34: Engineering Ambient Intelligence Systems using Agent Technology

Integrated System Architecture

Page 35: Engineering Ambient Intelligence Systems using Agent Technology

MAS Architecture

Page 36: Engineering Ambient Intelligence Systems using Agent Technology

Agents Architecture

Page 37: Engineering Ambient Intelligence Systems using Agent Technology

HERA trials

Two development iterations

We focused in two categories of users:

the end-users (who use the HERA services) A total of 30 end-users (10 healthy elderly, 8 suffering from A total of 30 end-users (10 healthy elderly, 8 suffering from

MCI, 8 suffering from mild AD, and 4 suffering from moderate AD) were selected to participate in the project trials phase

the Medical Personnel (who configure the HERA services and assess the end users’ progress).

10 medical experts

Page 38: Engineering Ambient Intelligence Systems using Agent Technology

Results

Satisfaction of the users for the two phases

Page 39: Engineering Ambient Intelligence Systems using Agent Technology

Concluding

We showed how a practitioner can apply the ASEME methodology, a model-driven development methodology, to build an AmI systemsystem

We proposed an architecture for such a successful real world system (HERA)

The system validation results show that agent technology aids personal assistance in ambient intelligence environments

Page 40: Engineering Ambient Intelligence Systems using Agent Technology

This presentation was about the IEEE Intelligent Systems paper:

Spanoudakis N., Moraitis, P.. Engineering Ambient Intelligence Systems using Agent Technology. IEEE Intelligent Systems, Vol. 30, Issue 3, May-June 2015, pp. 60-67

Find the paper@ http://dx.doi.org/10.1109/MIS.2015.3

More on ASEME: http://aseme.tuc.gr

THANK YOU!

More on ASEME: http://aseme.tuc.gr

More on HERA: http://w3.mi.parisdescartes.fr/hera

More on Nikos: http://users.isc.tuc.gr/~nispanoudakis