Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Exploring Parallel Processing for Search Intensive Algorithms: A Thesis, Study notes of Reasoning

This thesis investigates the potential of parallel processing for minimizing computational costs in search intensive algorithms. It discusses the limitations of current parallel processing systems and proposes a tool for analyzing problem types and determining expected performance improvements. The focus is on AI applications and heuristic search.

What you will learn

  • What is the sensitivity of real-time performance to problem structure?
  • What are the potential benefits of parallel processing for AI applications?
  • What is the aim of this thesis investigation?
  • How can the proposed tool be used to explore major issues involved in parallel processing of AI problems?

Typology: Study notes

2021/2022

Uploaded on 09/12/2022

norris
norris 🇬🇧

4

(5)

212 documents

1 / 164

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
AO-ft63
94?
REASONING
IN
REAL-TINE
FOR
THE
PILOT ASSOCIATE
AM 1/2
EXANINATION
OF
A
NODEL..
(U)
AIR
FORCE
INST
OF TECH
NRIGHT-PATTERSON
AFI
OH
SCHOOL
OF
ENGI.
D 0
NORAN
UNLSIIDDEC
85 AFIT/GCS/ENG/'83D-12
F/G 6/4
U
1mhhmmhmhmhhhhu
I
~mEhhEE
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58
pf59
pf5a
pf5b
pf5c
pf5d
pf5e
pf5f
pf60
pf61
pf62
pf63
pf64

Partial preview of the text

Download Exploring Parallel Processing for Search Intensive Algorithms: A Thesis and more Study notes Reasoning in PDF only on Docsity!

AO-ft63 94? (^) EXANINATION REASONING IN OF REAL-TINE A NODEL.. FOR (U) THE AIR (^) PILOTFORCE ASSOCIATE INST OF TECH AM 1/ UNLSIIDDEC^ NRIGHT-PATTERSON 85 AFIT/GCS/ENG/'83D-12^ AFI^ OH^ SCHOOL^ OF^ ENGI.^ D 0 F/G^ NORAN 6/4 U

1mhhmmhmhmhhhhu

I ~mEhhEE

11111L- 11.

MIRCP (^) NIINBRREOUIOL AO (^) SAN ETRD 193 HR

N.

ww.

AFIT/GCS/ENG/85D-

DTIC

ELECTE

FEB 12988

REASONING PILOT IN (^) REAL-TINE ASSOCIATE: FOR THE AN EXAMINATION OF A MODEL BASED APPROACH TO REASONING INTELLIGENCE IN REAL-TIME SYSTEMS FOR USING ARTIFICIAL A DISTRIBUTED ARCHITECTURE THESIS

" i^ -

Douglas (^) AFIT/GCS/ENG/85D-0. Norman, Captain, 12 USAF

Aref .p.

. - .-.- .*^.

AFIT/GCS/ENG/85D-

-" (^) REASONING IN REAL-TIME FOR THE PILOT ASSOCIATE: AN EXAMINATION OF A MODEL BASED APPROACH (^) TO REASONINGINTELLIGENCE IN REAL-TIME SYSTEMS FOR USING ARTIFICIAL A DISTRIBUTED ARCHITECTURE

THESIS

Presented to the Faculty (^) of the School of Engineering of the Air Force Institute of Technology Air University In Partial Fulfillment of the Requirements for the Degree of Master (^) of Science in Computer SystemscesoiF NTIS (^) CRA&I U

Douglas 0. Norman, B.S. By........... Captain, USAF (^) , AvailabdfitY (^) Codes It Avail~do

December 1985 tEA Approved for public release; distribution (^) unlimited .- QuAJ..T^ IT^ "

--- I

Since the area of this thesis is nominally the Pilot Associ- ate, this would be less than ideal. Why did I do this thesis? Today, many assert that they will build "real-time" Artificial Intelligence systems which will do all sorts of wonderful things. Building these systems seems to be an ad-hoc affair where one builds a system; runs it; discovers it won't (^) work in "real-time" except on toy problems; then builds another system. The lessons learned tend to be of the type: "get a faster com- puter," or "it'll be alright when parallel computers are perfected." The algorithms used tend to go unexamined. I found my education in the theory-of-computation (^) sequence prepared (^) me to approach the real-time AI problems from a slightly different perspective than that which I found in the literature or as presented by many government contractors. This perspective seemed to highlight some errors in thought that they exhibited. This seemed to make "real-time A" ideal for a thesis as it is both interesting and timely.

- Douglas 0. Norman

