Integrating AFSIM as an Internal Predictor

Similar documents
The Enterprise Knowledge Portal: The Concept

Specification of the Verity Learning Companion and Self-Assessment Tool

Module 12. Machine Learning. Version 2 CSE IIT, Kharagpur

TOKEN-BASED APPROACH FOR SCALABLE TEAM COORDINATION. by Yang Xu PhD of Information Sciences

THE DEPARTMENT OF DEFENSE HIGH LEVEL ARCHITECTURE. Richard M. Fujimoto

An Introduction to Simio for Beginners

SYSTEM ENTITY STRUCTUURE ONTOLOGICAL DATA FUSION PROCESS INTEGRAGTED WITH C2 SYSTEMS

Interaction Design Considerations for an Aircraft Carrier Deck Agent-based Simulation

Software Maintenance

Experience Corps. Mentor Toolkit

Automating the E-learning Personalization

DIGITAL GAMING & INTERACTIVE MEDIA BACHELOR S DEGREE. Junior Year. Summer (Bridge Quarter) Fall Winter Spring GAME Credits.

Commanding Officer Decision Superiority: The Role of Technology and the Decision Maker

CS Machine Learning

Guidelines for Writing an Internship Report

Evaluation of Learning Management System software. Part II of LMS Evaluation

What to Do When Conflict Happens

Social Justice Practicum (SJP) Description

Assignment 1: Predicting Amazon Review Ratings

DEVELOPMENT AND EVALUATION OF AN AUTOMATED PATH PLANNING AID

Getting Started with Deliberate Practice

Application of Cognitive Load Theory to Developing a Measure of. Team Decision Efficiency. Joan H. Johnston

Unpacking a Standard: Making Dinner with Student Differences in Mind

A student diagnosing and evaluation system for laboratory-based academic exercises

ALL-IN-ONE MEETING GUIDE THE ECONOMICS OF WELL-BEING

Writing Research Articles

Making welding simulators effective

Early Warning System Implementation Guide

ESSENTIAL SKILLS PROFILE BINGO CALLER/CHECKER

Multiplayer Computer Games: A Team Performance Assessment Research and Development Tool

OCR LEVEL 3 CAMBRIDGE TECHNICAL

Navigating the PhD Options in CMS

MULTIDISCIPLINARY TEAM COMMUNICATION THROUGH VISUAL REPRESENTATIONS

LEGO MINDSTORMS Education EV3 Coding Activities

An Automated Data Fusion Process for an Air Defense Scenario

Requirements-Gathering Collaborative Networks in Distributed Software Projects

SCHOOL WITHOUT CLASSROOMS BERLIN ARCHITECTURE COMPETITION TO

Intelligent Agent Technology in Command and Control Environment

University of North Carolina at Greensboro Bryan School of Business and Economics Department of Information Systems and Supply Chain Management

IAT 888: Metacreation Machines endowed with creative behavior. Philippe Pasquier Office 565 (floor 14)

THE VIRTUAL WELDING REVOLUTION HAS ARRIVED... AND IT S ON THE MOVE!

November 17, 2017 ARIZONA STATE UNIVERSITY. ADDENDUM 3 RFP Digital Integrated Enrollment Support for Students

Developing True/False Test Sheet Generating System with Diagnosing Basic Cognitive Ability

CSC200: Lecture 4. Allan Borodin

CHAPTER V: CONCLUSIONS, CONTRIBUTIONS, AND FUTURE RESEARCH

Section 3.4. Logframe Module. This module will help you understand and use the logical framework in project design and proposal writing.

Beyond the Blend: Optimizing the Use of your Learning Technologies. Bryan Chapman, Chapman Alliance

Age Effects on Syntactic Control in. Second Language Learning

Introduction to Modeling and Simulation. Conceptual Modeling. OSMAN BALCI Professor

Changes to GCSE and KS3 Grading Information Booklet for Parents

LEt s GO! Workshop Creativity with Mockups of Locations

Designing a Rubric to Assess the Modelling Phase of Student Design Projects in Upper Year Engineering Courses

Guidelines for Project I Delivery and Assessment Department of Industrial and Mechanical Engineering Lebanese American University

A Context-Driven Use Case Creation Process for Specifying Automotive Driver Assistance Systems

White Paper. The Art of Learning

On the Combined Behavior of Autonomous Resource Management Agents

