Showing posts with label life. Show all posts
Showing posts with label life. Show all posts

Sunday, June 03, 2007

THIRD kind of feedback discovered!

This just in! They found a third kind of feedback! The third kind is really, really, really important to understand if you want to understand what's going on in society today.




You know about the first kind of feedback, where the technician puts the speaker blasting into the microphone, and the result is a terrible sound, a rising squeal: e-e-e-e-e-EEEEE.

It's called "feedback" because the sound coming out of the speakers is fed back into the microphone, where it goes around again and the even louder sound comes out of the speakers and is fed back into the microphone where it is amplified and gets even LOUDER, etc.

Even though the result is unpleasant, this is called "positive feedback" because the signal is being reinforced and encouraged to grow stronger and stronger. Mathematically, with each loop more volume is being added in, so the equation, if we wrote it out, would need a PLUS SIGN.

Unfortunately, we are all familiar with the second kind of feedback, "negative feedback", which is what out best ideas or songs usually receive from friends and teachers.


You can see the "minus sign" on my second clever picture where a music student has just gotten his music test back with 0% correct, and is thinking of throwing his guitar, and his musical career, in the trash can.

This is "discouraging" feedback.

So, with positive feedback being "encouraging" and negative feedback being "discouraging", it's hard to see where there's room for a third kind.

I mean, what would it be? "Neutral" feedback, neither positive or negative?

The third kind of feedback can be called "goal-seeking" feedback, or "intelligent feedback" or "smart feedback" or "cybernetic feedback" or "regulatory feedback" or "feedback control."

Rather than blindly being always POSITIVE or always NEGATIVE, this kind of feedback varies depending on whether the news coming in that second should be encouraging or discouraging.



That concept implies that this is both "feedback with eyes" to see what the news is, and "feedback with brains" to decide how to interpret the news.

 

 

 

 





If we start at the glass being filled with water, the information flows from the glass into the person's eyes, then to their brain, where it is compared to a desired goal - a glass filled up to some mark or point. Since the water is not up to that level yet, the brain decides that the spigot could be opened wider to let more water flow, so this message is sent down to the hand, which carries out the message. That action causes more of the water in the 55-gallon drum to flow out of the spigot into the glass, raising the level of water in the glass. That information flows into the eyes, which ... goes around the loop again and again.

But, each time the information goes around the loop, the result may vary, depending on how full the glass is. The same kind of loop happens in a car, where the driver has some speed they want to go, looks at the speedometer, reads how fast they are going now, and decides whether more gas or more brake pedal is the right thing to do next, does that, and the control information goes around the loop again.

Now, this is a different kind of animal, this feedback control loop. But it is a very very popular design pattern. You'll find it everywhere, once you look, because it is a key building block for anything that's alive, and even for many things that are not alive, but act sort of alive, - like robots or automatic-speed-controls on your car.

Notice that I drew a closed path, a loop, but

what is flowing around the loop is actually control INFORMATION.
The information doesn't really care what carries it - whether it is an electrical wire or knots in a piece of string like the Inca's used, or a handful of pebbles or a piece of paper or flow of water or movement of a muscle. Information is cool - it will hitch a ride on anything it can get.

In our loop, the information starts as level of water in a glass, then it changes to light rays, then it goes in the eyeball and changes to nerve impulses, and goes around the brain comparing itself to some mental goal or image then gets goes through some kind of "decider" mechanism to decide whether the glass is full yet or not, then gets resolved to nerve impulses down a motor nerve, then gets resolved to muscle movement in the hand, then changes to spigot movement, then changes back into the water in the drum moving down to the glass.

