I recently spent a week in Germany at the Scientific Symposium of The BHV, a German dog training association. I was privileged to get to give a lecture about errorless learning at the symposium. Then, after the symposium, Dr. Jesús Rosales-Ruiz and I gave a two day workshop about shaping to a wonderful group of about two dozen trainers.
During part of one of his lectures at the workshop, Dr. Rosales-Ruiz discussed the concept of shaping movements versus shaping outcomes. This is not a topic often discussed by animal trainers, but it is a really important one. I know that when I first heard about it, it changed the way I think about shaping and clicker training.
I’m sorry I can’t share the entire conference with you, as we had just a delightful time and many wonderful conversations about training. But, I would like to share some of the conference with you. In this blog post I’ll discuss some of what Dr. Rosales-Ruiz presented on the topic of reinforcing movements and outcomes, as well as some of my own thoughts about how understanding this topic can improve your shaping and training skills.
First, some definitions.
For the purposes of this discussion, we will refer to movement and outcome as follows:
Movement. These are the actual physical elements of the response, that is, how the animal moves while performing the behavior. While observing movement, you would watch specific body parts and how muscles change position, the sequence of muscle actions involved, and how the skeleton changes shape.
Outcome. When considering outcome, on the other hand, the focus is on the result. You would look for the impact or change that is produced by the response. That is, you would focus on what the behavior does or produces, rather than the physical movements.
For example, imagine that you want to go to the fridge to get a glass of water. You could walk to the fridge. Or, you could skip, or hop, or walk backwards. You could even crawl or do somersaults. All of these involve very different types of movement. (And notice, walking forward and walking backward are both “walking,” but are actually very different movements because they involve different types and sequences of muscles.) Yet for all of these, the outcome is the same — you eventually arrive in front of the fridge.
So, how does this relate to shaping?
Have you ever heard the analogy that the click is like a camera? It is commonly used when describing how clicker training works.
It goes something like this…. Think of the clicker as a camera.When you click, you are taking a picture of that exact moment in time. You are capturing that moment and the desired behavior in the animal’s mind and making it more likely that the animal will repeat that picture.
This analogy is often used to emphasize the importance of needing to have great timing during clicker training. However, it also paints the clicker as a tool that reinforces static images, or outcomes. This metaphor can lead trainers to focus on static positions, rather than looking at and focusing on the animal’s movements.
Animal trainers, especially beginner trainers, often focus on reinforcing outcomes. For example, consider teaching an animal to touch a target. Many trainers start by holding the target close to the animal to greatly increase the chance of success. The trainer then waits until the animal makes contact with the target. This would be an example of reinforcing an outcome. The outcome is the animal’s nose touching the target.
Alternatively, the trainer could begin by reinforcing any time the animal’s nose moved in the direction of the target, even if the animal did not make contact with the target at first. This would be an example of reinforcing movements.
For some simple behaviors that are learned quickly, the movement versus outcome question can seem like splitting hairs, particularly if the trainer does not need the behavior to be done with a huge amount of precision. However for other behaviors, focusing on movement rather than outcome can increase the rate of reinforcement during training and make a giant difference in how the animal performs the final behavior.Many people find shaping difficult precisely because they have been taught to focus on outcomes. Click To Tweet
Many people find shaping difficult precisely because they have been taught to focus on outcomes. They confuse the outcome with the behavior and have not been taught how to shape movement. For example, consider teaching a dog to sit. Most training books teach you to click and reinforce when the dog’s bottom touches the floor.
But, think of all of the ways the dog can get from the standing position to the sitting position!
He can keep his front feet mostly stationary and tuck his back feet in and under. Or, he can drop his back end in place, while moving his front feet back slightly. Or, he can sit down crookedly, so that he ends up on a hip with his legs out to the side.
Or….there are plenty of other possibilities!
Now, if you are training your pet dog to sit and wait while you put his food bowl on the floor, you probably don’t care, as long as he stays sitting until you tell him that it is time to eat. However, if you and your dog compete in obedience or other dog sports, you’ll likely want him to move in a precise way so that he ends up sitting straight and in just the right position next to you. A sloppy sit with the wrong set of muscle movements could cost you a ribbon.Here’s one really interesting example of movement versus outcome for you to consider. You probably know the story about Pavlov. He conditioned dogs to salivate when he rang a bell.
Most people discuss the saliva as if it were the behavior being conditioned. However, the production of saliva is an outcome. The actual behavior was the movement of the muscles and glands that produced the saliva and moved it through the body. This is an interesting example because the behavior is inside the animal and largely invisible, at least with the technology that was available to Pavlov
What can happen if you focus only on outcomes during training?
Focusing on outcomes isn’t always a bad thing. Sometimes it really is only the outcome that is important. However, if you are mostly (or only) reinforcing outcomes, you can end up focusing most of your attention on a narrow slice of the behavior. This means that you are less aware of what the animal is doing at other times during the training and you are less aware of how the animal is actually moving. This can lead to a variety of issues, if you are not careful, including:
• Different versions of the behavior: If you wait for the outcome before you click, you can end up reinforcing many different versions of a behavior. You lose precision because the “behavior” you are trying to train will actually end up being a handful of different but similar behaviors, that all result in basically the same outcome. Often, trainers do need the animal to do a precise version of the behavior, whether for competition, or to keep the animal in a certain balance or posture for health reasons, or so that the behavior can be incorporated into a larger sequence of behaviors. All of this can be difficult to achieve if your focus is only on outcomes.
• Unwanted behavior chains: If you mainly focus on reinforcing outcomes, you can end up creating chains of behavior that include both the behavior you want and other unwanted behaviors. For example, in teaching dogs not to jump up, trainers often recommend clicking when the dog has all four feet on the floor. This often works, but I have also met dogs subjected to this training protocol that have inadvertently learned to jump once or twice, then stand patiently waiting for their treat. The whole sequence becomes: dog approaches a person –> dog jumps up briefly –> dog then stands and waits for his treat. The whole sequence ends up getting reinforced. It is important to remember that the clicker doesn’t just capture what is happening at the moment of the click. It can, and often does, reinforce the whole sequence of behaviors that precede the click.
• “Messy” behaviors: I often see trainers focus on outcome initially, with the idea that they can further refine the behavior later on. So, the trainer reinforces the horse for taking six steps back, whether his head is up or down, whether he is well balanced or not, whether his ears are forward or back, whether he backs in a straight line or curves some to the side. However in the horse’s mind, all of these responses are now appropriate ways to walk backward. It can be difficult to clean up the behavior later on and narrow it down so that the horse is only backing in a straight line, in good balance, with his head at the right height and with his ears forward.
Part of the difficulty with trying to clean up or refine a “messy” behavior is that every time you click for a correct part of the behavior, you often end up also reinforcing incorrect parts of the behavior. If you clicked for ears forward while the horse walked backward, but the horse was out of balance, you’ve now reinforced ears forward, but also the incorrect balance. (How to clean up a messy behavior? This would need to be a whole separate post. However, rather than trying to clean it up, the easier solution is often to just reteach a more precise version of the behavior by reinforcing the correct movements from the beginning, and then give the new behavior a new cue.)
Behavior cycles: Where does the behavior begin? Where does the behavior end?
We’ve covered a lot in this post, and perhaps you already have enough to think about. But, I will leave you with one final concept to help further clarify this question of movement versus outcome and to help you as you decide what to reinforce during shaping.
One thing that can help is to think of behavior as a cycle.
The behavior really isn’t over until the animal is in a position to do the behavior again. So, the animal is in the same position at the beginning and end of the behavior.Think of behavior as a cycle. The behavior isn't really over until the animal is in a position to do it again. Click To Tweet
This is more intuitive for some behaviors. Imagine a dog or horse going over a small jump. Although the trainer sometimes focuses on clicking when the animal is in midair, we usually think of the behavior as the entire sequence of movements: the animal approaching the jump –> beginning to take off –> clearing the jump –> beginning to descend –> successfully landing after the jump –> and beginning to move away. The animal is now back on the ground and in a position to go over another jump. The behavior cycle begins and ends when the animal has all four feet on the ground.
However, this notion of behavior cycles is less intuitive for other behaviors. Think of a dog sitting. We usually think of sitting as the following sequence: dog is standing –> dog begins to lower his bottom –> dog ends up in the sit position with his bottom on the floor. However, if the dog is sitting, he is not in a position to sit again until he is standing back up. So, the behavior cycle of sitting really includes the dog moving from standing to the sit position and then back to standing again. Similarly, for a behavior such as head lowering, the full cycle would include the animal lowering his head, but then raising it back up again.
Trainers often focus their clicks on the middle of the cycle, as this is often the outcome the trainer is looking for. Clicking in the middle of the cycle would mean clicking when the dog’s bottom touches the floor during a sit or when the horse’s nose almost touches the ground during head lowering.
However, the behavior cycle is made up of a sequence of movements. And thinking of behavior as a cycle will help you to start to see all of the movements.
The trainer can move her click earlier (or later) in the cycle to achieve different results. If you need a very precise version of the behavior (rather than a collection of responses that result in a similar outcome), you will want to begin by clicking very early in the cycle and reinforcing the precise opening movement and correct muscle patterns that will lead the animal to the version of the movement that you desire.
Where is your focus?
In many cases it is practical and easy to just focus on outcomes and click for results of behaviors. I do this myself and it can be sufficient for some training situations.
However, if you find that you are having trouble shaping a particular behavior or that your animal is offering lots of extra or unwanted behaviors, stop for a moment and consider what you are currently reinforcing and also what you focused on reinforcing when you initially trained this behavior. Were you focused on reinforcing physical movements or were you focused on reinforcing outcomes and results?
Leave a comment below and let us know what you think about the topic of movement versus outcome!
And, if you found this blog post interesting, I encourage you to join us for the 8th annual Art and Science of Animal Training Conference. We’ll be spending the first day of the conference talking all about shaping. I know in particular that Kay Laurence’s talk about micro-shaping will be very much focused on how we can reinforce movements during shaping. You can find more information about the conference here.