Notes on The Sciences of the Artificial Adapted from a shorter document written for course (Deciding What to Design) 1

Student User s Guide to the Project Integration Management Simulation. Based on the PMBOK Guide - 5 th edition

City of Roseville 2040 Comprehensive Plan Scope of Services

GEOpod: Using a Game-Style Interface to Explore a Serious Meteorological Database

Bluetooth mlearning Applications for the Classroom of the Future

Myers-Briggs Type Indicator Team Report

A Pumpkin Grows. Written by Linda D. Bullock and illustrated by Debby Fisher

Objectives. Chapter 2: The Representation of Knowledge. Expert Systems: Principles and Programming, Fourth Edition

Robot manipulations and development of spatial imagery

What is PDE? Research Report. Paul Nichols

Promotion and Tenure Guidelines. School of Social Work

STABILISATION AND PROCESS IMPROVEMENT IN NAB

Specification and Evaluation of Machine Translation Toy Systems - Criteria for laboratory assignments

Using dialogue context to improve parsing performance in dialogue systems

Circuit Simulators: A Revolutionary E-Learning Platform

INPE São José dos Campos

Registration Fee: $1490/Member, $1865/Non-member Registration Deadline: August 15, 2014 *Please see Tuition Policies on the following page

Trust and Community: Continued Engagement in Second Life

Worldwide Online Training for Coaches: the CTI Success Story

CWIS 23,3. Nikolaos Avouris Human Computer Interaction Group, University of Patras, Patras, Greece

WHAT ARE VIRTUAL MANIPULATIVES?

Chamilo 2.0: A Second Generation Open Source E-learning and Collaboration Platform

PATROL OFFICER CQB. A u n i q u e C Q B c o u r s e f o r P o l i c e p e r s o n a l o n l y.

Developing a Distance Learning Curriculum for Marine Engineering Education

COACHING A CEREMONIES TEAM

Unit purpose and aim. Level: 3 Sub-level: Unit 315 Credit value: 6 Guided learning hours: 50

Including the Microsoft Solution Framework as an agile method into the V-Modell XT

Appendix L: Online Testing Highlights and Script

ECE-492 SENIOR ADVANCED DESIGN PROJECT

Memorandum. COMPNET memo. Introduction. References.

A non-profit educational institution dedicated to making the world a better place to live

From practice to practice: What novice teachers and teacher educators can learn from one another Abstract

UNDERSTANDING DECISION-MAKING IN RUGBY By. Dave Hadfield Sport Psychologist & Coaching Consultant Wellington and Hurricanes Rugby.

Data Fusion Models in WSNs: Comparison and Analysis

Loughton School s curriculum evening. 28 th February 2017

Thesis-Proposal Outline/Template

Colorado State University Department of Construction Management. Assessment Results and Action Plans

Book Review: Build Lean: Transforming construction using Lean Thinking by Adrian Terry & Stuart Smith

Essentials of Ability Testing. Joni Lakin Assistant Professor Educational Foundations, Leadership, and Technology

Indiana Collaborative for Project Based Learning. PBL Certification Process

Reinforcement Learning by Comparing Immediate Reward

Mary Washington 2020: Excellence. Impact. Distinction.

Different Requirements Gathering Techniques and Issues. Javaria Mushtaq

Laboratorio di Intelligenza Artificiale e Robotica

Transcription:

Integrating AFSIM as an Internal Predictor Bryan A. W. Jensen 1, Justin Karneeb 1, Hayley Borck 1, and David W. Aha 2 1 Knexus Research Corporation; Springfield VA; USA 2 Navy Center for Applied Research in Artificial Intelligence; Naval Research Laboratory (Code 5514); Washington, DC; USA {first.last}@knexusresearch.com david.aha@nrl.navy.mil 15 August 2014 1 Introduction My Summer 2014 internship consisted of contributing to the Autonomy for Air Combat Missions (ATACM) project at the Knexus Research Corporation, a largely collaborative effort involving the Naval Research Lab (NRL), the Naval Air Systems Command (NAVAIR) and the Air Force Research Lab (AFRL). The ATACM project s main purpose is to create an autonomous Unmanned Aerial Vehicle (UAV) capable of flying alongside a human pilot in BVR (Beyond Visual Range) air combat missions. My job as part of Knexus, subcontracted under NRL, consisted of working on the reasoning systems for the UAV, with the label the Tactical Battle Manager (TBM). NAVAIR and AFRL were responsible for interfacing the TBM with their respective simulators and providing domain specific knowledge in the realm of air combat. My contribution to the ATACM project took the form of a predictor, under the name PEPR (the Planned Expected State Predictor), for use in the goal reasoning components of the TBM. 2 ATACM Background ATACM refers to the overall project spanning NRL, NAVAIR and AFRL. AT- ACM s main goal is to develop the controller for an autonomous UAV, which has to be capable of flying wingman to a human pilot in BVR combat; this involves creating a system capable of observing the environment as well as receiving input from the human pilot in order to determine an intelligent course of action. The work I did for the ATACM project built on top of preexisting systems, a few of are briefly described below. 2.1 TBM The TBM, partially developed at Knexus Research, refers to the the suite of functionality to control the UAV s actions. It achieves this for the most part through use of a goal reasoning process (to be described later), utilizing components such as a Behavior Recognizer, planner, negotiator and predictor.