The loop is a picture of "control information flow", and the math doesn't care what physical thing is used to implement different parts of the flow. The concept is both very real, and at the same time very abstract.
But, this is the tremendous power of this concept. Nothing depends on whether the process being described is physical, or solid, or liquid, or light or electrical impulses, or thoughts, or images, or muscle tissue.
The only thing that matters is whether the CONTROL loop exists, and has some kind of SENSOR (the eyeball), some kind of GOAL (how full I want the glass), Some kind of COMPARER (is the glass that full yet or not?), Some kind of mental model of what changes what ("To get MORE water, PULL the spigot lever forward towards me"), and some kind of ACTION-TAKER (to make that happen, move my hand towards me, and to make that happen, send a pulse down, let's see. ... oh yeah, down THIS nerve. )

The PATTERN is like a song, and the song doesn't care whether it is sung, or played on a piano, or played on a guitar, or played on bottles filled with different amounts of beer being hit by a stick -- it's still the "same song."

In our case, here's the song that Nature sings over and over again, everywhere inside our bodies and outside our bodies. When I write it out, it looks boring, like sheet music compared to actually playing the music. So, don't expect it to LOOK exciting. What matters is what happens when the music is PLAYED.

The other truly good news is that, once you understand how this kind of loop operates, and what you can do with it, and what you cannot do with it, that insight will carry over to thousands of different parts of life where the same loop operates - a different musician singing the same song.

So, here's the loop, that looks, as I promised, boring on paper.



Well, you wouldn't ask but I will, what about the first two kinds of feedback? Do we need a different picture of what "song" those are singing?

No, more good news is that one picture will do. Those loops are really boring songs, that essentially involve going up one key on the piano at a time, or going down one key on the piano at a time. Yawn.

Positive feedback is the same loop with stunted growth. It has no comparer, no goal, no mental model, and a single decider which is "ADD MORE".

Negative feedback is the same stunted loop with a simple decider rule "WHATEVER
you give me, I'll give you back less."

But, oh boy, control feedback can play a symphony with 8 voices and harmony. To think of "positive" feedback and "control feedback" being in the same family is like comparing a clock to a fancy BMW sports-car -- yes, they are both machines. Yes, one has a really boring song ("whatever time you showed last, add one second and show that next.") and the other has an "open-ended" song: "Wherever the driver wants to go and however fast she wants to go ... make it so!"

So, this is the background I wish my audience had when I did my Capstone presentation on how small teams of regular people (not doctors) could help each other get diabetes under control. There's that word again - "control", and, yes, there's a "regulatory feedback loop" involved with actions, looking to see if the actions worked, deciding what to to next, trying to do that, and around the loop again.

In any case, I will end with the same thought I put into that Capstone -- If we want to get things "Under control" and we want to use "regulations" in a loop and "monitor" how successful they are, and "modify" them based on that information, then we are playing in the "control loop" ballpark and it seems a minimum of due diligence to read the literature in that field and not reinvent the wheel, let alone get it wrong.

Feedback control theory is over 100 years old, and is very well developed, and has really neat toys and calculators to do all the hard stuff and make it easy to use. Probably any engineering college in the US has at least a course in "Control System Engineering". There are textbooks and journals and conferences, etc.

I found "Feedback Control of Dynamic Systems" to be the most readable, for the first two chapters, coming into the area from the outside.

There's a lot of interest lately in another 50 year old field - System Dynamics, where one of the goals is to try to capture, even qualitatively, the LOOPS in whatever system or organization or process you're trying to change, and then, if you can, the DIRECTION of push , be it "positive" or "negative". The Systems Dynamics Society has a whole literature and set of publications on how to do that and there's a graduate program at Worcester Polytechnic Institute in that field.

But, I have to note with some dismay, those analyses do not tease apart CONTROL loops from "positive feedback" and "negative feedback" loops. As I argue above, these are very different animals. Getting the connectivity and loops mapped out is a big part of the task. But I think the modeling of what happens next when you simulate this would be greatly improved if "control loops" were then distinguished from "dumb loops".

Just a suggestion for any SDS members who happen to be reading this. :)

(For more on Systems Dynamics and links, see my post "The Law of Unintended Consequences")

Oh, yes, I kind of lied a little bit when I titled this "Third kind of feedback discovered!" because it's only been discovered in the engineering literature, and has not been officially noted yet in the Public Health literature, and therefore, lacking "judicial notice" it currently does not exist so far as Public Health practice is concerned.

Again, my suggestion for due diligence applies.

And, no, it doesn't matter that human beings and possibly corporations and cultures and even lawyers are part of the system being studied in public health -- the theory and operation of control systems is identical. It doesn't matter whether it's animal, vegetable, mineral, light, people, chemicals, water -- the same control system laws control what can happen, can predict what might happen if you changed something, and can guide your intervention along pathways that are even conceptually feasible.







Friday, May 18, 2007

Systems Thinking and the emergence of new Life


T.S. Eliot, in the Four Quartets , said
We shall not cease from exploration
And the end of our exploring
Will be to arrive where we started
And know the place for the first time.
I'd like to suggest, as others have, that the process of exploration is more a spiral or helix than a circle, and we, individually and collectively, may go through multiple cycles of coming back to where we were, except that now it's "different" than the last time we were "here."