iii7 7

    • .* * .* -.. (^) : •.%

Table of Contents

  • Page Preface.............. ... .. .. ....... ii List of Figures .. ...............^.^.^.^ vi List of Tables. .................^.^.^ viii Abstract..........................ix I. Introduction. ...............^^1 The Pilot Associate........ .. .. .. ..... 1 A The Computation Task of "Planning".. Issue. ............. (^).. (^).. (^).. (^).. (^2) 5 Real-Time: What Is It?. ............ 8 Problem Scope. (^) .. ................... Statement.^ ......^ ... ..^ ..^1011 Approach................... overview of^ the^ Thess............12^ - Ii. Distributing a Task Among Processors: A Data-Flow Approach.... .. .. .. .. .. 14 Background An Analysis. ........ ........... .. ..^ ..^ ........^ ....^^14 17 Summary. ........ ... .. .. .. 25 III. A Propagation Distributed Architecture Data-Flow Constraint .............. 26 A Parallel Game Problem. Processing ............... in DDAFCON.........33 26 The The "Strong"Parallel Components" Paths" Method Method. (^). .. .. .. .. (^35) 40 Execution Control. .......... .... 46 Why^ A^ Complexity Not Rules?^ Analysis. ..............^ ...............^.^^5^60 Summary.. .. .. .. .. .. .. .. .. 62

iv

' ~. * a.

List of Figures Figure Page

1. The Data-Flow Network for the Example^ Problem^^32

  1. "Strongly Connected Components" Network Partition and Schedule.. .............^39 3. The Parallel-Paths Algorithm .......... 43
  2. "Parallel-Paths" Network Partition and Schedule. 44 5. Schedule Produced on Altered Set of Agents.. 45 6. A Macro View of Data-Flow Through the "Game" Problem ....... .................... ... 48 7. Diagramatic Representation of Dependency-Set Interrelations................. 54
  • 8. Data-Flow Network for c - a/b .. ......... .. 56 9. Constraint-Set for c = a/b .............. 56 10. Overlapping Constraint-Sets ..... .......... 57 11. Blackboard Segment Structure ..... .......... 68
  1. Packet Structure ..... ................ ... 72 13. DFDM Declaration for Distance = Rate ***** Time. 73
  2. Graph Segment Produced for Figure 13 ...... 73 15. Major Constraint-Set for Flight Plan Application. ................. 94 16. Completion Using SCM (^) ........ Times and Speedup ................ for Scenario (^1) ... 97 17. Completion Using PPM Times... (^) and. ............ Speedup for Scenario (^198) 18. Completion Times and Speedup for Scenario 2 Using SCM ...... ................... ... 99 It.

vi

Figure Page

19. Completion Times and Speedup for (^) Scenario 2 Using PPM (^) 100

  1. Processor (^) Utilization for Both Scenarios 102
  2. Overhead Estimates for Both (^) Scenarios 106

vii

-77-771 Z

Abstract

The use of artificial intelligence^ (AI)^ techniques for pilot aiding in real-time (DoD Pilot Associate--PA) introduces some seemingly intractable^ problems.^ Most algorithms which will be used in a PA are search intensive with exponential-order-time-complexities.^ The^ thesis^ out- lines the problem, and explores the possibility of^ using parallel processing for minimizing the computational costs. Methods for, and results from, distributing data and functions among many processors are^ presented.^ An^ exten- sion to the blackboard structure^ used^ in^ many^ Al^ systems, called a^ "virtual^ blackboard"^ is^ introduced.^ The^ results and techniques are bundled into a prototype distributed^ data- flow constraint-network application system^ called^ DDAFCON. DDAFCON is discussed, and a flight-planning application is presented using DDAFCON. The results are discussed. It is shown that the maximum speedup due^ to^ parallel processing is bounded by^ the^ number^ of^ processors^ which^ a^ ..^ -, problem solution can accept. An algorithm is presented for finding the maximum number of^ parallel^ pieces^ of^ a^ problem solution. In general, distributing an intractable problem over many processors^ is^ unlikely^ to^ result^ in^ a^ tractable problem. Reasons^ for^ this^ are^ explored.

ix

7--...

The thesis concludes that generalized AI^ structures and reasoning paradigms (specifically, "deep models"), although seemingly^ required^ for^ the^ performance^ level desired for applications such as the PA, may not be^ realiz-

able for many real-time applications.^ A^ change^ in^ emphasis^ k

for developing real-time AI systems is suggested.

x

,'..

*- .. J '' -

° a

