Presentation on theme: "Spring-2007 Vagan Terziyan"— Presentation transcript:
1 Spring-2007 Vagan Terziyan TIES-423 (TLI363) – Agent Technologies in Mobile Environment former name: TLI371 – Distributed Artificial Intelligence in Mobile Environment Course IntroductionVagan TerziyanDepartment of Mathematical Information TechnologyUniversity of Jyvaskyla;
3 Practical Information 12 Lectures (2 x 45 minutes each, in English) during period 12 March - 24 April according to schedule:8 lectures by Vagan Terziyan – theory;4 lectures by Artem Katasonov – theory and practice;4 Laboratory works in computer class (2 x 45 minutes each, in English) during period 7 May - 15 May according to schedule, by Artem Katasonov;Slides for lectures: available online;Assignment. Based on the theoretical part of the course. Make PowerPoint presentation based on a research paper);Group Exercise. Based on the practical part of the course and related to design of a multi-agent system with SmartResource Platform (a tool on the top of JADE);Exercise and assignment should be available for review until 31 May (24:00);Exam: There will be no exam. Course grade will be given based on the exercise and assignment quality.
4 Lectures Topics and Schedule (1) 12 March 2007 – Course Introduction (today)Lecture 1 - ”Agent Technologies in Mobile Environment: Course Introduction”13 March 2007 – Overview of Intelligent AgentsLecture 2 - ”What is an Intelligent Agent ?”19 March 2007 – Overview of (Multi)Agent Technologies - ILecture 3 - ”Agent Technologies - I”20 March 2007 – Overview of (Multi)Agent Technologies - IILecture 4 - ”Agent Technologies - II”26 March 2007 – Agent Intelligence – ILecture 5 - ” Agent Logic, Reasoning and Planning”27 March 2007 – Agent Intelligence – IILecture 6 - ” Agent Learning and Knowledge Discovery”2 April 2007 – Industrial Applications of Agent Technology - ILecture 7 - ”SmartResource: Agent-Based Self-Managed Web Resources - I”3 April 2007 – Industrial Applications of Agent Technology - IILecture 8 - ”SmartResource: Agent-Based Self-Managed Web Resources - II”Ag. C134.1Ag. Auditorio 2Ag. C233.1Monday lectures: 12:15 – 13:55; Break: 13:00 – 13:10; Place: Agora AlfaTuesday lectures: 10:15 – 11:55; Break: 11:00 – 11:10; Place: Agora Alfa
5 Lectures Topics and Schedule (2) 16 April – Agents as a Novel Software Engineering ParadigmLecture 9 - ” Agent-Oriented Software Engineering”17 April 2007 – Agent PlatformsLecture 10 - ”Agent Standards and Platforms”23 April – Introduction to JADE ProgrammingLecture 11 - ”Introduction to JADE”24 April – Development with SmartResource PlatformLecture 12 - ”SmartResource Platform”7 May – Agent Design Lab - ILab. work 1 - ”Getting started with JADE”8 May – Agent Design Lab - IILab. work 2 - ”Development for SmartResource I”14 May – Agent Design Lab - IIILab. work 3 - ” Development for SmartResource II”15 May – Agent Design Lab - IVLab. work 4 - ” Development for SmartResource III”Place: Computer ClassMonday lectures: 12:15 – 13:55; Break: 13:00 – 13:10; Place: Agora AlfaTuesday lectures: 10:15 – 11:55; Break: 11:00 – 11:10; Place: Agora Alfa
6 Course MotivationGrowing complexity of computer systems and networks used in industry need for new approaches to manage and control themIBM vision: Autonomic computing – Self-Management (includes self-configuration, self-optimization, self-protection, self-healing)Ubiquitous computing, “Internet of Things” huge numbers of heterogeneous devices are interconnected“nightmare of pervasive computing” when almost impossible to centrally manage the complexity of interactions, neither even to anticipate and design it.We believe that self-manageability of a complex system requires its components to be autonomous themselves, i.e. be realised as agents.Agent-based approach to SE is also considered to be facilitating the design of complex systems
7 INTEL: Proactive Computing Concept (1) Intel Research initiated work on Proactive Computing (beginning 2001) - working towards environments in which networked computers proactively anticipate our needs and, sometimes, take action on our behalf.Intel identified three steps that are essential to making proactive computing a reality:The first is getting physical — connecting billions of computing devices directly to the physical world around them so that human beings are no longer their principal I/O devices.The next step is getting real — having computers running in real time or even ahead of real time, anticipating human needs rather than simply responding to them;The third step is getting out — extending the role of computers from the office and home into the world around us and into new application domains.
8 INTEL: Proactive Computing Concept (2) “Intel Research is exploring computing futures that overlap autonomic computing but also explore new application domains that require principles we call proactive computing, enabling the transition from today’s interactive systems to proactive environments that anticipate our needs and act on our behalf.”(R. Want, T. Pering, D. Tennenhouse, Comparing Autonomicand Proactive Computing, IBM Systems Journal, Vol 42, No 1, 2003)Proactive system design is guided by seven underlying principles:connecting with the physical world,deep networking,macro-processing,dealing with uncertainty,anticipation,closing the control loop,making systems personal.
9 IBM: Autonomic Computing (1) The computing domain is now a vast and diverse matrix of complex software, hardware and services. By 2020 we expect billions of devices and trillions of software processes, with a lot of data. And it's not just a matter of numbers. It's the complexity of these systems and the way they work together that is creating a shortage of skilled IT workers to manage all of the systems. It's a problem that's not going away, but will grow exponentially, just as our dependence on technology has.Autonomic Computing is about how to enable computing systems to operate in a fully autonomous manner. No administration, just simple high-level policy statements.Autonomic Computing is an approach to self-managed computing systems with a minimum of human interference. The term derives from the body's autonomic nervous system, which controls key functions without conscious awareness or involvement.
11 IBM: Service-Oriented Architecture (1) Message from the Vice President, IBM Asset and Integration Technology, Software Group“As we regard the advances that have moved us into the 21st century, we observe that information technology (IT) seems to repurpose itself almost every year. Like the invention of transistors … the new service-oriented thinking and its application to IT known as service-oriented architecture (SOA) distinguishes itself as a paradigm change. Seen in the context of an entirely new service-oriented “business ecosystem,” SOA could be one of the most significant technological advances, enabling the IBM corporate strategy of business on demand...”“Business processes must be decomposed, services must be created, and the supporting machinery must be implemented, so that the business ecosystem can run effectively, efficiently, and manageably.”“IBM has found that businesses which made the transition to service-oriented enterprises have shown significant savings in maintenance, personnel, and software and hardware costs. This transition starts with the use of the Component Business Model (CBM) … and continues with the application of Service Oriented Modeling and Architecture (SOMA)...”
12 IBM: Service-Oriented Architecture (2) In the current business environment in which companies are under increasing pressure not only to increase revenue but also to respond quickly to changing market conditions, companies will be successful only if they transform themselves and become on demand businesses.Needed transformation changes include componentization and service-orientation.Componentization enables a business to operate in a value net, a network of partnerships with customers and suppliers supported by real-time information flows and information technology systems.Service-orientation is needed to achieve seamless integration of business components.Recent IBM activities and experiences in this area prove high business value for these challenges.L. Cherbakov, G. Galambos, R. Harishankar, S. Kalyana, and G. Rackham, Impact of service orientation at the business level, In: Service-Oriented Architecture, IBM Systems Journal , Volume 44, Number 4, December 2005.
13 Norwegian University of Science and Technology, Trondheim TAPASThe “Theatre” metaphorTheatre: A metaphor for concepts and functionality definition.Repertoire: The set of Plays that may be performed at the theatre.Play: Defines a set of logically related functionality.Director role figure: The manager of plays, and supervisor for application role figures, constituted by an actor .Application role figures : The performers of plays. Constituted by actors playing roles.Capability: A unique set of properties of an actor at the stage where he is playing.Role session: A dialogue between two role figures.ActorsManuscript: The assigned behavior, i.e. the defined role of a role figure, constituted by an an actor.Norwegian University of Science and Technology, Trondheim
14 Google: Excellent content and context provider for Web applications Google Maps,Google Earth,Wikimapia,GMail,Blogger,etc.
15 Two alternative trends of Web development Machines, devices, software, etcHuman CommunitiesSemantic WebWeb 2.0Facilitates Human-to-Human interactionWikisMetadataBlogsOntologiesFacilitates Machine-to-Machine interactionSW ServicesMashupsAgentsWeb-ServicesWebEAI PortalsCommunity Portals
16 What is WikiWiki is the simplest online database that could possibly work.Wiki is a piece of server software that allows users to freely create and edit Web page content using any Web browser.Wiki supports hyperlinks and has a simple text syntax for creating new pages and crosslinks between internal pages on the fly.Wiki is unique among other group communication mechanisms because it allows editing the organization of content in addition to the content itself.Wiki encourages democratic use of the Web by promoting content composition by non-technical users.
17 Collaborative editing window Sample of Wiki Web pageCollaborative editing window
22 Web resources / services / DBs / etc. Semantic Web: Resource IntegrationSemantic annotationShared ontologyWeb resources / services / DBs / etc.
23 This is just a small part of Semantic Web concern !!! Semantic Web: which resources to annotate ?This is just a small part of Semantic Web concern !!!Technological and business processesExternal world resourcesWeb resources / services / DBs / etc.Semantic annotationShared ontologyMultimedia resourcesWeb users (profiles, preferences)Smart machines, devices, homes, etc.Web agents / applications / software componentsWeb access devices and communication networks
24 GUN Concept GUN – Global Understanding eNvironment GUN = Global Environment+Global UnderstandingProactive Self-Managed Semantic Web of Things= (we believe) =“Killer Application” for Semantic Web Technology
25 GUN and Ubiquitous Society GUN can be considered as a kind of Ubiquitous Eco-System for Ubiquitous Society – the world in which people and other intelligent entities (ubiquitous devices, agents, etc) “live” together and have equal opportunities (specified by policies) in mutual understanding, mutual service provisioning and mutual usability.Human-to-HumanHuman-to-MachineMachine-to-HumanMachine-to-MachineAgent-to-Agent
26 Core technologies for GUN DistributedArtificialIntelligenceSemantic TechnologyInteroperability, Automation and IntegrationReusable semantic history blogsReusable semantic behavior patterns and process descriptionsReusable coordination, design, integration and composition patternsReusable decision-making patternsReusable interface patternsReusable security and privacy policiesProactivityAutonomic behaviorCommunication, coordination, negotiation, contractingSelf-Configuration and Self-ManagementLearning based-on liveblog histories;Data Mining and knowledge discovery;Dynamic integration;Diagnostics and prediction;Model exchange and sharing
27 GUN-GERI-UBIWARE-SmartResource ? GUNGERIUBIWARESmartResourceGUN (Global Understanding Environment) – Proactive Self-Managed Semantic Web of Things - general concept and final destinationGERI (Global Enterprise Resource Integration) – GUN subset related to industrial domainsUBIWARE – middleware for GERISmartResource – semantic technology, pilot tools and standards for UBIWARE
29 One of Smart Resource Scenarios “Knowledge Transfer from Expert to Service”Agent plays roles:Scene 1: “diagnostic expert”;Scene 2: “no play”;Scene 3: “no play”“Expert”Labelled dataAgent plays roles:Scene 1: “no play”;Scene 2: “student”;Scene 3: “diagnostic expert”Watching and querying diagnostic dataQuerying diagnostic results“Device”Labelled dataLabelled data“Service”Labelled dataHistory dataQuerying data for learningLearning sample and Querying diagnostic resultsAgent plays roles:Scene 1: “patient”;Scene 2: “teacher”;Scene 3: “patient”Diagnostic model
30 Agent-driven EAI (1) Data Warehouse USERS UBIWARE operator field crew expertconsumersownermanageradministrationUSERSUBIWAREProductionExternalApplicationsServicesMaintenanceIntelligenceEnterprise portalAutomationData Warehouse
31 AI tools (Knowledge Discovery) Sensors and alarm detectors Agent-driven EAI (2)AI tools (Knowledge Discovery)Sensors and alarm detectorsSoftware and servicesMaintenance workersOperatorsExpertsUBIWAREResource infoOther usersUBIWAREIndustrialResourceData Warehouse
33 Agent-driven EAI in mobile environment customersmanageradministrationCall centerfield crewExpert/specialistUBIWAREData WarehouseIntelligenceGPS
34 Agent-driven integration in mobile environment 3G WWANOperating on 3G WWANZone 1Zone 2Zone 3Plug into power jack Wakeup Wi-FiContinue over Wi-FiWakeup Wi-FiZone 4Zone 5Zone 6AirportRadio State3G WWANWi-FiWiMAXGPSRadio State3G WWANWi-FiWiMAXGPSRadio State3G WWANWi-FiWiMAXGPSRadio State3G WWANWi-FiWiMAXGPSRadio State3G WWANWi-FiWiMAXGPSRadio State3G WWANWi-FiWiMAXGPSRadio State3G WWANWi-FiWiMAXGPSWi-Fi Link Going Down.Connect to Wi-FiHomeContinue session on 3G WWANContinue session on Wi-FiBattery level lowShutdown WiMAXSwitch to 3G WWANOperator initiated switch to WiMAXContinue session on WiMAXShutdown Wi-FiZone 7WiMAXZone 8WiMAXZone 9IEEE for Network DiscoveryIEEE , SIP, VCC, IMS, for Network Selection and Service Continuity across multiple radios (3G WWAN Wi-Fi WiMAX)802.21, SIP, IMS for Service Continuity (Wi-Fi WiMAX)VCC, SIP, IMS for Call Continuity (3G WWAN Wi-Fi)
35 Agent-driven peer-to-peer environments JADE-LEAP Agent Platform is extension to JADE (special container within JADE)Target devicesJava MIDP-capable phonesPDA devicesSmallest available platform in terms of footprint sizeProprietary device-initiated and socket based communication channel with main containerDeveloped within LEAP projectOpen-sourceMikko Laukkanen
36 Agent-Driven EAI (Human-Centric) 2Human as UBIWARE service providerSensingOnline MonitoringTestingDiagnosticsTreatmentUBIWAREHumanas UBIWARE Resource(i.e. service consumer)Human as UBIWARE user(utilizing integrateddata and knowledge)Human asUBIWAREadministrator4Data WarehouseUBIWARE31
37 Word-Wide Correlated Activities Semantic WebAgentcities is a global, collaborative effortto construct an open network of on-line systemshosting diverse agent based services.Semantic Web is an extension of the currentweb in which information is given well-definedmeaning, better enabling computers and peopleto work in cooperationAgentcitiesGrid ComputingWide-area distributed computing, or "grid” technologies,provide the foundation to a number of large-scale effortsutilizing the global Internet to build distributed computingand communications infrastructures.FIPAFIPA is a non-profit organisation aimedat producing standards for the interoperationof heterogeneous software agents.Web ServicesWWW is more and more used for application to application communication.The programmatic interfaces made available are referred to as Web services.The goal of the Web Services Activity is to develop a set oftechnologies in order to bring Web services to their full potential
38 Java programming, AI basics Package of coursesJava programming, AI basicsSpringFallDesign of distributed, self-descriptive, autonomous, proactive, self-managed, interoperable, intelligent systems, applications and services
44 Lectures 7-8: Industrial Applications of Agent Technology: SmartResource - Agent-Based Self-Managed Web Resources
45 Lecture 9: Agents as a Novel Software Engineering Paradigm BenefitsAgent platforms and agent programming languages (APL)Potential effect on problem analysis and requirements processesThis and following lectures are by Artem Katasonov
50 Assignment in briefStudents are expected to select one of below recommended papers (or any other relevant research paper from the Web) and make PowerPoint presentation based on that paper. The presentation should provide evidence that a student has got the main ideas of the paper, is able to provide his personal additional conclusions and critics to the approaches used.
51 Evaluation criteria for the assignment Content and Completeness;Clearness and Simplicity;Discovered Connections to ATME Course Material;Originality, Personal Conclusions and Critics;Design Quality.
52 Format, Submission and Deadlines Format: PowerPoint .ppt , name of file is student’s family name;Presentation should contain all references to the materials used, including the original paper;Deadline - 31 May 2007 (24:00);Files with presentations should be sent by to Vagan Terziyan andNotification of evaluation - until 10 June.
56 Group Exercise in brief In small groups of 2-4 peopleBased on the practical part of the course and related to design of a multi-agent system with SmartResource Platform.At least some members of the group should have some experience in JAVA programming (for developing RABs).Since a major part of development work under SmartResource Platform is done through high-level scripting in semantic APL, students without experience in JAVA can participate as well, taking these tasks.Deadline - 31 May 2007 (24:00);Source files and minimal documentation should be sent by to Artem Katasonov
57 Information about Related Course Agent Technologies in the Semantic Web;by Vadim Ermolayev;recommended as additional reading.
58 Additional reading (1): Agent Reasoning with Uncertainty: Introduction to Bayesian Networks
59 Additional Reading (2): Personalization in Mobile Environment
62 Some Professions around Semantic Web Content creatorsAI ProfessionalsContentLogic, Proof and TrustMobile Computing ProfessionalsOntologiesWeb designersAgentsAnnotationsOntology engineersSoftware engineers
63 Lecture n: Agents for Personalizing Web Resources: Web Content Personalization Overview
70 Task for the Exercise (according to A. Raja) (1) Consider the home of the future where there are software agents in a mobile environment that are helping to manage the running of a house. There will be:(1) Personal assistant agents that will know of your preferences of temperature, humidity, light, sound, etc., and who you want to interact with;(2) There will be agents that can measure appropriate environmental conditions with specific devices;(3) There will be agents that effect appropriate environmental conditions with specific devices;(4) There will be agents that control expenses for the use of appropriate devices;(5) There will be agents that manage the telephone communications;(6) There will be agents that manage security issues such as fire, earthquake, flood protection, etc.
71 Task for the Exercise (according to A. Raja) (2) Assume that the agents are heterogenous (i.e. have not be generated by one designer), for example when you get a new device it will come with an agent; for instance, the heating measurement agent may not come from the same company as the air-conditioning agent.Think about the possibility of having these agents work together. What are the capabilities of the agents, what type of cooperation needs to occur among them, are there needs for the agents to negotiate, are there situations where local objectives are at odds with global objectives such as minimizing electrical usage? What type of information needs to be exchanged among the agents?
72 Task for the Exercise (according to A. Raja) (3) How would you organize the agents – would you have a hierarchy of agents in terms of their control responsibilities? How would you allow agents to integrate new agents into the system, for instance, when you buy a new device.What are the specific characteristics required by a language in order that these agents can share information? If there are no dedicated resources for each agent, but rather a pool of resources that can be used by agents, what new issues does this introduce? Do agents need to reason about the intentions of other agents?
73 Task for the Exercise (according to A. Raja) (4) In answering these and related issues that you may consider, please be concrete with specific and numerous examples/scenarios. You should first start out the effort by detailing the collection of agents that you see in the house of the future, what their responsibilities are, and their patterns of interaction with other agents. Including figures, it should be at least 5 pages long.
74 Format, Submission and Deadlines Format: MS Word doc. (winzip encoding allowed), name of file is student’s family name;Presentation should contain all references to the materials used;Deadline - 20 October 2004 (24:00);Files with presentations should be sent by to Vagan TerziyanNotification of evaluation - until 29 October.