There is a motion, very much akin to an actual mechanical screw, in which we apply a rotational force or motion, but the result is a much harder to achieve motion in a wholly different direction.

As I sometimes do, I was rereading Practical Challenges of Systems Thinking and Modeling in Public Health this morning, seeing if the article had changed in meaning since I last read it [ Trochim WM, Calebra DA, Milstein B, Gallagher RS, Leischow SJ, American Journal of Public Health, March 2006, V96, No. 3]. Most of those people are at Cornell, in fact, in my old stomping ground, MVR Hall. Bobby Milstein is at the CDC, and Scott Leischow at NCI.

As one of my favorite philosophers, Charles Schulz's dog Snoopy, noted one day:
Did you ever notice
that if you think about a problem at 2 AM
and then again at noon the next day
you get two different answers?
Anyway, I got a different answer I wanted to share.

Still reverberating from my post on the Ten Lessons from Physics yesterday, I realized there is another candidate for important lessons in reducing complexity to a manageable level from physics that may be relevant to "Systems Thinking."

I already described yesterday how immensely complex interactions at one level, such as gas molecules, can get reduced to a few very simple but aggregate-scale concepts on the next level, such as "pressure, volume, and temperature", that are meaningless words on the individual molecule's level. In between those scales there was a forbidden zone, computationally intractable from either end.

Near the first easy end, only a few things only occasionally interacting, we have some room to actually compute the motions of several planets or billiard balls - much to the dismay of students of introductory physics.

What I can bring home from my foray into physics, however, is the news that there is also an easy zone at the other end - the end of immense numbers and immense interaction.

There is a continuum actually, and a sort of "continuous paradigm shift" as you go from the first easy end (few things, little interaction) to the other easy end (huge number of things and interactions) and that is in "what goes away."

At the lower easy end, the interactions go away, and we think in terms of "objects", mostly, that have properties, such as position and velocity.

At the upper easy end, it is the objects that go away, and we think in terms of persistent interactions that have self-energy and properties. This "regime" is the one that most of the visible universe inhabits, except for some relatively cold rocks (planets). It is the world of plasma, of high-energy physics, of stars, of the huge interactions at the centers of galaxies.

This is akin to the near-field, mid-field, and far-field of a radiating antenna - the math is relatively easy at either very near the antenna, or very far from the antenna - it's only at intermediate distances away that things become totally strange and slippery. I discussed that issue before.

In any case, we have here a two-dimensional entity, not a one-dimensional one, so it is now capable of being non-transitive and forming what Hofsteader called "a strange loop", akin to M.C. Escher's waterfalls or staircases. As the number of actors and intensity of interactions increases, one dimension, objects, diminishes in importance, the other dimension, interactions, increase in importance, until we reach the limit point, mathematically, and physically, where the initial objects simply drop out of the equation entirely and we are left only with the persistent interactions - which, voila, close the loop, the snake bites its tail, and these persistent interactions become the "objects" for the next level of existence and we start our next turn
around the greater helix of Life.

It's a smooth transition, easily modeled, not a "leap". It only looks like a leap if we go across the screw threads, not along them.

So, the meaning of "an entity" is really only locally defined, in an asymptotic way.. well below its level, the concept or entity is too large to be perceived, as "temperature" is to a molecule or "admission to Harvard" is to one of our body's cells. Then, as we think about sliding up to larger and larger scales, this concept has very strong meaning and dominates the local equations in the local time frame at the local scale, and then, as we keep on going, it goes away again forever, as does our problem starting our car on January 12th in terms of international relations.

OK, nice metaphor, but how is it useful? Do we have a name for these "persistent interactions"?

Aha! In physics, one type of persistent interaction is a "soliton". I'll skip the details, but these are waves that don't die out as they travel, but just keep on going. Fascinating.

What I do want to suggest for these persistent interactions is, at one scale, the idea of self-aware regulatory feedback loops. This concept is applicable at any scale, size, or time-frame and seems to be invariant and a core building block of life. Cells do it. The endocrine system does it. People do it. Corporations do it. Nations do it. Ecosystems do it. Policy makes and lawyers actively work on "regulations" that are, one realizes, actually supposed to be part of an on-going dance and regulatory feedback loop. Hospitals and doctors and the Centers for Medicare and Medicaid do this dance. The fact that there is a dance is the constant, and it's a very specific kind of dance that Control System Engineers know very well, and have tools to deal with.

