Neural Systems for Control1 Omid M. Omidvar and David L. Elliott, Editors February, 1997
1
This the complete book (but with different pagination) Neural Systems for Control, O. M. Omidvar and D. L. Elliott, editors, Copyright 1997 by Academic Press, ISBN: 0125264305 and is posted with permission from Elsevier. http://www.isr.umd.edu/∼delliott/NeuralSystemsForControl.pdf
ii
Contents Contributors
vii
Preface
xi
1 Introduction: Neural Networks and Automatic Control 1 Control Systems . . . . . . . . . . . . . . . . . . . . . . . . 2 What is a Neural Network? . . . . . . . . . . . . . . . . . . 2 Reinforcement Learning 1 Introduction . . . . . . . . . . . . . . . . 2 Non-Associative Reinforcement Learning 3 Associative Reinforcement Learning . . 4 Sequential Reinforcement Learning . . . 5 Conclusion . . . . . . . . . . . . . . . . 6 References . . . . . . . . . . . . . . . . .
1 1 3
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
7 7 8 12 20 26 27
3 Neurocontrol in Sequence Recognition 1 Introduction . . . . . . . . . . . . . . . . . . . . . 2 HMM Source Models . . . . . . . . . . . . . . . . 3 Recognition: Finding the Best Hidden Sequence . 4 Controlled Sequence Recognition . . . . . . . . . 5 A Sequential Event Dynamic Neural Network . . 6 Neurocontrol in sequence recognition . . . . . . . 7 Observations and Speculations . . . . . . . . . . 8 References . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
31 31 32 33 34 42 49 52 56
4 A Learning Sensorimotor Map of Arm Toward Biological Arm Control 1 Introduction . . . . . . . . . . . . . . . 2 Methods . . . . . . . . . . . . . . . . . 3 Simulation Results . . . . . . . . . . . 4 Discussion . . . . . . . . . . . . . . . . 5 References . . . . . . . . . . . . . . . .
. . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
Movements: a Step . . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
61 61 63 71 85 86
5 Neuronal Modeling of the Baroreceptor Reflex with Applications in Process Modeling and Control 89 1 Motivation . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 2 The Baroreceptor Vagal Reflex . . . . . . . . . . . . . . . . 90
iv
3 4 5 6 7
A Neuronal Model of the Baroreflex . . . . . . . . . . . . Parallel Control Structures in the Baroreflex . . . . . . . . Neural Computational Mechanisms for Process Modeling . Conclusions and Future Work . . . . . . . . . . . . . . . . References . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . .
95 103 116 120 123
6 Identification of Nonlinear Dynamical Systems Using Neural Networks 127 1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . 127 2 Mathematical Preliminaries . . . . . . . . . . . . . . . . . . 129 3 State space models for identification . . . . . . . . . . . . . 136 4 Identification using Input-Output Models . . . . . . . . . . 139 5 Conclusion . . . . . . . . . . . . . . . . . . . . . . . . . . . 150 6 References . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153 7
Neural Network Control of Robot Arms and Nonlinear Systems 157 1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . 157 2 Background in Neural Networks, Stability, and Passivity . . 159 3 Dynamics of Rigid Robot Arms . . . . . . . . . . . . . . . . 162 4 NN Controller for Robot Arms . . . . . . . . . . . . . . . . 164 5 Passivity and Structure Properties of the NN . . . . . . . . 177 6 Neural Networks for Control of Nonlinear Systems . . . . . 183 7 Neural Network Control with Discrete-Time Tuning . . . . 188 8 Conclusion . . . . . . . . . . . . . . . . . . . . . . . . . . . 203 9 References . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
8 Neural Networks for Intelligent Sensors and Control Practical Issues and Some Solutions 1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . 2 Characteristics of Process Data . . . . . . . . . . . . . . . 3 Data Pre-processing . . . . . . . . . . . . . . . . . . . . . 4 Variable Selection . . . . . . . . . . . . . . . . . . . . . . 5 Effect of Collinearity on Neural Network Training . . . . . 6 Integrating Neural Nets with Statistical Approaches . . . 7 Application to a Refinery Process . . . . . . . . . . . . . . 8 Conclusions and Recommendations . . . . . . . . . . . . . 9 References . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Approximation of Time–Optimal Control for Production Plant with General Regression work 1 Introduction . . . . . . . . . . . . . . . . . . . 2 Description of the Plant . . . . . . . . . . . . 3 Model of the Induction Motor Drive . . . . .
— 207 . 207 . 209 . 211 . 213 . 215 . 218 . 221 . 222 . 223
an Industrial Neural Net227 . . . . . . . . 227 . . . . . . . . 228 . . . . . . . . 230
v
4 5 6 7
General Regression Control Concept . Conclusion . . . . References . . . . .
Neural . . . . . . . . . . . .
Network . . . . . . . . . . . . . . . . . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
231 234 241 242
10 Neuro-Control Design: Optimization Aspects 1 Introduction . . . . . . . . . . . . . . . . . . . . 2 Neuro-Control Systems . . . . . . . . . . . . . . 3 Optimization Aspects . . . . . . . . . . . . . . 4 PNC Design and Evolutionary Algorithm . . . 5 Conclusions . . . . . . . . . . . . . . . . . . . . 6 References . . . . . . . . . . . . . . . . . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
251 251 252 264 268 270 272
11 Reconfigurable Neural Control in Precision Space Structural Platforms 279 1 Connectionist Learning System . . . . . . . . . . . . . . . . 279 2 Reconfigurable Control . . . . . . . . . . . . . . . . . . . . . 282 3 Adaptive Time-Delay Radial Basis Function Network . . . . 284 4 Eigenstructure Bidirectional Associative Memory . . . . . . 287 5 Fault Detection and Identification . . . . . . . . . . . . . . 291 6 Simulation Studies . . . . . . . . . . . . . . . . . . . . . . . 293 7 Conclusion . . . . . . . . . . . . . . . . . . . . . . . . . . . 297 8 References . . . . . . . . . . . . . . . . . . . . . . . . . . . . 297 12 Neural Approximations for Finite- and Infinite-Horizon Optimal Control 307 1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . 307 2 Statement of the finite–horizon optimal control problem . . 309 3 Reduction of the functional optimization Problem 1 to a nonlinear programming problem . . . . . . . . . . . . . . . 310 4 Approximating properties of the neural control law . . . . . 313 5 Solution of the nonlinear programming problem by the gradient method . . . . . . . . . . . . . . . . . . . . . . . . . . 316 6 Simulation results . . . . . . . . . . . . . . . . . . . . . . . 319 7 Statements of the infinite-horizon optimal control problem and of its receding-horizon approximation . . . . . . . . . . 324 8 Stabilizing properties of the receding–horizon regulator . . . 327 9 The neural approximation for the receding–horizon regulator 330 10 A gradient algorithm for deriving the RH neural regulator and simulation results . . . . . . . . . . . . . . . . . . . . . 333 11 Conclusions . . . . . . . . . . . . . . . . . . . . . . . . . . . 335 12 References . . . . . . . . . . . . . . . . . . . . . . . . . . . . 337 Index
341
vi
Contributors to this volume • Andrew G. Barto * Department of Computer Science University of Massachusetts Amherst MA 01003, USA E-mail:
[email protected] • William J. Byrne * Center for Language and Speech Processing, Barton Hall Johns Hopkins University Baltimore MD 21218, USA E-mail:
[email protected] • Sungzoon Cho Department of Computer Science and Engineering * POSTECH Information Research Laboratories Pohang University of Science and Technology San 31 Hyojadong Pohang, Kyungbook 790-784, South Korea E-mail:
[email protected] • Francis J. Doyle III * School of Chemical Engineering Purdue University West Lafayette, IN 47907-1283, USA E-mail:
[email protected] • David L. Elliott Institute for Systems Research University of Maryland College Park, MD 20742, USA E-mail:
[email protected] • Michael A. Henson Department of Chemical Engineering Louisiana State University Baton Rouge, LA 70803-7303, USA E-mail:
[email protected] • S. Jagannathan Controls Research, Caterpillar, Inc.
viii
Tech. Ctr. Bldg. “E“, M/S 855 14009 Old Galena Rd. Mossville, IL 61552, USA E-mail:
[email protected] • Min Jang * Department of Computer Science and Engineering POSTECH Information Research Laboratories Pohang University of Science and Technology San 31 Hyojadong Pohang, Kyungbook 790-784, South Korea E-mail:
[email protected] • Asriel U. Levin * Wells Fargo Nikko Investment Advisors, Advanced Strategies and Research Group 45 Fremont Street San Francisco, CA 94105, USA E-mail:
[email protected] • Kumpati S. Narendra Center for Systems Science Department of Electrical Engineering Yale University New Haven, CT 06520, USA E-mail:
[email protected] • Babatunde A. Ogunnaike Neural Computation Program, Strategic Process Technology Group E. I. Dupont de Nemours and Company Wilmington, DE 19880-0101, USA E-mail:
[email protected] • Omid M. Omidvar Computer Science Department University of the District of Columbia Washington, DC 20008, USA E-mail:
[email protected] • Thomas Parisini * Department of Electrical, Electronic and Computer Engineering DEEI–University of Trieste, Via Valerio 10, 34175 Trieste, Italy E-mail:
[email protected] • S. Joe Qin * Department of Chemical Engineering, Campus Mail Code C0400 University of Texas
0. Contributors
ix
Austin, TX 78712, USA E-mail:
[email protected] • James A. Reggia Department of Computer Science, Department of Neurology, and Institute for Advanced Computer Studies University of Maryland College Park, MD 20742, USA E-mail:
[email protected] • Ilya Rybak Neural Computation Program, Strategic Process Technology Group E. I. Dupont de Nemours and Company Wilmington, DE 19880-0101, USA E-mail:
[email protected] • Tariq Samad Honeywell Technology Center Honeywell Inc. 3660 Technology Drive, MN65-2600 Minneapolis, MN 55418, USA E-mail:
[email protected] • Clemens Sch¨affner * Siemens AG Corporate Research and Development, ZFE T SN 4 Otto–Hahn–Ring 6 D – 81730 Munich, Germany E-mail: Clemens.Schaeff
[email protected] • Dierk Schr¨ oder Institute for Electrical Drives Technical University of Munich Arcisstrasse 21, D – 80333 Munich, Germany E-mail: eat@e–technik.tu–muenchen.de • James A. Schwaber Neural Computation Program, Strategic Process Technology Group E. I. Dupont de Nemours and Company Wilmington, DE 19880-0101, USA E-mail:
[email protected] • Shihab A. Shamma Electrical Engineering Department and the Institute for Systems Research University of Maryland College Park, MD 20742, USA E-mail:
[email protected]
x
• H. Ted Su * Honeywell Technology Center Honeywell Inc. 3660 Technology Drive, MN65-2600 Minneapolis, MN 55418, USA E-mail:
[email protected] • Gary G. Yen * USAF Phillips Laboratory, Structures and Controls Division 3550 Aberdeen Avenue, S.E. Kirtland AFB, NM 8711, USA7 E-mail:
[email protected] • Aydin Ye¸sildirek Measurement and Control Engineering Research Center College of Engineering Idaho State University Pocatello, ID 83209-806, USA0 E-mail:
[email protected] • Riccardo Zoppoli Department of Communications, Computer and System Sciences University of Genoa, Via Opera Pia 11A 16145 Genova, Italy E-mail:
[email protected]
* Corresponding Author
Preface If you are acquainted with neural networks, automatic control problems are good industrial applications and have a dynamic or evolutionary nature lacking in static pattern-recognition; control ideas are also prevalent in the study of the natural neural networks found in animals and human beings. If you are interested in the practice and theory of control, artificial neural networks offer a way to synthesize nonlinear controllers, filters, state observers and system identifiers using a parallel method of computation. The purpose of this book is to acquaint those in either field with current research involving both. The book project originated with O. Omidvar. Chapters were obtained by an open call for papers on the InterNet and by invitation. The topics requested included mathematical foundations; biological control architectures; applications of neural network control methods (neurocontrol) in high technology, process control, and manufacturing; reinforcement learning; and neural network approximations to optimal control. The responses included leading edge research, exciting applications, surveys and tutorials to guide the reader who needs pointers for research or application. The authors’ addresses are given in the Contributors list; their work represents both academic and industrial thinking. This book is intended for a wide audience— those professionally involved in neural network research, such as lecturers and primary investigators in neural computing, neural modeling, neural learning, neural memory, and neurocomputers. Neural Networks in Control focusses on research in natural and artificial neural systems directly applicable to control or making use of modern control theory. The papers herein were refereed; we are grateful to those anonymous referees for their patient help.
David L. Elliott, University of Omid M. Omidvar, University of Maryland, College Park the District of Columbia July 1996
xii
1 Introduction: Neural Networks and Automatic Control David L. Elliott 1 Control Systems Through the years artificial neural networks (Frank Rosenblatt’s Perceptrons, Bernard Widrow’s Adalines, Albus’ CMAC) have been invented with both biological ideas and control applications in mind, and the theories of the brain and nervous system have used ideas from control system theory (such as Norbert Wiener’s Cybernetics). This book attempts to show how the control system and neural network researchers of the present day are cooperating. Since members of both communities like signal flow charts, I will use a few of these schematic diagrams to introduce some basic ideas. Figure 1 is a stereotypical control system. (The dashed lines with arrows indicate the flow of signals.) One box in the diagram is usually called the plant, or the object of control. It might be a manufactured object like the engine in your automobile, or it might be your heart-lung system. The arrow labeled command then might be the accelerator pedal of the car, or a chemical message from your brain to your glands when you perceive danger— in either case the command being to increase the speed of some chemical and mechanical processes. The output is the controlled quantity. It could be the engine revolutions-per-minute, which shows on the tachometer; or it could be the blood flow to your tissues. The measurements of the internal state of the plant might include the output plus other engine variables (manifold pressure for instance) or physiological variables (blood pressure, heart rate, blood carbon dioxide). As the plant responds, somewhere under the car’s hood or in your body’s neurochemistry a feedback control uses these measurements to modify the effect of the command. Automobile design engineers may try, perhaps using electronic fuel injection, to give you fuel economy and keep the emissions of unburnt fuel low at the same time; such a design uses modern control principles, and the automobile industry is beginning to implement these ideas with neural networks. To be able to use mathematical or computational methods to improve the control system’s response to its input command, mathematically the plant and the feedback controller are modeled by differential equations,
2
D.L. Elliott
Command +
Output
Σ
Plant
− Measurement Feedback Control
FIGURE 1. Control System
difference equations, or, as will be seen, by a neural network with internal time lags as in Chapter 5. Some of the models in this book are industrial rolling mills (Chapter 8), a small space robot (Chapter 11), robot arms (Chapter 6) and in Chapter 10 aerospace vehicles which must adapt or reconfigure the controls after the system has changed, perhaps from damage. Industrial control is often a matter of adjusting one or more simple controllers capable of supplying feedback proportional to error, accumulated error (“integral”) and rate of change of error (“derivative”)— a so-called PID controller. Methods of replacing these familiar controllers with a neural network-based device are shown in Chapter 9. The motivation for control system design is often to optimize a cost, such as the energy used or the time taken for a control action. Control designed for minimum cost is called optimal control. The problem of approximating optimal control in a practical way can be attacked with neural network methods, as in Chapter 11; its authors, wellknown control theorists, use the “receding-horizon” approach of Mayne and Michalska and use a simple space robot as an example. Chapter 6 also is concerned with control optimization by neural network methods. One type of optimization (achieving a goal as fast as possible under constraints) is applied by such methods to the real industrial problem of Chapter 8. Some biologists think that our biological evolution has to some extent optimized the controls of our pulmonary and circulatory systems well enough to keep us alive and running in a dangerous world long enough to perpetuate our species. Control aspects of the human nervous system are addressed in Chapters 2, 3 and 4. Chapter 2 is from a team using neural networks in signal processing; it shows some ways that speech processing may be simulated and sequences of phonemes recognized, using Hidden Markov methods. Chapter 3, whose authors are versed in neurology and computer science, uses a neural network with inputs from a model of the human arm to see how the arm’s motions may map to the cerebral cortex in a computational way. Chapter 4, which was written by a team representing control engineering, chemical engineering and human physiology, examines the workings of
1. Introduction
3
blood pressure control (the vagal baroreceptor reflex) and shows how to mimic this control system for chemical process applications.
2 What is a Neural Network? The “neural networks” referred to in this book are a artificial neural networks, which are a way of using physical hardware or computer software to model computational properties analogous to some that have been postulated for real networks of nerves, such as the ability to learn and store relationships. A neural network can smoothly approximate and interpolate multivariable data, that might otherwise require huge databases, in a compact way; the techniques of neural networks are now well accepted for nonlinear statistical fitting and prediction (statisticians’ ridge regression and projection pursuit are similar in many respects). A commonly used artificial neuron shown in Figure 2 is a simple structure, having just one nonlinear function of a weighted sum of several data inputs x1 , . . . , xn ; this version, often called a perceptron, computes what statisticians call a ridge function (as in “ridge regression”) y = σ(w0 +
n
wi xi ),
i=1
and for the discussion below assume that the function σ is a smooth, increasing, bounded function. Examples of sigmoids in common use are: σ1 (u) = tanh(u), σ2 (u) = 1/(1 + exp(−u)), or σ3 (u) = u/(1 + |u|), generically called “sigmoid functions” from their S-shape. The weightadjustement algorithm will use the derivatives of these sigmoid functions, which are easily evaluated for the examples we have listed by using the differential equations they satisfy: σ1 σ2
= 1 − (σ1 )2 = σ2 (1 − σ2 )
σ3
=
(1 − |σ3 |)2
Statisticians use many other such functions, including sinusoids. In proofs of the adequacy of neural networks to represent quite general smooth functions of many variables, the sinusoids are an important tool.
4
D.L. Elliott
n
x1
w1
y = σ(Σ1 w x )
w0
i
i
σ x
2
xn
w2
Σ sigmoid function
wn FIGURE 2. Feedforward neuron
The weights wi are to be selected or adjusted to make this ridge function approximate some known relation which may or may not be known in advance. The basic principles of weight adjustment were originally motivated by ideas from the psychology of learning (see Chapter 1). In order to to learn functions more complex than ridge functions, one must use networks of perceptrons. The simple example of Figure 3 shows a feedforward perceptron network, the kind you will find most often in the following chapters 1 . Thus the general idea of feedforward networks is that they allow us to realize functions of many variables by adjusting the network weights. Here is a typical scenario corresponding to Figure 2: • From experiment we obtain many numerical data samples of each of three different “input” variables which we arrange as an array array X = (x1 , x2 , x3 ), and another variable Y which has a functional relation to the inputs, Y = F (X). • X is used as input to two perceptrons, with adjustable weight arrays [w1 j , w2 j : j = 1, 2, 3]; their outputs are y1 , y2 . • This network’s single output is Yˆ = a1 y1 + a2 y2 where a1 , a2 can also be adjusted; the set of all the adjustable weights is W = {w1 0 , w1 1 , · · · , w2 3 , a1 , a2 }. • The network’s input-output relationship is now 2 3 ∆ ai σ(w0 i + Yˆ = Fˆ (X; W ) = wi j xj ) i=1
j=1
1 There are several other kinds of neural network in the book, such as CMAC and Radial Basis Function networks.
1. Introduction
x1
w neuron 1
y1 a 1
x2 neuron 2
x
3
^ Y= a y +a y 1 1
2
Σ
y2 a
5
2
^ Y
output layer 2
hidden layer input layer
FIGURE 3. A small feedforward network
• We systematically search for values of the numbers in W which give us the best approximation for Y by minimizing a suitable cost such as the sum of the squared errors taken over all available inputs; that is, the weights should achieve (F (X) − Fˆ (X; W ))2 . min W
X
The purpose of doing this is that now we can rapidly estimate Y using the optimized network, with good interpolation properties (called generalization in the neural network literature). In the technique just described, supervised training, the functional relationship Y = F (X) is available to us from many experiments, and the weights are adjusted to make the squared error (over all data) between the network’s output Yˆ and the desired output Y as small as possible. Control engineers will find this notion natural, and to some extent neural adaptation as an organism learns may resemble weight adjustment. In biology the method by which the adjustment occurs is not yet understood; but in artificial neural networks of the kind just described, and for the quadratic cost described above, one may use a convenient method with many parallels in engineering and science, based on the “Chain Rule” from Advanced Calculus, called backpropagation. The kind of weight adjustment (learning) that has been discussed so far is called supervised learning, because at each step of adjustment target values are available. In building model-free control systems one may also consider more general frameworks in which a control is evolved by minimizing a cost, such as the time-to-target or energy-to-target. Chapter 1 is a scholarly survey of a type of unsupervised learning known as reinforcement learning, a concept that originated in psychology and has been of great interest in applications to robotics, dynamic games, and the process industries. Stabilizing certain control systems, such as the robot arms and similar nonlinear systems considered in Chapter 6, can be achieved with on-line learning. One of the most promising current applications of neural network tech-
6
D.L. Elliott
nology is to “intelligent sensors,” or “virtual instruments” as described in Chapter 7 by a chemical process control specialist; the important variables in an industrial process may not be available during the production run, but with some nonlinear statistics it may be possible to associate them with the available measurements, such as time-temperature histories. (Plasmaetching of silicon wafers is one such application.) This chapter considers practical statistical issues including the effects of missing data, outliers, and data which is highly correlated. Other techniques of intelligent control, such as fuzzy logic, can be combined with neural networks as in the reconfigurable control of Chapter 10. If the input variables xt are samples of a time-series and a future value Y is to be predicted, the neural network becomes dynamic. The samples x1 , . . . , xn can be stored in a delay-line, which serves as the input layer to a feedforward network of the type illustrated in Figure 3. (Electrical engineers know the linear version of this computational architecture as an adaptive filter). Chapter 5 uses fundamental ideas of nonlinear dynamical systems and control system theory to show how dynamic neural networks can identify (replicate the behavior of) nonlinear systems. The techniques used are similar to those introduced by F. Takens in studying turbulence and chaos. Most control applications of neural networks currently use high-speed microcomputers, often with coprocessor boards that provide single-instruction multiple-data parallel computing well-suited to the rapid functional evaluations needed to provide control action. The weight adjustment is often performed off-line, with historical data; provision for online adjustment or even for online learning, as some of the chapters describe, can permit the controller to adapt to a changing plant and environment. As cheaper and faster neural hardware develops, it becomes important for the control engineer to anticipate where it may be intelligently applied.
Acknowledgments: I am grateful to the contributors, who made job as easy as possible: they prepared final revisions of the Chapters shortly before publication, providing LATEXand PostScriptTM files where it was possible and other media when it was not; errors introduced during translation, scanning and redrawing may be laid at my door. The Institute for Systems Research at the University of Maryland has kindly provided an academic home during this work; employer NeuroDyne, Inc. has provided practical applications of neural networks, and collaboration with experts; and wife Pauline Tang has my thanks for her constant encouragement and help in this project.
2 Reinforcement Learning Andrew G. Barto ABSTRACT Reinforcement learning refers to ways of improving performance through trial-and-error experience. Despite recent progress in developing artificial learning systems, including new learning methods for artificial neural networks, most of these systems learn under the tutelage of a knowledgeable ‘teacher’ able to tell them how to respond to a set of training stimuli. But systems restricted to learning under these conditions are not adequate when it is costly, or even impossible, to obtain the required training examples. Reinforcement learning allows autonomous systems to learn from their experiences instead of exclusively from knowledgeable teachers. Although its roots are in experimental psychology, this chapter provides an overview of modern reinforcement learning research directed toward developing capable artificial learning systems.
1 Introduction The term reinforcement comes from studies of animal learning in experimental psychology, where it refers to the occurrence of an event, in the proper relation to a response, that tends to increase the probability that the response will occur again in the same situation [Kim61]. Although the specific term “reinforcement learning” is not used by psychologists, it has been widely adopted by theorists in engineering and artificial intelligence to refer to a class of learning tasks and algorithms based on this principle of reinforcement. Mendel and McLaren, for example, used the term “reinforcement learning control” in their 1970 paper describing how this principle can be applied to control problems [MM70]. The simplest reinforcement learning methods are based on the common-sense idea that if an action is followed by a satisfactory state of affairs, or an improvement in the state of affairs, then the tendency to produce that action is strengthened, i.e., reinforced. This basic idea follows Thorndike’s [Tho11] classical 1911 “Law of Effect”: Of several responses made to the same situation, those which are accompanied or closely followed by satisfaction to the animal will, other things being equal, be more firmly connected with the situation, so that, when it recurs, they will be more likely to recur; those which are accompanied or closely followed
8
Andrew G. Barto
by discomfort to the animal will, other things being equal, have their connections with that situation weakened, so that, when it recurs, they will be less likely to occur. The greater the satisfaction or discomfort, the greater the strengthening or weakening of the bond. Although this principle has generated controversy over the years, it remains influential because its general idea is supported by many experiments and it makes such good intuitive sense. Reinforcement learning is usually formulated mathematically as an optimization problem with the objective of finding an action, or a strategy for producing actions, that is optimal in some well-defined way. Although in practice it is more important that a reinforcement learning system continue to improve than it is for it to actually achieve optimal behavior, optimality objectives provide a useful categorization of reinforcement learning into three basic types, in order of increasing complexity: non-associative, associative, and sequential. Non-associative reinforcement learning involves determining which of a set of actions is best in bringing about a satisfactory state of affairs. In associative reinforcement learning, different actions are best in different situations. The objective is to form an optimal associative mapping between a set of stimuli and the actions having the best immediate consequences when executed in the situations signaled by those stimuli. Thorndike’s Law of Effect refers to this kind of reinforcement learning. Sequential reinforcement learning retains the objective of forming an optimal associative mapping but is concerned with more complex problems in which the relevant consequences of an action are not available immediately after the action is taken. In these cases, the associative mapping represents a strategy, or policy, for acting over time. All of these types of reinforcement learning differ from the more commonly studied paradigm of supervised learning, or “learning with a teacher”, in significant ways that I discuss in the course of this article. This chapter is organized into three main sections, each addressing one of these three categories of reinforcement learning. For more detailed treatments, the reader should consult refs. [Bar92, BBS95, Sut92, Wer92, Kae96].
2 Non-Associative Reinforcement Learning Figure 1 shows the basic components of a non-associative reinforcement learning problem. The learning system’s actions influence the behavior of some process, which might also be influenced by random or unknown factors (labeled “disturbances” in Figure 1). A critic sends the learning system a reinforcement signal whose value at any time is a measure of the “goodness” of the current process behavior. Using this information,
2. Reinforcement Learning
9
disturbances
Process
Critic
reinforcement signal actions Learning System
FIGURE 1. Non-Associative Reinforcement Learning. The learning system’s actions influence the behavior of a process, which might also be influenced by random or unknown “disturbances”. The critic evaluates the actions’ immediate consequences on the process and sends the learning system a reinforcement signal.
the learning system updates its action-generation rule, generates another action, and the process repeats. An example of this type of problem has been extensively studied by theorists studying learning automata.[NT89] Suppose the learning system has m actions a1 , a2 , . . ., am , and that the reinforcement signal simply indicates “success” or “failure”. Further, assume that the influence of the learning system’s actions on the reinforcement signal can be modeled as a collection of success probabilities d1 ,d2 , . . ., dm , where di is the probability of success given that the learning system has generated ai (so that 1 − di is the probability that the critic signals failure). Each di can be any number between 0 and 1 (the di ’s do not have to sum to one), and the learning system has no initial knowledge of these values. The learning system’s objective is to asymptotically maximize the probability of receiving “success”, which is accomplished when it always performs the action aj such that dj = max{di |i = 1, . . . , m}. There are many variants of this task, some of which are better known as m-armed bandit problems [BF85]. One class of learning systems for this problem consists of stochastic learning automata. [NT89] Suppose that on each trial, or time step, t, the learning system selects an action a(t) from its set of m actions according to a probability vector (p1 (t), . . . , pn (t)), where pi (t) = P r{a(t) = ai }. A stochastic learning automaton implements a common-sense notion of reinforcement learning: if action ai is chosen on trial t and the critic’s feedback is “success”, then pi (t) is increased and the probabilities of the other ac-
10
Andrew G. Barto
tions are decreased; whereas if the critic indicates “failure”, then pi (t) is decreased and the probabilities of the other actions are appropriately adjusted. Many methods that have been studied are similar to the following linear reward-penalty (LR−P ) method: If a(t) = ai and the critic says “success”, then = pi (t) + α(1 − pi (t)) = (1 − α)pj (t), j = i.
pi (t + 1) pj (t + 1)
If a(t) = ai and the critic says “failure”, then pi (t + 1)
=
pj (t + 1)
=
(1 − β)pi (t) β + (1 − β)pj (t), m−1
j = i,
where 0 < α < 1, 0 ≤ β < 1. The performance of a stochastic learning automaton is measured in terms of how the critic’s signal tends to change over The probability that trials. m the critic signals success on trial t is M (t) = i=1 pi (t)di . An algorithm is optimal if for all sets of success probabilities {di }, lim E[M (t)] = dj ,
t→∞
where dj = max{di |i = 1, . . . , m} and E is the expectation over all possible sequences of trials. An algorithm is said to be -optimal , > 0, if for all sets of success probabilities and any > 0, there exist algorithm parameters such that lim E[M (t)] = dj − . t→∞
Although no stochastic learning automaton algorithm has been proved to be optimal, the LR−P algorithm given above with β = 0 is -optimal, where α has to decrease as decreases. Additional results exist about the behavior of groups of stochastic learning automata forming teams (a single critic broadcasts its signal to all the team members) or playing games (there is a different critic for each automaton) [NT89]. Following are key observations about non-associative reinforcement learning: 1. Uncertainty plays a key role in non-associative reinforcement learning, as it does in reinforcement learning in general. For example, if the critic in the example above evaluated actions deterministically (i.e., di = 1 or 0 for each i), then the problem would be a much simpler optimization problem.
2. Reinforcement Learning
11
2. The critic is an abstract model of any process that evaluates the learning system’s actions. The critic does not need to have direct access to the actions or have any knowledge about the interior workings of the process influenced by those actions. In motor control, for example, judging the success of a reach or a grasp does not require access to the actions of all the internal components of the motor control system. 3. The reinforcement signal can be any signal evaluating the learning system’s actions, and not just the success/failure signal described above. Often it takes on real values, and the objective of learning is to maximize its expected value. Moreover, the critic can use a variety of criteria in evaluating actions, which it can combine in various ways to form the reinforcement signal. Any value taken on by the reinforcement signal is often simply called a reinforcement (although this is at variance with traditional use of the term in psychology). 4. The critic’s signal does not directly tell the learning system what action is best; it only evaluates the action taken. The critic also does not directly tell the learning system how to change its actions. These are key features distinguishing reinforcement learning from supervised learning, and we discuss them further below. Although the critic’s signal is less informative than a training signal in supervised learning, reinforcement learning is not the same as the learning paradigm called unsupervised learning because, unlike that form of learning, it is guided by external feedback. 5. Reinforcement learning algorithms are selectional processes. There must be variety in the action-generation process so that the consequences of alternative actions can be compared to select the best. Behavioral variety is called exploration; it is often generated through randomness (as in stochastic learning automata), but it need not be. Because it involves selection, non-associative reinforcement learning is similar to natural selection in evolution. In fact, reinforcement learning in general has much in common with genetic approaches to search and problem solving [Gol89, Hol75]. 6. Due to this selectional aspect, reinforcement learning is traditionally described as learning through “trial-and-error”. However, one must take care to distinguish this meaning of “error” from the type of error signal used in supervised learning. The latter, usually a vector, tells the learning system the direction in which it should change each of its action components. A reinforcement signal is less informative. It would be better to describe reinforcement learning as learning through “trial-and-evaluation”. 7. Non-associative reinforcement learning is the simplest form of learning which involves the conflict between exploitation and exploration.
12
Andrew G. Barto
In deciding which action to take, the learning system has to balance two conflicting objectives: it has to use what it has already learned to obtain success (or, more generally, to obtain high evaluations), and it has to behave in new ways to learn more. The first is the need to exploit current knowledge; the second is the need to to explore to acquire more knowledge. Because these needs ordinarily conflict, reinforcement learning systems have to somehow balance them. In control engineering, this is known as the conflict between control and identification. This conflict is absent from supervised and unsupervised learning, unless the learning system is also engaged in influencing which training examples it sees.
3 Associative Reinforcement Learning Because its only input is the reinforcement signal, the learning system in Figure 1 cannot discriminate between different situations, such as different states of the process influenced by its actions. In an associative reinforcement learning problem, in contrast, the learning system receives stimulus patterns as input in addition to the reinforcement signal (Figure 2). The optimal action on any trial depends on the stimulus pattern present on that trial. To give a specific example, consider this generalization of the non-associative task described above. Suppose that on trial t the learning system senses stimulus pattern x(t) and selects an action a(t) = ai through a process that can depend on x(t). After this action is executed, the critic signals success with probability di (x(t)) and failure with probability 1−di (x(t)). The objective of learning is to maximize success probability, achieved when on each trial t the learning system executes the action a(t) = aj where aj is the action such that dj (x(t)) = max{di (x(t))|i = 1, . . . , m}. The learning system’s objective is thus to learn an optimal associative mapping from stimulus patterns to actions. Unlike supervised learning, examples of optimal actions are not provided during training; they have to be discovered through exploration by the learning system. Learning tasks like this are related to instrumental, or cued operant, tasks studied by animal learning theorists, and the stimulus patterns correspond to discriminative stimuli. Several associative reinforcement learning rules for neuron-like units have been studied. Figure 3 shows a neuron-like unit receiving a stimulus pattern as input in addition to the critic’s reinforcement signal. Let x(t), w(t), a(t), and r(t) respectively denote the stimulus vector, weight vector, action, and the resultant value of the reinforcement signal for trial t. Let s(t) denote
2. Reinforcement Learning
13
disturbances
Process
Critic
reinforcement signal actions
stimulus patterns
Learner
FIGURE 2. Associative Reinforcement Learning. The learning system receives stimulus patterns in addition to a reinforcement signal. Different actions can be optimal depending on the stimulus patterns.
the weighted sum of the stimulus components at trial t: s(t) =
n
wi (t)xi (t),
i=1
where wi (t) and xi (t) are respectively the i-th components of the weight and stimulus vectors. Associative Search Unit—One simple associative reinforcement learning rule is an extension of the Hebbian correlation learning rule. This rule was called the associative search rule by Barto, Sutton, and Brouwer [BSB81, BS81, BAS82] and was motivated by Klopf’s [Klo72, Klo82] theory of the self-interested neuron. To exhibit variety in its behavior, the unit’s output is a random variable depending on the activation level. One way to do this is as follows: 1 with probability p(t) a(t) = (1) 0 with probability 1 − p(t), where p(t), which must be between 0 and 1, is an increasing function (such as the logistic function) of s(t). Thus, as the weighted sum increases (decreases), the unit becomes more (less) likely to fire (i.e., to produce an output of 1). The weights are updated according to the following rule: ∆w(t) = η r(t)a(t)x(t),
14
Andrew G. Barto
r
reinforcement signal
x1
stimulus pattern
x2
xn
w1 w2 Adaptive Unit wn
a output
weight vector
FIGURE 3. A Neuron-Like Adaptive Unit. Input pathways labeled x1 through xn carry non-reinforcing input signals, each of which has an associated weight wi , 1 ≤ i ≤ n; the pathway labelled r is a specialized input for delivering reinforcement; the unit’s output pathway is labelled a.
where r(t) is +1 (success) or −1 (failure). This is just the Hebbian correlation rule with the reinforcement signal acting as an additional modulatory factor. It is understood that r(t) is the critic’s evaluation of the action a(t). In a more real-time version of the learning rule, there must necessarily be a time delay between an action and the resulting reinforcement. In this case, if the critic takes time τ to evaluate an action, the rule appears as follows, with t now acting as a time index instead of a trial number: ∆w(t) = η r(t)a(t − τ )x(t − τ ),
(2)
where η > 0 is the learning rate parameter. Thus, if the unit fires in the presence of an input x, possibly just by chance, and this is followed by “success”, the weights change so that the unit will be more likely to fire in the presence of x, and inputs similar to x, in the future. A failure signal makes it less likely to fire under these conditions. This rule, which implements the Law of Effect at the neuronal level, makes clear the three factors minimally required for associative reinforcement learning: a stimulus signal, x; the action produced in its presence, a; and the consequent evaluation, r. Selective Bootstrap and Associative Reward-Penalty Units— Widrow, Gupta, and Maitra [WGM73] extended the Widrow/Hoff, or LMS, learning rule [WS85] so that it could be used in associative reinforcement learning problems. Since the LMS rule is a well-known rule for supervised learning, its extension to reinforcement learning helps illuminate one of the differences between supervised learning and associative reinforcement learning, which Widrow et al.[WGM73] called “learning with a critic”. They called their extension of LMS the selective bootstrap rule. Unlike the
2. Reinforcement Learning
15
associative search unit described above, a selective bootstrap unit’s output is the usual deterministic threshold of the weighted sum: 1 if s(t) > 0 a(t) = 0 otherwise. In supervised learning, an LMS unit receives a training signal, z(t), that directly specifies the desired action at trial t and updates its weights as follows: ∆w(t) = η[z(t) − s(t)]x(t).
(3)
In contrast, a selective bootstrap unit receives a reinforcement signal, r(t), and updates its weights according to this rule: η[a(t) − s(t)]x(t) if r(t) = “success ∆w(t) = η[1 − a(t) − s(t)]x(t) if r(t) = “failure , where it is understood that r(t) evaluates a(t). Thus, if a(t) produces “success”, the LMS rule is applied with a(t) playing the role of the desired action. Widrow et al. [WGM73] called this “positive bootstrap adaptation”: weights are updated as if the output actually produced was in fact the desired action. On the other hand, if a(t) leads to “failure”, the desired action is 1 − a(t), i.e., the action that was not produced. This is “negative bootstrap adaptation”. The reinforcement signal switches the unit between positive and negative bootstrap adaptation, motivating the term “selective bootstrap adaptation”. Widrow et al. [WGM73] showed how this unit was capable of learning a strategy for playing blackjack, where wins were successes and losses were failures. However, the learning ability of this unit is limited because it lacks variety in its behavior. A closely related unit is the associative reward-penalty (AR−P ) unit of Barto and Anandan [BA85]. It differs from the selective bootstrap algorithm in two ways. First, the unit’s output is a random variable like that of the associative search unit (Equation 1). Second, its weight-update rule is an asymmetric version of the selective bootstrap rule: η[a(t) − s(t)]x(t) if r(t) = “success ∆w(t) = λη[1 − a(t) − s(t)]x(t) if r(t) = “failure , where 0 ≤ λ ≤ 1 and η > 0. This is a special case of a class of AR−P rules for which Barto and Anandan [BA85] proved a convergence theorem giving conditions under which it asymptotically maximizes the probability of success in associative reinforcement learning tasks like those described above. The rule’s asymmetry is important because its asymptotic performance improves as λ approaches zero. One can see from the selective bootstrap and AR−P units that a reinforcement signal is less informative than a signal specifying a desired action.
16
Andrew G. Barto
It is also less informative than the error z(t) − a(t) used by the LMS rule. Because this error is a signed quantity, it tells the unit how , i.e., in what direction, it should change its action. A reinforcement signal—by itself— does not convey this information. If the learner has only two actions, as in a selective bootstrap unit, it is easy to deduce, or at least estimate, the desired action from the reinforcement signal and the actual action. However, if there are more than two actions the situation is more difficult because the the reinforcement signal does not provide information about actions that were not taken. Stochastic Real-Valued Unit—One approach to associative reinforcement learning when there are more than two actions is illustrated by the Stochastic Real-Valued (SRV) unit of Gullapalli [Gul90]. On any trial t, an SRV unit’s output is a real number, a(t), produced by applying a function f , such as the logistic function, to the weighted sum, s(t), plus a random number noise(t): a(t) = f [s(t) + noise(t)]. The random number noise(t) is selected according to a mean-zero Gaussian distribution with standard deviation σ(t). Thus, f [s(t)] gives the expected output on trial t, and the actual output varies about this value, with σ(t) determining the amount of exploration the unit exhibits on trial t. Before describing how the SRV unit determines σ(t), we describe how it updates the weight vector w(t). The weight-update rule requires an estimate of the amount of reinforcement expected for acting in the presence of stimulus x(t). This is provided by a supervised-learning process that uses the LMS rule to adjust another weight vector, v, used to determine the reinforcement estimate rˆ: rˆ(t) =
m
vi (t)xi (t),
i=1
with ∆v(t) = η[r(t) − rˆ(t)]x(t). Given this rˆ(t), w(t) is updated as follows: noise(t) ∆w(t) = η[r(t) − rˆ(t)] x(t), σ(t) where η > 0 is a learning rate parameter. Thus, if noise(t) is positive, meaning that the unit’s output is larger than expected, and the unit receives more than the expected reinforcement, the weights change to increase the expected output in the presence of x(t); if it receives less than the expected reinforcement, the weights change to decrease the expected output. The reverse happens if noise(t) is negative. Dividing by σ(t) normalizes
2. Reinforcement Learning
17
the weight change. Changing σ during learning changes the amount of exploratory behavior the unit exhibits. Gullapalli [Gul90] suggests computing σ(t) as a monotonically decreasing function of rˆ(t). This implies that the amount of exploration for any stimulus vector decreases as the amount of reinforcement expected for acting in the presence of that stimulus vector increases. As learning proceeds, the SRV unit tends to act with increasing determinism in the presence of stimulus vectors for which it has learned to achieve large reinforcement signals. This is somewhat like simulated annealing [KGV83] except that it is stimulus-dependent and is controlled by the progress of learning. SRV units have been used as output units of reinforcement learning networks in a number of applications (e.g.,refs. [GGB92, GBG94]). Weight Perturbation—For the units described above (except the selective bootstrap unit), behavioral variability is achieved by including random variation in the unit’s output. Another approach is to randomly vary the weights. Following Alspector et. al [AMY+ 93], let δw be a vector of small perturbations, one for each weight, which are independently selected from some probability distribution. Letting J denote the function evaluating the system’s behavior, the weights are updated as follows: J(w + δw) − J(w) ∆w = −η , (4) δw where η > 0 is a learning rate parameter. This is a gradient descent learning rule that changes weights according to an estimate of the gradient of E with respect to the weights. Alspector et. al [AMY+ 93] say that the method measures the gradient instead of calculates it as the LMS and error backpropagation [RHW86] algorithms do. This approach has been proposed by several researchers for updating the weights of a unit, or of a network, during supervised learning, where J gives the error over the training examples. However, J can be any function evaluating the unit’s behavior, including a reinforcement function (in which case, the sign of the learning rule would be changed to make it a gradient ascent rule). Another weight perturbation method for neuron-like units is provided by Unnikrishnan and Venugopal’s [KPU94] use of the Alopex algorithm, originally proposed by Harth and Tzanakou [HT74], for adjusting a unit’s (or a network’s) weights. A somewhat simplified version of the weightupdate rule is the following: ∆w(t) = ηd(t),
(5)
where η is the learning rate parameter and d(t) is a vector whose components, di (t), are equal to either +1 or −1. After the first two iterations in which they are assigned randomly, successive values are determined by: di (t − 1) with probability p(t) di (t) = −di (t − 1) with probability 1 − p(t).
18
Andrew G. Barto
Thus, p(t) is the probability that the direction of the change in weight wi from iteration t to iteration t + 1 will be the same as the direction it changed from iteration t − 2 to t − 1, whereas 1 − p(t) is the probability that the weight will move in the opposite direction. The probability p(t) is a function of the change in the value of the objective function from iteration t − 1 to t; specifically, p(t) is a positive increasing function of J(t) − J(t − 1) where J(t) and J(t−1) are respectively the values of the function evaluating the behavior of the unit at iteration t and t − 1. Consequently, if the unit’s behavior has moved uphill by a large amount, as measured by J, from iteration t − 1 to iteration t, then p(t) will be large so that the probability of the next step in weight space being in the same direction as the preceding step will be high. On the other hand, if the unit’s behavior moved downhill, then the probability will be high that some of the weights will move in the opposite direction, i.e., that the step in weight space will be in some new direction. Although weight perturbation methods are of interest as alternatives to error backpropagation for adjusting network weights in supervised learning problems, they utilize reinforcement learning principles by estimating performance through active exploration, in this case, achieved by adding random perturbations to the weights. In contrast, the other methods described above—at least to a first approximation—use active exploration to estimate the gradient of the reinforcement function with respect to a unit’s output instead of its weights. The gradient with respect to the weights can then be estimated by differentiating the known function by which the weights influence the unit’s output. Both approaches—weight perturbation and unit-output perturbation—lead to learning methods for networks to which we now turn our attention. Reinforcement Learning Networks—The neuron-like units described above can be readily used to form networks. The weight perturbation approach carries over directly to networks by simply letting w in Equations 4 and 5 be the vector consisting all the network’s weights. A number of researchers have achieved success using this approach in supervised learning problems. In these cases, one can think of each weight as facing a reinforcement learning task (which is in fact non-associative), even though the network as a whole faces a supervised learning task. A significant advantage of this approach is that it applies to networks with arbitrary connection patterns, not just to feedforward networks. Networks of AR−P units have been used successfully in both supervised and associative reinforcement learning tasks ([Bar85, BJ87]), although only with feedforward connection patterns. For supervised learning, the output units learn just as they do in error backpropagation, but the hidden units learn according to the AR−P rule. The reinforcement signal, which is defined to increase as the output error decreases, is simply broadcast to all the hidden units, which learn simultaneously. If the network as a whole faces
2. Reinforcement Learning
19
disturbances
Process
Critic
reinforcement signal stimulus patterns
actions
Network
FIGURE 4. A Network of Associative Reinforcement Units. The reinforcement signal is broadcast to the all the units.
an associative reinforcement learning task, all the units are AR−P units, to which the reinforcement signal is uniformly broadcast (Figure 4). The units exhibit a kind of statistical cooperation in trying to increase their common reinforcement signal (or the probability of success if it is a success/failure signal) [Bar85]. Networks of associative search units and SRV units can be similarly trained, but these units do not perform well as hidden units in multilayer networks. Methods for updating network weights fall on a spectrum of possibilities ranging from weight perturbation methods that do not take advantage of any of a network’s structure, to algorithms like error backpropagation, which take full advantage of network structure to compute gradients. Unitoutput perturbation methods fall between these extremes by taking advantage of the structure of individual units but not of the network as a whole. Computational studies provide ample evidence that all of these methods can be effective, and each method has its own advantages, with perturbation methods usually sacrificing learning speed for generality and ease of implementation. Perturbation methods are also of interest due to their relative biological plausibility compared to error backpropagation. Another way to use reinforcement learning units in networks is to use them only as output units, with hidden units being trained via error backpropagation. Weight changes of the output units determine the quantities that are backpropagated. This approach allows the function approximation
20
Andrew G. Barto
success of the error backpropagation algorithm to be enlisted in associative reinforcement learning tasks (e.g., ref. [GGB92]). The error backpropagation algorithm can be used in another way in associative reinforcement learning problems. It is possible to train a multilayer network to form a model of the process by which the critic evaluates actions. The network’s input consists of the stimulus pattern x(t) as well as the current action vector a(t), which is generated by another component of the system. The desired output is the critic’s reinforcement signal, and training is accomplished by backpropagating the error r(t) − rˆ(t), where rˆ(t) is network’s output at time t. After this model is trained sufficiently, it is possible to estimate the gradient of the reinforcement signal with respect to each component of the action vector by analytically differentiating the model’s output with respect to its action inputs (which can be done efficiently by backpropagation). This gradient estimate is then used to update the parameters of the action-generation component. Jordan and Jacobs [JJ90] illustrate this approach. Note that the exploration required in reinforcement learning is conducted in the model-learning phase of this approach instead in the action-learning phase. It should be clear from this discussion of reinforcement learning networks that there are many different approaches to solving reinforcement learning problems. Furthermore, although reinforcement learning tasks can be clearly distinguished from supervised and unsupervised learning tasks, it is more difficult to precisely define a class of reinforcement learning algorithms.
4 Sequential Reinforcement Learning Sequential reinforcement requires improving the long-term consequences of an action, or of a strategy for performing actions, in addition to short-term consequences. In these problems, it can make sense to forego short-term performance in order to achieve better performance over the long-term. Tasks having these properties are examples of optimal control problems, sometimes called sequential decision problems when formulated in discrete time. Figure 2, which shows the components of an associative reinforcement learning system, also applies to sequential reinforcement learning, where the box labeled “process” is a system being controlled. A sequential reinforcement learning system tries to influence the behavior of the process in order to maximize a measure of the total amount of reinforcement that will be received over time. In the simplest case, this measure is the sum of the future reinforcement values, and the objective is to learn an associative
2. Reinforcement Learning
21
mapping that at time step t selects, as function of the stimulus pattern x(t), an action a(t) that maximizes ∞
r(t + k),
k=0
where r(t + k) is the reinforcement signal at step t + k. Such an associative mapping is called a policy. Because this sum might be infinite in some problems, and because the learning system usually has control only over its expected value, researchers often consider the following discounted sum instead: E{r(t) + γr(t + 1) + γ 2 r(t + 2) + · · ·} = E{
∞
γ k r(t + k)},
(6)
k=0
where E is the expectation over all possible future behavior patterns of the process. The discount factor determines the present value of future reinforcement: a reinforcement value received k time steps in the future is worth γ k times what it would be worth if it were received now. If 0 ≤ γ < 1, this infinite discounted sum is finite as long as the reinforcement values are bounded. If γ = 0, the robot is “myopic” in being only concerned with maximizing immediate reinforcement; this is the associative reinforcement learning problem discussed above. As γ approaches one, the objective explicitly takes future reinforcement into account: the robot becomes more far-sighted. An important special case of this problem occurs when there is no immediate reinforcement until a goal state is reached. This is a delayed reward problem in which the learning system has to learn how to make the process enter a goal state. Sometimes the objective is to make it enter a goal state as quickly as possible. A key difficulty in these problems has been called the temporal credit-assignment problem: When a goal state is finally reached, which of the decisions made earlier deserve credit for the resulting reinforcement? A widely-studied approach to this problem is to learn an internal evaluation function that is more informative than the evaluation function implemented by the external critic. An adaptive critic is a system that learns such an internal evaluation function. Samuel’s Checker Player—Samuel’s [Sam59] checkers playing program has been a major influence on adaptive critic methods. The checkers player selects moves by using an evaluation function to compare the board configurations expected to result from various moves. The evaluation function assigns a score to each board configuration, and the system make the move expected to lead to the configuration with the highest score. Samuel used a method to improve the evaluation function through a process that compared the score of the current board position with the score of a board position likely to arise later in the game:
22
Andrew G. Barto
. . . we are attempting to make the score, calculated for the current board position, look like that calculated for the terminal board position of the chain of moves which most probably occur during actual play. (Samuel [Sam59]) As a result of this process of “backing up” board evaluations, the evaluation function should improve in its ability to evaluate long-term consequences of moves. In one version of Samuel’s system, the evaluation function was represented as a weighted sum of numerical features, and the weights were adjusted based on an error derived by comparing evaluations of current and predicted board positions. If the evaluation function can be made to score each board configuration according to its true promise of eventually leading to a win, then the best strategy for playing is to myopically select each move so that the next board configuration is the most highly scored. If the evaluation function is optimal in this sense, then it already takes into account all the possible future courses of play. Methods such as Samuel’s that attempt to adjust the evaluation function toward this ideal optimal evaluation function are of great utility. Adaptive Critic Unit and Temporal Difference Methods—An adaptive critic unit is a neuron-like unit that implements a method similar to Samuel’s. The nunit is as in Figure 3 except that its output at time step t is P (t) = i=1 wi (t)xi (t), so denoted because it is a prediction of the discounted sum of future reinforcement given in Expression 6. The adaptive critic learning rule rests on noting that correct predictions must satisfy a consistency condition, which is a special case of the Bellman optimality equation, relating predictions at adjacent time steps. Suppose that the predictions at any two successive time steps, say steps t and t + 1, are correct. This means that P (t) P (t + 1)
= E{r(t) + γr(t + 1) + γ 2 r(t + 2) + · · ·} = E{r(t + 1) + γr(t + 2) + γ 2 r(t + 3) + · · ·}.
Now notice that we can rewrite P (t) as follows: P (t) = E{r(t) + γ[r(t + 1) + γr(t + 2) + · · ·]}. But this is exactly the same as P (t) = E{r(t)} + γP (t + 1). An estimate of the error by which any two adjacent predictions fail to satisfy this consistency condition is called the temporal difference (TD) error (Sutton [Sut88]): r(t) + γP (t + 1) − P (t),
(7)
2. Reinforcement Learning
23
where r(t) is an used as an unbiased estimate of E{r(t)}. The term temporal difference comes from the fact that this error essentially depends on the difference between the critic’s predictions at successive time steps. The adaptive critic unit adjusts its weights according to the following learning rule: ∆w(t) = η[r(t) + γP (t + 1) − P (t)]x(t).
(8)
A subtlety here is that P (t+1) should be computed using the weight vector w(t), not w(t+1). This rule changes the weights to decrease the magnitude of the TD error. Note that if γ = 0, it is equal to LMS learning rule (Equation 3). In analogy with the LMS rule, we can think of r(t)+γP (t+1) as the prediction target: it is the quantity that each P (t) should match. The adaptive critic is therefore trying to predict the next reinforcement, r(t), plus its own next prediction (discounted), γP (t + 1). It is similar to Samuel’s learning method in adjusting weights to make current predictions closer to later predictions. Although this method is very simple computationally, it actually converges to the correct predictions of discounted sum of future reinforcement if these correct predictions can be computed by a linear unit. This is shown by Sutton [Sut88], who discusses a more general class of methods, called TD methods, that include Equation 8 as a special case. It is also possible to learn nonlinear predictions using, for example, multi-layer networks trained by back propagating the TD error. Using this approach, Tesauro [Tes92] produced a system that learned how to play expert-level backgammon. Actor-Critic Architectures—In an actor-critic architecture, the predictions formed by an adaptive critic act as reinforcement for an associative reinforcement learning component, called the actor (Figure 5). To distinguish the adaptive critic’s signal from the reinforcement signal supplied by the original, non-adaptive critic, we call it the internal reinforcement signal. The actor tries to maximize the immediate internal reinforcement signal while the adaptive tries to predict total future reinforcement. To the extent that the adaptive critic’s predictions of total future reinforcement are correct given the actor’s current policy, the actor actually learns to increase the total amount of future reinforcement (as measured, for example, by expression 6). Barto, Sutton, and Anderson [BSA83] used this architecture for learning to balance a simulated pole mounted on a cart. The actor had two actions: application of a force of a fixed magnitude to the cart in the plus or minus directions. The non-adaptive critic only provided a signal of failure when the pole fell past a certain angle or the cart hit the end of the track. The stimulus patterns were vectors representing the state of the cart-pole system. The actor was an associative search unit as described above except
24
Andrew G. Barto disturbances
Process
Critic reinforcement signal Adaptive Critic actions
stimulus patterns
internal reinforcement signal Actor
FIGURE 5. Actor-Critic Architecture. An adaptive critic provides an internal reinforcement signal to an actor which learns a policy for controlling the process.
that it used an eligibility trace [Klo82] in its weight-update rule: ∆w(t) = η rˆ(t)a(t)¯ x(t), where rˆ(t) is the internal reinforcement signal and x ¯(t) is an exponentiallydecaying trace of past input patterns. When a component of this trace is non-zero, the corresponding synapse is eligible for modification. This is used instead of the delayed stimulus pattern in Equation 2 to improve the rate of learning. It is assumed that rˆ(t) evaluates the action a(t). The internal reinforcement is the TD error used by the adaptive critic: rˆ(t) = r(t) + γP (t + 1) − P (t). This makes the original reinforcement signal, r(t), available to the actor, as well as changes in the adaptive critic’s predictions of future reinforcement, γP (t + 1) − P (t). Action-Dependent Adaptive Critics—Another approach to sequential reinforcement learning combines the actor and adaptive critic into a single component that learns separate predictions for each action. At each time step the action with the largest prediction is selected, except for a random exploration factor that causes other actions to be selected occasionally. An algorithm for learning action-dependent predictions of future reinforcement, called the Q-learning algorithm, was proposed by Watkins
2. Reinforcement Learning
25
in 1989, who proved that it converges to the correct predictions under certain conditions [WD92]. The term action-dependent adaptive critic was first used by Lukes, Thompson, and Werbos [LTW90], who presented a similar idea. A little-known forerunner of this approach was presented by Bozinovski [Boz82]. For each pair (x, a) consisting of a process state, x, and and a possible action, a, let Q(x, a) denote the total amount of reinforcement that will be produced over the future if action a is executed when the process is in state x and optimal actions are selected thereafter. Q-learning is a simple on-line algorithm for estimating this function Q of state-action pairs. Let Qt denote the estimate of Q at time step t. This is stored in a lookup table with an entry for each state-action pair. Suppose the learning system observes the process state x(t), executes action a(t), and receives the resulting immediate reinforcement r(t). Then ∆Qt (x, a) = η(t)[r(t) + γP (t + 1) − Qt (x, a)] 0
if x = x(t) and a = a(t) otherwise,
where η(t) is a positive learning rate parameter that depends on t, and P (t + 1) =
max Qt (x(t + 1), a),
a∈A(t+1)
with A(t + 1) denoting the set of all actions available at t + 1. If this set consists of a single action for all t, Q-learning reduces to a lookup-table version of the adaptive critic learning rule (Equation 8). Although the Qlearning convergence theorem requires lookup-table storage (and therefore finite state and action sets), many researchers have heuristically adapted Q-learning to more general forms of storage, including multi-layer neural networks trained by back propagation of the Q-learning error. Dynamic Programming—Sequential reinforcement learning problems (in fact, all reinforcement learning problems) are examples of stochastic optimal control problems. Among the traditional methods for solving these problems are dynamic programming (DP) algorithms. As applied to optimal control, DP consists of methods for successively approximating optimal evaluation functions and optimal decision rules for both deterministic and stochastic problems. Bertsekas[Ber87] provides a good treatment of these methods. A basic operation in all DP algorithms is “backing up” evaluations in a manner similar to the operation used in Samuel’s method and in the adaptive critic and Q-learning algorithms. Recent reinforcement learning theory exploits connections with DP algorithms while emphasizing important differences. For an overview and guide to the literature, see [Bar92, BBS95, Sut92, Wer92, Kae96]. Following is a summary of key observations.
26
Andrew G. Barto
1. Because conventional dynamic programming algorithms require multiple exhaustive “sweeps” of the process state set (or a discretized approximation of it), they are not practical for problems with very large finite state sets or high-dimensional continuous state spaces. Sequential reinforcement learning algorithms approximate DP algorithms in ways designed to reduce this computational complexity. 2. Instead of requiring exhaustive sweeps, sequential reinforcement learning algorithms operate on states as they occur in actual or simulated experiences in controlling the process. It is appropriate to view them as Monte Carlo DP algorithms. 3. Whereas conventional DP algorithms require a complete and accurate model of the process to be controlled, sequential reinforcement learning algorithms do not require such a model. Instead of computing the required quantities (such as state evaluations) from a model, they estimate these quantities from experience. However, reinforcement learning methods can also take advantage of models to improve their efficiency. 4. Conventional DP algorithms require lookup-table storage of evaluations or actions for all states, which is impractical for large problems. Although this is also required to guarantee convergence of reinforcement learning algorithms, such as Q-learning, these algorithms can be adapted for use with more compact storage means, such as neural networks. It is therefore accurate to view sequential reinforcement learning as a collection of heuristic methods providing computationally feasible approximations of DP solutions to stochastic optimal control problems. Emphasizing this view, Werbos [Wer92] uses the term heuristic dynamic programming for this class of methods.
5 Conclusion The increasing interest in reinforcement learning is due to its applicability to learning by autonomous robotic agents. Although both supervised and unsupervised learning can play essential roles in reinforcement learning systems, these paradigms by themselves are not general enough for learning while acting in a dynamic and uncertain environment. Among the topics being addressed by current reinforcement learning research are: extending the theory of sequential reinforcement learning to include generalizing function approximation methods; understanding how exploratory behavior is best introduced and controlled; sequential reinforcement learning when the process state cannot be observed; how problem-specific knowledge can
2. Reinforcement Learning
27
be effectively incorporated into reinforcement learning systems; the design of modular and hierarchical architectures; and the relationship to brain reward mechanisms.
Acknowledgments: This chapter is an expanded version of an article which appeared in the Handbook of Brain Theory and Neural Networks, M. A. Arbib, Editor, MIT Press: Cambridge, MA,1995, pp. 804-809.
6
References
[AMY+ 93] J. Alspector, R. Meir, B. Yuhas, A. Jayakumar, and D. Lippe. A parallel gradient descent method for learning in analog VLSI neural networks. In S. J. Hanson, J. D. Cohen, and C. L. Giles, editors, Advances in Neural Information Processing Systems 5, pages 836–844, San Mateo, CA, 1993. Morgan Kaufmann. [BA85]
A. G. Barto and P. Anandan. Pattern recognizing stochastic learning automata. IEEE Transactions on Systems, Man, and Cybernetics, 15:360–375, 1985.
[Bar85]
A. G. Barto. Learning by statistical cooperation of selfinterested neuron-like computing elements. Human Neurobiology, 4:229–256, 1985.
[Bar92]
A.G. Barto. Reinforcement learning and adaptive critic methods. In D. A. White and D. A. Sofge, editors, Handbook of Intelligent Control: Neural, Fuzzy, and Adaptive Approaches, pages 469–491. Van Nostrand Reinhold, New York, 1992.
[BAS82]
A. G. Barto, C. W. Anderson, and R. S. Sutton. Synthesis of nonlinear control surfaces by a layered associative search network. Biological Cybernetics, 43:175–185, 1982.
[BBS95]
A. G. Barto, S. J. Bradtke, and S. P. Singh. Learning to act using real-time dynamic programming. Artificial Intelligence, 72:81–138, 1995.
[Ber87]
D. P. Bertsekas. Dynamic Programming: Deterministic and Stochastic Models. Prentice-Hall, Englewood Cliffs, NJ, 1987.
[BF85]
D. A. Berry and B. Fristedt. Bandit Problems. Chapman and Hall, London, 1985.
[BJ87]
A. G. Barto and M. I. Jordan. Gradient following without backpropagation in layered networks. In M. Caudill and C. Butler, editors, Proceedings of the IEEE First Annual Conference on Neural Networks, pages II629–II636, San Diego, CA, 1987.
28
Andrew G. Barto
[Boz82]
S. Bozinovski. A self-learning system using secondary reinforcement. In R. Trappl, editor, Cybernetics and Systems. North Holland, 1982.
[BS81]
A. G. Barto and R. S. Sutton. Landmark learning: An illustration of associative search. Biological Cybernetics, 42:1–8, 1981.
[BSA83]
A. G. Barto, R. S. Sutton, and C. W. Anderson. Neuronlike elements that can solve difficult learning control problems. IEEE Transactions on Systems, Man, and Cybernetics, 13:835–846, 1983. Reprinted in J. A. Anderson and E. Rosenfeld, Neurocomputing: Foundations of Research, MIT Press, Cambridge, MA, 1988.
[BSB81]
A. G. Barto, R. S. Sutton, and P. S. Brouwer. Associative search network: A reinforcement learning associative memory. IEEE Transactions on Systems, Man, and Cybernetics, 40:201– 211, 1981.
[GBG94]
V. Gullapalli, A. G. Barto, and R. A. Grupen. Learning admittance mappings for force-guided assembly. In Proceedings of the 1994 International Conference on Robotics and Automation, pages 2633–2638, 1994.
[GGB92]
V. Gullapalli, R. A. Grupen, and A. G. Barto. Learning reactive admittance control. In Proceedings of the 1992 IEEE Conference on Robotics and Automation, pages 1475–1480, 1992.
[Gol89]
D. E. Goldberg. Genetic Algorithms in Search, Optimization, and Machine Learning. Addison-Wesley, Reading, MA, 1989.
[Gul90]
V. Gullapalli. A stochastic reinforcement algorithm for learning real-valued functions. Neural Networks, 3:671–692, 1990.
[Hol75]
J. H. Holland. Adaptation in Natural and Artificial Systems. University of Michigan Press, Ann Arbor, 1975.
[HT74]
E. Harth and E. Tzanakou. Alopex: A stochastic method for determining visual receptive fields. Vision Research, 14:1475– 1482, 1974.
[JJ90]
M. I. Jordan and R. A. Jacobs. Learning to control an unstable system with forward modeling. In D. S. Touretzky, editor, Advances in Neural Information Processing Systems 2, San Mateo, CA, 1990. Morgan Kaufmann.
[Kae96]
L. P. Kaelbling, editor. Special Issue on Reinforcement Learning, volume 22. Machine Learning, 1996.
2. Reinforcement Learning
29
[KGV83]
S. Kirkpatrick, C. D. Gelatt, and M. P. Vecchi. Optimization by simulated annealing. Science, 220:671–680, 1983.
[Kim61]
G. A. Kimble. Hilgard and Marquis’ Conditioning and Learning. Appleton-Century-Crofts, Inc., New York, 1961.
[Klo72]
A. H. Klopf. Brain function and adaptive systems—A heterostatic theory. Technical Report AFCRL-72-0164, Air Force Cambridge Research Laboratories, Bedford, MA, 1972. A summary appears in Proceedings of the International Conference on Systems, Man, and Cybernetics, 1974, IEEE Systems, Man, and Cybernetics Society, Dallas, TX.
[Klo82]
A. H. Klopf. The Hedonistic Neuron: A Theory of Memory, Learning, and Intelligence. Hemisphere, Washington, D.C., 1982.
[KPU94]
K. P. Venugopal K. P. Unnikrishnan. Alopex: A correlationbased learning algorithm for feed-forward and recurrent neural networks. Neural Computation, 6:469–490, 1994.
[LTW90]
G. Lukes, B. Thompson, and P. Werbos. Expectation driven learning with an associative memory. In Proceedings of the International Joint Conference on Neural Networks, Hillsdale, NJ, 1990. Erlbaum.
[MM70]
J. M. Mendel and R. W. McLaren. Reinforcement learning control and pattern recognition systems. In J. M. Mendel and K. S. Fu, editors, Adaptive, Learning and Pattern Recognition Systems: Theory and Applications, pages 287–318. Academic Press, New York, 1970.
[NT89]
K. Narendra and M. A. L. Thathachar. Learning Automata: An Introduction. Prentice Hall, Englewood Cliffs, NJ, 1989.
[RHW86]
D. E. Rumelhart, G. E. Hinton, and R. J. Williams. Learning internal representations by error propagation. In D. E. Rumelhart and J. L. McClelland, editors, Parallel Distributed Processing: Explorations in the Microstructure of Cognition, vol.1: Foundations. Bradford Books/MIT Press, Cambridge, MA, 1986.
[Sam59]
A. L. Samuel. Some studies in machine learning using the game of checkers. IBM Journal on Research and Development, pages 210–229, 1959. Reprinted in E. A. Feigenbaum and J. Feldman, editors, Computers and Thought, McGraw-Hill, New York, 1963.
30
Andrew G. Barto
[Sut88]
R. S. Sutton. Learning to predict by the method of temporal differences. Machine Learning, 3:9–44, 1988.
[Sut92]
R. S. Sutton, editor. A Special Issue of Machine Learning on Reinforcement Learning, volume 8. Machine Learning, 1992. Also published as Reinforcement Learning, Kluwer Academic Press, Boston, MA 1992.
[Tes92]
G. J. Tesauro. Practical issues in temporal difference learning. Machine Learning, 8:257–277, 1992.
[Tho11]
E. L. Thorndike. Animal Intelligence. Hafner, Darien, Conn., 1911.
[WD92]
C. J. C. H. Watkins and P. Dayan. Q-learning. Machine Learning, 8:279–292, 1992.
[Wer92]
P.J. Werbos. Approximate dynamic programming for real-time control and neural modeling. In D. A. White and D. A. Sofge, editors, Handbook of Intelligent Control: Neural, Fuzzy, and Adaptive Approaches, pages 493–525. Van Nostrand Reinhold, New York, 1992.
[WGM73] B. Widrow, N. K. Gupta, and S. Maitra. Punish/reward: Learning with a critic in adaptive threshold systems. IEEE Transactions on Systems, Man, and Cybernetics, 5:455–465, 1973. [WS85]
B. Widrow and S. D. Stearns. Adaptive Signal Processing. Prentice-Hall, Inc., Englewood Cliffs, N.J., 1985.
3 Neurocontrol in Sequence Recognition William J. Byrne Shihab A. Shamma ABSTRACT An artificial neural network intended for sequence modeling and recognition is described. The network is based on a lateral inhibitory network with controlled, oscillatory behavior so that it naturally models sequence generation. Dynamic programming algorithms can be used to transform the network into a sequence recognizer (e.g., for speech recognition). Markov decision theory is used to propose alternative, more neural recognition control strategies as alternatives to dynamic programming.
1 Introduction Central to many formulations of sequence recognition are problems in sequential decision making. Typically, a sequence of events is observed through a transformation which introduces uncertainty into the observations and, based on these observations, the recognition process produces a hypothesis of the underlying events. The events in the underlying process are constrained to follow a certain loose order, for example by a grammar, so that decisions made early in the recognition process restrict or narrow the choices which can be made later. This problem is well known and leads to the use of Dynamic Programming (DP) algorithms [Bel57] so that unalterable decisions can be avoided until all available information has been processed. DP strategies are central to Hidden Markov Model (HMM) recognizers [SLM84, S.L85, Rab89, RBH86] and have also been widely used in systems based on Neural Networks (e.g. [SIY+ 89, Bur88, BW89, SL92, BM90, FLW90]) to transform static pattern classifiers into sequence recognizers. The similarities between HMMs and neural network recognizers are a topic of current interest [NS90, WHH+ 89]. The neural network recognizers considered here will be those which fit within an HMM formulation. This covers many networks which incorporate sequential decisions about the observations, although some architectures of interest are not covered by this formulation (e.g. [TH87, UHT91, Elm90]). The use of dynamic programming in neural network based recognition
32
William J. Byrne, Shihab A. Shamma
systems is somewhat contradictory to the motivating principles of neurocomputing. DP algorithms first require precise propagation of probabilities, which can be implemented in a neural fashion [Bri90]. However, the component events which make up the recognition hypothesis are then found by back-tracking, which requires processing a linked list in a very non-neural fashion. The root of this anomaly is that the recognition process is not restricted to be local in time. In the same way that neural computing emphasizes that the behavior of processing units should depend only on physically neighboring units, the sequential decision process used in recognition ideally should use only temporally local information. Dynamic programming algorithms which employ backtracking to determine a sequence of events are clearly not temporally local. This problem has also been addressed in HMMs. In many applications, it is undesirable to wait until an entire sequence of observations is available before beginning the recognition process. A related problem is that the state space required by the DP algorithms becomes unmanageably large in processing long observation sequences. As solutions to these problems, approximations to the globally optimal DP algorithms are used. For example, the growth of the state space is restricted through pruning and real-time sequence hypotheses are generated through partial-traceback algorithms. Suboptimal approximations to the globally optimal DP search strategies are therefore of interest in both HMM and neural network sequence recognition. One approach to describing these suboptimal strategies is to consider them as Markov Decision Problems (MDPs) [Ros83]. In this work the theoretical framework for such a description is presented. The observation sequence is assumed to be generated by an HMM source model, which allows the observation and recognition process to be described jointly as a first order controlled Markov process. Using this joint formulation the recognition problem can formulated as an MDP and recognition strategies can be found using stochastic dynamic programming. The relationship of this formulation to neural network based sequence recognition will be discussed. A stochastic neural network architecture will be presented which is particularly suited to use in both sequence generation and recognition. This novel architecture will be employed to illustrate this MDP description of sequence recognition. The intended application is to speech recognition.
2 HMM Source Models Computational models which describe temporal sequences must necessarily balance accuracy against computational complexity. This problem is addressed in HMMs by assuming that there is an underlying process which
3. Neurocontrol in Sequence Recognition
33
controls the production of the observed process. The underlying, or hidden, process is assumed to be Markov and the observations are generated independently as a function of the current hidden state. The hidden state process models event order and duration. Observation variability or uncertainty is described by the state dependent observation distributions. The value of this formulation is that statistics required for training and recognition can be computed efficiently. Brief definitions of the HMMs considered in this paper are presented here. The observation sequences are assumed to be generated by a discrete time, discrete observation HMM source with hidden process S and observations I. The source is assumed to have N states and the model parameters are Λ = (a, b), with transition probabilities a and state-dependent observation probabilities b. The hidden process is a first-order Markov process which produces a state sequence S = {St }Tt=1 where the process state takes values in {1, . . . , N }, and T is random. For convenience, it will be assumed that this process is “left-to-right” so that that the sequence begins with the value 1, ends with the value N , and intermediate values satisfy St ≤ St+1 . The state transition probabilities are St = n 1 − an St+1 = n St+1 = n + 1 St = n an P r(St+1 | St ) = 0 otherwise where an is the probability of a transition from state n to state n + 1. P r(St+1 | St ) is denoted aSt ,St+1 . At each time instant, the source generates an observation It according to the distribution (1) P r(It |St ) = bSt (It ). Given a hidden state sequence the observations are independently generated. When the process leaves state N , the sequence ends; an end-of-string symbol is generated to indicate this. The joint source likelihood can be expressed as T
bSt (It ) aSt+1 ,St . Q(I, S) = t=1
3 Recognition: Finding the Best Hidden Sequence In one formulation of HMM sequence recognition, a model is constructed for each observation class and each of these models is used to score an unknown sequence. The unknown sequence is then identified according to which model gave it the maximum likelihood. For example, models {Qi } would be trained for a set of words {W i }. An observation I would then
34
William J. Byrne, Shihab A. Shamma
be classified as an instance of a particular word W j if LQj (I) ≥ LQi (I) ∀i according to some model-based likelihood criterion LQ . The scoring criterion considered here is the maximum likelihood Viterbi score maxR Q(I, R), so-called because of the DP-based algorithm used in its computation [For67]. R is used to denote estimates of the hidden state sequence, S, to emphasize the distinction between the unobserved source hidden process which generated the observation and any estimate of it by the recognizer. For an observed sequence I, the most likely state sequence (MLSS) RI is found. The joint likelihood Q(I, RI ) = maxR Q(I, R) is used to score the observation. The Viterbi algorithm is a dynamic programming technique which solves maxR Q(I, R). For an observation sequence I, it directly produces the likelihood score maxR Q(I, R). Backtracking can then be used to find the MLSS RI . If only the Viterbi score maxR Q(I, R) is desired, neural architectures are available which can compute this quantity [LG87]. This formulation is typical of Maximum Likelihood HMM based recognizers. While it does not describe all neural network sequence recognition systems, it can be used to describe systems which use a DP algorithm to transform static pattern classifiers (i.e. feed-forward neural networks) into sequence recognizers. Such systems have been widely experimented with and have been termed Hidden Control Neural Networks [Lev93]. Neural networks have also been used in HMM hybrid systems which also employ the Viterbi algorithm [MB90, FLW90].
4 Controlled Sequence Recognition If HMMs are considered as source models and inherently as models of sequence generation, they are easily understood as systems in which the hidden state process controls the production of the observation sequence. In recognition, however, control flows in the opposite direction: observed sequences control the formation of symbol sequences which are estimates of the source hidden state sequence. An architecture which models both sequence production and recognition should include mechanisms by which the observable and underlying events can control each other. The role of control processes in these two systems is presented in Figure 1. A complex control framework of this nature can be described using Controlled Markov Models [Ros83]. The value of formulating both sequence production and recognition in terms of CMMs will be shown by using the same basic architecture in both problems. This differs from the usual HMM formalism in which a model is first trained in “source mode” and its parameters are then embedded in a recognition system of a different architecture.
Observed Sequence
Observed Sequence
Observation Process
Observation Process
Underlying Representation
Underlying Representation
Underlying Process
Underlying Process
State Identity
State Progression Control
State Identity
Observations or State Dependent Observation Likelihood
State Progression Control
Production Control Process
Production Control Process
Source Model
Recognition Model
35
Control
Control
3. Neurocontrol in Sequence Recognition
FIGURE 1. Aspects of Control in Sequence Generation and Recognition.
4.1 Controlled Markov Models A Controlled Markov Model (CMM) is a Markov process whose state transition probabilities can be modified by an applied control. The control is usually a function of the current model state and is applied to improve system performance as the process evolves. The CMM formalism can be used to describe both sequence generation and MLSS recognition by Hidden Markov Models. Suppose a homogeneous Markov process Xt has the following transition probability P (Xt+1 = x | Xt ) = ax,x Xt = x. A CMM has a modified transition probability which depends upon an applied control process U P (Xt+1 = x | Xt ; Ut ) = ax,x (u) Xt = x, Ut = u. Ut is called a stationary Markov control if it is a function of the process state Xt , but depends only on the state identity and is not a function of time. The choice of which control to apply when the system is in a given state is determined according to a control policy. If a policy is based upon stationary, Markov controls, the resulting CMM will also yield a stationary Markov process [Mak91]. If such a policy, π, is chosen, the probability distribution it defines is denoted P π . It will later be necessary to take expectations with respect to this distribution. Given that the process starts from a state x, expectation with respect to the distribution which arises from the control policy is denoted Exπ .
36
William J. Byrne, Shihab A. Shamma
Source Models: A CMM Description The HMM source model describes jointly the observed process I and the hidden process S involved in sequence production. The production of I and S in a left-to-right HMM will be described here as a CMM. It is assumed that the progression of the hidden process is completely determined by a binary control signal Ut . Applying Ut = 0 forces St+1 to equal St , i.e. there is no change in the hidden state from time t to time t+1. Conversely, applying Ut = 1 forces a change of state so that if St = n, then St+1 = n + 1. The control Ut is a random process defined as aSt ,St u=0 P r(Ut = u | St ) = . aSt ,St +1 u = 1 The original hidden process is effectively embedded in the control law. While the effect of an applied control is exact, the choice of control is random, and the choice is made in a way which duplicates the original hidden process. This describes how the hidden Markov process can be described as a CMM. The observations It are then generated as a function of St according to Equation 1. While this may seem somewhat contrived, its value will be shown in the next section, in which this same CMM formalism will be used to describe sequence recognition. MLSS Recognition: A CMM Description As described earlier, the MLSS is obtained using the Viterbi Algorithm. The observed sequence I is assumed to be generated by an HMM jointly with an unobserved sequence S. The log-likelihood of the observed sequence is computed as maxR log Q(I, R). R is used to distinguish the recognizer state sequence from the source hidden state sequence S which was generated, but not observed, with I. For any recognition strategy, including but not necessarily the Viterbi algorithm, the joint log-likelihood of the observed sequence and hidden state sequence estimated by the recognizer is log Q(I, R) =
T
log bRt (It ) aRt ,Rt+1 .
t=1
This sum can be accumulated by the recognizer while the sequence is observed and it is possible to describe this as a controlled process. Suppose that at time t, the recognizer is in state Rt = n and the symbol It is observed. The control ut = 0 can be applied so that Rt+1 = n, or ut = 1 can be applied so that Rt+1 = n + 1. The action of the applied control is summarized as R u=0 f (R; u) = . (2) R+1 u=1
3. Neurocontrol in Sequence Recognition
37
The function f indicates the new recognizer state that results from applying the control. At each time, the recognizer receives a reward which depends upon the observed symbol, the current recognizer state and the chosen control. If at time t the recognizer state is Rt = n and It = i is observed, the reward received is log bn (i) an,n ut = 0 . (3) v(i, n; ut ) = log bn (i) an,n+1 ut = 1 The observations are scored under the state observation distribution that corresponds to the current recognizer state. Before the observation is scored, the observer chooses whether or not to advance the recognizer state at the next time instant. The contribution of the hidden state sequence likelihood is added accordingly. The accumulated reward is then the joint, log-likelihood of the recognizer state sequence and the observation sequence v(It , Rt ; Ut ) = log Q(I, R). t
This is the cumulative score which the recognizer obtains by applying controls Ut to produce the hidden state sequence estimate R in response to the observations I. Any control law could be used in recognition. While it would be unnecessarily complicated to formulate the Viterbi algorithm in this way, the recognition controls could be applied to obtain the Viterbi score and the corresponding Viterbi sequence if the entire observation sequence were known beforehand. However this is not possible if the recognizer is not provided information from arbitrarily far into the future. In the next section, suboptimal but causal recognition strategies will be described which are based on providing limited, future information to the recognizer. As a technical note, the source emits an end-of-string symbol when the sequence ends. When this symbol is observed, the recognizer is driven into the final state N , and the recognition process terminates. If some future information is available, the sequence termination can be anticipated gracefully. The Viterbi score has been described as a decision-reward process which occurs incrementally as estimates of the hidden state sequence are produced. In the next section, the choice of recognition control rules will be investigated.
4.2 Source-Driven Recognizers When the recognizer is not provided complete information about the future it is necessary to guess what the correct recognizer behavior should be. It is possible to describe this as a Markov Decision Problem [Ros83]. In this formulation the optimal DP search is approximated by a gambling strategy
38
William J. Byrne, Shihab A. Shamma
which uses estimates of the future based on the stochastic source model. To use Markov decision theory in finding a recognition control law, the entire process - which includes both the source and the recognizer - must be described as a Markov process. The Joint Source-Recognizer Model While the source process (It , St ) is Markov, during recognition the process St is not available. It is not true in general that It is Markov, i.e. P r(It+1 |I1t ) = P r(It+1 |It ) (where Itt+h denotes {It , . . . , It+h }), however it is possible to accumulate a statistic α ˜ t (n) = P r(St = n | I1t ) so that the joint process (It , α ˜ t ) is Markov. This state occupancy statistic is found by the forward part of the scaled Forward-Backward algorithm [S.L85] and is also well-known in the literature on the control of partially observed Markov processes [Mon82]. More generally, it is also possible to compute state occupancy statistics which maintain some limited “future” information. Define a vector of conditional probabilities α ˜ th (n) = P r(St = n | I1t+h ) n = 1, . . . , N which maintains a current source state probability based on information which extends h observations into the future. It is not difficult to show h ˜ t−1 . This recur(as in [KM93]) that α ˜ th satisfies a recursion in Itt+h and α h h t+h h sion is denoted α ˜ t = T (It , α ˜ t−1 ). It is also straightforward to determine that, because the hidden process is Markov, α ˜ th is sufficient to detert+1+h t+h t+1+h | I1t+h ) = mine P r(It+1 |I1 ). This computation is denoted P r(It+1 h t+1+h h Ψ (It+1 , α ˜ t ). It will be shown that by maintaining these statistics it is possible to describe a recognition decision processes which at time t uses information from the future up to time t + h. The first step in summarizing the joint source-recognizer process as Markov uses the following property of the source model: ˜ th ) is a time-homogeneous Markov Process. Property 1 (Itt+h , α Proof t+1+h h ˜ t+1 = a | I1t+h , α ˜ th ,. . . , α ˜ 1h Pr It+1 h = i, α t+1+h ˜ th , . . ., α ˜ 1h Pr It+1 = i | I1t+h , α ˜ th , . . . , α ˜ 1h = Pr α ˜ t+1 = a | I1t+1+h , α ˜ 1t Ψh (i, α ˜t) = Pr T (i, α ˜ th ) = a | I1t+1+h , α h h h = δa (T (i, α ˜ t )) Ψ (i, α ˜t ) 2 t+1+h h ˜ th ) → (It+1 ,α ˜ t+1 ) is therefore first-order Markov. The process (Itt+h , α The accumulated source statistics are fairly complex, however, consisting of
3. Neurocontrol in Sequence Recognition
39
the (h + 1)-element observation vector Itt+h and the N -element probability vector α ˜ th . The recognizer state Rt , and the observed and accumulated source statis˜ th ) can be combined into a state (Rt , Itt+h , α ˜ th ) and treated tics (Itt+h , α jointly as a single process. This is termed the source-recognizer process. In a sense, the recognizer is modeled as a CMM driven by the observation process. Because the observations and the recognizer are Markov, the source-recognizer process is also Markov. The source-recognizer process has the following CMM transition probability t+1+h h ,α ˜ t+1 ) = (n, i, a) | Rt , Itt+h , α ˜ th ; u) = Pr( (Rt+1 , It+1 t+1+h h Pr(Rt+1 = n | Rt ; u) Pr((It+1 ,α ˜ t+1 ) = (i, a) | Itt+h , α ˜ th ).
If u is a stationary Markov control, this defines a valid, stationary Markov process [Mak91]. Note that while the control may be a function of the complete source˜ th ), it appears only in the recognizer state tranrecognizer state (Rt , Itt+h , α sition probability. This reflects the separation between the source and the recognizer: the recognizer can be controlled, while the source statistics can only be accumulated. t+1+h ,α ˜ t+1 ) = (n, i, α) ˜ | Rt , Itt+h , α ˜ t ; u) is deFor simplicity, Pr((Rt+1 , It+1 noted ph (n, i, α ˜ | Rt , Itt+h , α ˜ t ; u). Some portion of the state process is deterministic, so this probability simplifies to ph (n, i, α ˜ | Rt , Itt+h , α ˜ t ; u) = Ψh (i, α ˜ th ) δn (f (Rt ; u)) δα˜ (T h (i, α ˜ th )).
(4)
To completely specify the source-recognizer process, the initial sourcerecognizer state probability must also be defined. It must be consistent with the knowledge that the source starts in state S1 = 1. This requires that α ˜ 1h assign probability 1 to state 1. The initial state probability is Q(I11+h = i) n = 1, α(n) ˜ = δ1 (n) 1+h h P1 ((R1 , I1 , α ˜ 1 ) = (n, i, α)) ˜ = . 0 otherwise Recognition as a Markov Decision Problem When a reward is associated with the observations and control policy in a CMM, maximizing the expected reward is termed a Markov Decision Problem. It will be shown here how MLSS recognition can be formulated as an MDP. It is first necessary to specify the allowable control policies. The set of admissible recognition control laws will be determined by fixing h ≥ 0. Fixing h specifies the amount of future information provided to the recognition decision process. For a fixed h, Uh will be the 0/1-valued control laws measurable with respect to the source-recognizer state process (Itt+h , αth , Rt ). Policies which are restricted to using control laws from Uh are denoted π h .
40
William J. Byrne, Shihab A. Shamma
Using the incremental reward given in Equation 3 for the sequential recognition problem, the expected, discounted cost resulting from a policy can be given as β t v(Itt+h , α ˜ th , Rt ; Ut ) . J π (x) = Exπ t
where β (0 ≤ β ≤ 1) is a discounting parameter. This is the expected reward which can follow from a source-recognizer state x under the policy π. The goal is to find the optimum policy which maximizes the expected discounted reward. This optimum expected reward is termed the value function and is defined as V h (x) = max J π (x). π∈ {π h }
This is the maximum reward which can be expected given a CMM state x. The value function satisfies [Ros83] ˜ = max {v(r, i, α; ˜ u)+β V h (r, i, α) u=0,1
ph (r , i , α ˜ | r, i, α; ˜ u) V h (r , i , α ˜ )}.
r ,i ,α ˜
Using the simplified expression of the transition probability, Equation 4, this reduces to V h (r, i, α) ˜ = max {v(r, i, α; ˜ u) + β Ψh (i , α) ˜ V h (f (r; u), i , T (i , α))} ˜ u=0,1
i
(5) where f describes the action of the control law as defined in Equation 2. The corresponding optimum control for each state is [Ros83] ˜ = arg max {v(r, i, α; ˜ u) + β uh (r, i, α) u=0,1
Ψh (i , α) ˜ V h (f (r; u), i , T (i , α))} ˜
i
This is a complete, exact description of the combined source-recognizer processes and the optimum control rules which the maximize the expected reward following from any source-recognizer state. As a technical note, β may equal 1 if the final state can be reached with probability 1 from any state in a finite number of transitions, regardless of the controls. This is called the terminating assumption ( [MO70], page 42), which is satisfied here. All observation sequences are finite length with probability 1 and the recognizer is forced to its final state when the end-of-string symbol is observed. Any technical assumptions required for the MDP formulation are assumed to be met by placing restrictions on the source model. For example, the observation distributions b are assumed to be bounded away from 0 for
3. Neurocontrol in Sequence Recognition
41
all possible observations so that B ≤ log bn (i) ≤ 0. However, B can be arbitrarily small, so imposing this constraint is not restrictive. There are several problems with this formulation, however. Although the state space is countable, α ˜ can take an extremely large number of values - almost as many values as sequences which could be observed. The dimensionality of the value function and control laws therefore grows unmanageably large. If it is necessary to maintain the control law explicitly for each state, the computational advantages obtained by assuming that the source processes are Markov are lost. Further, these optimal rewards and their associated decision rules are difficult to obtain from these equations. The equations are contractions, so they can be solved numerically. However a different approach will be described here which is based on neural computation and control. Relationship to the Viterbi Algorithm While basing a recognizer on the optimum expected reward may be an unusual formulation, it is possible to compare it to the usual Viterbi score. When the amount of future information is unrestricted, choosing the control which optimizes this criterion leads to scoring all observation sequences according to the Viterbi algorithm. This will be shown here. Consider the expected reward resulting from any of the valid initial, t = 1, source-recognizer states. For β = 1 the expected reward can be restated as J π (x) = Exπ log Q(I, Rπ ) where Rπ denotes the recognizer sequence produced by recognition control policy π in response to the observation sequence I. In this version of the expected reward, which is “pointwise” in I, the α ˜ are not required because they are functions of I. When h is unrestricted, the maximization is performed over policies allowed to employ all possible controls U = ∪h Uh so that the optimum reward becomes max E log Q(I, Rπ ). π
Property 2 max E log Q(I, Rπ ) = E max log Q(I, R). π
R
A sketch of a proof of this property is given for models which assign probability zero to infinite length sequences, i.e. for which Q({I : T = ∞}) = 0. Proof Uh ⊂ Uh+1 implies max E log Q(I, Rπ ) = lim π
max E log Q(I, Rπ ).
h→∞ π∈ {π h }
42
William J. Byrne, Shihab A. Shamma
For a fixed h, the Viterbi algorithm is an allowable policy for all observations I with length T ≤ h, so for such I, maxπ∈ {πh } log Q(I, Rπ ) = maxR log Q(I, R). Therefore Q(I) max log Q(I, R) max E log Q(I, Rπ ) = π∈ {π h }
R
I:T ≤h
+ max
π∈ {π h }
and lim
h→∞
max E log Q(I, Rπ )
π∈ {π h }
=
I:T >h
Q(I) max log Q(I, R)
I:T <∞
+ max π
Q(I) log Q(I, Rπ ).
R
Q(I) log Q(I, Rπ ).
I:T =∞
Loosely, since Q({I : T = ∞}) = 0, the sum over infinite length sequences is negligible so that lim
max E log Q(I, Rπ ) = E max log Q(I, R)
h→∞ π∈ {π h }
R
2 In summary, for every possible observation sequence it is possible to pick a value of h which provides complete information about the future. Given unrestricted future information, the Viterbi algorithm is an admissible and, by design, optimum strategy for all possible sequences. This gives an intuitive motivation for the expected likelihood criterion. As the restrictions on the temporal locality of the decision making process are removed, the Viterbi algorithm is recovered as the best recognition strategy. Before investigating the application of the MDP sequence recognition formulation, a neural architecture which is particularly well suited for use as a source model or recognizer will be presented.
5 A Sequential Event Dynamic Neural Network A neural network architecture is presented here which can be used to generate and recognize simple sequences of events. After the network is described it will be shown that it can be embedded into the MDP recognition framework presented above. The network is based on a single layer of units n = 1, . . . , N which inhibit each other with strength wn (wn > 0). The network operates in discrete time: each unit updates its potential x(n) according to xt (n) =
N j=n
j=1
[−wj yt−1 (j) + c]
3. Neurocontrol in Sequence Recognition
43
output activation function inhibition bias excitation 1-k unit delay
FIGURE 2. Dynamical Network Architecture: (top) Lateral Inhibitory Network with Directed Excitation; (bottom) Network Unit Schematic.
The unit output values y(n) are {0, 1} valued with yt (n) = o(xt (n)) where o is the unit activation function. When y(n) = 1 unit n is on, or active. c is a bias term included so that uninhibited units will activate. The inhibition exceeds the bias: wn > c. As presented, this is a stable, lateral inhibitory network [MY72]. In particular, if the network reaches a state in which a single unit is active, that unit will remain active and prevent any other unit from activating. The units can be made to activate sequentially by adding excitatory connections between units. While a unit n is active, it exhibits a slowly increasing, weak excitatory effect upon its neighbor, unit n + 1, so that this unit becomes less inhibited. The excitation of unit n by unit n − 1 is given as et (n) = (1 − k) et−1 (n) + g yt (n − 1). This directed excitation channel is modeled as a connection of strength g followed by a leaky integrator with a decay factor of 1 − k. The result is that the excitation saturates at the value g/k. The lateral inhibitory network architecture with the directed excitation channels and the unit activity functions are presented in Figure 2. The unit states must be modified to include this excitation, so the network state vector is (xt , et ). The update equations for each unit are xt (n)
=
N
[−wj yt−1 (j) + et−1 (n) + c]
j=n
j=1
et (n)
=
(1 − k) et−1 (n) + g yt (n − 1).
44
William J. Byrne, Shihab A. Shamma
Suppose k ≈ 0, i.e. the directed excitation grows linearly. If unit n − 1 has been active for a period τ , the excitation of unit n is et (n) = g τ and all other excitations are zero. The unit states are then n = n − 1 c −wn−1 + g τ + c n = n xt (n ) = . (6) otherwise −wn−1 + c If the activation function o is the unit-step function, unit n activates when xn becomes non-negative. When this happens, unit n shuts off unit n − 1. After unit n − 1 first activates, the time required for the directed excitation to overcome the inhibition of unit n is τn−1 =
wn−1 − c . g
This determines the duration of unit n−1’s activity and leads to sequential behavior in that unit n activates only after unit n − 1 has been active for a fixed duration. A network can be constructed to represent events which occur sequentially for fixed durations. The parameters g, c, k, and w can be chosen to satisfy the above relationship so that each unit is active for a specified duration. Under this updating rule the network activity sequence is fixed. Given an initial network state, each unit activates at a known time and remains active for a fixed period. The activity sequence of the network is denoted St , where St = n if yt (n) = 1. Such a network is not well suited to model sequences in which the event durations may vary. A simple way to model variable duration events is to randomize the unit activation function. Rather than mapping the unit activation to the unit output deterministically, suppose the activation function o is such that each unit activates randomly according to Pr( yt (n) = 1 | xt (n) ) =
1 . 1 + e−xt (n)
The connectivities are chosen to satisfy wn c 0, so that an inhibited unit will not activate, while a unit which is uninhibited will always activate. This is equivalent to activating the next unit in the sequence by flipping a biased coin whose bias towards activation increases with time. Again consider the case when k ≈ 0. If at time t unit n−1 has been active for a period τ , the unit states will be as in Equation 6. While unit n − 1 is active and until unit n activates, under the assumption wn−1 c 0, the unit activation functions behave according to n = n − 1 1 1 n = n . Pr(y(n ) = 1 | x(n )) ≈ −[−wn−1 +g τ +c] 1+e 0 otherwise
3. Neurocontrol in Sequence Recognition
45
The probability that unit n + 1 activates given that unit n has been active for a period τ is denoted an (τ ) =
1 . 1 + e−[−wn +g τ +c]
Each unit remains active for a duration τn according to the distribution Pr(τn = τ ) = dn (τ ) where dn (τ ) =
τ −1
(1 − an (t)) an (τ ).
(7)
t=1
Without further modification, the network can be used to model sequences of the form {St : 1 ≤ St ≤ St+1 ≤ N }, that is, ordered events of varying duration. The probability of a sequence S is found through the probabilities of its component events Pr(S) =
N
dn (τn )
(8)
n=1
where τn is the duration of the nth event in sequence S. The hidden state process is not a simple first-order Markov process. Because the transition probabilities depend upon the state duration, duration must be included in the process state. If duration information is retained, the state transition mechanism is described by a first order Markov process (n, τ ). If the process has value (n, τ ), unit n has been active for a period τ . The process transition probability is ant (τt ) n = nt + 1, τ = 1 . Pr( (n, τ )t+1 = (n , τ ) | (n, τ )t ) = 1 − ant (τt ) n = nt , τ = τ + 1 (9) This is illustrated in Figure 3. More general sequences can be modeled by adding another group of units to the network. The original, sequential event units now form a hidden layer and these new units are the visible network units. The visible units are also stochastic and their behavior depends on the unit activity sequence in the hidden layer. These visible units are meant to represent observations of labels, such as vector quantized acoustic features or phoneme identities. At each time an observation It is generated by the visible units according to distribution bSt , which depends upon transitions in the hidden layer. The probability of an observation sequence I given the underlying sequence S is T
bSt (It ). Pr(I|S) = t=1
46
William J. Byrne, Shihab A. Shamma
a(n,t)
n+1, 1
Duration
n, t 1-a(n,t)
n, t+1 State
FIGURE 3. Duration Dependent Transition Probabilities. (left) Markov process defined by duration dependent state transition probabilities. (right) Markov Chain corresponding to duration dependent transition probabilities.
FIGURE 4. Network of visible units controlled by a sequential network.
An exact mechanism for the behavior of the visible units is not needed for this presentation, however, a possible architecture would be a Boltzmann Machine whose units were influenced by the sequential units, as in Figure 4. Alternatively, the observations could be generated according to statedependent Gaussian distributions. While this is not covered by the current MDP formulation, which assumes discrete observations, the log-likelihood computation becomes a distance measurement between the observation and an exemplar feature. The interpretation of this process is that a state is represented by a single feature vector and the reward accrued in recognition is based on the distance from the observations to the exemplars. The network can now be described as a probabilistic model with processes I and S which are the output sequence and unit activity sequence {(It , St ) : 1 ≤ St ≤ St+1 ≤ N, t = 1, . . . , T }. The joint distribution of the activity and observation sequences is Q(S, I)
=
Pr(I|S) Pr(S)
3. Neurocontrol in Sequence Recognition
=
T
t=1
bSt (It )
N −1
47
dn (τn ).
n=1
The distribution has the form of a Hidden Markov Model, specifically, a variable duration Hidden Markov Model (VDHMM) [Lev86], where the probability of leaving a state depends on how long the system has been in that state. The duration distribution dn determined by the network parameters has some attractive properties. When k ≈ 0, it has a peak at τn ≈ wgn , which specifies the most likely duration. Additionally, for wgn fixed, the variance of the unit activity duration decreases as g increases. This can be used to incorporate uncertainty about event duration in the network model. In a non-variable duration HMM, the state duration probability has the form (1 − a)τ −1 a, where a is the probability of remaining in a state. It has been argued that other distributions, such as Gaussian and Gamma distributions, provide better temporal modeling. The distribution that arises here enjoys the two main features of the previously used distributions, namely the non-zero maximum likelihood duration and an adjustable variance. The difference between this model and other VDHMMs is that the duration distribution is not chosen beforehand - dn (τ ) doesn’t have a closed form expression - but arises from the state transition mechanism. When k is not negligible, the potential of unit n + 1 when excited by unit n eventually approaches xt (n + 1) = −wn + c + g/k so that an (τ ), the probability of unit n + 1 activating, approaches K=
1 . 1 + e−{−wn +c+g/k}
Since an (τ ) approaches K for large τ , the distribution dn falls off as (1−K)τ (Equation 7). This shows the importance of the excitation channel decay parameter k. It can be used to control the tail of the state duration distribution. Two examples of model density durations are presented in Figure 5. The durations of 7500 instances of the phonemes /iy/ and /n/ were obtained from the TIMIT database. Model fits are plotted along with the sample densities. The parameter k is particularly valuable in fitting the exponential decay often described in phoneme duration histograms. Training this network is discussed in Chapter 3 of [Byr93]. The EM algorithm is used to train it as a VDHMM [Lev86] under a maximum likelihood criterion. This training problem is developed in an information geometric framework similar to that used to describe Boltzmann Machine learning in [Byr92]. Other neural training schemes based on sequential approximations to the EM algorithm are also possible [WFO90]. In general,
48
William J. Byrne, Shihab A. Shamma
x 10-2 4
Model Duration Density and /iy/ Duration Histogram
3.5 k = 0.1, w = 11.0, g = 0.85, c = 3.0
3 2.5 2 1.5 1 0.5 0
0
20 40 60 80 100 120 140 160 Frame - 2msec step, 20msec window. 16Khz sampling
x 10 -2 Model Duration Distribution and /n/ Duration Histogram 6 5 4
k = 0.18, w = 12.0, g = 1.25, c = 3.0
3 2 1 0 0
10 20 30 40 50 60 70 80 Frame - 2msec step, 20msec window. 16Hkz sampling
FIGURE 5. Modeling sample duration histograms computed from phoneme durations found in the TIMIT database: 6950 instances of /iy/ (top); 7068 instances of /n/ (bottom).
3. Neurocontrol in Sequence Recognition
49
I(t) Observation Process Recognition Control and Scoring Process
Dynamical State Network
FIGURE 6. Dynamical Network Architecture Embedded in a Sequence Recognizer
modeling duration dependent transition probabilities is difficult, however there has been previous work using neural architectures to address this problem [GS89]. Similar networks have been presented elsewhere [RT91, BT91], and in general, dynamic neural networks intended for sequence recognition and production have been widely studied [DCN87, Kle86, SK86, BK91]. The network presented here has the benefit that individual parameters can be associated with desirable aspects of the network behavior. The gain parameter g determines the variance of the duration distribution, for example, the inhibition profile determines the relative duration of each units activity, and the decay factor k in the directed excitation channel is used in modeling the duration distribution tail, as described above. In source mode, the gain function g is fixed and the state progression is a random function of the state (n, τ ). In use as a recognizer, the gain function g is used to control the state progression. To force a change in state from (n, τ ) to (n + 1, 1), g is set to a very large value, so that the directed excitation immediately activates the next unit in the sequence. Otherwise g is kept small so that the current unit remains active. This architecture is illustrated in Figure 6.
6 Neurocontrol in sequence recognition Thus far, two topics have been discussed. MLSS sequence recognition with limited future information has been formulated as a Markov Decision Problem and a stochastic neural architecture intended for modeling observation sequences has been introduced. In this section, a controlled sequence recognizer built on this network architecture will be described.
50
William J. Byrne, Shihab A. Shamma
As described in the previous section, the hidden process of the dynamical network is a first order Markov process with state St = (n, τ )t . While this is more complicated than the formulation of section 4.2 which is based on a simple Markov process, the recognizer and control rule are formulated identically. The following conditional probability can be computed recursively α ˜ (n, τ )ht = Pr(St = (n, τ )t | I1t+h ) h which is denoted α ˜ th = T h (Itt+h , α ˜ t−1 ), as before. The statistics (Itt+h , α ˜ th ) again form a first order Markov process. The joint source-recognizer description is as in Equation 4. The specification of the optimum recognition control is as presented earlier (Equation 5). While the MDP formulation proves the existence of an optimum rule and provides methods to construct it, it is impractical to solve explicitly for the control rules. However, the MDP formulation describes the input to the control rule, i.e. how the observations should be transformed before presentation to the controller. According to this forαth , Itt+h , Rt ). mulation, the optimum control Ut should be a function of (˜ The control rule which is produced as a function of the source-recognizer state is unknown, however the MDP formulation specifies that it does exist. Here, a neural network can be trained in an attempt to approximate it. A set of training sequences is assumed to be available for the model. For example, if a network is to be trained to model the digit “nine”, utterances of “nine” form the training set. After the network has been trained, the Viterbi algorithm is used to find the best hidden state sequence for each training sequence. The training sequences and their corresponding MLSSs form a training set which can be used to build a neural network to implement the recognizer control rule. The source-recognizer statistics are accumulated recursively, and the recognizer control rule neural network is trained to implement the control which generates the Viterbi sequence. This is illustrated in Figure 7.
Experimental Results A small, speaker independent, isolated digit speech recognition experiment was performed. The observations used were vector quantized features obtained from the cochlear model as described in [BRS89]. The features were computed at a frame rate of 20 msec and a step size of 2 msec and quantized using a 32 codeword vector quantizer. The speech taken from the TI Connected Digits database, and networks were trained for each of the ten digits using ten utterances from ten different male speakers (10 utterances from 10 speakers). The recognition score testing on ten utterances from ten other speakers using the Viterbi algorithm was approximately 95% correct. From the Viterbi segmentation, a recurrent neural network was trained
3. Neurocontrol in Sequence Recognition
State Dependent Scoring Process
Observations
51
Likelihood Score
Sequential Network Recognition Control
Viterbi Algorithm
I
Alpha Net
(I,a)
Recurrent Neural Network
State Dependent Scoring Process
Observations
Likelihood Score
Sequential Network I
Alpha Net
(I,a)
Recurrent Neural Network
Recognition Control
FIGURE 7. Viterbi algorithm supplying recognizer control law as training target (top); neurocontrol implementation of recognition control law (bottom).
52
William J. Byrne, Shihab A. Shamma
to implement the recognition control law. The network consisted of two hidden layers with four units in the first hidden layer and 2 units in the second layer. Five frames (h = 5, 10.0 msec) of future information was provided to the recognizer and a discounting parameter β = 0.9 was chosen. Using this neurally implemented recognition control law, recognition performance of approximately 93% correct was obtained. This experiment is presented as an example of an application of the MDP formulation of MLSS sequence recognition and is far from conclusive. While promising, as currently implemented in software on conventional computers, the computational burden in training and testing prohibits evaluating the performance on large problems. However, it is hoped that this formulation might prove valuable both in investigations into the behavior of suboptimal approximations to the Viterbi algorithm and to prompt further investigation into applications of neurocontrol in sequence recognition.
7 Observations and Speculations As MDP sequence recognition has been formulated, it has been assumed that the observations are produced by the source HMM Q which is also used to define the likelihood criterion LQ . A more general formulation is possible. A more complex source could be used, for example, such as a mixture of HMM sources. The only restriction is that it must be possible to accumulate statistics so that the recognizer can be described as driven by a Markov process. Model training and training of the neural network which implements the control law were presented as separate procedures. In many applications of neurocontrol estimation of model parameters and the control law are performed simultaneously [BSS90]. Such a formulation is possible here, and could be based upon sequential versions of the EM algorithm [WFO90].
7.1 The Good Recognizer Assumption An interesting simplification which follows from the MDP formulation of MLSS sequence recognition problem arises from the following assumption. If the recognizer state Rt is assumed to be a very good estimate of the source hidden state St , the problem is greatly simplified. The assumption is 1 Rt = n t+h Pr(St = n | I1 , Rt ) = . 0 otherwise This assumption leads to a drastic reduction in the source-recognizer state dimension and to an interesting relationship between the source and recognition controls.
3. Neurocontrol in Sequence Recognition
53
The first simplification due to the assumption is the elimination of the statistic α ˜ t . Because ˜ th (n) = δn (Rt ). α ˜ th (n) = Pr(St = n|I1t+h ), and Rt is a function of I1t+h , α Therefore α ˜ t is constant for fixed Rt . As a result, the optimum value function V (r, i, α) ˜ is a function of r and i alone. Similarly, the recursive computation of the likelihood term involving Itt+h is also simplified. Note that Rt+1 is a function of Itt+h and Rt , since the control is applied at time t to determine the next recognizer state, so that t+1+h = ih+1 | I1t+h = ih1 ) = Pr( It+h+1 = ih+1 | I1t+h = ih1 ) Pr( It+1 1 = Pr(It+1+h = ih+1 | St+1 , I1t+h ) Pr(St+1 = n | I1t+h = ih1 ) n
=
t+h Pr(It+1+h = ih+1 | St+1 , It+2 = ih2 ) Pr(St+1 = n | Rt+1 , I1t+h )
n
Using φh (i|St+1 ) to denote the probability t+h = ih2 ), the above reduces to Pr(It+1+h = ih+1 | St+1 , It+2 t+1+h = i | I1t+h = ih1 ) = φh (i | Rt+1 ). Pr( It+1
The accumulated statistics α ˜ th are no longer used in computing t+1+h = i | I1t+h ). Instead, this term is approximated by Pr( It+1 t+1+h t+h Pr( It+1 = i | It+2 , St+1 ), where the recognizer state Rt+1 is used as an estimate of the source state St+1 . Modifying the optimum value equations to include this simplification yields V h (f (r; u), i ) φh ( i | f (r; u) ) }. V h (r, i) = max{ v(r, i1 ; u) + β u
i
This assumption leads to interesting interpretations of the control rules. Because the recognition control u appears directly in the source observation statistics, the recognizer acts as if it directly controls the source sequence production. This suggests a close link between the production and recognition processes. When the recognition process is accurate, the recognition control law recovers the source control law best suited to produce the observation sequence. This suggests that this formulation of sequence recognition may provide an avenue for the use of speech production mechanisms, or articulatory models, in speech recognition. Control Rules The value functions which result from the simplifying assumption can be solved fairly easily. The Good Recognizer assumption removes the dependence upon the accumulated statistics α ˜ so that the dimensionality of the value functions is greatly reduced. It is possible to solve them in a
54
William J. Byrne, Shihab A. Shamma
left-to-right manner: V (r, i) depends upon itself and V (r + 1, i). This is made particularly easy when the recognizer state r is expanded to include the state-duration τ . In this case, the Markov chain allows only the two transitions (r, τ ) → {(r, τ + 1), (r + 1, 1)}. In this case, V (r, τ, i) depends solely upon V (r, τ + 1, i) and V (r + 1, 1, i). V (N, τ, i) is solved first and then V (r, τ, i) is solved for decreasing r. In practice, this requires picking a maximum value of τ . The V (N, τ, i) can be then be solved directly; an approximation is to pick V (N, τmax , i) at random and solve backwards for decreasing τ . Consider the h = 1 case. Here, i = (i1 , i2 ) and φ1 (i|St+1 ) = Pr(It+2 = i2 |St+1 ). The value functions are presented here with the reward expressed in likelihood form V (N, τ, i)
= log(1 − aN (τ ))bN (i1 ) + φ1 ((i2 , i3 )|N )V (N, τ + 1, (i2 , i3 )) β i3
V (r, τ, i)
=
max{log(1 − ar (τ ))br (i1 ) + φ1 ( (i2 , i3 ) | r)V (r, τ + 1, (i2 , i3 )) , β i3
log ar (τ ) br (i1 ) + β φ1 ( (i2 , i3 ) | r + 1 ) V (r + 1, 1, (i2 , i3 )) }. i3
Denoting i2 φ1 ( (i1 , i2 ) | r)V (r, τ, (i1 , i2 )) as V¯ (r, τ, i1 ), the decision rule can be simplified. Suppose that at time t, the recognizer is in state (r, τ ) and the observation symbol It+1 becomes available. The recognition control law is chosen according to V¯ (r, τ + 1, It+1 ) − V¯ (r + 1, 1, It+1 )
u=0 1 1 − ar (τ ) ≥ < β log ar (τ ) . u=1
The recognition control law becomes a fairly simple table lookup which, using the next available observation, is based upon comparing expected rewards against a duration-dependent threshold. This could easily be implemented in a neuro-control architecture. Experiments have been carried out using recognition control rules based upon this simplification. However, the results were unsatisfactory. For whatever reasons, but most likely due to overly optimistic nature of the assumption, the recognizers behaved poorly. Typical behavior was to either remain in the initial state or move to the final state as quickly as possible. This assumption may yet prove valuable however, as it suggests methods by which the dimensionality of the value functions and control rules may
3. Neurocontrol in Sequence Recognition
55
be reduced. A topic of future interest might be the investigation of other, not so drastic, approximating assumptions which might yield reductions in computational cost without too much loss in performance.
7.2 Fully Dynamic Sequential Behavior As presented in Section 5, the dynamical network is suitable for recognizing single, individual sequences, such as words spoken in isolation. While determining the underlying event sequence in such applications is not of crucial importance, it has been given as a demonstration of the MDP recognition formulation in which local decisions can be made that avoid the use of non-causal dynamic programming algorithms. The ultimate desired application of the dynamical network is in identifying subsequences in continuous observation streams as necessary for connected or continuous speech recognition. To be useful in such applications, the network architecture must be modified. By allowing the final network unit N to excite the first network unit, the network can be made to oscillate. After the N th unit has been active, the first unit activates and the network repeats its pattern sequence. In this way the network behaves as a controlled oscillator. Oscillatory networks have been used as models of central pattern generation in simple neural systems [Mat87, Mat85, SK86, Kle86]. Such oscillatory behavior has been investigated in the network presented here and has been described elsewhere [BRS89]. As in the isolated sequence case, it is desirable to use the dynamical behavior of the network in these more complex sequence recognition problems. In problems in which higher level context must be modeled, such as when sequences can appear as substrings in other sequences, it is hopeful that large networks with cyclic behavior might be built which would capture the complexity of the task. Ideally, a “grammar” which describes the problem would control the cyclic behavior of the network in much the same way that language models are currently used in HMM speech recognition systems to constrain the acoustic search. In such an application, the dynamical network operates in either phaselocked or free-cycling mode. A recognition controller is used to vary the excitation gain g to induce either of these modes, as described earlier in Section 5. In free-cycling mode, the excitation gain is set to a high value so that the network progresses quickly through its state sequence. In phaselocked mode, the network progresses through its state sequence at a rate matched to the observed sequence. This is an indication that the observations agree with the network model. Because this behavior is indicated by the control law itself, the value of g serves as an indication of the match between the observations and the model. An example of early experiments into this phase-locking behavior is described here. The dynamical network is intended to synchronize with the
56
William J. Byrne, Shihab A. Shamma Error
Comparator
Signal
Phonemic Classification Network
State-Phoneme Mapping
Dynamical State Network
Feature Extraction
Cochlear Model
Speech
Control Signals
FIGURE 8. Dynamical network embedded in a simple phone classifier architecture: (top) System architecture; (bottom) Synchronization of a network trained to recognize “four” to the utterance “nine four two”.
output of phoneme classifiers when the correct word is in the input stream. When incorrect words are in the input, the network should lose synchronization and free-cycle. Feed-forward networks were trained to classify hand-labeled segments of spoken digits. The classifier outputs were thresholded to make a binary decision about the identity of the observation, so that the network is presented with a binary vector of classifier signals. The Hamming distance between the network activity vector and the classifier output is used as a measure of instantaneous agreement between the observations and the recognizer. The network gain is obtained directly from this agreement measurement by simple low-pass filtering. If the network and classifier vectors are in agreement, the gain will decay, and the network state progression will slow. Conversely, if the agreement is poor, the error will drive up the gain, and the network will speed up. Ideally, the network will synchronize its progression to the rate of the input signal. This network architecture is presented in Figure 8 and preliminary experiments with this system are described in [Byr93]. While the example presented here is simple, it captures the formulation of the intended application of the dynamical network in sequence recognition. Constructing a recognition control law to implement the desired control is a non-trivial task. A topic of future research is to extend the MDP formulation to describe recurrent behavior by multiple networks so that a rigorous framework for sequential decisions in connected and continuous speech recognition can be developed.
8
References
[Bel57]
R. Bellman. Dynamic Programming. Princeton University Press, Princeton, N.J., 1957.
[BK91]
W. Banzhaf and K. Kyuma. The time-into-intensity-mapping network. Biological Cybernetics, 66:115–121, 1991.
3. Neurocontrol in Sequence Recognition
57
[BM90]
H. Bourlard and N. Morgan. A continuous speech recognition system embedding MLP into HMM. In D. Touretzky, editor, Advances in Neural Information Processing 2, pages 186–193, San Mateo, CA, 1990. Morgan-Kaufmann.
[Bri90]
J. Bridle. Alpha-nets: a recurrent neural network architecture with a Hidden Markov Model interpretation. Speech Communication, 9:83–92, 1990.
[BRS89]
W. Byrne, J. Robinson, and S. Shamma. The auditory processing and recognition of speech. In Proceedings of the Speech and Natural Language Workshop, pages 325–331, October 1989.
[BSS90]
A. Barto, R. Sutton, and C. Sutton. Learning and sequential decision making. In M. Gabriel and J .Moore, editors, Learning and Computational Neuroscience: Foundations of Adaptive Networks, chapter 13, pages 539–602. Bradford, Boston, 1990.
[BT91]
P. Bressloff and J. Taylor. Discrete time leaky integrator network with synaptic noise. Neural Networks, 4:789–801, 1991.
[Bur88]
D. Burr. Experiments on neural nets recognition of spoken and written text. IEEE Transactions on Acoustics, Speech and Signal Processing, 36:1162–1168, 1988.
[BW89]
H. Bourlard and C. Wellekens. Speech pattern discrimination and multilayer perceptrons. Computer Speech and Language, 3:1–19, 1989.
[Byr92]
W. Byrne. Alternating Minimization and Boltzmann Machine learning. I.E.E.E. Transactions on Neural Networks, 3(4):612– 620, 1992.
[Byr93]
W. Byrne. Encoding and representing phonemic sequences using nonlinear networks. Ph.D. thesis, University of Maryland, College Park, 1993.
[DCN87]
S. Dehaene, J.-P. Changeux, and J.-P. Nadal. Neural Networks that learn sequences by selection. Proceedings of the National Academy of Science, U.S.A., 84:2727–2731, May 1987.
[Elm90]
J. Elman. Finding structure in time. 14:179–211, 1990.
[FLW90]
M. Franzini, K.F. Lee, and A. Waibel. Connectionist Viterbi training: a new hybrid method for continuous speech recognition. In Proc. ICASSP, April 1990.
Cognitive Science,
58
William J. Byrne, Shihab A. Shamma
[For67]
G. Forney. The Viterbi algorithm. IEEE Transactions on Information Theory, IT-13:260–269, April 1967.
[GS89]
S. Grossberg and N. Schmajuk. Neural dynamics of adaptive timing and temporal discrimination during associative learning. Neural Networks, 2(2):79–102, 1989.
[Kle86]
D. Kleinfeld. Sequential state generation by neural networks. Proceedings of the National Academy of Science, U.S.A., 83:9469–9473, December 1986.
[KM93]
V. Krishnamurthy and J. Moore. On-line estimation of Hidden Markov Models based on the Kullback-Leibler information measure. IEEE Transactions on Signal Processing, 41(8):2557– 2573, August 1993.
[Lev86]
S. Levinson. Continuously variable duration Hidden Markov Models for automatic speech recognition. Computer Speech and Language, 1(1):29–46, March 1986.
[Lev93]
E. Levin. Hidden Control neural architecture modeling of nonlinear time varying systems and its applications. IEEE Transactions on Neural Networks, 4(1):109–116, January 1993.
[LG87]
R. Lippmann and B. Gold. Neural network classifiers useful for speech recognition. In Proc. IEEE First International Conference on Neural Networks, pages 417–425, San Diego, CA, June 1987.
[Mak91]
A. Makowski. ENEE 726. Stochastic Control Class Notes, Dept. Electrical Engineering, University of Maryland, Fall 1991.
[Mat85]
K. Matsuoka. Sustained oscillations generated by mutually inhibiting neurons with adaptation. Biological Cybernetics, 52:367–376, 1985.
[Mat87]
K. Matsuoka. Mechanisms of frequency and pattern control in the neural rhythm generators. Biological Cybernetics, 56:345– 353, 1987.
[MB90]
N. Morgan and H. Bourlard. Continuous speech recognition using multilayer perceptrons and Hidden Markov Models. In Proc. ICASSP, pages 413–416, Albuquerque, NM, April 1990.
[MO70]
H. Mine and S. Osaki. Markov Decision Processes. American Elsevier, New York, 1970.
3. Neurocontrol in Sequence Recognition
59
[Mon82]
G. Monaham. A survey of partially observable Markov decision processes: theory, models and applications. Management Science, 28(1):1–16, January 1982.
[MY72]
I. Morishita and A. Yajima. Analysis and simulation of networks of mutually inhibiting neurons. Kybernetic, 11, 1972.
[NS90]
L. Niles and H. Silverman. Combining Hidden Markov Models and neural network classifiers. In Proc. ICASSP, pages 417– 420, 1990.
[Rab89]
L. Rabiner. A tutorial on Hidden Markov Models and selected applications in speech recognition. Proceedings of the IEEE, 77(2):257–286, February 1989.
[RBH86]
L. Rabiner and B.-H.Juang. An introduction to Hidden Markov Models. IEEE ASSP Magazine, pages 4–16, January 1986.
[Ros83]
S. Ross. Introduction to Stochastic Dynamic Programming. Academic Press, New York, 1983.
[RT91]
M. Reiss and J. Taylor. Storing temporal sequences. Neural Networks, 4:773–787, 1991.
[SIY+ 89]
H. Sakoe, R. Isotani, K. Yoshida, K. Iso, and T. Watanabe. Speaker independent word recognition using dynamic programming neural networks. In Proc. ICASSP, pages 29–32, Glasgow, Scotland, May 1989.
[SK86]
H. Sompolinsky and I. Kanter. Temporal association in asymmetric neural networks. Physical Review Letters, 57(22):2861– 2864, December 1986.
[S.L85]
S.Levinson. Structural methods in automatic speech recognition. Proceedings of the IEEE, 73(11):1625–1650, November 1985.
[SL92]
E. Singer and R. Lippmann. A speech recognizer using radial basis function neural networks in an HMM framework. In Proc. ICASSP, 1992.
[SLM84]
S.Levinson, L.Rabiner, and M.Sondhi. An introduction to the application of the theory of probabilistic functions of a Markov process to automatic speech recognition. The Bell System Technical Journal, 64(4):1035–1074, April 1984.
[TH87]
D. Tank and J. Hopfield. Neural computation by concentrating information in time. Proceedings of the National Academy of Science, U.S.A.: Biophysics, 84:1896–1900, April 1987.
60
William J. Byrne, Shihab A. Shamma
[UHT91]
K.P. Unnikrishnan, J. Hopfield, and D. Tank. Connected-digit speaker-dependent speech recognition using a neural network with time-delayed connections. IEEE Transactions on Signal Processing, 39(3):698–713, March 1991.
[WFO90]
E. Weinstein, M. Feder, and A. Oppenheim. Sequential algorithms for parameter estimation based on the KullbackLeibler information measure. I.E.E.E. Transactions on Acoustics, Speech, and Signal Processing, 38(9):1652–1654, September 1990.
[WHH+ 89] A. Waibel, T. Hanazawa, G. Hinton, K. Shikano, and K. Lang. Phoneme recognition using time-delay neural networks. IEEE Transactions on Acoustics, Speech and Signal Processing, 37(3):328–339, March 1989.
4 A Learning Sensorimotor Map of Arm Movements: a Step Toward Biological Arm Control Sungzoon Cho James A. Reggia Min Jang ABSTRACT Proprioception refers to sensory inputs that principally regulate motor control, such as inputs that signal muscle stretch and tension. Proprioceptive cortex includes part of SI cortex (area3a) as well as part of primary motor cortex. We propose a computational model of neocortex receiving proprioceptive input, a detailed map of which has not yet been clearly defined experimentally. Our model makes a number of testable predictions that can help guide future experimental studies of proprioceptive cortex. They are, in particular, first, overlapping maps of both individual muscles and of spatial locations, second, multiple, redundant representations of individual muscles where antagonist muscle length representations are widely separated and third, neurons tuned to plausible combinations of muscle lengths and tensions, and finally proprioceptive “hypercolumns”, i.e., compact regions in which all possible muscle lengths and tensions and spatial regions are represented.
1 Introduction It has long been known that there are multiple feature maps occurring in sensory and motor regions of the cerebral cortex. The term feature map refers to the fact that there is a systematic, two-dimensional representation of sensory or motor features identifiable over the cortical surface. Generally, neurons close to one another in such maps respond to or represent features that are similar. In most cases, neurons or other supraneuronal processing units (“columns”) have broadly tuned responses, and thus the receptive fields of neighboring units overlap. Feature maps are conveniently classified as being either topographic or computational. A feature map is called topographic when the stimulus parameter being mapped represents a spatial location in a peripheral space, for instance, the location of a point stimulus on the retina or the location of a tactual stimulus on the skin. A feature map is called computational when
62
Sungzoon Cho, James A. Reggia, Min Jang
the stimulus parameter represents an attribute value in a feature space, for instance, the orientation of a line segment stimulus or the spatial location of a sound stimulus [KdLE87, UF88]. Several computational models have been developed to simulate the selforganization and plasticity of these cortical maps, including topographic maps in somatosensory (SI) cortex [GM90, PFE87, Skl90, Sut92] and computational maps in visual cortex [BCM82, Lin88, MKS89, vdM73]. While not without their limitations, these and related models have shown that fairly simple assumptions, such as a Mexican Hat pattern of lateral cortical interactions and Hebbian learning, can qualitatively account for several fundamental facts about cortical map organization. To our knowledge, the goal of all past computational models of cortical maps has been to explain previously established experimental data concerning relatively well-defined maps. In contrast, in this paper we develop a computational model of neocortex receiving proprioceptive input (hereafter called “proprioceptive cortex”), a detailed map of which has not yet been clearly defined experimentally. Proprioception refers to sensory inputs that principally regulate motor control, such as inputs that signal muscle stretch and tension. Proprioceptive cortex includes part of SI cortex (area3a) as well as part of primary motor cortex [Asa89]. Our model makes a number of testable predictions that can help guide future experimental studies of proprioceptive cortex. In addition, the results of our simulations may help clarify recent experimental results obtained from studies of primary motor cortex, a cortical region that is heavily influenced by proprioceptive inputs [Asa89]. To our knowledge, this is the first computational model of map formation in proprioceptive cortex that has been developed. The overall concern in this paper is with what sensory feature maps could emerge in cortex related to the control of arm movements. Insight into this issue is not only of interest in a biological context, but also to those concerned with control of robotic arms or other engineering control applications [WS92]. There have been several previous models of map formation with model arms [BG88, BGO+ 92, Kup88, Mel88, RMS92]. These previous models are different from that described here in that they are usually concerned with visuomotor transformation process of a 3-D reaching arm movement taking place in motor cortex. Thus, they typically use spatial location such as xyz-coordinates of an arm’s endpoint as input rather than only muscle length and tension as was done here. Thus, these past models have not been concerned with proprioceptive map formation. The role of primary motor (MI) cortex in motor control has been an area of intense research during the last several years [Asa89]. Recent studies have discovered a great deal about the encoding of movements in MI [CJU90, DLS92, GTL93, LG94, SSLD88], although many aspects of the organization of the MI feature map remain incompletely understood or controversial (see [SSLD88] for a cogent review). For example, exper-
4. A learning sensorimotor map of arm movements
63
imental maps of MI muscle representations have revealed that upper extremity muscles are activated from multiple, spatially separated regions of cortex [DLS92]. It has been suggested that this organization may provide for local cortical interactions among territories representing various muscle synergies. While this may be true, the model proprioceptive cortex developed here offers another explanation: that such an organization may be secondary to multiple, spatially separated muscle representation in proprioceptive cortex. Proprioceptive input exerts a significant influence on motor cortex [Asa89]. Thus, this model of proprioceptive cortex may help clarify these and other organizational issues concerning primary motor cortex. In our work, a model arm provides proprioceptive input to cortex. Our model arm is a substantial simplification of reality: there are only six muscles (or muscle groups), there are no digits, there is no rotation at joints, gravity is ignored, and only information about position is considered. Two pairs of shoulder muscles (flexor and extensor, abductor and adductor) and one pair of elbow muscles (flexor and extensor) control and move the model arm which we study in a three dimensional (3-D) space. Nevertheless, as will be seen, this simplified arm provides sufficient constraints for a surprisingly rich feature map in the cortex. The resultant feature map consists of regularly spaced clusters of cortical columns representing individual muscle lengths and tensions. Cortical units become tuned to plausible combinations of tension and length, and multiple representations of each muscle group are present. The map is organized such that compact regions within which all muscle group lengths and tensions are represented could be identified. Most striking was the observation that, although not explicitly present in the input, the cortical map developed a representation of the three-dimensional space in which the arm moved.
2 Methods We first present a neural network model of proprioceptive cortex, its activation mechanism and learning rule. Secondly, the structure of the model arm and the constraints it imposes on input patterns are given. The model arm is not a neural model; it is a simple simulation of the physical constraints imposed by arm positioning. Finally, we describe how we generate the proprioceptive input patterns from the model arm.
2.1 Neural Network The model network has two separate layers of units, the arm input layer and proprioceptive cortex layer (or simply “cortical layer” from now on) (see Fig. 1). Each unit in the arm layer competitively distributes its ac-
64
Sungzoon Cho, James A. Reggia, Min Jang
Cortical layer (20x20) k l
wkj
wlj
fully connected Input layer j
muscle length (6)
muscle tension (6)
FIGURE 1. Neural network. The arm input layer contains six muscle length units and six muscle tension units, whose activation values represent the proprioceptive inputs of muscle length and tension values. The cortical layer consists of a grid of 20 × 20 units which represents proprioceptive cortex. Each unit is connected to its six immediate neighboring units (a hexagonal tessellation is used). To remove edge effects, units on the edges are connected with units on the opposite edges, so the cortical layer effectively forms a torus. The connection weights from input layer to cortical layer are initially randomly generated from a uniform distribution, then updated through training. The lateral connection weights between cortical units are constant.
4. A learning sensorimotor map of arm movements
65
tivation to every unit in the cortical layer. Each unit in the cortical layer also competitively distributes its activation to its neighbors through lateral connections. Competitive activation mechanisms have been shown to be quite effective in many different applications [RDSW92, RSC91]. With the recent development of learning algorithms for use with competitive activation mechanisms, these activation mechanisms can now be used in a wide variety of applications [CR92, CR93, RSC91]. One distinct feature of a competitive activation mechanism is its ability to induce lateral inhibition among units, and thus to support map formation, without using explicit inhibitory connections [CR92, RDSW92, Sut92, UF88]. Even with constant weight values for all cortico-cortical connections, a Mexican Hat pattern of activation appears in the cortex [RDSW92]. It is this feature that we try to exploit in map formation at the cortical layer. The activation level of unit k at time t, ak (t) is determined by 1 dak (t) = cs ak (t) + (max − ak (t))ink (t) dt where ink (t) =
j
okj (t) =
j
(ap (t) + q)wkj cp k p aj (t). l (al (t) + q)wlj
(1)
(2)
This activation rule is same as the rule used in [RDSW92]. The weight on the connection from unit j to unit k is denoted by wkj , which is assumed to be zero when there is no connection between the two units. Although the weight variable is also a function of time due to learning, it is considered constant in the activation mechanism because activation levels change much faster than weights. The constant parameters cs and cp represent decay at unit k (with negative value) and excitatory output-gain at unit j, respectively. The value of cs controls how fast activation decays while that of cp determines how much output a unit sends in terms of its activation level. The exponent parameter p determines how much competition exists among the units. The larger the value of p, the more competitive the model’s behavior, and thus the greater peristimulus inhibition. The parameter q (a small constant such as 0.0001) is added to ak (t) for all k, to prevent division by zero (denominator term in Eq. 2) and to influence the intensity of lateral inhibition. The parameter max represents the maximum activation level. The output okj (t) from unit j to unit k is proportional not only to the sender’s activation level, aj (t), but also to the receiver’s activation level, ak (t). Therefore, a stronger unit receives more activation. Another unit l which also gets input from unit j can be seen as competing against unit k for the output from unit j because the normalizing factor l∈N (al (t) + q)wlj in the denominator constrains the 1 Arm layer units are clamped to the length and tension values computed from random cortical signals to six muscles, thus the equation applies only to the cortical layer units.
66
Sungzoon Cho, James A. Reggia, Min Jang
sum of the outputs from unit j to be equal to its activation level, aj (t), when cp = 1. The activation sent to unit k, therefore, depends not only on the activation values of the units from which it receives activation such as unit j, but also on the activation values of its competitors to which unit k has no explicit connections. Since competitive distribution of activation implicitly assumes that activation values are nonnegative, we used a hard lower bound of zero when we update activation values in Eq. 1 in order to prevent the activation values from ever going negative. The equation is approximated by a difference equation with ∆t = 0.1. Other parameter values were determined empirically as follows. For cortical layer units, decay constant cs and ceiling max values in Eq. 1 were set to −4.0 and 5.0 respectively. Their q and output gain parameter cp values in Eq. 2 were set to 0.001 and 0.9, respectively. For arm layer units, q and cp values in Eq. 2 were set to 0.1 and 0.8, respectively. Since arm layer units were clamped, their cs and max values were not relevant. Further details of the activation mechanism can be found in [RDSW92].
2.2 Learning Connection weights are modified according to competitive learning, a variant of Hebbian Learning that tends to change the incoming weight vectors of the output units (cortical layer units here) into prototypes of the input patterns [RZ86]. The particular learning rule used here is adapted from [Sut92] and [vdM73]: (3) ∆wkj = η[aj − wkj ]a∗k where a∗k =
ak − θ 0
if ak > θ otherwise
(4)
and where parameters η and θ are empirically set to 0.1 and 0.32. Only the weights from the arm layer to the cortical layer are changed by Eq. 3; the cortico-cortical connections are constant. Before training, weights were randomly selected initially from a uniform distribution in the range of [0.1,1.0]. Updated weights were also normalized such that the 1-norm of the incoming weight vector of each cortical unit is equal to that of input patterns (the average size of input pattern was empirically found to be 7.45). Instead of checking at each iteration whether the network reached equilibrium we ran the network for fixed number of iterations, 32, which was found to approximate equilibrium empirically and at this point one step of learning was done according to Eq. 3.
2.3 Model Arm Basically, the model arm consists of two segments we call the upper arm and lower arm, connected at the elbow. The model arm is fixed at the
4. A learning sensorimotor map of arm movements
67
TABLE 1. Proprioceptive input values for the network. The value inM denotes the randomly generated neuronal input to muscle M . The values lM and TM respectively represent the length and tension input values of muscle M .
Joint α
Angle π 2 (inB − inD )
β
π 2 (inE
− inF )
γ
π 2 (inO
− inC )
Muscle (M ) Abductor Adductor Extensor Flexor Opener Closer
Length (lM ) sin ( 12 ( π2 − α)) cos ( 12 ( π2 − α)) sin ( 12 ( π2 − β)) cos ( 12 ( π2 − β)) sin ( 12 ( π2 − γ)) cos ( 12 ( π2 − γ))
Tension (TM ) inB + 0.1 · lB inD + 0.1 · lD inE + 0.1 · lE inF + 0.1 · lF inO + 0.1 · lO inC + 0.1 · lC
shoulder and has only six generic muscles or muscle groups. We assume that there are four muscles that control the upper arm and two muscles that control the lower arm. These “muscles” correspond to multiple muscles in a real arm. Abductor and adductor muscles move the upper arm up and down through 180◦ , respectively, while flexor and extensor muscles move it forward and backward through 180◦ , respectively. These four muscles are attached at points equidistant from the shoulder. The lower arm is moved up to 180◦ in a plane, controlled by closer (lower arm flexor) and opener (extensor) muscles as described in Fig. 2. This model arm is a great simplification of biological reality, and is intended as only a first effort for modeling feature map formation in the proprioceptive cortex. Neither the dynamics of the arm movement nor the effects of gravity on the arm are considered. Also the arm is assumed not to rotate around the elbow or shoulder joints. Only the positional information about the arm is part of the model.
2.4 Proprioceptive Input Since there is no motor cortex in our model, input activation to muscles must somehow be generated. We first generate six random numbers which represent input activation to the six muscles that control the model arm. Given this input activation, we compute the expected proprioceptive information from muscles, i.e., muscle length and tension values. This information consisting of twelve values is used as input to the proprioceptive cortex in the model. The activation values of arm layer units are clamped to these values. Table 1 shows the formulae from which we compute proprioceptive input to the cortical layer. Fig. 3 shows a generic joint. First, we define the joint angle as a function of difference between the input activation level of agonist and antagonist muscles.
68
Sungzoon Cho, James A. Reggia, Min Jang
z b Hand
B
(0,0,l/2) (-l/2,0,0) abductor
flexor
closer
γ opener
Lower Arm
c
C
Elbow α Shoulder
Upper Arm
y
β
extensor adductor (l/2,0,0) (0,0,-l/2)
x
FIGURE 2. Schematic view of model arm. The model arm is considered as the right arm of a human facing the negative side of the x-axis. The pair of abductor and adductor muscles control the upper arm’s vertical movement around the x-axis through contraction and stretch, with their joint angle denoted as α. The pair of flexor and extensor muscles control the arm’s horizontal movement around the z-axis, with their angle denoted as β. All four muscles are attached to the midpoint of the upper arm and to imaginary points on either the x-axis or the z-axis. The upper arm can move up to 180◦ around the two axes, x and z, thus the possible positions of elbow E define a hemisphere. The pair of opener and closer muscles moves the lower arm up to 180◦ around only one axis, a time-varying line perpendicular to the “hand plane” (plane which is generated by the x-axis and elbow) and that passes through the elbow. Thus, the lower arm swings from a position collinear with the upper arm to a “folded” position where hand meets shoulder. Both muscles are attached to the midpoint of the lower arm and to imaginary points on the extended line of upper arm, both length l/2 apart from the elbow. Their joint angle is denoted γ(= HEB) where H and E represent hand and elbow positions, respectively and B is the projection of H onto the line segment which is perpendicular to upper arm and on the hand plane. The possible positions of hand H define a semicircle with center E and radius l on the hand plane.
4. A learning sensorimotor map of arm movements
69
P Q
Z
l1
l2 W θ
A
X
O
Y
B
FIGURE 3. Generic joint of muscles XZ and Y Z and arm segment OQ of length l. The pair of muscles XZ and Y Z move the arm segment OQ from positions OA to OB through contraction and stretch. For example, contraction of muscle Y Z and stretch of muscle XZ moves the arm segment to the right as shown in the figure. Thus, the possible positions of Q define a semicircle AP B. Both muscles are attached to the mid-point Z of the arm segment, (i.e., OZ = l/2). muscle XZ is also attached to point X and muscle Y Z to point Y , respectively, which are located distance l/2 apart from the joint O on opposite sides (i.e., OX = OY = l/2). Joint angle θ denotes the angle between OQ and OP .
70
Sungzoon Cho, James A. Reggia, Min Jang
Joint angle: Let us denote as inag and inant the input activation level of agonist and antagonist muscles. Then, the joint angle θ is defined as θ = π2 (inag − inant ). Note that value θ ranges from −π/2 to π/2, exclusive of the end points. In simulations, values of in are randomly generated from a uniform distribution in [0,1]. Muscle length units in the network model muscle spindle, or stretch receptor inputs, which fire strongly when the muscle is mechanically stretched. We can derive the lengths of the muscles, l1 (=XZ) and l2 (=Y Z) from the joint model shown in Fig. 3. Muscle length: Given joint angle θ and appendage length l as in Fig. 3, muscle lengths l1 and l2 are l1 l2
1 π = l cos ( − θ) 2 2 1 π = l sin ( − θ). 2 2
(5) (6)
To see this, consider OY Z, an isosceles triangle with OY = OZ = l/2. Let W be on Y Z such that OW ⊥ Y Z, so OW Y is a right triangle with
Y OW =
1 π ( − θ) 2 2
and YW =
l2 . 2
(7)
(8)
From Eqs. 7 and 8, we get 1 π YW l2 /2 sin ( − θ) = = l2 /l, = 2 2 l/2 OY thus, we have Eq. 6. Now consider XZY . Point Z is on a semi-circle with center O and diameter l, so XZY = π2 . Thus, we have 2
XZ + Y Z
2
l12 + l22 l1
= XY
2
= l2 = l2 − l22 .
Substituting Eq. 6 for l2 , we have Eq. 5 since 12 ( π2 − θ) ∈ [0, π2 ]. Because of their location serial to muscle fibers, Golgi tendon organs strongly respond when the muscle actively contracts. Passive stretching of the muscle also activates the Golgi tendon organ but not as much [CG85]. These observations lead to the following.
4. A learning sensorimotor map of arm movements
71
Muscle Tension: Let ini denote the input activation to muscle i. Then, the muscle tension Ti is defined as Ti = ini + T · li
(9)
where T is a small constant. The first term ini at unit i represents the active portion of the total tension generated by the muscle. The second term, T li , represents the secondary sensitivity of the Golgi tendon organ to passive muscle stretching. Input values to muscles in are uniform random variables whose values range from 0 to 1. However, actual input values to the neural network such as joint angle, length, and tension are not uniform random variables. This is because any arbitrary transformation of uniform random variables does not usually result in another uniform random variable. This leads us to the observation that certain combinations of length and tension values are presented disproportionally more often during training. For instance, joint angle values near zero will be presented more often than other values.
3 Simulation Results We present three types of results from this study of map formation in the proprioceptive sensory cortex. First, we show that both length and tension maps formed during training. Second, we characterize these maps by describing various redundancies and relationships that appear. Third, we describe the map of hand position in three dimensional space that formed even though there was no explicit input of hand position.
3.1 Formation of length and tension maps To examine whether maps of muscle length and tension formed during training, we measured which muscle’s length or tension each cortical unit responded to most strongly. Consider an input pattern where only one muscle length or tension unit (arm unit) is activated. There are 12 such input patterns, because we have six muscle length and six tension units. Since the arm units represent the length and tension of six muscles of the model arm (flexor and extensor, abductor and adductor in upper arm, and flexor and extensor in lower arm), each of these input patterns corresponds to the unphysiological situation where either length or tension of only one muscle is activated. For instance, an input pattern of (P, 0, 0, ..., 0) represents the case where the upper arm extensor’s length unit is activated
72
Sungzoon Cho, James A. Reggia, Min Jang
while all other units are not 2 These input patterns were not used during training. Nevertheless, they provide an unambiguous and simple method for measuring map formation. A cortical unit is taken here to be “tuned” to an arm input unit if the sole excitation of the input unit produced activation larger than a threshold of 0.5 at that cortical unit. A cortical unit is “maximally tuned” to an arm input unit if it is tuned to that input unit and the activation corresponding to that input unit is largest. We determined to which of the six muscles each cortical unit was tuned maximally. This was done with respect to both the length and tension of each muscle independently. Fig. 4 shows the maximal tuning of cortical units, before (on the top) and after (at the bottom) training. Consider, for example, the unit displayed in the upper left corner of the cortical layer. After training (bottom figures), it was maximally tuned to ‘O’ in the length tuning figure and ‘c’ in the tension tuning figure. This translates into: this unit responded maximally to the opener with respect to the muscle length, but to the closer with respect to the muscle tension 3 cortical units marked with a “-” character were found to be not tuned to the length or tension of any muscle. The number of untuned cortical units decreased 16% (length) and 30% (tension) with training. The number of cortical units tuned to multiple muscle lengths and multiple tension lengths after training were 46 and 27, respectively. The number of those units multiply tuned to either length or tension was 230. Now compare the figures regarding length tuning before and after training (those on the left of Fig. 4). Clusters of units responsive to the same muscle became more uniform in size after training. The size of clusters ranged from 2 to 10 before training, but ranged from 3 to 4 after training, and their shape became more regular. Clusters of units tuned to antagonist muscles were usually pushed maximally apart from each other during training. Many of these changes are more obvious visually if one considers a map of just two antagonist muscles. For instance, consider the clusters shown in Fig. 5, where only those units in Fig. 4 tuned to upper arm extensor (‘E’) and flexor (‘F’) muscles are displayed. After training, clusters of ‘E”s and ‘F”s are pushed maximally away from each other, evenly spaced, and more uniform in size. The network captures the mechanical constraint imposed by the model arm that two antagonist muscles cannot be stretched at the same time. This result is representative: clusters of antagonist muscles are pushed apart for other pairs, such as upper arm abductor and adductor muscles (‘B’ and ‘D’) and opener and closer muscles (‘O’ and ’C’). In the case of tension tuning figures, the results are similar. The size of 2 A positive constant P is introduced to make the magnitude of a test input pattern similar to that of a normalized training pattern whose size was 7.45. 3 Implications of this type of ‘multiple tuning to antagonists’ will be explored in the next section.
4. A learning sensorimotor map of arm movements
Length Tuning in Untrained Cortical Layer
73
Tension Tuning in Untrained Cortical Layer
- - C - F - C B F D C C B - F C C C - e c f f c c d d e e c c - f d b b b - e - B B O - - C F F D C - D F F C C C F F o o f d c c - e e - c c - d d o o - f e - B O - - C E E - - - D O F C D D C F - o d - - b f f o b b - - e e o d f f e D F - E E C - - - - - - B B E E E - - - d - - b e c o d b - - c e - d d - - F F E E - B B - - - - B B E E - - O - - - - - e e c - - f f c c f - c c - - D D - D O B B - F F - E E - - - O B - - - - e e - - e e f o o f b c c d d - D D D O O E - C D E E E - D F O B E E b d d o - - - b e c o o b b - - o o f b B D D - E E - C D - - - D D F - E E C B b d f f - - b b d c - - - e e - o f c b - - C B E - O O - - - - D C C - - C C B - - - c c - o d d - - - - e e c c e e E C C F F - O - B B - - - C - - - F - E - - - c - o o - - b - - - - c c - d - - C F F - - - - F O - E E - - - F F O E - b b - o o - - b b f d d e e o d d c - F O - - - - - F - E E F - D D B O - - b b e f - - - e e f d - b b o - f f - O O O O C E D D - - O - - D - - - D D d d e e f b - - - - o o - - - - - f o - - - D O E E D D C C O E C - - - - D B d o c f f b o - - - o - - - - - - e - C - - D F F E - B B C E C C F F - - B B o o c f d o o - - c e o f - - d c - - C C B D F - E O B F F D - F F C - E E C b f - - d o f f c c c f f - d d c - - b C B B D - - O O - F F E - - C C E E E D f - - - - e f f c c - f b b d - e - - f F O - - C C E E - - E O - D D E O O D D - - - - e e b - - - - b b b - e e - - O O E - C D - - B - O - - D E - O B - F - - - - - b - o f - - - o o o o - - - d O E E - F D - B B O O - B B - - B B - - c c - - - d d - e - - o f f o b b d d
Length Tuning in Trained Cortical Layer
Tension Tuning in Trained Cortical Layer
O E - - F - E E - F F - O E D D C F - c - - - e - f f - - e e c f b b - e e c O - C C - O O - C B B O O - D C C - - O - d d o o c c - d o o c c - - - o o c c - B C C D O O - C C - O F - - - E D D - d o o - c e d d o - - - e - - f - b F B E D D F F - E E - F F B B E E D D F e - f b b e e - f - b - d e c f f b b e - E E - F F - E D D C F B B O - - C C F c f f b - e - f f b b o d c c - - b - e O O - C C - O O D - C - - O O - - C C c - - d o c c - - b o o - c - d d o o c O - B B B - O - - - E E D D F B B - D D - - d d o c c e e - f f b b e d - o - F - B E - - F F B - E D D F F B E E D D e e f f - - - e e f f b b e e - f f b b F - E E - - F B B O - C C F - O E E - F e - f f b - d d c c - - o e c c f - b - O D D C C - - O O - C C - O O - - C B c c - b b o o - c - d d o - c - - d o o - O D - C C D D F F B B E D D - - B B c c - - - o - b - e d - - - b - d d o o - F F - E E D D F - B E E D D F - - E - d e e f f b b e e - f f b b e e f f F B B - E - - C - - O E - C F F O E E d d e f f - b o e c c f - o e e c f b C B - O O - C C - O O - C C - O O D - C o o c c - d o o - c - - d o o c c b b - - - F B B C E D D F - B B - O D D C C o - c - d d f - b b e d d - - c - b - o D D F F B B E E - F F - E E - - F - - E - b - e e f f - b e e f f - - - e e f f D - C - - O - - - F - O E - - F F - E E b b o e - c - d - e c f f b d d e c f f - C C - O O - B C - O O - C C B B O O b o o - c c d d o o c c b d o o c c - B C E D O F B B C - D D - C B B - O F B - - f b c e d - o - b b - - o - c - d d B E E D F F - E E - F F - E E D - F F B - f b b e e f f - b b e e f f b b d e -
FIGURE 4. Tuning of cortical units to muscle length and tension. Labels E, F, B, D, O, and C represent length of upper arm extensor and flexor, upper arm abductor, adductor, lower arm opener and closer, respectively while labels e, f, b, d, o, and c represent tension of corresponding muscle.
74
Sungzoon Cho, James A. Reggia, Min Jang
Extensor/Flexor Length Tuning in Untrained Cortical Layer
Extensor/Flexor Tension Tuning in Untrained Cortical Layer
- - - - F - - - F - - - - - F - - - - e - f f - - - - e e - - - f - - - - - e - - - - - - - F F - - - - F F - - - F F - - f - - - - e e - - - - - - - - - f e - - - - - - E E - - - - - F - - - - F - - - - - - f f - - - - - e e - - f f e - F - E E - - - - - - - - - E E E - - - - - - - e - - - - - - - e - - - - - F F E E - - - - - - - - - E E - - - - - - - - e e - - - f f - - f - - - - - - - - - - - - - F F - E E - - - - - - - - - e e - - e e f - - f - - - - - - - - - - - E - - - E E E - - F - - E E - - - - - - - - e - - - - - - - - - f - - - - E E - - - - - - - - F - E E - - - f f - - - - - - - - - e e - - f - - - - - E - - - - - - - - - - - - - - - - - - - - - - - - - - - e e - - e e E - - F F - - - - - - - - - - - - F - E - - - - - - - - - - - - - - - - - - - - - F F - - - - F - - E E - - - F F - E - - - - - - - - - - f - - e e - - - - - F - - - - - - F - E E F - - - - - - - - - e f - - - e e f - - - - - - f f - - - - - - E - - - - - - - - - - - - - - e e f - - - - - - - - - - - - f - - - - - - E E - - - - - E - - - - - - - - - f f - - - - - - - - - - - - e - - - - - F F E - - - - E - - F F - - - - - - f - - - - - - e - f - - - - - - - - - - F - E - - F F - - F F - - E E - f - - - - f f - - - f f - - - - - - - - - - - - - - - F F E - - - - E E E f - - - - e f f - - - f - - - - e - - f F - - - - - E E - - E - - - - E - - - - - - - e e - - - - - - - - - e e - - - - E - - - - - - - - - - - E - - - - F - - - - - - - - f - - - - - - - - - - - E E - F - - - - - - - - - - - - - - - - - - - - - - - e - - - f f - - - - -
Extensor/Flexor Length Tuning in Trained Cortical Layer
Extensor/Flexor Tension Tuning in Trained Cortical Layer
- E - - F - E E - F F - - E - - - F - - - - - e - f f - - e e - f - - - e e - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - F - - - E - - - - - - - - e - - - - - - e - - f - - F - E - - F F - E E - F F - - E E - - F e - f - - e e - f - - - - e - f f - - e - E E - F F - E - - - F - - - - - - - F - f f - - e - f f - - - - - - - - - - e - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - E E - - F - - - - - - - - - - - e e - f f - - e - - - - F - - E - - F F - - E - - F F - E E - e e f f - - - e e f f - - e e - f f - F - E E - - F - - - - - - F - - E E - F e - f f - - - - - - - - - e - - f - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - F F - - E - - - - - - - - - - - - - - - e - - - - - - - - - - F F - E E - - F - - E E - - F - - E - - e e f f - - e e - f f - - e e f f F - - - E - - - - - - E - - F F - E E - - e f f - - - e - - f - - e e - f - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - F - - - E - - F - - - - - - - - - - - - - - f - - - e - - - - - - - - - - F F - - E E - F F - E E - - F - - E - - - e e f f - - e e f f - - - e e f f - - - - - - - - - F - - E - - F F - E E - - - e - - - - - e - f f - - - e - f f - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - E - - F - - - - - - - - - - - - F - - f - - e - - - - - - - - - - - - - - E E - F F - E E - F F - E E - - F F - f - - e e f f - - - e e f f - - - e -
FIGURE 5. Tuning of cortical units to length and tension of upper arm extensor and flexor muscles only. The same set of labels defined in Fig. 4 are used.
4. A learning sensorimotor map of arm movements
75
clusters became more uniform. However, the clusters of antagonistic muscles were not separated maximally apart. In fact, some antagonist clusters were located adjacent to each other. This is due to the fact that unlike with muscle lengths, there are no constraints preventing two antagonist muscles from contracting at the same time. Co-contraction of antagonist muscles is employed when a stiffer joint is necessary, for instance, to ensure the desired position when unexpected external forces are present [CG85].
3.2 Relationships Additional evidence of the trained network’s capturing of the mechanical constraints imposed by the arm is found among those cortical units which are tuned to multiple proprioceptive inputs (i.e., activation over 0.5 for multiple test patterns, each of which corresponds to an input unit). Such multiple tuning could potentially not be compatible with physiological constraints. For instance, it seems unlikely that a cortical unit would be tuned to both a muscle’s length and to its tension together since a muscle tends not to contract (high tension) and lengthen simultaneously. Another implausible case would be when a cortical unit is tuned to lengths of two antagonist muscles since they cannot be stretched at the same time. Table 2 shows the number of implausible multiple tuning cases found in the network before and after training. For instance, pair (E,F) represents the number of cortical units which are tuned to both ‘E’ (length of upper arm extensor) and ‘F’ (length of upper arm flexor), and pair (B,b) represents the number of cortical units which are tuned to both length and tension of the upper arm abductor muscle. Each entry represents the number of cortical layer units which were tuned to a physiologically implausible pair of arm layer units. Entries in the top row show the number of units before training and those at the bottom row after training. Before training, a total of 69 cortical units were tuned to implausible pairs. After training none of the cortical units had implausible tuning. This clearly shows that the trained network captured the physiological constraints imposed by the mechanics of the arm by eliminating implausible multiple tuning effects introduced by random initial weights. Tuning of units to some multiple proprioceptive inputs, on the other hand, could be compatible with the constraints imposed by the mechanics of the model arm. For instance, in Section 3.1, we considered the unit shown on the left upper corner in Fig. 4 c and 4 d, which is tuned to both the length of the opener and to the tension of the closer. This unit is, in that sense, tuned to the contraction of a single muscle, the closer. Contraction of this muscle increases its arm tension (c) and also increases the length of its antagonist muscle, the opener (O). Table 3 shows the number of the cortical units tuned to specific plausible tuning pairs, with the top row being before training and the bottom row being after training. The tuning pairs follow the same convention used in Table 2. The pair (E, f ),
76
Sungzoon Cho, James A. Reggia, Min Jang
TABLE 2. Numbers of implausibly tuned cortical layer units. Uppercase letters represent muscle length while lowercase letters represent muscle tension. Tuning Pairs
E,F
B,D
O,C
E,e
F,f
B,b
D,d
O,o
C,c
total
Before training
7
5
6
6
10
7
9
9
10
69
After training
0
0
0
0
0
0
0
0
0
0
TABLE 3. Numbers of plausibly tuned cortical units Tuning Pairs
E,f
F,e
B,d
D,b
O,c
C,o
total
After training
12
13
8
6
2
6
47
After training
42
37
18
35
35
33
200
4. A learning sensorimotor map of arm movements
77
for instance, represents the extensor’s length and flexor’s tension, thus contraction of the upper arm flexor. Those cortical units which were also tuned to implausible pairs were not counted here even though they might also be tuned to contraction of a plausible pair. The data ‘before training’ shows the effect of randomness of initial weights. Training increased the number of such cortical units by more than four times. This effect is clearly illustrated in Fig. 5 c. and d.(compare left (c.) illustration with corresponding right (d.) illustration). After training, the map can be viewed as being organized into fairly compact contiguous regions where all possible features are represented in each region. For instance, the region of about 30 units in the lower left corner of the upper right quadrant (Fig. 4 c. and d.) illustrates this especially clearly: it has units tuned to every possible muscle length and tension. Such an organization is reminiscent of hypercolumns in visual cortex and quite different from that seen with past cortical maps of touch sensation [GM90, PFE87, Sut92].
3.3 Formation of hand position map Recall that the sole input information to the model cortex is length and tension information from each of the six muscle groups that control arm position. In other words, there is no explicit input information about the “hand” position in the three dimensional space in which it moves. To assess what, if any, kind of map of three dimensional hand position develops in cortex, we divided up the hand position space into 27 cubicles (three segments for each axis), computed an ‘average’ hand position for each cubicle, presented the input patterns corresponding to the average hand positions, and determined to which of these 27 test input patterns each cortical unit is maximally tuned. We considered also for each cortical unit to which of the three segments of x, y, and z axes it is tuned. In this scheme, the x, y, and z axes are divided into three equal-length segments (Fig. 6). We chose this particular division of space based on the facts that a large number of the training patterns were covered by the resulting 27 cubicles (86%) and that every cubicle contains at least one training pattern 4 A cubicle is identified as a triplet (i, j, k) where values of i, j, and k denote the location of the cubicle as 1 if Hx ∈ [−2, −1.2] 2 if Hx ∈ [−1.2, −0.4] i= 3 if Hx ∈ [−0.4, 0.4] 1 if Hy ∈ [−0.4, 0.4] 2 if Hy ∈ [0.4, 1.2] j= 3 if Hy ∈ [1.2, 2.0] 4 The
training patterns were not evenly spaced.
78
Sungzoon Cho, James A. Reggia, Min Jang
x = -2.0 x = -1.2 x = -0.4 x = 0.4 z = 1.2
z = 0.4
z = -0.4
z = -1.2 y = -0.4
y = 0.4
y = 0.8
y = 1.2
FIGURE 6. Division of hand position space into 27 cubicles. The x axis was segmented into three sections X1 , X2 , and X3 of [−2, −1.2], [−1.2, −0.4], and [−0.4, 0.4], respectively. The y axis was segmented into three sections Y1 , Y2 , and Y3 of [−0.4, 0.4], [0.4, 1.2], and [1.2, 2.0], respectively. The z axis was segmented into three sections Z1 , Z2 , and Z3 of [−1.2, −0.4], [−0.4, 0.4], and [0.4, 1.2], respectively.
4. A learning sensorimotor map of arm movements
79
1 if Hz ∈ [−1.2, −0.4] 2 if Hz ∈ [−0.4, 0.4] k= 3 if Hz ∈ [0.4, 1.2] where hand position is (Hx , Hy , Hz ). For each cubicle (i, j, k), the average hand position was calculated from the training samples whose resultant hand positions were within the boundaries of the cubicle, and the corresponding muscle lengths and tensions were computed. Note, however, that only muscle lengths are determined uniquely, given hand positions: muscle tensions are not unique. For simplicity, we chose the tension values such that the total tension at each joint was either maximal or minimal. We ran the 27 resulting testing patterns with the already trained network and observed each cortical unit’s activation. Since we get similar results from maximal tension and minimal tension patterns, we present the results from maximal tension patterns only from now on. Figs. 7 and 8 show the cortical units’ spatial tuning to arm location before and after training, respectively. Tuning after training clearly show map formation. There are also clear relationships between spatial position and specific proprioceptive inputs in the map. To understand this, recall that muscle length and hand positions are jointly involved in a set of mechanical constraints imposed by the model arm. For example, the contraction of the adductor muscle, and thus the stretch of its antagonist abductor muscle, positions the elbow and hand below the shoulder. This translates into the hand position’s z-coordinate being negative (namely segment Z1 in Fig. 6). In other words, a stretched abductor muscle is very likely to correlate with hand position being in Z1 5 Stretching of the adductor muscle, on the other hand, is very unlikely to place the hand in Z1 , but is very likely to be correlated with the hand position in Z3 (i.e., a positive z-coordinate). Another similar constraint is that the contraction of the upper arm flexor muscle, and thus the stretching of its antagonist upper arm extensor muscle, tends to position the elbow in front of the body, resulting in the hand being placed very far in front of the body. This translates to the hand position’s x-coordinate being very negative (i.e., in segment X1 , also defined in Sec. 3.3). Therefore, the stretch of the upper arm extensor is very likely to position the hand in X1 . In short, the mechanics of the model arm imposes constraints on the relations between muscle length and hand positions such that there are certain pairs of muscle and hand positions which are very likely to happen simultaneously and that there are some other pairs which are not likely to happen simultaneously. To see if the network learned these types of constraints, we calculated the number of cortical units which were tuned both to stretch of a muscle and to various segments of the hand positions of all three axes, both be5 Recall
that the model arm segments do not rotate.
80
Sungzoon Cho, James A. Reggia, Min Jang
X-direction Tuning in Untrained Cortical Layer 2 1 1 3 3 3 3 1 3 3 3 - - 3 2 1 1 1 - 3 1 1 3 1 1 1 1 1 1 2 2 - - 2 3 3 1 2 2 3 3 2 1 1 1 1 2 2 1 2 3 3 3 3 3 1 1 1 - 2 3 3 1 - 2 2 3 3 1 3 3 3 2 - 1 1 1 1 2 3 2 1 - 2 2 3 3 1 1 3 2 2 2 1 1 2 2 2 3 2 1 3 - 3 3 3 2 - 1 2 1 1 1 1 3 2 2 - 1 2 3 3 2 3 1 2 2 1 1 1 1 2 2 3 3 2 2 1 1 3 2 3 1 1 1 1 2 - - 1 1 2 2 2 1 1 1 2 2 3 3 2 1 2 1 2 1 1 1 1 3 2 3 1 1 2 1 1 2 2 1 2 2 2 3 1 1 2 3 3 3 2 1 1 2 2 2 2 3 2 2 3 3 2 2 3 3 2 2 2 2 1 1 2 1 1 3 3 3 1 3 3 3 2 1 1 2 2 2 2 1 1 2 1 1 1 3 3 2 1 3 3 2 3 1 1 1 2 3 - 1 - - 2 1 1 3 2 1 1 3 3 2 2 2 2 3 3 1 1 1 1 1 1 1 3 2 2 2 2 - 3 3 2 3 3 3 1 3 3 1 1 1 - 3 3 2 2 2 2 1 3 3 3 3 3 2 1 3 3 3 2 2 3 3 3 3 3 2 1 2 3 3 - 3 1 1 2 2 3 3 2 1 3 3 2 3 3 2 1 2 3 - - 2 1 2 1 1 3 1 1 1 1 2 2 2 2 2 2 3 3 2 1 2 3 1 1 1 1 3 1 1 1 2 2 2 3 2 2 3 1 1 1 3 3 3 1 1 3 3 - - 2 2 2 1 - - 3 Y-direction Tuning in Untrained Cortical Layer 2 1 2 3 2 1 1 3 1 1 2 - - 1 2 1 1 1 - 3 2 3 2 2 1 2 3 2 1 2 1 - - 1 3 3 1 3 3 3 2 3 2 2 1 2 3 2 1 1 2 2 1 2 1 3 3 2 - 3 3 3 1 - 2 3 2 1 2 1 2 1 1 - 2 3 2 1 1 1 3 1 - 1 1 2 1 3 3 3 1 1 1 2 2 1 1 1 1 2 1 1 - 2 1 1 2 - 3 3 3 1 1 1 2 2 2 - 3 2 1 1 1 2 2 1 1 1 1 3 1 1 1 1 3 3 3 2 2 2 1 3 2 1 1 2 2 - - 1 1 1 1 3 3 3 2 3 3 2 3 3 1 1 3 2 2 1 1 2 3 2 1 3 3 1 2 2 2 2 2 2 1 1 2 3 1 1 1 2 3 3 3 2 1 1 2 2 1 2 3 3 2 1 3 3 3 2 1 3 3 3 1 2 1 1 3 2 1 3 3 3 1 1 2 2 3 2 1 3 1 1 1 1 1 3 3 1 1 3 3 3 2 3 1 2 3 1 1 - 3 - - 3 3 1 3 2 1 3 3 3 1 2 3 3 3 3 2 3 3 2 2 2 1 3 2 3 3 3 - 3 2 2 2 3 3 3 3 1 2 1 1 - 3 1 2 3 3 3 2 3 2 1 1 1 1 2 2 1 2 2 2 3 2 2 3 3 3 1 3 1 2 - 1 3 2 3 3 1 1 1 1 3 1 2 1 2 2 1 2 1 - - 3 3 1 2 2 1 1 2 3 3 1 2 2 1 1 2 2 2 1 2 2 3 1 3 3 1 2 1 3 1 3 2 1 1 1 1 2 1 1 1 2 3 1 3 3 1 2 - - 2 3 3 1 - - 1
Z-direction Tuning in Untrained Cortical Layer 2 2 1 1 2 2 2 2 1 1 2 - - 2 1 1 3 3 - 2 3 1 1 1 2 2 2 1 1 3 3 - - 1 1 3 3 1 1 3 2 1 1 1 3 3 1 2 1 3 2 1 1 1 3 3 1 1 - 3 1 1 1 - 3 1 2 2 1 3 2 1 1 - 3 3 1 1 2 2 2 1 - 3 3 2 2 1 2 1 2 1 1 3 3 2 1 1 2 2 2 2 - 3 3 2 1 - 3 2 1 1 3 3 2 2 1 - 3 3 2 2 1 3 1 1 1 3 3 2 2 3 3 3 3 1 1 1 3 3 2 2 2 1 2 2 3 - - 1 2 3 3 3 2 1 1 1 2 3 1 2 3 3 3 2 1 1 1 2 2 1 1 2 1 2 1 2 2 1 2 3 3 2 2 1 1 1 2 1 1 1 3 3 1 2 2 2 1 1 2 3 3 2 3 1 1 1 2 2 3 2 2 3 3 2 2 1 2 1 3 2 1 3 3 1 1 3 3 3 1 2 2 3 3 2 2 3 2 3 1 1 1 2 1 2 2 3 3 - 1 - - 1 1 2 3 1 3 3 1 1 1 1 2 2 2 3 3 1 1 1 1 1 2 1 1 2 3 1 - 1 1 2 2 1 2 3 2 1 1 1 1 - 1 1 2 3 1 1 1 2 3 2 1 1 1 2 2 1 1 1 1 1 1 2 3 1 1 1 1 3 3 - 1 1 1 3 3 3 3 2 2 1 2 3 3 1 2 1 1 3 - - 3 1 3 3 3 3 2 2 2 1 3 3 1 1 2 2 1 2 3 3 3 3 3 3 3 2 1 1 1 3 3 1 1 2 1 1 2 1 2 2 3 3 2 3 3 1 2 - - 2 2 1 1 - - 1
FIGURE 7. Tuning of untrained cortical units to hand position in each direction, x, y, and z. Each unit is labeled such that the corresponding element of cubicle (i, j, k) is displayed when the unit is maximally tuned to the hand position from the cubicle.
4. A learning sensorimotor map of arm movements
81
X-direction Tuning in Trained Cortical Layer 2 - 2 3 3 2 2 - - 3 3 2 2 2 1 1 3 3 2 2 3 - 2 2 2 2 2 - 2 2 2 2 2 2 2 1 2 - 2 2 3 2 1 1 1 2 2 2 1 1 2 2 2 2 2 1 1 1 2 2 3 1 1 1 2 2 2 2 1 1 2 3 3 2 1 1 1 1 3 3 2 2 - 2 3 3 2 2 1 1 2 3 2 2 2 2 1 1 3 3 2 2 - 2 3 2 2 2 2 2 1 2 - 2 3 2 1 2 2 2 2 2 1 1 1 - 3 2 2 1 1 1 2 2 3 3 1 1 1 2 3 2 2 1 1 - 3 2 2 1 1 1 2 3 3 2 1 1 1 3 2 2 1 1 - 3 3 2 2 2 - 1 2 3 3 2 2 1 1 3 2 2 2 2 2 2 2 - 3 3 - 2 1 - 2 2 2 1 2 3 2 3 2 2 1 1 1 2 2 2 2 1 1 1 2 2 - 1 1 1 3 3 2 2 1 1 1 2 3 3 2 1 1 1 3 3 2 1 1 1 3 3 2 2 2 - - 3 3 - 2 - 1 2 3 2 2 1 1 1 2 2 2 2 3 - 2 1 1 2 3 - 1 2 2 2 2 2 1 2 1 2 3 2 3 1 1 1 2 2 2 2 1 1 - 2 2 2 2 1 1 2 3 3 2 1 1 - 2 3 3 2 1 1 - 3 3 2 1 1 1 3 3 3 - 2 2 - 3 3 2 2 1 1 1 3 2 2 2 1 2 2 2 2 2 2 - 2 2 2 2 2 1 1 2 2 2 2 2 1 1 1 2 3 2 2 1 1 1 2 2 - 1 1 - 2 2 2 3 1 1 1 3 3 3 2 1 1 - 3 2 - 1 1 1 2 3 3 2 Y-direction Tuning in Trained Cortical Layer 1 - 3 3 3 2 1 - - 3 2 1 1 1 2 2 3 3 2 1 1 - 3 3 2 2 1 - 3 3 1 2 1 1 2 3 3 - 1 1 2 2 2 2 1 1 2 1 2 2 2 2 2 2 2 2 1 1 2 2 2 1 1 2 2 2 1 1 1 1 2 3 2 2 1 1 1 2 2 3 1 1 - 3 3 2 1 1 1 2 3 3 2 1 1 1 2 3 3 3 1 1 - 3 3 2 1 1 2 3 3 3 - 1 1 2 3 3 3 2 2 2 3 2 1 - 1 2 2 1 2 1 2 1 2 1 2 2 1 1 2 2 3 1 1 - 2 2 1 1 1 2 3 3 2 1 1 1 1 1 2 1 1 1 - 3 3 2 1 1 - 3 3 3 2 1 1 2 3 3 1 2 1 1 2 3 3 - 1 1 - 3 3 - 1 1 1 3 3 3 2 1 2 1 1 2 1 1 2 2 2 2 1 1 1 2 - 3 1 1 1 2 2 1 1 1 1 2 3 2 1 1 1 2 2 2 1 2 1 1 3 2 1 1 1 - - 3 3 - 1 - 2 3 3 2 1 1 2 3 3 2 1 1 1 - 3 2 1 1 1 - 3 3 2 1 1 1 3 3 1 2 1 2 1 2 2 1 1 1 2 1 2 1 - 1 2 2 3 2 1 3 2 2 2 1 1 - 2 2 1 1 1 1 - 2 2 2 1 1 2 3 3 3 - 1 1 - 3 3 2 1 1 2 3 3 2 1 1 1 3 3 3 2 1 1 - 3 3 3 1 1 2 3 3 2 1 1 1 2 2 1 2 1 2 1 2 2 1 1 2 - 3 1 - 1 1 2 1 1 1 2 1 2 2 2 1 2 - 2 2 - 1 1 1 1 2 2 1 Z-direction Tuning in Trained Cortical Layer 2 - 3 2 2 1 2 - - 2 1 1 2 2 3 3 3 1 1 1 2 - 2 3 3 3 2 - 2 2 1 3 2 3 3 2 1 - 3 2 2 1 1 2 3 3 2 1 1 2 3 3 2 2 1 1 2 3 3 2 1 1 2 3 3 2 1 1 2 2 3 3 2 1 1 1 2 3 3 2 1 2 - 3 3 1 1 2 3 3 3 1 1 1 2 2 2 2 2 1 2 2 - 2 1 1 2 2 3 3 2 1 - 3 2 2 2 2 3 3 2 2 2 1 1 - 2 2 2 1 1 2 3 3 2 1 1 1 3 3 2 2 3 2 2 - 3 2 1 1 2 3 3 2 1 1 1 2 3 3 1 1 3 3 - 3 1 1 1 2 - 3 2 1 1 2 2 2 3 2 1 3 3 3 3 1 1 - 2 2 - 1 1 - 2 2 2 2 2 1 3 3 2 3 1 2 3 3 3 2 1 1 2 3 3 2 - 1 1 1 3 2 2 3 1 2 3 3 2 1 1 2 2 3 3 2 1 1 2 2 3 1 1 3 2 - - 3 1 - 2 - 3 3 1 1 1 3 3 3 1 1 3 2 2 - 1 3 3 2 2 - 2 1 1 1 2 2 3 2 1 3 3 2 1 1 1 2 3 3 2 1 1 1 - 3 3 2 3 1 3 3 3 1 1 1 2 - 3 3 1 1 1 2 - 3 2 2 1 2 2 3 2 1 - 2 2 - 1 2 1 2 3 3 3 2 1 1 2 2 2 2 3 3 3 2 - 1 2 3 3 2 3 3 1 1 1 2 2 1 1 3 3 3 2 1 1 2 3 3 2 - 1 1 - 3 3 2 1 1 2 3 3 3 1 1 2 3 - 3 2 - 1 2 2 3 3 1 1
FIGURE 8. Tuning of trained cortical units to hand position in each direction, x, y, and z. Each unit is labeled such that the corresponding element of cubicle (i, j, k) is displayed when the unit is maximally tuned to the hand position from the cubicle. In the x-axis tuning, stripes of 1’s, 2’s and 3’s in the orientation of northwest to southeast appear. Also in the y-axis and z-axis tuning shown are similar stripes of 1’s, 2’s and 3’s in the orientation of northeast to southwest. There were no such tuning stripes found in the untrained cortical layer (Fig. 7). A careful examination of the spatial location of stripes formed reveals that their orientation does not match the hexagonal tessellation of the underlying network, and thus it is not an artifact of the particular tessellation used in the model.
82
Sungzoon Cho, James A. Reggia, Min Jang
TABLE 4. Number of cortical units maximally tuned to length and hand position (before training)
Extensor (E) Flexor (F) Abductor (B) Adductor (D) Opener (O) Closer (C) total
X1 28 5 6 14 11 23 87
X2 17 13 13 12 10 11 76
X3 5 24 15 15 15 8 82
Y1 19 15 12 19 13 13 91
Y2 17 13 10 9 17 15 81
Y3 14 14 12 13 6 14 73
Z1 17 21 15 11 22 15 101
Z2 17 13 11 11 9 11 72
Z3 16 8 8 19 5 16 72
total 150 126 102 123 108 126
TABLE 5. Number of cortical units maximally tuned to length and hand position (after training)
Extensor (E) Flexor (F) Abductor (B) Adductor (D) Opener (O) Closer (C) total
X1 37 0 17 18 0 19 91
X2 7 15 21 23 38 23 127
X3 0 37 5 4 9 5 60
Y1 39 2 21 22 41 1 126
Y2 5 33 16 21 6 11 92
Y3 0 17 6 2 0 35 60
Z1 6 18 40 0 2 16 82
Z2 30 24 2 6 33 19 114
Z3 8 10 1 39 12 12 82
total 132 156 129 135 141 141
4. A learning sensorimotor map of arm movements
83
fore and after training. Tables 4 and 5 show the number of cortical units which are maximally tuned both to length (stretch) of a certain muscle and to a certain segment of hand positions before and after training, respectively. For instance, the entry 28 in the upper left corner of Table 4 represents the number of cortical units which were tuned to the stretch of the upper arm extensor muscle and to the hand position in segment X1 , before training. The entry 37 in the upper left corner of Table 5 represents the same thing after training. After training, the number of the cortical units tuned to plausible pairs of muscle stretch and hand position values increased significantly while the number of cortical units tuned to implausible pairs decreased. For example, as discussed above, the number of units tuned to abductor-Z1 pair and to adductor-Z3 pair (i.e., likely pairs) has increased from 15 to 40 and 19 to 39, respectively, while the number of units tuned to adductor-Z1 pair and abductor-Z3 pair (i.e., unlikely pairs) has decreased from 11 to 0 and 8 to 1, respectively. Fig. 9 illustrate that cortical units representing a stretched, longer abductor muscle are overwhelmingly embedded in the stripes representing hand position Z1 . The other constraints we discussed above also seemed to be learned, as shown in the significant change between before and after training of the entries in the left upper box and the middle lower box of Tables 4 and 5 6 In addition, these tables show more instances of interesting tuning such as in the upper middle box where the entries in upper arm extensor-Y1 and upper arm flexor-Y2 greatly increased while those in upper arm extensor-Y2 , upper arm extensor-Y3 , and upper arm flexor-Y1 significantly decreased. This is due to the fact that the stretch of the upper arm extensor and stretch of the upper arm flexor tends to place the hand toward the negative side of the y-axis (i.e., Y1 ) and toward the positive side of the y-axis (i.e.,Y2 and Y3 ), respectively. Comparison of the two tables shows that the network learned the constraint that the contraction/stretch of certain muscles positions the hand in certain locations in space. Since the hand position was not explicitly provided as input, the network seems to learn to encode the “interrelationship” among the muscle lengths. The spatial map of hand position that the model developed can be considered as a higher order map than muscle length or tension maps. Finally, the cortical units inside a compact contiguous region, mentioned in the last paragraph of Sec. 3.2, also contained the cortical units tuned to all three segments of three axes. This particular region of about 30 units located in the lower left corner of the upper right quadrant, for instance, contains those cortical units tuned to hand positions from 24 out of all possible 27 cubicles 7 6 6. Entries in the tables are divided up into nine boxes excluding the ‘total’ column and row. Each box is associated with one set of antagonist muscles and one axis of hand positions. 7 Very few training samples were picked from the three cubicles which were not represented in the particular region, but were represented in other area of the cortical layer.
84
Sungzoon Cho, James A. Reggia, Min Jang
Units tuned to the abductor
Units tuned to Z_1
- - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - 1 1 - - - - - 1 1 1 - - - - - - - - - 1 1 - - - - - - - - - - - - - - - - - - 1 - - - - - 1 - - - 1 - - - - - - - - - - - - - - - - - - 1 1 - - - - 1 1 - - - - - 1 1 - - - - 1 - - - - - - - - - - - 1 1 - - - - 1 1 - - - - 1 1 - - - - - 1 1 1 - - - - - - - - - - - - - - - 1 1 - - - - - 1 - - - - 1 1 - - - - 1 1 1 - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - - 1 1 - - - - - 1 - - - - - - - - - 1 1 1 - - - - - - - - - - 1 1 - - - - - 1 1 - - - - 1 1 - - - - 1 1 1 - - - 1 - - - - - 1 - - - - - - 1 - - - - - - - - - - - 1 1 - - - - 1 1 1 - - - - - - - - - 1 1 - - - - - - - - - - 1 1 - - - - 1 1 1 - - - - 1 1 - - - - - - - - - - - - - - - - - - - - - - - 1 1 - - - - 1 1 - - - - 1 1 - - - - - - 1 - - - - - - - - - - 1 1 - - - - - 1 1 - - - - 1 - - - - - 1 1 - - - - - 1 1 1 - - - - - - - - - - 1 - - - - - - - - - - - - 1 - - - - 1 1 - - - - - 1 1 - - 1 1 - - - - - - - - - - - - - - - - - 1 1 - - - - - 1 - - - - - 1 1 1 - - - 1 - - - - - - - - - - - - - - - - - 1 1 - - - - 1 - - - - - - 1 1 1 - - - - - - - 1 1 - - - - - - 1 1 - - - - - 1 - - - 1 1 1 - - - - 1 1 1 - - - - - 1 - - - - 1 1 - - - - - - - - - - - - - - - - 1 1 1 - - - - 1 1 1 - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - 1 - - - - 1 - 1 - - - - - 1 1 - - - - - - - - 1 - - - - - - - 1 1 - - - - - - - - - 1 - - - - - - 1 1 1 - - 1 - - - - - 1 1 - - - - - - 1 1 - - - 1 1 1 - - - - 1 1 - - - - - 1 1 - - - - 1 1 - - - - - - - - - - - - - - - - - - 1 1 - - - - 1 1 - - - - - - 1 - - - - 1 1
Units tuned to both the abductor and Z_1
Units tuned to either the abductor or Z_1
- - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - 1 1 - - - - - 1 1 1 - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - 1 1 - - - - - 1 - - - 1 - - - - - - - - - - - - - - - - - - 1 1 - - - - 1 1 - - - - - 1 1 - - - - 1 - - - - - - - - - - - 1 1 - - - - 1 1 - - - - 1 1 - - - - - 1 1 1 - - - - - - - - - - - - - - - 1 1 - - - - - 1 - - - - 1 1 - - - - 1 1 1 - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - - 1 1 - - - - - 1 - - - - - - - - - - 1 1 - - - - - - - - - - 1 1 - - - - 1 1 1 - - - - 1 1 - - - - 1 1 1 - - - - - - - - - 1 - - - - - - 1 - - - - - 1 - - - - - 1 1 - - - - 1 1 1 - - - - - - - - - 1 1 - - - - - - - - - - 1 1 - - - - 1 1 1 - - - - 1 1 - - - - - - - - - - - - - - - - - - - - - - - 1 1 - - - - 1 1 - - - - 1 1 - - - - - - 1 - - - - - - - - - - 1 1 - - - - - 1 1 - - - - 1 - - - - - 1 1 - - - - - 1 1 1 - - - - - - - - - - 1 - - - - - - - - - - - - 1 - - - - 1 1 - - - - - 1 1 - - 1 1 - - - - - - - - - - - - - - - - - 1 1 - - - - - 1 - - - - - 1 1 1 - - - 1 - - - - - - - - - - - - - - - - - 1 1 - - - - 1 - - - - - - 1 1 1 - - - - - - - 1 1 - - - - - - 1 1 - - - - - 1 - - - 1 1 1 - - - - 1 1 1 - - - - - 1 - - - - 1 1 - - - - - - - - - - - - - - - - 1 1 1 - - - - 1 1 1 - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - 1 - - - - 1 - 1 - - - - - 1 1 - - - - - - - - 1 - - - - - - - 1 1 - - - - - - - - - 1 - - - - - - 1 1 1 - - 1 - - - - - 1 1 - - - - - - 1 - - - - 1 1 1 - - - - 1 1 - - - - - 1 1 1 - - - 1 1 - - - - - - - - - - - - - - - - - - 1 1 - - - - 1 1 - - - - - - 1 - - - - 1 1
FIGURE 9. Relation between the tuning to abductor length and tuning to hand position Z1 . Units tuned to abductor length comprise a subset of units tuned to hand position Z1 .
4. A learning sensorimotor map of arm movements
85
3.4 Variation of Model Details The results reported above are from the network trained with arbitrary model arm positions. Quantitatively identical results were also obtained when the network was trained with equilibrium model arm positions [JC93]. The model arm is in equilibrium if, at each joint, the total tension (active and passive) of the agonistic and antagonistic muscles is the same. Given two different neuronal input values, the two muscles generate the same total tension as the muscle with less neuronal input, therefore with less active tension, becomes stretched, thus generating passive tension. The network trained with equilibrium model arm positions produced almost identical maps as in the case of arbitrary model arm positions. Both length and tension maps were qualitatively identical. So were the spatial hand position maps. Also the mechanical constraints of the model arm were learned. In addition, we have done simulations to identify the possible role of some model parameters in shaping the computational maps. In particular, the lateral connection radius (LCR), cortical layer size, and competition parameter value were altered and the resulting maps examined [CJR]. First, the average size of the length clusters grew proportional to the square of the LCR value while the number of clusters remained the same. Second, as the cortical layer size increased the number of clusters increased while the size of clusters stayed almost constant. Finally, a small change in the competition parameter value made an enormous change in the qualitative behavior of length maps, ranging from total inactivity of units to full saturation.
4 Discussion To the authors’ knowledge, this is the first attempt to develop a computational model of primary proprioceptive cortex. Input to our model cortex consists of length and tension signals from each of six muscle groups that control arm position. Although this model arm is greatly simplified from reality, it still leads to formation of a remarkably rich feature map with an unexpected representation of external three dimensional spatial positions. Our results can be summarized as follows. First, cortical units became tuned to length or tension of a particular muscle during map formation. The units tuned to the same muscle, be it length or tension, tended to group together as clusters, and the size of these clusters became more uniform with training. In particular, the clusters of cortical units tuned to antagonistic muscle lengths were pushed far apart from each other, thus implying learning by the network of the constraints imposed by the mechanics of arm movement (antagonistic muscles do not become stretched together, usually only one tends to be highly activated, etc.). Second, many cortical units were tuned to multiple muscles. Among the cortical units which were initially tuned to more than one arm layer unit, some did not follow the constraints of the arm movement mechanics (implausible tuning) while some did (plausible tuning). It was found that training eliminated the implausibly tuned cortical units while it increased the number of the cortical units which were tuned to plausible pairs of arm layer units. The map self-organized such that redundant length and tension clusters exist. These regularly spaced clusters are reminiscent of clusters of orientation sensitive cells in primary visual cortex. A spatial map of hand positions was also found in the cortical layer. Units
86
Sungzoon Cho, James A. Reggia, Min Jang
tuned to one area of hand position were located in the cortical layer near those units tuned to adjacent areas of hand location. The units tuned to certain segments of axes formed stripes which ran in different orientations from the hexagonal tessellation. To the authors’ knowledge, there has been no report of finding a spatial map of hand position in the somatosensory cortex, so this represents a testable prediction of our model. Further, the physical constraints involving muscle length and hand position were also learned by the network. The number of cortical units tuned to plausible pairs of muscle stretch and hand position values increased while that of cortical units tuned to less plausible pairs decreased significantly. Another characteristic is that when multiple parameters are mapped onto the same 2-D surface, they tended to organize such that there is maximum overlap between the parameters (muscle vs. spatial in our case). Thus muscle tuning forms a fine-grain map within a coarse-grain map of spatial segments. Many of these results from the computational model can be viewed as testable predictions about the organization of primary proprioceptive cortex. Our model predicts that experimental study of proprioceptive regions of cortex should find the following: 1) overlapping maps of both individual muscles and of spatial locations; 2) multiple, redundant representations of individual muscles where antagonist muscle length representations are widely separated; 3) neurons tuned to plausible combinations of muscle lengths and tensions; and 4) proprioceptive “hypercolumns”, i.e., compact regions in which all possible muscle lengths and tensions and spatial regions are represented.
Acknowledgments: This work was supported by POSTECH grant P93013 to S. Cho and NIH awards NS-29414 and NS-16332 to J. Reggia.
5
References
[Asa89]
H. Asanuma. The Motor Cortex. Raven Press, 1989.
[BCM82]
E. Bienenstock, L. Cooper, and P. Munro. Theory for the development of neuron selectivity: orientation specificity and binocular interaction in visual cortex. Journal of Neuroscience, pages 32–48, 1982.
[BG88]
D. Bullock and S. Grossberg. Neural dynamics of planned arm movements: emergent invariants and speed-accuracy properties during trajectory formation. Psychological Review, 95:49–90, 1988.
[BGO+ 92] Y. Burnod, P. Grandguillaume, I. Otto, S. Ferraina, P. Johnson, and R. Caminiti. Visuomotor transformations underlying arm movements toward visual targets: a neural network model of cerebral cortical operation. Journal of Neuroscience, 12:1435–1453, 1992. [CG85]
T. Carew and C. Ghez. Muscles and muscle receptors. In E. Kandel and J. Schwartz, editors, Principles of Neural Science, pages 443–456. Elsevier, New York, NY, 1985.
4. A learning sensorimotor map of arm movements
87
[CJR]
S. Cho, M. Jang, and J. Reggia. Effects of parameter variations on feature maps. in preparation.
[CJU90]
R. Caminiti, P. Johnson, and A. Urbano. Making arm movements within different parts of space: dynamic aspects of the primate motor cortex. Journal of Neuroscience, 10:2039–2058, 1990.
[CR92]
S. Cho and J. Reggia. Learning visual coordinate transformations with competition. In Proceedings of International Joint Conference on Neural Networks, Vol. IV, pages 49–54, 1992.
[CR93]
S. Cho and J. Reggia. Learning competition and cooperation. Neural Computation, 5(2):242–259, 1993.
[DLS92]
J. Donoghue, S. Leibovic, and J. Sanes. Organization of the forelimb area in primate motor cortex: Representation of individual digit, wrist, and elbow muscles. Experimental Brain Research, 89:1–19, 1992.
[GM90]
K. Grajski and M. Merzenich. Hebb-type dynamics is sufficient to account for the inverse magnification rule in cortical somatotopy. Neural Computation, 2:71–84, 1990.
[GTL93]
A. Georgeopoulos, M. Taira, and A. Lukashin. Cognitive neurophysiology of the motor cortex. Science, 260:47–51, 1993.
[JC93]
M. Jang and S. Cho. Modeling map formation in proprioceptive cortex using equilibrium states of model arm. In Proceedings of the 20th Korean Information Science Society Conference, pages 365–368, 1993.
[KdLE87] E. Knudsen, S. du Lac, and S. Esterly. Computational maps in the brain. Annual Review of Neuroscience, 10:41–65, 1987. [Kup88]
M. Kuperstein. Neural model of adaptive hand-eye coordination for single postures. Science, 239:1308–1311, 1988.
[LG94]
A. Lukashin and A. Georgeopoulos. A neural network for coding of trajectories by time series of neuronal population vectors. Neural Computation, 6:19–28, 1994.
[Lin88]
R. Linsker. Self-organization in a perceptual network. Computer, pages 105–117, 1988.
[Mel88]
B. Mel. MURPHY: A robot that learns by doing. In Neural Information processing systems, pages 544–553. American Institute of Physics, New York, NY, 1988.
[MKS89]
K. Miller, J. Keller, and M. Stryker. Ocular dominance column development: Analysis and simulation. Science, 245:605–615, 1989.
[PFE87]
J. Pearson, L. Finkel, and G. Edelman. Plasticity in the organization of adult cerebral cortical maps: a computer simulation based on neuronal group selection. Journal of Neuroscience, 7:4209–4223, 1987.
88
Sungzoon Cho, James A. Reggia, Min Jang
[RDSW92] J. Reggia, C. L. D’Autrechy, G. Sutton, and M. Weinrich. A competitive distribution theory of neocortical dynamics. Neural Computation, 4(3):287–317, 1992. [RMS92]
H. Ritter, T. Martinez, and K. Schulten. Neural Computation and Self-organizing Maps. Addison-Wesley Pub. Co., Reading, MA, 1992.
[RSC91]
J. Reggia, G. Sutton, and S. Cho. Competitive activation mechanisms in connectionist models. In M. Fraser, editor, Advances in Control Networks and Large Scale Parallel Distributed Processing Models. Ablex Pub. Co., Norwood, NJ, 1991.
[RZ86]
D. Rumelhart and D. Zipser. Feature discovery by competitive learning. In D. Rumelhart, J. McClelland, and the PDP Research Group, editors, Parallel Distributed Processing, Vol 1 : Foundations, pages 151–193. MIT Press, Cambridge, MA, 1986.
[Skl90]
E. Sklar. A simulation of cortical map plasticity. In Proceedings of International Joint Conference on Neural Networks, Vol. III, pages 727–732, 1990.
[SSLD88]
J. Sanes, S. Suner, J. Lando, and J. Donoghue. Rapid reorganization of adult rat motor cortex somatic representation patterns after motor nerve injury. Proceedings of National Academy of Science, USA, 85:2003–2007, 1988.
[Sut92]
G. Sutton. Competitive Learning and map formation in artificial neural networks using competitive activation mechanisms. Ph.D. thesis, University of Maryland, 1992.
[UF88]
S. Udin and J. Fawcett. Formation of topographic maps. Annual Review of Neuroscience, 11:289–327, 1988.
[vdM73]
C. von der Malsburg. Self-organization of orientation sensitive cells in the striate cortex. Kybernetic, pages 85–100, 1973.
[WS92]
D. White and D. Sofge. Handbook of Intelligent Control. Van Nostrand Reinhold, 1992.
5 Neuronal Modeling of the Baroreceptor Reflex with Applications in Process Modeling and Control Francis J. Doyle III Michael A. Henson Babatunde A. Ogunnaike James S. Schwaber Ilya Rybak ABSTRACT Biological control systems exhibit high performance, robust control of highly complex underlying systems; on the other hand, engineering approaches to robust control are still under development. This motivates neuromorphic engineering: the reverse engineering of biological control structures for applications in control systems engineering. In this work, several strategies are outlined which exploit fundamental descriptions of the neuronal architectures which underly the baroreceptor vagal reflex (responsible for short term blood pressure control). These applications include process controller scheduling, non-square controller design, and dynamic process modeling. A simplified neuronal model of the baroreflex is presented, which provides a framework for the development of the process tools.
1 Motivation The biological term homeostasis refers to the coordinated actions which maintain the equilibrium states in a living organism. A control engineer can readily associate this term with the systems engineering concept of “regulation.” In each case, a variety of tasks is performed which include: the collection, storage, retrieval, processing, and transmission of data, as well as the generation and implementation of appropriate control action. In the engineering context, these tasks are accomplished by “hardwired” networks of devices whose tasks are typically coordinated by distributed computer controllers. In the biology context, there are analogous devices and architectures, the most important of which is the brain. Comprised of a vast network of “microprocessors” (neurons), this “central controller” simultaneously coordinates many complex functions. Consider the regulation of arterial blood pressure. The mean blood pres-
90
F.J. Doyle III, M.A. Henson, B.A. Ogunnaike, J.S. Schwaber, I. Rybak
sure is controlled around a setpoint dictated by cardiovascular system demands. The pressure is a function of the cardiac output and the resistance of the blood vessels. However, the blood volume is an order of magnitude less than that of the blood vessels. Thus, in order to optimize circulating blood weight and pumping requirements, the distribution of blood to specific vascular beds varies as a function of: (i) demand (e.g. eating, exercise); (ii) external influence (e.g. cold weather); (iii) emotional state (e.g. joy, anger); and (iv) anticipated action (e.g. postural adjustment). Because the major objective in maintaining blood pressure (and thus blood flow) is the exchange of gases in the tissues, the respiratory and cardiovascular systems are intimately linked. Consequently, blood gas composition and respiratory action modulate cardiovascular function. The regulation of blood pressure in response to changing requirements and external disturbances is accomplished by a complex network of processing elements in the central nervous system. This control system performs a wide variety of tasks which include: 1. integration of multiple inputs from pressure sensors, chemo-sensors, and other brain systems; 2. noise filtering of the sensory inputs; 3. provision of control which is robust to sensor drift and loss; 4. compensation for nonlinear, interacting features of cardiovascular function. Clearly, these functions have direct parallels in engineering applications. Our long term objectives are therefore to understand the mechanisms behind the control of blood pressure and cardiovascular function, and to “reverse engineer” the relevant attributes of the baroreceptor reflex for process engineering applications. This chapter contains a summary of some preliminary results; it is organized as follows. In Section 2, we provide an overview of the baroreceptor reflex, including a description of its key processing elements. In Section 3, simplified neuron models are used as the basis for constructing a network model of the overall reflex. A potential application of this structure to scheduled process control is then described. In Section 4, blood pressure control architectures are examined from a systems perspective, and applications to the control of “non-square” process systems are discussed. In Section 5, a simplified, “biologically-inspired” dynamic processing element is presented for process modeling using network architectures. These models are used to develop a model-based control strategy for a simple reactor problem. Finally, some conclusions and directions for future work are discussed in Section 6.
2 The Baroreceptor Vagal Reflex 2.1 Background The baroreceptor reflex (baroreflex) performs adaptive, nonlinear control of arterial blood pressure. Its components consist of pressure transducers in major blood vessels, a central processing network in the brain, and
5. Modeling of the Baroreceptor Reflex with Applications
DMV
91
NTS
XII
IX
X
NA pre-gang parasymp
petrosal
X
nodose
CS
AA post-gang parasymp
FIGURE 1. Schematic diagram of the baroreceptor reflex.
actuators in the heart and vessels. A schematic diagram of the baroreceptor reflex circuit is shown in Figure 1. Arterial pressure is transduced by stretch receptors (baroreceptors) located in the major blood vessels. These “first-order” neurons project their input onto “second-order” neurons in a specific “cardio-respiratory” subdivision of the nucleus tractus solitarii (crNTS), where they are integrated with other sensory signals which reflect demands on cardio-respiratory performance [Sch87], [Spy90]. Control signals are sent to the heart to regulate its rate, rhythm and force of contraction. Other limbs of the baroreflex send signals to the individual vascular beds to determine flow and resistance. For example, if the blood pressure rises above its desired setpoint, the heart rate is slowed, thereby reducing cardiac output and increasing total peripheral resistance, with a consequent reduction in blood pressure.
92
F.J. Doyle III, M.A. Henson, B.A. Ogunnaike, J.S. Schwaber, I. Rybak
The underlying signal processing mechanism appears to be more complex then mere linear filtering of input signals. For instance, following the elimination of the baroreceptor inputs, rhythmic output activity and stability in the heart rate and blood pressure are observed, although “reflex” adjustments to pressure perturbations are lost. In addition, there is a central processing delay (typically in the 100 ms range) that is an order of magnitude larger than would be anticipated for a straight-through transmission of input signals. Finally, the activity in the reflex oscillates at the cardiac frequency, and it is plausible that this behavior is due to reflex computation. In short, the processing of inputs by second-order NTS neurons is a remarkably complex operation. We are interested in the baroreflex not only because it exhibits interesting behavior, but also because it offers important advantages for analysis: (i) the input and output are nerves, and are therefore easily accessible for morphological and physiological study; (ii) the circuit (in its simplest form) may be restricted to a single level of the brainstem, and thus may be studied (at least partially) in vitro using transverse slices of the brainstem; (iii) in principle, it is possible to delineate the complete reflex connectional circuit at the cellular level; (iv) the total number of neurons is small enough to allow system simulations which incorporate neuronal dynamics; and (v) the location of the NTS is highly advantageous for whole cell patch studies in vivo.
2.2 Experimental Results In an effort to develop accurate network models of the baroreflex, we have performed a variety of experiments to understand the computational mechanisms carried out by its individual elements. The work discussed here will focus on the processing of inputs from the baroreceptors by second-order neurons in the NTS. By focusing on the interactions taking place within the NTS at the initial stage of the processing, we aim to determine the circuit architectures and the basis for the nonlinear, dynamical, adaptive signal processing it performs. The first-order baroreceptors are highly sensitive, rapidly adapting neurons which encode each pressure pulse with a train of spikes on the rising phase of pressure, with activity that is sensitive to dP/dt [AC88], [SvBD+ 90]. A typical response of the baroreceptor to rhythmic changes of blood pressure is shown in Figure 2. There are approximately 100 baroreceptor afferent fibers per nerve. Variations in the pressure thresholds of these fibers are considerably more than a scattering around the mean pressure, but rather cover a range from well below (approximately 35 mmHg) to well above (approximately 170 mmHg) resting pressure. We have studied the connections between the first- and second-order neurons in neuroanatomical experiments using a virus that crosses synapses [SES94]. The results of this work suggest the possibility of a topographic organization of the crNTS, such that there is a spatial arrangement of the first-order inputs by their pressure thresholds [BDM+ 89], [MRSS89] The second-order neurons are of interest not only because this is where the first synaptic processing of pressure information in the NTS takes place, but also because this processing creates an activity pattern which is not well understood but appears important. In order to analyze the processing characteristics, we have conducted single neuron recording
5. Modeling of the Baroreceptor Reflex with Applications
93
FIGURE 2. Recording of natural waveform pulses into the isolated carotid sinus (top trace) and associated activity of a single baroreceptor sensory neuron in the carotid sinus nerve (bottom trace). [Data provided courtesy of M. Chapleau and F. Abboud, personal communication]
FIGURE 3. Typical response of an NTS neuron to an arterial pressure step change.
experiments in the NTS of anesthetized rats. In initial experiments we have recorded from second-order neurons and characterized their responses to naturalistic changes in arterial pressure. Although the first-order neurons have ongoing bursting activity patterns at the cardiac rhythm (Figure 2), this pattern is not observed in the relatively low-rate, irregular spiking activity of second-order neurons (Figure 3). In addition, our results show that second-order neurons exhibit nonlinear responses to changes in blood pressure, and seem to encode both mean arterial blood pressure and the rate of pressure change. Figure 3 shows a typical second-order neuron which initiates its response as pressure rises but decreases its firing frequency at higher pressures. This is difficult to interpret because the sign and strength of the synaptic connection from first to second-order neurons is strong and positive. In order to develop conductance-based Hodgkin-Huxley neuron models [HH52] for the second-order neurons, we have performed in vitro experi-
94
F.J. Doyle III, M.A. Henson, B.A. Ogunnaike, J.S. Schwaber, I. Rybak
ments [FPSU93], [FUS93], [PFS93], [SGP93]. These experiments aimed: (1) to characterize the voltage dynamics of the NTS neuronal population; and (2) to determine whether (and in what approximate amount) candidate conductances which might contribute to the voltage dynamics are present in various neuron types. The in vitro work showed that NTS neuronal responses to current steps fall into three broad classes which depend on the relative abundance of conductance channels: (i) single spike response; (ii) rapidly adapting, delayed response; and (iii) adapting but repetitive response. It is not known at this time whether baroreceptor inputs land haphazardly on neurons of each of these response types, or whether these different neural types represent the front ends of different information channels for NTS processing.
2.3 Nonlinear dynamical processing The role of nonlinear neuronal mechanisms is highlighted by our in vitro observations of dynamical behavior of baroreceptive NTS neurons arising from their active membrane properties, in particular the large potassium conductances and the calcium dependent potassium channels. This presents the interesting possibility that neuronal dynamics play an important role in the signal processing performed by the network of first-order inputs to second-order neurons. Thus, one of our strong interests is to explore whether or not nonlinearities in cellular input-output functions play an important signal processing role in baroreceptive NTS neurons, and to extend this work to explore the interaction of cell properties with synaptic inputs for network processing and parallel processing in this system. We use computational models to explore the contribution of neuron dynamics and specific baroreceptor circuitry to the function of the baroreceptor vagal reflex [GSP+ 91]. The model circuitry is composed of specific classes of neurons, each class having unique cellular-computational properties. Focusing on the interactions taking place within the NTS at the input synaptic stage of the processor, we aim to determine the circuit architectures and single-neuron functionality that contribute to the complex signal processing in the reflex. Our work suggests that biological neural networks compute by virtue of their nonlinear dynamical properties. Individual neurons are intrinsically highly nonlinear due to active processes inherent in their membrane biophysics. Collectively, there is even more opportunity for nonlinearity due to the connectivity patterns between neurons. Characterizing the behavior of this sort of system is a difficult challenge, as a neuronal system constantly receives many parallel inputs, executes some dynamic computation, and continuously generates a set of parallel outputs. The relationship between inputs and outputs is often complex, and the first task in emulating biological networks is to find this relationship, and then to understand the dynamical computational mechanisms underlying it. If this functionality can be captured mathematically in a model, one has a powerful tool for investigating mechanisms and principles of computation which cannot be explored in physiological experiments. The work presented in this chapter represents a preliminary step in this process.
5. Modeling of the Baroreceptor Reflex with Applications
95
3 A Neuronal Model of the Baroreflex In this section, a simple closed-loop model of the baroreflex is presented. This network model serves a dual purpose: (i) it provides information about the network-level computation which underlie the control functions of the baroreflex; and (ii) it provides the basis for “reverse engineering” the scheduled transitions in neuron activity which occur in response to blood pressure changes for applications in scheduling the action of a process controller.
3.1 Background In the previous section, we described some of the relevant experimental results on the dynamics of the second-order NTS neurons (Figure 3) which were used as a basis for the development of a neural network model of the baroreceptor reflex. An analysis of these results (see Figure 3) reveals the following dynamic properties of the second-order neurons: 1. The second-order NTS neurons respond to a change in mean blood pressure with a burst of activity whose frequency is much lower than the frequency of the cardiac cycle; 2. The responses suggest that NTS neurons are inhibited immediately before and immediately after the bursts; 3. It is reasonable to assume that this bursting activity is the source of regulatory signals which are relayed to, and cause the compensatory changes at, the heart; 4. It is plausible that each NTS neuron responds to pressure changes and provides this regulation in a definite static and dynamic range of pressure. These observations, combined with other physiological data and general principles of sensory system organization, suggest the following hypotheses which have been used to construct a simple baroreflex model: 1. The first hypothesis, barotopical organization, as explained previously in [SPRG93], [SPR+ 93], proposes that: (a) the thresholds of the baroreceptors are topographically distributed in pressure space; and that (b) each second-order neuron receives inputs from baroreceptors with thresholds belonging to a narrow pressure range. There are anatomical [BDM+ 89], [DGJS82] and physiological [RPS93] data which support these suppositions. 2. The second hypothesis proposes that projections of the first-order neurons onto the second-order neurons are organized like “ON–center– OFF–surround” receptive fields in the visual sensory system [HW62]. Each group of second-order neurons receives “lateral” inhibition from neighboring neuron groups which respond to lower and higher levels of blood pressure (compared to the center group). This supposition results from the second experimental observation listed above and corresponds to a general organizational principle of sensory systems.
96
F.J. Doyle III, M.A. Henson, B.A. Ogunnaike, J.S. Schwaber, I. Rybak
First-Order Neurons
External Disturbances
Second-Order Neurons + -
Intermediate System
Cardiovascular System
Pressure
FIGURE 4. Schematic of the simplified baroreflex model.
3.2 Model Development Structure of the Model A diagram of the proposed network model for the closed-loop baroreflex is shown in Figure 4. The first-order neurons, which are arranged in increasing order of pressure threshold, receive an excitatory input signal that is proportional to the mean blood pressure. The second-order neurons receive both synaptic excitation and inhibition from the first-order neurons as depicted in Figure 4. The lateral inhibition of the second-order neurons is achieved by direct synaptic inhibition from the neighboring, off-center firstorder neurons (i.e., the periphery of the receptive field [HW62]). A more biologically accurate mechanism would employ inhibitory interneurons and reciprocal inhibition between the second-order neurons. An investigation of these more complex inhibition mechanisms is left for future work; here we only consider the simple mechanism shown in Figure 4. The outputs of the second-order neurons are summed and, via an intermediate dynamic subsystem, are used as an input to a model of the the heart. This model receives inputs from both the neural feedback subsystem and an external disturbance signal. The output of this model is fed back to the neural control system as the blood pressure signal.
Model of a Single Neuron Detailed conductance-based neuron models of first- and second-order baroreflex neurons show ([SPRG93], [SPR+ 93]) close correspondence to experimental observations. However, the complexity of these models poses a difficult problem for efficient network-level simulations. In this case, a simplified model of a spiking neuron is preferred. A summary of the single neuron model used in the baroreflex network (based on previously described neuron models [Get89], [Hil36], [Mac87]) is given below. Following the Hodgkin-Huxley formalism, the dynamics of a neuron’s
5. Modeling of the Baroreceptor Reflex with Applications
97
membrane potential can be described by the following differential equation: giabs (Ei − V ) + I cV˙ = i
where c is the membrane capacitance, V is the membrane potential, giabs is the conductance of the ith ionic channel, Ei is the reversal potential of the ith ionic channel, and I is the input current. Following a long period which is devoid of excitatory and inhibitory signals (I = 0), the neuron will cease to generate action potentials and the variables will attain the following “resting” or steady-state values: V = Vr and giabs = gir . The conductances can be represented as “deviation variables” by defining: gi
= gabs − gir
so that gi is the relative change of the ith conductance. The deviation form of the membrane potential equation is: gi (Ei − V ) + I cV˙ = g0 (Vr − V ) + i
where the resting membrane potential, Vr , and generalized conductance, g0 , are defined by the following expressions: i gir Ei Vr = ; g0 = gir i gir i Three types of conductances (gi ) are used in the current model. They include conductances for excitatory and inhibitory synaptic currents (gesyn and gisyn ) which are opened by action potentials (AP) coming from other neurons, and a gAHP conductance for the potassium current which is opened by AP generation in the neuron itself. There are, in fact, several potassium channel types [CWM77] and the AHP notation identifies the specific class considered here. With this assumption, the membrane potential can be represented in the following form: cV˙
= g0 (Vr − V ) + gesyn (Esyn − V ) + gisyn (Eisyn − V ) + gAHP (EK − V ) + I
(1)
Because the first-order baroreflex neurons do not receive synaptic inputs, they can be described by the following simplified expression: cV˙ = g0 (Vr − V ) + gAHP (EK − V ) + I
(2)
where the input signal I is proportional to the blood pressure. The membrane potential of second-order neurons is described as in Equation (1) without the input I. In models of this type [Get89], [Hil36], [Mac87], it is generally assumed that g0 is constant and that gesyn , gisyn and gAHP depend on time, but not
98
F.J. Doyle III, M.A. Henson, B.A. Ogunnaike, J.S. Schwaber, I. Rybak
on the membrane potential. It is also assumed that the neuron generates an action potential at the moment of time when its membrane potential reaches, or exceeds, a threshold value. The dynamic behavior of the threshold value (H) is described as: τHo H˙ o H
= −Ho + Hr + Ad (V − Vr ) t − t0 = Ho + (Hm − Ho ) exp − τH
(3) (4)
Equation (4) describes the fast changes of the threshold immediately following an AP which is generated in the neuron at time t0 . The threshold (H) jumps from the current level to the higher level Hm at t0 , and then decays exponentially to H0 with time constant τH . Equation (3) describes the slow adaptive dynamics of the current threshold level (H0 ). The degree of adaptation is determined by the coefficient Ad. Hr is the resting level of the threshold, and τH0 is the time constant of adaptation. The dynamics of the gAHP conductance are described as follows: t − ti exp − gAHP = gmAHP (5) τAHP ti ≤t
The conductance increases from the current level by the constant value gmAHP at each time ti when an AP is generated in the neuron and then decays back to zero with time constant τAHP . These changes in gAHP cause the short-time hyperpolarization which occurs after each AP. Equations (3)–(5) define slow and fast interspike dynamics of the neuron excitability. A more realistic description of neuron dynamics can be obtained by considering the dynamics of Ca++ , as well as the voltage and Ca++ dependencies of the conductances. Nevertheless, our results have shown that the simplified model describes the behavior of the baroreflex neurons with sufficient accuracy for the purpose of network modeling. The connections between neurons are captured in the model by the changes of synaptic conductances in target neurons caused by each AP coming from source neurons. The transmittance of the action potential is captured in the output activity of a neuron (Y ): Y
= V + (Am − V ) f1 (t − t0 )
where Am is the amplitude of the action potential, and f1 =1 if t = t0 , and 0 otherwise. Synaptic potentials in a target neuron, which cause its excitation or inhibition, result from changes of gesyn and gisyn conductances in that neuron. These changes are modeled using the output variable of the source neuron (y) which causes the inhibition or excitation: t − ti y = ym exp − τy ti ≤t
where ti is the time at which an action potential is generated, and ym and τy are the parameters which define the normalized amplitude and decay time constant, respectively. The synaptic conductances in the target neuron are
5. Modeling of the Baroreceptor Reflex with Applications
99
generated by the weighted sum of the respective output signals from the source neurons: aej yj gesyn = ke j
gisyn
= ki
aij yj
j
where aej and aij are weights associated with the excitatory and inhibitory synapses, respectively, from the neuron j, and ke and ki are tuning parameters. A Simplified Model of the Baroreflex Control System Let us now consider how the single neuron model is used in the baroreflex control model depicted in Figure 4. The first-order neurons are arranged in increasing order of threshold rest levels (Hr ) using a constant threshold difference of ∆Hr . The input signal to the first-order neurons depends on the pressure P via the amount of stretch in the blood vessels, modeled simply here as: I = fP (P ). As a first approximation, a linear relationship is assumed: fP (P ) = kP P , where kP is a “tuning” coefficient. The synaptic inputs from the first-order neurons to the second-order neurons are sketched in Figure 4. The weighted sum of the outputs from the second-order neurons form the input for an intermediate subsystem which is modeled as a simple linear filter: yj τint I˙int = −Iint + kint j
This dynamical system captures the effects of the interneurons and motor neurons which lie between the second-order baroreflex neurons and the heart. (Note: in this model we have focused on the vagal motor neurons which affect the cardiac output, and have ignored the effects of the sympathetic system on the peripheral resistance in the vascular bed.) A first-order approximation of the blood pressure dynamics is described below. The pressure decays exponentially from a current level to the level P0 with the time constant τP . At selected time points, denoted t1 , the pressure responds with a “jump” to the level Pm in response to the pumping action of the heart: t − t1 P = P0 + (Pm − P0 ) exp − τP This pressure jump occurs at the moment when Pmin exceeds P0 , where Pmin is modeled by a first-order differential equation with time constant TP and rest level Pmin0 (in the absence of inputs): TP P˙min
= −Pmin + Pmin0 + Pi − kf b Iint
One of the driving forces in this equation is the disturbance Pi which represents the the effects of an external agent (e.g. drug infusion). The second input is the feedback signal from the neural mechanism (Iint ) multiplied by a constant feedback gain (kf b ).
100
F.J. Doyle III, M.A. Henson, B.A. Ogunnaike, J.S. Schwaber, I. Rybak
Y
50 0
Y
-50 1800 50
Y
2400
2600
2800
3000
3200
3400
2000
2200
2400
2600
2800
3000
3200
3400
2000
2200
2400
2600
2800
3000
3200
3400
2000
2200
2400
2600
2800
3000
3200
3400
2000
2200
2400
2600 time (ms)
2800
3000
3200
3400
0 -50 1800 50
Y
2200
0 -50 1800 50
0
-50 1800 250 BP
2000
200 150 1800
FIGURE 5. Responses of four first-order neurons (rows 1-4) with different blood pressure thresholds to increasing mean blood pressure (row 5).
Computer Simulation Results The responses of four first-order neurons (the four upper rows) with distributed blood pressure thresholds (increasing from the bottom to the top) to increasing mean blood pressure (the bottom row) are shown in Figure 5. The neurons exhibit a spiking response to each pressure pulse and the neurons with lower thresholds exhibit increased activity. The values of the model parameters are shown in Table 1. These values are consistent with the physiological results described in the previous section. Figures 6 and 7 show the responses of the four first-order neurons (the 2nd-5th rows) and one second-order neuron (the upper row) to a fluctuating pressure signal (the bottom row). Due to the barotopical distribution of thresholds, the first-order neurons respond sequentially to increasing mean blood pressure. Hence, the neuron with the lowest threshold (2nd row) displays the greatest amount of activity. The middle pair of first-order neurons (3rd and 4th rows) excite the second-order neuron, while the other two first-order neurons (2nd and 5th rows) are inhibitory. In Figure 6, the feedback loop is disabled (kf b = 0), and mean pressure increases in response to a persistent external signal Pi . It is clear that the first-order neurons respond sequentially with increasing activity in direct proportion to the pressure signal, while the second-order neuron is only active in a narrow pressure range. In Figure 7, the feedback loop is closed, and the second-order neuron participates in pressure control. As the pressure enters the sensitive range
5. Modeling of the Baroreceptor Reflex with Applications
101
100 Y
0 -100 0 100
1000
2000
3000
4000
5000
6000
7000
8000
1000
2000
3000
4000
5000
6000
7000
8000
1000
2000
3000
4000
5000
6000
7000
8000
1000
2000
3000
4000
5000
6000
7000
8000
1000
2000
3000
4000
5000
6000
7000
8000
1000
2000
3000
4000 time (ms)
5000
6000
7000
8000
Y
0 -100 0 100
Y
0 -100 0 100
Y
0 -100 0 100
Y
0
BP
-100 0 300 200 100 0
FIGURE 6. Open-loop responses of four first-order neurons (rows 2-5) and one second-order neuron (row 1) to a blood pressure signal (row 6).
of the second-order neuron, a signal burst is sent to the intermediate block. This block drives the heart with a negative feedback signal, leading to a temporary decrease in the pressure level. The persistent external signal drives the pressure up again, and the trend is repeated. Note that the second-order neuron exhibits low frequency bursts in a similar manner to its real counterpart (Figure 3). Observe therefore that the network behavior of the proposed baroreflex model is a reasonable approximation of the experimentally recorded neuronal behavior. Refinements to the current model will be the subject of future work; in particular, the structural organization of the first- and second-order network will be modified to match the experimental data. As the sophistication of the model increases, we anticipate a commensurate increase in our understanding of the role of the second-order neurons in blood pressure control.
3.3 Application to Scheduled Process Control From a control perspective, an interesting feature of the proposed model is that individual second-order neurons are active in a narrow static and dynamic range of pressure changes. In effect, second-order neurons regulate the pressure through a sequence of adaptive control actions in response to the dynamics of pressure change. Thus, the second-order neurons may be considered as a set of interacting controllers which are active in a specific range of the controlled variable.
102
F.J. Doyle III, M.A. Henson, B.A. Ogunnaike, J.S. Schwaber, I. Rybak 100
Y
0 -100 0 100
1000
2000
3000
4000
5000
6000
7000
8000
1000
2000
3000
4000
5000
6000
7000
8000
1000
2000
3000
4000
5000
6000
7000
8000
1000
2000
3000
4000
5000
6000
7000
8000
1000
2000
3000
4000
5000
6000
7000
8000
1000
2000
3000
4000 time (ms)
5000
6000
7000
8000
Y
0 -100 0 100
Y
0 -100 0 100
Y
0 -100 0 100
Y
0
BP
-100 0 300 200 100 0
FIGURE 7. Closed-loop responses of four first-order neurons (rows 2-5) and one second-order neuron (row 1) to a blood pressure signal (row 6).
This behavior can be exploited in the formulation of scheduling algorithms for controller design [DKRS94]. Just as competition between secondorder neurons leads to a selective dynamic response, a selectively scheduled nonlinear controller can be designed for a process system. Two paradigms for achieving this functionality are proposed: 1. In the implicit formulation, a control architecture consisting of a number of individual dynamic elements is designed to provide effective compensation over a wide operating regime. The second-order network structure is employed to provide the scheduling between these dynamic components. The individual entities do not represent distinct control laws; they represent basis elements of a larger dynamic structure. In this case, the network must be “trained” to learn the proper control strategies over the operating regime. 2. An explicit control formulation can be achieved by using the secondorder network to model the open-loop response of a nonlinear system. Individual components of the second layer are trained to emulate the open-loop system behavior over a limited operating regime. In this case, the biological scheduling mechanism is used for transitions between different open-loop dynamic behaviors. A control law can be synthesized using traditional model-based control techniques [MZ89] (e.g. model predictive control (MPC), internal model control (IMC)). Additional details of the control algorithm and simulations with chemical process examples are presented in [DKRS94].
5. Modeling of the Baroreceptor Reflex with Applications
103
(a) u1
Controller #1
ysp
y
System
u2
Controller #2
(b)
y1
Controller #1
u1
u
ysp
System
Controller #2
u2
y2
FIGURE 8. (a) Multiple-input, single-output control system and (b) single-input, multiple-output control system.
4 Parallel Control Structures in the Baroreflex In this section, two parallel control architectures in the baroreceptor reflex are described. Also discussed are two novel process control strategies which have been abstracted from these biological control architectures. Simplified block diagrammatic representations of the reflex control structures are shown in Figure 8. In each case, the system is regulated by two controllers which operate in parallel. The two control systems, which differ according to the number of manipulated inputs and measured outputs, can be interpreted as duals. 1. Multiple-Input, Single-Output (MISO) Control System The control system consists of two manipulated inputs (u1 , u2 ) and a single measured output (y). The objective is to make y track the setpoint ysp . The ith parallel controller (i = 1, 2) receives y and ysp and computes
104
F.J. Doyle III, M.A. Henson, B.A. Ogunnaike, J.S. Schwaber, I. Rybak Baroreceptor Discharges
Central Nervous System
Sympathetic System Controller #1
Cardiovascular System
Sympathetic Motor Neurons
Sympathetic Discharges
Blood Vessels and Organs
Actuator Total Peripheral Resistance
Arterial Blood Pressure Setpoint
Arterial Blood Pressure Cardiac Output
Controller #2
Actuator
Parasympathetic (Vagal) System
Vagal Motor Neurons
Vagal Discharges
Baroreceptor Neurons Sensor
Heart
Plant Control System Baroreceptor Discharges
FIGURE 9. Simplified representation of a MISO control structure in the baroreflex.
the manipulated input ui . 2. Single-Input, Multiple-Output (SIMO) Control System The control system consists of a single manipulated input (u) and two measured outputs (y1 , y2 ). The objective is to make y1 track ysp . The ith parallel controller receives yi and ysp and computes the value ui . The manipulated input u is the sum of the u1 and u2 values.
4.1 MISO Control Structure Baroreceptor Reflex A simplified block diagrammatic representation of a MISO control architecture employed in the baroreceptor reflex is shown in Figure 9. The baroreceptor discharges are processed by two parallel controllers in the central nervous system: the sympathetic and parasympathetic systems. The controllers compare the baroreceptor discharges to a desired blood pressure signal which is determined by a variety of factors which affect cardiorespiratory performance [Spy90]. The sympathetic and parasympathetic systems affect the cardiovascular system via sympathetic and vagal postganglionic motor neurons, respectively. For simplicity, the effects of the sympathetic system on the heart have been neglected. Hence, the only couplings considered are those between the parasympathetic system and cardiac output, and between the sympathetic system and total peripheral resistance. The effect of the parasympathetic system on arterial pressure is quite rapid, while that of the sympathetic system is comparatively slow. In mod-
5. Modeling of the Baroreceptor Reflex with Applications
105
eling the closed-loop response of each control system to a step disturbance in the carotid sinus pressure of the dog, Kumada et al. [KTK90] reported the following results. Using a first-order-plus-deadtime model structure, the time constant and time delay for the sympathetic system response were estimated respectively as: 10 ≤ τ1 ≤ 80 s, 2 ≤ θ1 ≤ 4.5 s; for the parasympathetic response, the corresponding estimates (7 ≤ τ2 ≤ 25 s, 0.6 ≤ θ2 ≤ 1.2 s) are comparatively small. Although the parasympathetic system is able to affect the arterial pressure quite rapidly, sustained variations in the cardiac output are undesirably “expensive” whereas long-term variations in the peripheral resistance are more acceptable [SKS71]. Cardiac output is therefore an expensive manipulated variable as compared to the peripheral resistance. The brain coordinates the use of the sympathetic and parasympathetic systems in order to provide effective blood pressure control while minimizing the long-term cost of the control actions. For instance, consider a blood pressure decrease caused by an external disturbance (e.g. standing up). The parasympathetic system induces a rapid increase in blood pressure by enhancing cardiac output, while a significantly slower increase in blood pressure is caused by the sympathetic system raising peripheral resistance. As the effects of increased peripheral resistance on the blood pressure become more pronounced, the parasympathetic controller habituates by returning cardiac output to its initial steady-state value. Process Control Applications The baroreceptor reflex provides an excellent biological paradigm for the development of control strategies for multiple-input, single-output (MISO) processes. As indicated in italics in Figure 9, the components of the system have well defined control analogs: the central nervous system is the “controller”, the sympathetic and vagal postganglionic motor neurons are the “actuators”, the cardiovascular system is the “plant”, and the baroreceptors are the “sensors”. More importantly, many processes have manipulated inputs which differ in terms of their dynamic effects on the outputs and relative costs. For example, consider the polymerization process depicted in Figure 10. The process consists of a continuous stirred tank polymerization reactor and an overhead condenser. The feed to the reactor consists of monomer, initiator, and solvent. The condenser is used to condense solvent and monomer vapors, and a cooling water jacket is available to cool the reactor contents. The process also includes a vent line for condensibles and a nitrogen admission line which can be used to regulate the reactor pressure P . One of the control objectives is to control the reactor temperature (T ); the cooling water flow rate (Fj ) and P (which can be changed almost instantaneously via nitrogen admission) are the potential manipulated variables. The reactor pressure P has a much more rapid and direct effect on T than does Fj . However, because significant and/or extended pressure fluctuations affect the reaction kinetics adversely, it is desirable to maintain P near its setpoint. It is therefore desirable to develop a control strategy in which P (the secondary input) is used track setpoint changes and reject disturbances rapidly. As Fj (the primary input) begins to effect T , P can “habituate” by returning to its previous steady-state value. Henson et al. [HOS95] have developed a habituating controller design methodology for two-input, single-output systems such as the polymeriza-
106
F.J. Doyle III, M.A. Henson, B.A. Ogunnaike, J.S. Schwaber, I. Rybak
Vent
N2
Vapor Condenser Cooling Water
Condenser Vapor
Liquid
Feed Fj
Jacket Cooling Water
P Reactor
T
Product
FIGURE 10. Polymerization process.
tion process by reverse engineering the parallel control structure of the baroreceptor reflex. The approach is beneficial for processes with the following characteristics: (i) control system performance is limited by the nature of the dynamic effect exerted on the output by the primary manipulated input; (ii) a secondary input is available whose effect on the output is characterized by superior dynamics; and (iii) the long-term cost associated with the secondary input is greater than that associated with the primary input. There are several techniques which are similar to the habituating control strategy, including valve position control [Luy90, Shi78], coordinated control [CB91, PMB86], parallel control [BM88], and variants of H∞ control [Med93, WHD+ 92]. These control strategies also employ more manipulated inputs than controlled outputs. However, there are several important differences between the habituating control strategy and these related control schemes. 1. Our primary objective is to understand, and then to mimic, the functions of a biological system for process control applications. The ha-
5. Modeling of the Baroreceptor Reflex with Applications
107
bituating control strategy therefore is a translation of a biological control solution to a particular process control problem. By contrast, these other techniques are direct control solutions to control problems. 2. The habituating control strategy is formulated to exploit specific characteristics and operating objectives of processes with two different types of manipulated variables: (i) a slow, cheap type; and (ii) a fast, expensive type. By contrast, H∞ control techniques were developed for a considerably more general class of systems, and therefore fundamental differences in the dynamic effects and costs of the manipulated inputs are not easily exploited. This point is illustrated quite clearly in Williams et al. [WHD+ 92]. In order to obtain an acceptable H∞ controller for a system with one slow, cheap input and one fast, expensive input, significant design effort is required to select appropriate frequency domain weighting functions used in the H∞ cost function. 3. The habituating control architectures are generalizations of the series [Luy90] and the parallel [BM88, CB91, PMB86] control structures employed in other techniques. 4. The habituating control strategy is supported by a systematic controller synthesis methodology. By contrast, the design procedures proposed for the valve position, coordinated, and parallel control techniques are largely ad-hoc, especially for non-minimum phase systems. 5. The effects of controller saturation and actuator failure on the habituating control strategy are considered explicitly, while these important issues are neglected in most other studies. Habituating Controller Design The following is a controller design methodology for habituating controllers based on the direct synthesis approach. An alternative technique based on model predictive control is discussed by Henson et al. [HOS95]. The discussion is restricted to transfer function models of the form, y(s) = g1 (s)u1 (s) + g2 (s)u2 (s) + g3 (s)d(s) where y is the controlled output, u1 and u2 are the primary and secondary inputs, respectively, and d is an unmeasured disturbance. Because u2 is chosen as a result of its favorable dynamic effects on y, the transfer function g2 is assumed to be stable and minimum phase. By contrast, the transfer function g1 may be unstable and/or non-minimum phase. Because there are two manipulated inputs and one controlled output, the combination of control actions which produce the desired output ysp at steady-state is non-unique. An additional objective is therefore required to obtain a well-defined control problem. In habituating control problems such as the polymerization process, the secondary input u2 should also track a desired value u2sp . The desired control objectives are therefore as follows: 1. Obtain the transfer function gyd (s) between ysp and y.
108
F.J. Doyle III, M.A. Henson, B.A. Ogunnaike, J.S. Schwaber, I. Rybak
u2sp
+ gc11 ysp +
d
gc12
u1
+
g3
g1 + y
+ – gc21
u2sp
+
u2 +
+ g2
gc22
FIGURE 11. Parallel control architecture for habituating control.
2. Obtain the transfer function gud (s) between u2sp and u2 . 3. Obtain a decoupled response between u2sp and y. 4. Ensure nominal closed-loop stability. 5. Achieve asymptotic tracking of ysp and u2sp in the presence of plantmodel mismatch. The closed-loop transfer function matrix 0 gy d y u1 = ∗ ∗ u2 ∗ gud
should therefore have the form, ysp ∗ ∗ u2sp ∗ d
where gyd and gud have the property that gyd (0) = gud (0) = 1 and each asterisk (*) denotes a stable transfer function. A parallel architecture for habituating control is shown in Figure 11. The term “parallel” is used because the input to both controllers is the error between y and ysp , and each controller responds to setpoint changes and disturbances independently of the other controller. Note that this control structure is analogous to parallel architecture employed in the baroreceptor reflex (Figure 9). The parallel controllers have the form: u1 (s) u2 (s)
= gc11 (s) [ysp (s) − y(s)] + gc12 (s)u2sp (s) = gc21 (s) [ysp (s) − y(s)] + gc22 (s)u2sp (s)
5. Modeling of the Baroreceptor Reflex with Applications
109
If the transfer function g1 associated with the primary input is minimum phase, the control objectives can be satisfied by designing the primary and secondary controllers as [HOS95]: gc11 gc22
gyd − (1 − gyd )g2 gc21 ; (1 − gyd )g1 = gud =
gc12 = −
g2 gc g1 22
where the Laplace variable s has been omitted for convenience. The free transfer function gc21 can be used to tune the responses of the two manipulated inputs. The transfer function gyd is tuned according to the dynamics of the secondary transfer function g2 , while gud is chosen according to the dynamics of g1 . If the manipulated inputs are constrained, the habituating control approach offers the possibility of significantly improved performance as compared to conventional SISO control schemes which only employ the primary input [HOS95]. If g1 is non-minimum phase, the primary and secondary controllers are chosen as [HOS95], gud gyd g2 gc12 = − ∗ gud ∗ (1 − gyd )g1 g1 (g1∗ − g1 gud ) g1 = gc22 = ∗ gud (1 − gyd )g1∗ g2 g1
gc11 = gc21
where g1∗ is the minimum phase approximation of g1 [MZ89]. In the nonminimum phase case, a free controller transfer function is not available and the u2 tracking objective is only approximately satisfied: u2 g1 = ∗ gud u2sp g1 However, the undesirable effects of the non-minimum phase transfer function g1 have been “transferred” from the output to the secondary input u2 . This property clearly demonstrates the advantage of habituating control as compared to conventional SISO control techniques. The transfer functions gyd and gud can be tuned as in the minimum phase case. Simulation Example Consider the following process model: y(s) =
−2s + 1 1 1 u2 (s) + d(s) u1 (s) + (2s + 1)2 2s + 1 s+1
The transfer function g1 contains a right-half-plane zero that limits the performance achievable with u1 alone. An IMC controller [MZ89] and a habituating controller based on direct synthesis have been compared for this example [HOS95]. The IMC controller employs only the primary input u1 , while the habituating controller coordinates the use of the two available inputs. Therefore, this comparison demonstrates the performance enhancements that can be achieved by manipulating both the primary and
110
F.J. Doyle III, M.A. Henson, B.A. Ogunnaike, J.S. Schwaber, I. Rybak
y
1 0.5 0 -0.5
0
1
2
3
4
6
5 Time
7
8
9
10
1.5 1 u1
u2
1 0.5
0.5
0 0 0
5 Time
10
0
5 Time
10
FIGURE 12. Direct synthesis and IMC control for an output setpoint change.
secondary inputs. As discussed above, the habituating control strategy also offers important advantages over alternative control schemes which employ more manipulated inputs than controlled outputs. In the IMC design, a first-order filter with time constant λ = 1 and an additional setpoint filter with the same time constant are employed. The habituating controller is designed as, 1 1 ; gud (s) = gyd (s) = y s + 1 u s + 1 with y = u = 1. An additional setpoint filter with the same time constant is also used. Setpoint responses for IMC (dashed line) and habituating control (solid line) are shown in Figure 12. By using the secondary input u2 , habituating control yields excellent performance without an inverse response in the output. The secondary control returns to its setpoint (u2sp = 0) once the setpoint change is accomplished. By contrast, IMC produces very sluggish setpoint tracking with a significant inverse response. In Figure 13, the closed-loop responses of the two controllers for a unit step change in the unmeasured disturbance d are shown. Habituating control provides excellent performance, while the response of the IMC controller is very sluggish. The performance of the habituating controller for a setpoint change in the
5. Modeling of the Baroreceptor Reflex with Applications
111
1
y
0.5
0 0
1
2
3
4
5
6
7
8
9
10
Time 0 0
u1
u2
-0.5
-0.5 -1
-1 0
5 Time
10
-1.5
0
5 Time
10
FIGURE 13. Direct synthesis and IMC control for an unmeasured disturbance.
secondary input is shown in Figure 14. Note that the deleterious effects of the non-minimum phase element have been transferred to the u2sp /u2 response, which is less important than the ysp /y response. Moreover, the output is not affected by the u2sp change. Additional simulation studies are presented by Henson et al. [HOS95].
4.2 SIMO Control Structure Baroreceptor Reflex Carotid sinus baroreceptors have been classified as Type I or Type II receptors according to their firing patterns in response to slow ramp increases in pressure [SvBD+ 90]. Type I receptors exhibit the following characteristics: hyperbolic response patterns with sudden onset of firing at a threshold pressure; high sensitivities; and small operating ranges. By contrast, Type II receptors exhibit sigmoidal response patterns with spontaneous firing below a threshold pressure, low sensitivities, and large operating ranges. Type I and Type II baroreceptors also exhibit significant differences in acute resetting behavior [SGHD92], which is defined as a short-term (5-30 minutes) shift of the activity response curve in the direction of the prevailing pres-
F.J. Doyle III, M.A. Henson, B.A. Ogunnaike, J.S. Schwaber, I. Rybak
y
112
0
-0.5
0
1
2
3
4
5
6
7
8
9
10
Time 0 1
u2
u1
-0.5
0.5 0
0
5 Time
10
0
5 Time
10
FIGURE 14. Direct synthesis control for an input setpoint change.
sure. Type I receptors acutely reset in response to mean pressure changes, while Type II receptors do not exhibit acute resetting. These firing characteristics indicate that Type I and Type II baroreceptors primarily measure rate of change of pressure and mean pressure, respectively [SGHD92]. Type I receptors generally have large myelinated fibers with high conduction velocities (2−40 m/s), while Type II baroreceptors have unmyelinated and small myelinated fibers with comparatively low conduction velocities (0.5 − 2 m/s). These physiological data suggest a differential role for Type I and Type II baroreceptors in dynamic and steady-state control of arterial blood pressure. Due to their high conduction velocities and measurement properties, Type I receptors may contribute primarily to dynamic control of blood pressure. By contrast, Type II receptors may be effectively used for steady-state pressure control because they provide accurate, but slow, measurements of mean blood pressure. Seagard and co-workers [SHDW93] have verified this hypothesis by selectively blocking Type I and Type II receptors and examining the effects on dynamic and steady-state pressure control. Coleman [Col80] has conducted an analogous investigation on the differential roles of the parasympathetic and sympathetic nervous systems in heart rate control. By selectively blocking the parasympathetic and sympathetic heart rate responses, Coleman has demonstrated that the parasympathetic and sympathetic systems are primarily responsible for dynamic and steady-state control of heart rate, respectively. Neglecting reflex manipulation of stroke volume and peripheral resistance, the results of Sea-
5. Modeling of the Baroreceptor Reflex with Applications
Stroke Volume
Sympathetic System
Pressure Setpoint
Heart
Parasympathetic System
Heart Rate
Cardiovascular System
Peripheral Resistance
113
Type I I Baroreceptors
Carotid Sinus Pressure
Type I Baroreceptors
FIGURE 15. Simplified representation of a SIMO control structure in the baroreflex.
gard [SHDW93] and Coleman [Col80] suggest a differential central nervous system pathway in which Type I and Type II baroreceptors preferentially affect the parasympathetic and sympathetic systems, respectively. Under this hypothesis depicted in Figure 15, the heart rate is determined by two parallel controllers which selectively process input from Type I and Type II baroreceptors. Process Control Applications Many chemical processes contain output measurements which are analogous to the Type I and Type II baroreceptors. For example, consider the distillation column shown in Figure 16. Suppose that the objective is to control the composition of the product leaving the top of the column, and measurements of the top composition and an upper tray temperature are available. The top composition is the output variable to be controlled, but the inherent dynamics of typical on-line composition analyzers are such that such measurements are only available after a significant delay. By contrast, the tray temperature, measured by a thermocouple, is available without delay; it is however not always an accurate indication of the top composition. Observe that in this example, the composition analyzer is analogous to the Type II receptor, while the thermocouple is analogous to the Type I receptor. Hence, it is desirable to use the tray temperature for dynamic control and the top composition for steady-state control. Pottmann et al. [PHOS96] have proposed a controller design methodology for single-input, two-output processes (such as this distillation column example) by reverse engineering the contributions of Type I and II receptors to blood pressure control. The approach is beneficial for processes which have two output measurements: 1. Primary measurement – a measurement of the process output to be controlled which has unfavorable dynamic (e.g. delayed) responses to changes in manipulated input and disturbance variables. 2. Secondary measurement – a measurement of a different process output
114
F.J. Doyle III, M.A. Henson, B.A. Ogunnaike, J.S. Schwaber, I. Rybak Top Composition
Condenser Top Product Tray 1 Temperature
Tray 1 Tray 2 Tray 3 Vapor
Liquid
Feed
Feed Tray
Vapor
Liquid Tray n–2 Tray n–1 Tray n
Reboiler
Bottom Product
FIGURE 16. A distillation column.
which has more favorable dynamic responses to changes in manipulated input and disturbance variables. Several related control schemes, including cascade control [Luy73, MZ89, SEM89, Yu88] have been proposed. In the most general sense the so-called “inferential control” schemes as well as feedback control schemes incorporating state-estimation may also be considered as related. In these instances, available “secondary” measurements are used to “infer” the status of the “primary” measurement. The novel feature of the strategy proposed by Pottmann et al. [PHOS96] is its control architecture in which the controllers act in parallel; this offers the potential of superior performance and significantly improved robustness to controller and sensor failure as compared to cascade control approaches in which the controllers are in series.
5. Modeling of the Baroreceptor Reflex with Applications
115
d(s)
g12(s) –
y1sp(s)
gc1(s)
+
+
u1(s)
g11(s) +
y2sp(s) + –
gc2(s)
u2(s)
g22(s) y1(s)
+
u(s)
+
+
g21(s)
y2(s)
+
FIGURE 17. Parallel control architecture for SIMO control
Parallel Control Architecture The process model is assumed to have the following parallel form, y1 (s) = g11 (s)u(s) + g12 (s)d(s) y2 (s) = g21 (s)u(s) + g22 (s)d(s) where y1 and y2 are the primary and secondary measurements, respectively, u is the manipulated input, and d is an unmeasured disturbance. It is easy to show that the parallel structure is more general than the cascade process structure used in most cascade control schemes [PHOS96]. Because the secondary output is assumed to exhibit favorable dynamic responses to input changes, the transfer functions g21 and g22 are assumed to be stable and minimum phase. By contrast, the transfer functions g11 and g12 associated with the primary measurement may be non-minimum phase. The control objective is to make the primary output y1 track its setpoint y1sp . In analogy to the baroreceptor reflex depicted in Figure 15, the parallel control architecture in Figure 17 is proposed. The controller has the form, u(s) = gc1 (s)[y1sp (s) − y1 (s)] + gc2 (s)[y2sp (s) − y2 (s)] where y2sp is the setpoint for y2 . Because y2 is not a controlled output, the secondary setpoint is chosen as: y2sp (s) = gsp (s)y1sp (s). The controller design problem is to select the transfer functions gc1 , gc2 , and gsp . For process control applications, the proposed architecture has two disadvantages: (i) it does not provide a convenient parameterization for controller design; and (ii) it is difficult to reconfigure the control system in the event of a measurement failure. In order to overcome these shortcomings, the parallel controllers are reparameterized and the resulting parallel control architecture is employed for controller design and implementation. Pottmann et al. [PHOS96] demonstrate that the parallel control strategy can yield superior performance and robustness as compared to a conventional cascade control scheme.
116
F.J. Doyle III, M.A. Henson, B.A. Ogunnaike, J.S. Schwaber, I. Rybak
5 Neural Computational Mechanisms for Process Modeling In this section, the neural computational mechanisms in the baroreflex are shown to have direct applications in the nonlinear modeling of chemical process systems. A brief description of a simplified conductance model will be presented, with special emphasis on the autoregulatory role played by the calcium channel. A novel processing element abstracted from the nonlinear dynamic nature of the neuron is then described, prior to discussing a chemical process modeling example. Finally, we outline a model-based control technique which employs the proposed dynamic processing element as a key component.
5.1 Neuron-level Computation As discussed earlier, the neurons in the cardiovascular NTS exhibit a wide range of complex nonlinear dynamic behavior. NTS neuron responses can be a function of time, voltage, and Ca++ concentration; and neurons in different regions of the baroreflex architecture display widely varying dynamic characteristics. These dynamic features are represented in HodgkinHuxley models by specific ion channels. For instance, accommodation (the lengthening of interspike intervals) is captured by the calcium channel. From a process modeling perspective, this suggests that neuronal elements used for computational modeling may be “tailored” to exhibit particular dynamic characteristics (e.g. asymmetric responses, oscillatory behavior, large deadtime, etc.), and incorporated in a suitable network architecture to yield desired input-output behavior. As part of our research program, we seek to exploit these dynamic neuronal characteristics to develop tools for nonlinear process modeling. The approach discussed makes use of the biologically inspired neuron models (i.e., based on biologically plausible constitutive relations) for process applications. However, these detailed models will be reduced to a simpler form to facilitate network computation. Role of Calcium in Autoregulation The simplified model presented in Section 3 omitted the effect of calcium in modifying neuronal behavior. However, calcium plays an integral role in conductance-based neuron models, as it contributes to interspike interval modulation and accommodating responses [SGP93]. The intracellular calcium concentration has been proposed as an agent which regulates the maximal conductances [AL93]. This mechanism is described by modeling the maximal conductances of the membrane channels (¯ gi ) as a function of the calcium concentration: τi ([Ca])
d¯ gi = Fi ([Ca]) − g¯i dt
(6)
where [Ca] is the intracellular calcium concentration and Fi is the limiting value of the conductance. The function Fi is taken to be a rising or falling sigmoidal function in the original work [AL93]. In the context of dynamic
5. Modeling of the Baroreceptor Reflex with Applications
117
chemical process models, Equation (6) may be recognized as a first-order system with variable time constant and steady state gain; the process input is the calcium concentration, the process output is the maximal conductance. The incorporation of the simple mechanism in Equation (6) into a conductance model can lead to a broad range of dynamic behavior including: bursting activity, tonic firing, silent behavior, or “locked-up” (e.g. permanently depolarized) responses. Consequently, this mechanism was chosen as the basis for the development of a canonical element for dynamic process modeling. A Canonical Dynamic Element Calcium autoregulation suggests a simple computational element for process modeling: a first-order dynamic operator with a nonlinear time constant and an independent, nonlinear gain (cf. the Hopfield neuron model [Hop90] where the gain and time constant share the same nonlinear dependence on the state). It should be noted that a fixed time constant and a sigmoidal gain function were used in [AL93]. In this work, we choose a more general formulation and employ Taylor series approximations of the nonlinear gain and time constant. Furthermore, the functional dependence of the time constant and gain are restricted to the operator output (y) to facilitate the numeric computations. By introducing first-order Taylor series approximations for the gain and time constant, one obtains: Ni :
(τ0 + τ1 y)
dy = (K0 + K1 y)u − y dt
(7)
Previous approaches for empirical nonlinear process modeling have employed similar mathematical forms to Equation (7) in an effort to capture the nonlinear dynamics of such chemical processes as distillation [CO93]. The present work differs from these earlier results by considering network arrangements of these processing elements. Although the interconnection of these processing elements can take a variety of forms, we examine a fully recurrent Hopfield network [Hop90] in this work. The range of dynamic behavior of a Hopfield network composed of the biologically inspired neurons may be demonstrated by a simple interconnection of linear first-order systems. If the elements are connected in a feedback configuration with one system in the forward path and one system in the feedback path, a second-order transfer function is obtained. The coefficients of the first-order elements can be chosen to give general second-order responses between the input and output variables of the overall system. This cannot be accomplished with many of the time series neural network techniques proposed for process modeling. For example, consider the approach in [MWD+ 91] where a first-order dynamic element is introduced at the output of a feedforward network. Such an architecture falls into the general class of Hammerstein dynamic systems (i.e. a static nonlinearity followed by a linear dynamic system). It is straightforward to show [SDS96] that such structures lead to nonlinear dynamic systems with relative degree one, underdamped responses, and (possibly) input multiplicity. By contrast, the architecture we propose yields dynamic systems which can have the following properties:
118
F.J. Doyle III, M.A. Henson, B.A. Ogunnaike, J.S. Schwaber, I. Rybak Coolant Temperature +
+
Reactor Temperature
N1
N2 FIGURE 18. Dynamic Model Architecture.
• arbitrary relative degree; • arbitrary placement of the eigenvalues of the Jacobian matrix in the left-half (stable) complex plane; • output and input multiplicity. Clearly, the range of dynamic behavior which can be produced with the structure we propose is rather broad. In both [MWD+ 91] and the present case, an arbitrary system order can be achieved by employing an appropriate number of hidden layers. Simulation Example To demonstrate the effectiveness of the proposed structure, we now examine the problem of modeling a nonlinear continuous stirred-tank reactor (CSTR). The system considered is a stirred-tank jacketed reactor in which a simple first-order irreversible reaction occurs. This is a realistic example of practical significance, and will serve as a preliminary testbed for the proposed modeling strategy. The dimensionless mass and energy balances for this system are given by [URP74]: x2
x˙1
= −x1 + Da(1 − x1 )e 1+x2 /γ
x˙2
= −x2 + BDa(1 − x1 )e 1+x2 /γ + β(u − x2 )
x2
The physical parameters chosen for this study are identical to those considered in [HS93]. The identification problem is to model the effect of coolant temperature (u) on the reactor temperature (x2 ). In Figure 18, the construction of a network model consisting of two fully interconnected dynamic processing elements is presented. Additional dynamic elements can be added at the lower summation junction. Using a first-order Taylor series approximation for the nonlinear elements (i.e. gain, time constant), a model structure with 8 parameters is obtained. The parameters of the network model were identified using a random search procedure [SGF90] because of the presence of multiple local minima in the solution space. The responses of the network model, an approximate linear model, and the actual CSTR to symmetric step changes in the input (±4 degrees) are shown in Figure 19. As can be seen in the figure, the system behavior is extremely nonlinear. While the linear model fails
5. Modeling of the Baroreceptor Reflex with Applications
119
392
390
Reactor Temperature (K)
388
386
384
382
380
378
376 0
1
2
3
4
5 Time (min)
6
7
8
9
10
FIGURE 19. Process Model Dynamic Response.
to track the reactor temperature accurately, the proposed network model exhibits excellent tracking over the range of these simulations. Additional details on the simulation results are contained in [SDS96].
5.2 Model-based Control Application The biologically motivated dynamic network (BDN) model derived in the previous section can be directly incorporated in control schemes which depend explicitly upon a process model (e.g. Internal Model Control (IMC) or Model Predictive Control (MPC) [MZ89]). In this section, a direct synthesis approach to controller design will be presented which utilizes the BDN model as a key component. Such schemes typically rely on a model inverse for control move computations. However, recent results presented for Volterra-series-based models [DOP95] reveal a straightforward method for constructing a nonlinear model inverse which only requires linear model inversion. The details of this approach are omitted here; the interested reader is referred to the original reference. The resultant control structure is displayed in Figure 20, where it can be seen that the controller is composed of two components: 1. the proposed dynamic model (BDN) which contributes to a feedback signal representing the difference between the true process output and the modeled output; and
120
F.J. Doyle III, M.A. Henson, B.A. Ogunnaike, J.S. Schwaber, I. Rybak
Setpoint +
-
+
IMC Controller
Filter Inverse -
Reactor Temperature
Coolant Temperature
Linear Model
CSTR
BDN
-
+
+ BDN
FIGURE 20. Closed-loop Control Structure.
2. a model inverse loop which contains the BDN model, a linear approximation to the BDN model, and a linear IMC controller.
Simulation Results The reactor example from the previous section is considered where the control objective is the regulation of the reactor temperature using the coolant temperature. Simulations were carried out for two control schemes: (i) a standard linear IMC controller which utilizes a linear model and its inverse; and (ii) the nonlinear controller depicted in Figure 20. In both cases, the desired closed-loop time constant was chosen to be 0.5 minutes. The closed-loop responses to a sequence of step changes in the temperature setpoint are shown in Figure 21. The setpoint is raised from 385K to 400K at t = 0 and back down to 380K at t = 25. The dashed line represents the response of the linear controller, the dotted line represents the response of the nonlinear controller, and the solid line represents the ideal reference trajectory that would be achieved with perfect control. The nonlinear controller achieves vastly superior trajectory following. In fact, the linear controller response is unstable for the lower setpoint change. This demonstrates the improved performance that can be attained with a more accurate nonlinear model (such as the BDN) in a model-based control scheme.
6 Conclusions and Future Work The neural circuitry in the baroreceptor reflex— the control system responsible for short-term regulation of arterial blood pressure— is a rich source of inspiration for process modeling and control techniques. Neuronal modeling has revealed some of the underlying principles which are responsible for the robust, nonlinear, adaptive, multivariable control functions which are utilized by the reflex. Preliminary results “reverse engineered” from this biological control system have been presented for scheduled control, parallel control, and nonlinear modeling strategies. Future work will focus on further development and industrial applications of the approaches described in this chapter.
5. Modeling of the Baroreceptor Reflex with Applications
121
405
Reactor Temperature
400
395
390
385
380
375 0
5
10
15
20
25 30 Time (min)
35
40
45
50
FIGURE 21. Closed-loop Response to Setpoint Changes.
Acknowledgments: FJD would like to acknowledge funding from an NSF NYI award (CTS-9257059) and from an NSF grant (BCS-9315738). JSS acknowledges support from the following organizations: ONR (N00014-90C-0224), NIH (NIH-MH-43787), NSF (IBN93-11388, BIR-9315303), and AFOSR (F49620-93-1-0285).
122
F.J. Doyle III, M.A. Henson, B.A. Ogunnaike, J.S. Schwaber, I. Rybak
Parameter c g0 Vr Ek Eesyn Eisyn Hr ∆Hr Hm Ad gmAHP Am ym τH0 τH τAHP τy ke ki aej aij kP kint τint P0 Pmin0 Pm τP TP kf b
Value 1.0 µF 0.5 mS (1.0 for second-order neurons) −60 mV −70 mV 20 mV −70 mV −48 to −56 mV 1 mV −10 mV 0.6 0.12 mS 45 mV 0.5 mV 30 ms 10 ms 10 ms 60 ms 1.0 20.0 mS 3.6 mV mS 1.6 mV mA 0.038 mmHg 1 1.0 mV 700 ms 50 mmHg 120 mmHg 30 mmHg 400 ms 3000 ms 600 mmHg
TABLE 1. Baroreflex Model Parameter Values
5. Modeling of the Baroreceptor Reflex with Applications
7
123
References
[AC88]
F.M. Abboud and M.W. Chapleau. Effects of pulse frequency on single-unit baroreceptor activity during single-wave and natural pulses in dogs. J. Physiol., 401:295–308, 1988.
[AL93]
L.F. Abbott and G. LeMasson. Analysis of neuron models with dynamically regulated conductances. Neural Computation, 5:823–842, 1993.
[BDM+ 89] J. Bradd, J. Dubin, B. Dueand R.R. Miselis, S. Monitor, W.T. Rogers, K.M. Spyer, and J.S. Schwaber. Mapping of carotid sinus inputs and vagal cardiac outputs in the rat. Neurosci. Abstr., 15:593, 1989. [BM88]
J.G. Balchen and K.I. Mumme. Process Control: Structures and Applications. Van Nostrand Reinhold, New York, 1988.
[CB91]
T. L. Chia and C. B. Brosilow. Modular multivariable control of a fractionator. Hydrocarbon Processing, pages 61–66, June 1991.
[CO93]
I-L. Chien and B.A. Ogunnaike. Modeling and control of highpurity distillation columns. In AIChE Annual Meeting, 1993.
[Col80]
T.G. Coleman. Arterial baroreflex control of heart rate in the conscious rat. Am. J. Physiol. (Heart Circ. Physiol.), 238:H515–H520, 1980.
[CWM77]
J.A. Conner, D. Walter, and R. McKown. Neural repetitive firing: modifications of the Hodgkin-Huxley axon suggested by experimental results from crustacean axons. J. Biophys., 18:81–102, 1977.
[DGJS82]
S. Donoghue, M. Garcia, D. Jordan, and K.M. Spyer. Identification and brainstem projections of aortic baroreceptor afferent neurons in nodose ganglia of cats and rabbits. J. Physiol. Lond., 322:337–352, 1982.
[DKRS94]
F.J. Doyle III, H. Kwatra, I. Rybak, and J.S. Schwaber. A biologically-motivated dynamic nonlinear scheduling algorithm for control. In Proc. American Control Conference, pages 92–96, 1994.
[DOP95]
F.J. Doyle III, B.A. Ogunnaike, and R.K. Pearson. Nonlinear model-based control using second-order volterra models. Automatica, 31:697–714, 1995.
[FPSU93]
W.R. Foster, J.F.R. Paton, J.S. Schwaber, and L.H. Ungar. Matching neural models to experiment. In F. Eeckman and J.M. Bower, editors, Computation in Neural Systems, pages 81–88. Kluwer Academic Press, Boston, MA, 1993.
[FUS93]
W.R. Foster, L.H. Ungar, and J.S. Schwaber. Significance of conductances in Hodgkin-Huxley models. J. Neurophysiol., 70:2502–2518, 1993.
124
F.J. Doyle III, M.A. Henson, B.A. Ogunnaike, J.S. Schwaber, I. Rybak
[Get89]
P.A. Getting. Reconstruction of small neural networks. In C. Koch and I. Segev, editors, Methods in Neuronal Modeling, pages 171–194. MIT Press, 1989.
[GSP+ 91]
E.B. Graves, J.S. Schwaber, J.F.R. Paton, K.M. Spyer, and W.T. Rogers. Modeling reveals mechanisms of central computation in the baroreceptor vagal reflex. Soc. Neurosci. Abstrc., 17:993, 1991.
[HH52]
A.L. Hodgkin and A.F. Huxley. A quantitative description of membrane current and its application to conduction and excitation in nerve. Journal of Physiology, 117:500–544, 1952.
[Hil36]
A.V. Hill. Excitation and accommodation in nerve. Proc. R. Soc. London, B119:305–355, 1936.
[Hop90]
J.J. Hopfield. Dynamics and neural network computation. International Journal of Quantum Chemistry: Quantum Chemistry Symposium 24, pages 633–644, 1990.
[HOS95]
M. A. Henson, B. A. Ogunnaike, and J. S. Schwaber. Habituating control strategies for process control. AIChE J., 41:604– 618, 1995.
[HS93]
M.A. Henson and D.E. Seborg. Theoretical analysis of unconstrained nonlinear model predictive control. Int. J. Control, 58(5):1053–1080, 1993.
[HW62]
D.H. Hubel and T.N. Wiesel. Receptive fields, binocular integration and functional architecture in the cat’s visual cortex. J. Physiol., 160:106–154, 1962.
[KTK90]
M. Kumada, N. Terui, and T. Kuwaki. Arterial baroreceptor reflex: Its central and peripheral neural mechanisms. Prog. Neurobiol., 35:331–361, 1990.
[Luy73]
W. L. Luyben. Parallel cascade control. Ind. Eng. Chem. Fundam., 12:463–467, 1973.
[Luy90]
W. L. Luyben. Process Modeling, Simulation, and Control for Chemical Engineers. McGraw-Hill, New York, 1990.
[Mac87]
R.J. MacGregor. Neural and Brain Modeling. Academic Press, New York, London, 1987.
[Med93]
J. V. Medanic. Design of reliable controllers using redundant control elements. In Proc. American Control Conf., pages 3130–3134, San Diego, CA, 1993.
[MRSS89]
R.R. Miselis, W.T. Rogers, J.S. Schwaber, and K.M. Spyer. Localization of cardiomotor neurones in the anaesthetized rat; cholera-toxin HRP conjugate and pseudorabies labeling. J. Physiol., 416:63P, 1989.
5. Modeling of the Baroreceptor Reflex with Applications
125
[MWD+ 91] G.A. Montague, M.J. Willis, C. DiMassimo, J. Morris, and M.T. Tham. Dynamic modeling of industrial processes with artificial neural networks. In Proc. Intl. Symp. on Neural Networks and Eng. Appls., 1991. [MZ89]
M. Morari and E. Zafiriou. Robust Process Control. PrenticeHall, Englewood Cliffs, NJ, 1989.
[PFS93]
J.F.R. Paton, W.R. Foster, and J.S. Schwaber. Characteristic firing behavior of cells in the cardiorespiratory region of the nucleus tractus solitarii of the rat. Brain Res., 604:112–125, 1993.
[PHOS96]
M. Pottmann, M. A. Henson, B. A. Ogunnaike, and J. S. Schwaber. A parallel control strategy abstracted from the baroreceptor reflex. Chem. Eng. Sci., 51:931–945, 1996.
[PMB86]
L. Popiel, T. Matsko, and C. Brosilow. Coordinated control. In M. Morari and T.J. McAvoy, editors, Proc. 3rd International Conference of Chemical Process Control, pages 295–319, New York, 1986. Elsevier Science Pub.
[RPS93]
R.F. Rogers, J.F.R. Paton, and J.S. Schwaber. NTS neuronal responses to arterial pressure and pressure changes in the rat. Am. J. Physiol., 265:R1355–R1368, 1993.
[Sch87]
J.S. Schwaber. Neuroanatomical substrates of cardiovascular and emotional-autonomic regulation. In A. Magro, W. Osswald, D. Reis, and P. Vanhoutte, editors, Central and Peripheral Mechanisms in Cardiovascular Regulation, pages 353–384. Plenum Press, 1987.
[SDS96]
A.M. Shaw, F.J. Doyle III, and J.S. Schwaber. A dynamic neural network approach to nonlinear process modeling. Comput. Chem. Eng., in press, 1996.
[SEM89]
D. E. Seborg, T. F. Edgar, and D. A. Mellichamp. Process Dynamics and Control. John Wiley and Sons, Inc., New York, 1989.
[SES94]
A. Standish, L.W. Enquist, and J.S. Schwaber. Innervation of the heart and its central medullary origin defined by viral tracing. Science, 263:232–234, 1994.
[SGF90]
R. Salcedo, M.J. Goncalves, and S. Feyo de Azevedo. An improved random-search algorithm for non-linear optimization. Comput. Chem. Eng., 14(10):1111–1126, 1990.
[SGHD92]
J. L. Seagard, L. A. Gallenburg, F. A. Hopp, and C. Dean. Acute resetting in two functionally different types of carotid baroreceptors. Circ. Res., 70:559–565, 1992.
[SGP93]
J.S. Schwaber, E.B. Graves, and J.F.R. Paton. Computational modeling of neuronal dynamics for systems analysis: application to neurons of the cardiorespiratory NTS in the rat. Brain Research, 604:126–141, 1993.
126
F.J. Doyle III, M.A. Henson, B.A. Ogunnaike, J.S. Schwaber, I. Rybak
[SHDW93] J. L. Seagard, F. A. Hopp, H. A. Drummond, and D. M. Van Wynsberghe. Selective contribution of two types of carotid sinus baroreceptors to the control of blood pressure. Circ. Res., 72:1011–1022, 1993. [Shi78]
F.G. Shinskey. Control systems can save energy. Chem. Eng. Prog., pages 43–46, May 1978.
[SKS71]
R. M. Schmidt, M. Kumada, and K. Sagawa. Cardiac output and total peripheral resistance in carotid sinus reflex. Am. J. Physiol., 221:480–487, 1971.
[SPR+ 93]
J.S. Schwaber, J.F.R. Paton, R.F. Rogers, K.M. Spyer, and E.B. Graves. Neuronal model dynamics predicts responses in the rat baroreflex. In F. Eeckman and J.M. Bower, editors, Computation in Neural Systems, pages 89–96. Kluwer Academic Press, Boston, MA, 1993.
[SPRG93]
J.S. Schwaber, J.F.R. Paton, R.F. Rogers, and E.B. Graves. Modeling neuronal dynamics predicts responses in the rat baroreflex. In F. Eeckman and J.M. Bower, editors, Computation in Neural Systems, pages 307–312. Kluwer Academic Press, Boston, MA, 1993.
[Spy90]
K. M. Spyer. The central nervous organization of reflex circulatory control. In A. D. Loewy and K. M. Spyer, editors, Central Regulation of Autonomic Functions, pages 168–188. Oxford University Press, New York, 1990.
[SvBD+ 90] J. L. Seagard, J. F. M. van Brederode, C. Dean, F. A. Hopp, L. A. Gallenburg, and J. P. Kampine. Firing characteristics of single-fiber carotid sinus baroreceptors. Circ. Res., 66:1499– 1509, 1990. [URP74]
A. Uppal, W.H. Ray, and A.B. Poore. On the dynamic behavior of continuous stirred tanks. Chem. Eng. Sci., 29:967–985, 1974.
[WHD+ 92] S. J. Williams, D. Hrovat, C. Davey, D. Maclay, J.W.V. Crevel, and L. F. Chen. Idle speed control design using an H-Infinity approach. In Proc. American Control Conference, pages 1950– 1956, Chicago, 1992. [Yu88]
C.-C. Yu. Design of parallel cascade control for disturbance rejection. AIChE J., 34:1833–1838, 1988.
6 Identification of Nonlinear Dynamical Systems Using Neural Networks A. U. Levin K. S. Narendra ABSTRACT This paper is concerned with the identification of a finite dimensional discrete-time deterministic nonlinear dynamical system using neural networks. The main objective of the paper is to propose specific neural network architectures that can be used for effective identification of a nonlinear system using only input-output data. Both recurrent and feedforward models are considered and analyzed theoretically and practically. The main result of the paper is the establishment of input-output models using feedforward networks. Throughout the paper, simulation results are included to complement the theoretical discussions.
1 Introduction System theory provides a mathematical framework for the analysis and design of dynamical systems of various types, regardless of their special physical natures and functions. In this framework a system may be represented as an operator σ which belongs to a class Σ of operators that map an input space U into an output space Y. The inputs u ∈ U are the set of all external signals that influence the behavior of the system and the outputs y ∈ Y are the set of dependent variables which are of interest and which can be observed by an external observer. To analyze any system σ we need to select a model σ ¯ which approximates σ in some sense. The ¯ ⊂ Σ. To model σ ¯ is an element of a parameterized family of operators Σ be able to find a model which approximates any σ ∈ Σ as closely as de¯ must be dense in Σ. For example, in the celebrated Weierstrass sired, Σ ¯ theorem, Σ is the class of continuous functions on a compact set while Σ is the class of polynomial functions. In this paper Σ represents a class of ¯ is the class of finite dimensional discrete-time nonlinear systems while Σ discrete dynamical systems generated by neural networks. An extensive literature exists on linear system identification (a comprehensive list of references is given in [L.L91]). For such systems, transfer functions, linear differential equations and state equations have been used as models. In some cases, the class of systems Σ may itself be the class of nth order transfer functions or n-dimensional state equations and in such
128
A. U. Levin , K. S. Narendra
¯ is also chosen to have the same form. We shall assume cases the model Σ in this paper that the class of interest, Σ, is the class of discrete-time finite dimensional system of the form x(k + 1) y(k)
Σ:
= f [x(k), u(k)] = h[x(k)]
(1)
where x(k) ∈ X ⊂ n is the state of the system, u(k) ∈ U ⊂ r is the input to the system, and y(k) ∈ Y ⊂ m is the output of the system respectively and f and h are smooth functions1 . Based on some prior information concerning the system