2.2 AFSIM AFSIM (Air Force Simulator, shown in Figure 1) is one of the two simulators involved in the ATACM project for use as a testing environment in which to run the TBM, the other being NGTS (Next Generation Threat System). However, AFSIM was the one chosen for use internally as a prediction mechanism due to its ability to run much faster than real-time, due to a decreased level of fidelity, which allowed for a prediction in less than a second. Throughout our work on the TBM we were in communication with the current developers of AFSIM, working out of AFRL. Fig. 1. Screenshot of AFSIM in action, with one UAV and three hostiles. 2.3 PEPR PEPR is the name given to the prediction functionality built around the use of AFSIM as an internal simulator. It is on this system that I spent the majority of my time, developing it for use in the TBM architecture. 3 My Work 3.1 Starting with AFSIM When I started work at Knexus as a part of the ATACM project, locally there was little knowledge or familiarity with AFSIM as most of the development had been done in interface with NGTS, the simulation platform provided by NAVAIR. Therefore my first task was to learn and understand the internals of AFSIM, as

well as what was needed to integrate the simulator into the TBM. This learning process consisted primarily of familiarizing myself with the AFSIM scripting language and grammar, necessary components for constructing a scenario to be simulated. I spent a fair amount of time in the provided IDE altering scenarios to determine their functionality and conceptually how AFSIM would fit into the TBM. At the same time, I was also examining the source code for the executable that accepted these source files and simulated the scenario, in order to learn how to adapt it to our system. 3.2 Creating AFSIM s Interface After determining the process by which AFSIM understands a scenario, represented in script files, the next stage was to create a programmatic interface to replace the existing executable. This would allow us to run AFSIM with dynamically created scenarios, designed to test the feasibility of a given plan. It was at this stage that I got my first real experience with work on a large code base, none of which was written by anyone with whom I had direct contact. I also gained a lot of experience with topics that I had yet to see used to great effect, such as factory classes and singletons. The end result of this stage was small wrapper library which we could import into the TBM, replacing the provided executable. This new component allowed us to programmatically provide a string, which represented the script file, and subsequently run the simulator. 3.3 The TBM Structure After the functionality was finalized for the running of dynamic simulations, the next step was to figure out where PEPR fit into the framework laid out for the UAV s reasoning system. The TBM encompasses the entire reasoning process and decision making of the UAV, and is partially depicted in part in Figure 2. The main component of the TBM, depicted in green in the center of the diagram, is the goal reasoning process, around which the cognitive system was built. Along the left is the information handling system where events such as radar input are handled and converted into useful data. On the right hand side can be seen the planning portion of the TBM, with the negotiator acting as a go-between for the planner and the goal reasoner. At the top are the systems for actual actions taken by the UAV, such as the plan executor and, in the current setup, the simulation wrapper which interfaces with the external simulator in which the entire system runs. Goal Reasoning The primary driving force behind the cognitive system of the TBM is the goal reasoner. Goal reasoning is a process in which a set of goals is maintained and, in our system as in the BDI (Belief, Desire, Intention) architecture, a dynamic list of of desires is kept and monitored. The goal reasoner is responsible for choosing the best goal(s) to optimize the values of the desires.