I've gone on at great length in my recent MPH Capstone presentation at Johns Hopkins about these loops, and the fact that a closed, regulatory feedback loop is a qualitatively different animal than a "network" of interactions or a "web" of interactions or some Systems Dynamics Causal Loop Diagram. The loop has several properties that are very distinct from what is sloppily called "feedback":

  • The loop persists over time.
  • The loop is self-aware and can tell "itself" from "other" and do repairs, that is it has some kind of rudimentary immune system and damage repair system.
  • To accomplish stability in a changing world, and overcome the problems Godel pointed out, the loop probably has formed alliances with other loops, either horizontally (peer loops) or vertically (management loops) where "you tell me if I'm losing it without realizing it and I'll do the same for you."
  • The goal of the regulatory process has to include stability and survival, yes, but on top of that there is some goal, or direction, or "intent", and that goal may, in fact, be set by other loops (management) or peers (norms) or the surrounding context (tissue), or distant context (the pituitary gland).
Such loops will consequently differentially survive and persist, and end up dominating the landscape. They will tend to survive and persist best, if they are compatible with the larger scale activity that is going on, of course - if they are "aligned" with larger and larger contexts - but in Life this is a bidirectional game and the larger context goals may still be in flux and controllable by the lower level actors - until we get "phase lock" in that vertical dimension, the image finds a home and latches into place, and the whole entity is now stable on multiple levels at once. A solution has been found. Life, at a whole new level, has emerged.

Such loops are also exquisitely powerful in a computational sense. It's a long story, but closed feedback loops are IIR and open feedback loops are FIR, and IIR is infinitely more powerful than FIR. I'll get back to that tomorrow. In any case, no Control System Engineer would even imaging using an "open-loop" system if a "closed-loop regulatory feedback control system" were available. You get much better performance, stability, cost, robustness, response-time, tunability, etc. with closed-loop systems.

So, where's that get us? It's time to head off to my day job. Let's lash this down.

Of all the possible, N-factorial loops on causal loop diagrams, or in physical reality of the whole hierarchy of self-organizing Life, which includes people and corporations and nations, the winners will be the relatively persistent closed feedback loops. These will form, in many real senses, meta-life, or actors in their own rights with their own agendas and local worlds and local reference frames in which they are important and most of the rest of life is reduced to "an environment" in which they swim.

This "meta-life" will emerge at ever higher and higher organizational levels.

If you want to tweak, or tune, or improve the behavior and outcomes of any of these local entities (cells, the pancreas, the endocrine system, a person, a team, a corporation, the tobacco industy, the auto industry, a whole culture or nation or broken nation or proto-nation), then this model suggests focusing on finding a way to nudge it towards this stable and viable condition. "Nudge" means find existing proto-regulatory feedback loops that are almost closed, and close them. This pushes the whole "holon" (Ken Wilber's word) towards a stable attractor, a hold-fast, a sort of resonant notch or Lagrange point, where it can exist consistently with Life above and Life below it efficiently and effectively.

This is consistent with the focus on "microsystems" of the Institute of Medicine's Crossing the Quality Chasm, but goes beyond that and suggests a type of completion or stabilization of an actual meta-life process is the key variable to a sustainable intervention. It suggests what to look for, what to measure, and how to tweak it, and a fundamental principle of physics that supports that type of intervention as being principle-based.

It's also consistent with Senge's Presence and Stephen Covey's "8th habit" and focuses on the use of local feedback processes to bring about a change in a person or small team or an entire corporation that needs "restructuring" to return to an innovative, agile, productive state.

And it's consistent with my previous posts that Public Health, by its own logic, has to embrace improving the performance of corporations as well as populations of people, because both types of meta-life interact strongly, and, as many people in southeast Michigan are aware, if the corporate health is not well, the employee lives will not be well either. These do not need to be in conflict, and should be totally consistent objectives from both sides.

Neat. We should try simulating this and see how it behaves. We need to know how to measure such things, how to parametrize them, how to reverse engineer the underlying simple model from observable features, and how to nudge the various mathematical poles in the control-world towards the correct quadrant and tell (with p<0.01) whether our intervention is working or not - or, more precisely, we need to navigate and steer the intervention, in a minute-by-minute short-scale piloting fashion, around the rocks and to completion and need this compass to recover our direction after each swerve to avoid some obstacle or seize some favorable wind.