Iii

-- ' which the PA would need^ to^ perform^ include:^ intelligent navigation, mission planning (and dynamic re-planning when unforeseen conditions dictate), intelligent internal^ sys- tem monitoring, emergency procedure aids, standard pro- cedure monitoring, threat assessment, and tactical advise- ment. A Computation Issue Most of the AI programs which will be used to auto- mate the high-level cognitive-type tasks in the cockpit are composed of search intensive algorithms which fall into the class of algorithms known as "hard" problems. Formally, this group is defined as "NP-Complete," and all are characterized as having exponential order time- complexity which, in the worst case, involves complete enumeration of all possible solutions (1). At this date, no algorithms faster than exponential time-complexity are known or anticipated. The schema which can be used to develop a mental picture of the behavior of these algorithms is a decision.* search-tree (27). Every increment in depth in the tree gives an exponential increase in the number of^ tree^ nodes and a combinatorial increase in the number of potential paths to search. Clearly, the greater the branching factor (out-degree) of a node, the quicker the^ "exponential _f explosion." If the branching factor can be reduced to one,

. ,..

the tree degenerates (^) into a linear list; however, for any branching factor greater than one, the exponential nature .': of the algorithm remains, "tamed" somewhat but still present. Search reduction techniques have been developed (A, A,* B, C). In essence, these techniques attempt to reduce (^) the effective branching factor of the search. In AI, many researchers attempt to limit the^ problem's^ search-^. space by applying knowledge. Schank (33) developed the notion of a script to store (^) sequential-pattern type knowl- edge in a data structure. Once a script is instantiated, the typical behavioral sequences are available for reason- ing. Rouse's (^) (22) observation that flying is very "scripty" allows (^) the "usual" situations to be captured in a structure which can be accessed in time proportional (^) to the number of scripts (17). (^) What happens if a situation doesn't fit a script? If no other techniques are available, either the machine can give a "default" answer which (^) may or may not be appropriate, or (if a general reasoner is available) it must reason about the situation from a model of the environment. (^) Immediately, we're back into the exponential time complexity problem; and this is probably the time that help is most needed, when the situation is not nominal. The necessity to use algorithms (^) of this type raises the issue of whether real-time performance (^) can be extracted reliably from these systems. From the work that has been

(^3) N

% %.... (^).

-- knowledge are not sufficiently deep representations of the aerospace "world" to capture the types^ of^ knowledge^ needed^ K to reason in novel situations (10; 11). Rather, a computa- tional model of the environment is built which is rich enough to examine novel situations. This generality seems to be required of a PA which is to actually fly on missions rather than exist as a laboratory curiosity. The cost of the generality is shown to be quite high.

The Task of "Planning" Planning, in the AI literature, is defined as

... deciding on the course of action before acting.. (8:515). In a programming sense this can be envisioned as a search through a decision tree to discover a successful path. The nodes in the tree represent the various opera- tors available to bring the items being planned over into some acceptable tolerance. The path described by the excursion through the tree is the "plan." The order of the operators (^) in the path string is the order in which the (^) - operators are applied to the domain items to effect the plan. Planning need not be a blind search, as implied by the above description. Rather, many schemes exist which limit the branching in the tree, or reduce the effective depth. Besides the "scripts" method already mentioned,

-- j "hierarchical" planners have been developed [e.g. (36)].

. 3"* - j , 3. .J****. °.

This approach limits (^) the complexity by concentrating on developing plans by abstraction (^) level refinement. In these methods, the first item planned is the planning itself (meta-planning). Thus, details are (^) not considered at the highest (^) level, but are considered once the high- level plan is in place. (^) This is an instantiation of the well-known "divide-and-conquer" paradigm of software (^) engi- "S - neering. It eliminates (^) time being spent on details which will later be discarded when the (^) plan is changed at the higher levels. Wilensky (^) (41) recognized that planning about planning (meta-planning) could be guided (search space reduced) further by using appropriate (^) "meta-themes." A "meta-theme" provides a context to work within. Wilensky maintains that (^) meta-themes are important for common-sense - reasoning. A (^) meta-theme such as "satisfy hunger" might be important to a person who has gone without food for an extended period of time. This meta-theme would guide the planning (^) that the person undertook. Other schemes (^) exist for controlling the complexity besides applying specific knowledge. Discrimination (^) nets (3; 8) is an AI programming (^) technique which has the effect of changing (for example) rule searches from depth-first to breadth-first. (^) The success of this method is dependent on the breadth of the rule-tree.