Fig. 2. The Tactical Battle Manager Goals are a partial state of the world some time in the future; some example goals are keep hostiles away from this zone, or destroy target hostile. Desires represent some metric of a given state, determining how much we like that given state in that specific regard. For instance, a desire may be safety for the UAV, safety for our wingman, or complete the mission. The goal reasoner is responsible for choosing goals that will result in the best status of the desires, and to do so it interacts with the negotiator in order to determine a plan of action to accomplish said goals. Negotiator It is through the negotiator that the goal reasoner makes use of the planner. The goal reasoner may come up with a goal that it believes will best suit its desires, such as destroy the hostile, don t get destroyed ourselves, and prevent the base from being attacked. The negotiator then requests that the planner generate a plan that will complete these goals. Should the planner not be able to do so, the negotiator is responsible for informing the goal reasoner about the infeasibility of a given goal set, after which the goal reasoner will generate a new set and try again. Planner The planner is in charge of turning a high level, conceptual plan into a sequence of executable events. Our planner currently relies heavily on predictions to create a plan, utilizing the AFSIM simulator to do so. It is within the planner that the prediction system PEPR is implemented.

3.4 StatePredictor At this point in the development we replaced the existing, rudimentary negotiator/planner combination with one based on behaviors and prediction. Behaviors is a term with various definitions, but we use it to mean the high level description of the actions of the platform, such as aggressive, passive, or defensive. As a first draft of the system, and in order to quickly produce a functioning product, we decided on a planner/predictor setup that relied heavily on behaviors in order to dictate the actions of not just hostiles and allies but the UAV itself. It was in this system that PEPR was to be implemented and integrated into the existing TBM architecture. Integration At this point I moved from working with AFSIM to the TBM. For me, AFSIM was a large code base and entirely foreign to both me and my co-workers, while the TBM was one that had been built from the ground-up by the technical lead in the past months. I started working on integration of the wrapper around AFSIM, a component written in C++, with the intent of making the functionality available to the TBM, a project written entirely in Java. This language mis-match ended up being a sizable hurdle, with the eventual solution being dynamic linking of the custom C++ AFSIM library into the Java code through the JNI library. AFSIM Wrapper Once we had a method of calling AFSIM from within the StatePredictor, all that remained was to create a suite of functionality to provide conversions between the data format from the TBM and the formats that AFSIM requires for its script files. This stage of development represents the majority of the work done on the PEPR sub-project, and required some interesting concept intersections where similar ideas were handled differently in the TBM, a system primarily familiar with the NGTS concepts, and AFSIM; both covered very similar concepts, but often just slightly differently. For instance, AFSIM defaults to the input method of positions via LLA (latitude, longitude, altitude), in the Degrees:Minutes:Seconds format. Internally, the TBM stores all positional data as Earth Centered, Earth Fixed (ECEF) coordinates, which is a more typical Cartesian system of (x, y, z) data points. The TBM contains all knowledge about the UAV as well as allied and hostile aircraft as a concept of Models, containing a history of states with information such as position; AFSIM accepts a component called a platform, which contains data about its capabilities and components, e.g. radar, weapons, movement, etc. Conceptual conversions were not the only type performed between AFSIM and the rest of the TBM. As AFSIM s main form of output is a text file containing Events, each being space-separated data in what amounts to a string, we had to build a robust system to parse this information into a future set of states to store in the Models for the TBM. These are but some examples of the work that PEPR has to perform to interface the simulation and prediction capabilities of AFSIM, in order to make the tool usable as part of the TBM architecture.

4 Conclusion This summer s work has predominantly provided me with an opportunity to gain experience in a multitude of ways. I ve gained experience with a working environment, where I was handling much the same duties as a typical employee and working alongside others to accomplish a project. And I ve also gained experience with areas that aren t necessarily possible in an educational environment, such as working with a foreign, evolving code base, i.e. AFSIM. Over two months of writing code for a sizable project, I learned a lot in terms of applications of concepts that had previously been touched upon, but not presented themselves as especially useful. Nine weeks of realistic, hands-on experience on a project with a defined goal, deadlines, expectations, needs, uses and purpose have been invaluable to me as a relatively new programmer, and I am very grateful that I was able to get such an opportunity. 5 Acknowledgments First of all I wish to express my thanks to the Naval Research Lab for providing the funding for myself and the ATACM project as a whole. I also want to thank Justin Karneeb, the technical lead for ATACM at Knexus, for being my unofficial mentor, and to Hayley Borck for filling a similar role. Most of all, however, I am very grateful to David Aha for giving me the opportunity to work on the ATACM project as well as for filling the role of the project head.