Accidental Behavior Chains: Are You Training What You Think You Are?

Accidental Behavior Chains: Are You Training What You Think You Are?

My family got our first dog, a long-legged sable Sheltie named Duncan, when I was sixteen years old.

As a brand-spanking-new trainer, I had lots of enthusiasm but very little actual skill.  We went to classes and dabbled in a few different dog sports – including, most notably for today’s topic, competitive obedience.

In the novice obedience ring, one of the exercises that dogs are required to master is the formal recall.  This involves leaving your dog in a sit-stay, walking to the other end of the ring, and calling your dog on the judge’s signal.  The dog should come directly to the handler and sit straight in front of them, then go smartly around to heel position on command.

Pretty straightforward, right?

As it happened, Duncan and I struggled with this exercise.  It wasn’t that he wouldn’t come – in fact, the beginning of his recall was a thing of beauty.  He held his stay perfectly, and came running to me as fast as he could when I called… then took a flying leap as he approached, and jumped up happily to say hi before finally settling into his nice straight sit in front.

Every.  Single.  Time.

This was a significant point deduction in the ring, and great source of frustration for me as a handler.  After all – I never rewarded him for jumping up, always withholding the treat until he finally sat.

So why wasn’t the problem getting any better?

******

A behavior chain, scientifically speaking, is a series of simple behaviors that are always performed one after the other in a particular order.  The reinforcer (a treat, a game of tug, or whatever you might be using as a reward) comes at the end of the chain.

For example, let’s say you have a service dog who is trained to retrieve items for you.  When you point to an item on the floor and say “fetch it,” your dog goes to the item, picks it up in his mouth, turns around, returns to you, and places the item in your hand.  You then reward with praise and a treat.

This is a behavior chain.

Each successive step in the chain is contingent on the step that came before.  The treat at the end is effectively rewarding the entire chain, rather than just the final behavior of placing the item in your hand.

Okay, you might say.  So what?

I realize that, at first glance, this might seem like a bit of pedantic training geek minutiae.  But in fact, it has some pretty significant implications for how our dogs learn things in the real world.

Here’s why:

Most of us, at some point in our dog’s life, have accidentally trained a behavior chain that includes some behaviors we don’t want.  It’s easier to do than you might think!  And once you’ve done this, figuring out how to get rid of the unwanted “links” in the chain can be quite a challenge.

To better illustrate how this problem can occur (as well as how to fix it!), let’s look at another example from the world of dog sports – the popular “2-on, 2-off” contact behavior in agility.

A standard agility course includes three contact obstacles – the dog walk, the A-frame, and the teeter.  Each of these obstacles has a yellow contact zone at both ends.  The dog is required to touch the yellow area as he exits the obstacle, which prevents him from getting excited and launching himself off while he’s still too far up to be safe.

Because dogs don’t readily grasp nebulous concepts like “make sure you touch this yellow area somehow”, many handlers opt to train a specific behavior called the 2-on, 2-off position at the base of every contact obstacle.  This means that the dog should run to the bottom of the contact area and stop with his two front paws on the ground, and his two rear paws still on the obstacle.

Properly done, it looks like this:

A solid 2-on, 2-off behavior ensures that your dog will never be disqualified for jumping off an obstacle too early, and gives him a specific, concrete task that he understands.  Makes sense, right?

For many of my beginner agility students, here’s where the problem comes in.

When a dog is first learning this skill, he may be quite good at hitting his position when he’s calm and focused, concentrating on the task at hand.  But… add in some speed and momentum, and he forgets.  He leaps off too early, or overruns his 2-on, 2-off spot without remembering to stop.

His handler, wanting to get on with the rest of the course, stops and reminds him – “Hit it!”

Whereupon the dog does a neat little circle to find his position, or scoots backward until his rear paws hit the obstacle again.

The handler rewards this.  Or gives the release cue (“okay!”) and takes off to continue the course, which amounts to the same thing.

Now, in the context of today’s discussion, here’s question we want to ask:

What is the dog being trained to do?

The actual performance that the handler wants would look like this – dog hits the obstacle at full speed, slows down and shifts his weight back as he approaches the bottom, and stops neatly in his 2-on, 2-off position.

However…

What the dog is practicing, and being consistently rewarded for, is an entirely different behavior chain – hit the obstacle at full speed, charge forward with wild abandon, leap off halfway down, then back up or circle on the ground.

These two things are emphatically NOT THE SAME.

Sad to say, the second version in this example won’t work in the competition ring.  So if you’re an up-and-coming agility student, it behooves you to pay attention to what you’re really training.

So how do we fix it?

In a nutshell:  by paying attention to the entire chain and making sure it’s correct, rather than focusing on just the end behavior.

If your dog overruns his contact position in agility class, you’re better off to go back and have him repeat the entire sequence – or at the very least, re-do the obstacle from the beginning – rather than trying to do a “quick fix” at the end.

This way, he gets the entire chain right.

(If this is happening regularly when you run sequences, then it’s likely your dog also needs some more foundation work to make sure he really understands the behavior and how to find his position at full speed on the first try.  So you can do this too!  A full discussion of how to troubleshoot contact issues in agility is beyond the scope of today’s post – but you get the general idea.)

******

With Duncan, if I could go back in time and train him again, I would approach our recurring competitive obedience issues very differently.

There are lots of training strategies I could have used to help fix a problem with jumping up on the recall.  I could have started with shorter distances, to keep the excitement level down.  I could have lured him into a sit as he approached, to ensure that he didn’t jump.  I could have taught him to sit squarely on a platform as a separate skill, then incorporated this into the recall to provide some extra insurance that he would make the right choice.

What I would NOT do, is continue to practice the “wrong” version of our recall – jumping up, and all – over and over again.

I didn’t know these things then, so we muddled along as best we could.  And that’s okay.

When we know better, we do better.

******

Lest you think that accidental behavior chains are only a problem in the competition ring, here are a few real-life examples that might sound familiar:

  • Counter surfing

Dog jumps up and puts front paws on the countertop.  Owner commands “off” or “leave it.”  Dog gets down, and is rewarded with a treat.  This happens every time the dog enters the kitchen.

  • Jumping on people

Dog gets excited and jumps up to say hello.  Owner commands “down” or “off.”  Dog eventually calms down enough to put four paws on the floor, and is rewarded with treats or attention.  This occurs with every visitor, as well as friendly strangers encountered on walks.

  • Loose leash walking

Dog runs ahead and hits the end of the leash.  Owner calls him back and rewards with a treat.  0.2 seconds later, dog charges forward and hits the end of the leash again.  Repeat ad infinitum, for the entire walk.

  • Barking for attention

Dog is bored with downtime in the house, and pesters owner by barking or whining incessantly.  Owner commands “quiet” or “settle,” and rewards with a stuffed Kong after a short period of silence.  This sequence of events occurs every evening around the same time, like clockwork.

If you’ve accidentally taught your own dog any of these behavior chains, don’t worry – you’re not alone!  We’ve all done it at least once or twice, without meaning to.

So what do we do about it?

In all of these examples, you’ll notice a running theme.  It’s not particularly complicated or profound, but it can be a real game-changer once you see it.

Accidental behavior chains happen when we continually allow the dog to make the same mistake over and over again, before stepping in to try and correct it.

That gives us this recurring pattern:

Wrong thing -> right thing -> reward

No matter how many times you do it, you’ll never get rid of the wrong thing this way.  NEVER.  In fact, with every repetition, you’re cementing it more firmly as a necessary part of the chain.

So.

Don’t wait for your dog to make a mistake, then try to fix it after the fact.  Instead, be proactive!  Arrange the environment to set him up for success.  Reward right away for the behavior you want, before things have a chance to go south.  And if the same problem pops up more than once or twice, change something in your training plan so that it doesn’t happen again.

Perfect practice makes perfect, as the saying goes.

So do your best to practice perfectly.

27 thoughts on “Accidental Behavior Chains: Are You Training What You Think You Are?

  1. This is invaluable in understanding why we fail to make progress or get behaviour improvements. Thank you. Difficult to know how to deal practically with the jumping up on people but I see the principle.

    1. I believe she is saying rather than repeating the pattern wrong (jump) -> right (sit) -> pet/treat, don’t allow wrong to happen in the first place. Perhaps use a leash to prevent (wrong) jumping then practice right (sit) -> pet/treat.

    2. Figuring out the practical part can definitely be a challenge! I may do a follow-up post that talks a bit more about what this might look like for the examples I gave, if people are interested. But I do think there is value in understanding the concept – we need to know WHY these unwanted behaviors aren’t going away, before we can make an effective plan to change them. 🙂

  2. Great article! I’d love to know the protocol to fix those “links” for the 4 examples you gave. Like how should:
    dog jumps up on people >> I say “off” >> reward. Should it be
    dog jumps up on people >> I say “off” >> then “four” (on the floor) >> reward?
    Or is that just a longer chain?
    OR should it be
    dog jumps up on people >> I tell people to turn around and ignore him >> no reward >>dog learns jumping is a bummer he gets nothing.
    Forever learning! Thx. Realize this is a loaded question so any hints are welcomed.

    1. This is a great question! I may do a follow-up post that talks more about practical solutions for these examples, if this is something that people would be interested in.

      You’re correct that this:
      “dog jumps up on people >> I say “off” >> then “four” (on the floor) >> reward?”

      …is just a longer chain 🙂 So it doesn’t help us. Instead, we want to find ways to prevent the jumping from happening at all. So that the new chain is simply approach people calmly -> sit or keep four paws on the ground -> get treats/petting.

      This might mean using leashes or baby gates to manage the situation when the dog is too excited, and setting up training sessions where we can work on baby steps until he’s able to keep himself under control during that initial approach.

  3. I would love to have read your solutions to counter surfing and jumping up on other people.
    Charlotte

    1. I didn’t want to delve too deeply into specifics with this part, or else the post would have become a novel. 😉 But I may do a follow-up post with more information on how we might approach these examples from a training standpoint, if people are interested.

  4. Thank you for this post! I’ve been thinking a lot lately about what I’m actually reinforcing when I reward a behaviour and love how well you explained this. I think I need to work on monitoring how often behaviours are occuring that I don’t want to reinforce, and look at other options (management maybe?) to prevent them happening again.

    1. I’m glad you enjoyed it! Accidental reinforcement of things we don’t like is one of the biggest pitfalls we run into when we train our dogs. I do think it’s useful to think about this, and try to understand WHY these unwanted behaviors are continuing to happen. That’s the first step to coming up with an effective plan to change them. 🙂

      1. I’ve been thinking more about this today and wonder how/if fear affects this. My dog has (among other things) a fear of cars and would react on leash to them by barking like crazy. Over the course of about six months I’ve gotten her to where she will do the “autowatch” described in Feisty Fido. But while working on this there where times where all my careful management went out the window and she would react to a car but soon after calm down and look at me again. I rewarded her for it, although always wondering if I was in fact inadvertently rewarding the barking. Despite that she has gotten quite good with cars now…so was this despite me rewarding her? Or with a fear based behaviour does the classical conditioning (of car = food) matter more? In an ideal world I would be perfectly managing the situation of course so she’d never be over threshold and this would not be an issue…

        1. That’s a great question! As you’ve noted here, emotionally driven behaviors are a whole ‘nother ball of wax.

          For something like fear-related barking and lunging, it’s actually impossible to “reward” this behavior, in the sense of making it happen more in the future by giving a treat afterwards. This is because it isn’t a choice that the dog is making – it’s an emotional reaction. Get rid of the fear, and the reaction goes away. It’s not really consequence-driven in the same way that voluntary behaviors are. Does that make sense?

          You’re correct that managing the environment and keeping her below threshold at all times is the most effective way to work on this problem – so we still don’t want to put her in a position to get upset and start barking, but the underlying reasons are a bit different in this case. When “life happens” and she does occasionally react, it’s fine to give treats as soon as she calms down and checks in with you. You won’t make things worse this way – it’s just not as effective as preventing the reaction in the first place. Which it sounds like you’re doing a great job of, overall 🙂

          1. Thank you! That makes perfect sense and makes me feel a whole lot better as we’re working on her other fears using the same protocols.

  5. I think the trick is stopping the jumping in the first place. So maybe meet people you already know rather than new people and reward for that (like walk away for 5 mins and come back, then get someone else to do the same). It isn’t always easy to think of a way of avoiding the bad behaviour. But I think that’s what it needs.

    1. Yes, that’s it exactly – we want to be proactive and prevent the unwanted behavior from continuing to happen every time a given scenario presents itself.

      So for jumping on people, this might mean using leashes, baby gates, or other management tools when the dog is too excited to control himself. From a training standpoint, we would also want to work on teaching the dog to go straight to a sit (or “four on the floor” behavior) as soon as he approaches someone – then reward generously when he’s successful. If jumping happens, abort and try again once he’s calmed down, rather than allowing him to continue the rest of the chain and ultimately be rewarded with treats or petting.

  6. Excellent article. Really made me stop and think about what I am actually rewarding/reinforcing. Thank you.

    1. I’m glad you enjoyed it! Accidentally reinforcing behaviors that we don’t want is something we all struggle with, I think. Being aware of the problem is the first step to fixing it 🙂

  7. Oops. Marley and I might need more help with those 2 on 2 offs than I originally thought 😀
    …. and loose leash walking and recall and…. Great topic! Thank you!

  8. OMG! No wonder Maru still jumps on people no matter how many times I told her to be off…
    Thanks for the article. Great informative lesson!

  9. This is such a helpful and clear explanation! Here’s another example, and It’s fascinating to now understand why this approach worked.

    Over the course of several frustrating months, our enthusiastic border collie Obi learned a behavior chain of 1) go out the back door, turn back to me and sit like a perfect gentleman…2) as soon as I go inside the house, charge the back fence with glee, barking, to arouse the next door dogs into a bark-fest…3) then disengage and look at the back door…4) when I open the door, happily run inside for reward for good recall.

    Not knowing about behavior chains, we struggled to address this. Finally we realized unsupervised backyard time was exacerbating the issue. First we changed to an on-leash-in-the-backyard rule. We then started to walk to the back fence with him, play some “Look At That” games to keep his focus on us, then bring him back into the house. We also scatter-fed him (under supervision) by the back fence for awhile, to change the association. After a week of that, we’d just hang out together by the back fence, and when things were going consistently well I unclipped his leash and gradually (over the next several weeks) moved further from him. Eight weeks later, the fence-charging is gone. I still walk to the fence with Obi when I let him out, but even if the other dogs are out playing or barking, he ignores them. And I can now go about my backyard chores while Obi hangs out on the lawn or wanders the perimeter looking for squirrels. (He isn’t allowed completely unsupervised backyard time yet, but I think we’ll get there soon). I frankly didn’t think we could solve the problem, as in his eyes there WAS no problem (best game EVER, he said), but here we are, everybody happy!

    And I echo everyone else: follow-up posts on your examples, please!

    1. That’s a great example! And yes, I’m sure Obi didn’t see any problem with that chain at all 🙂

      Your solution was perfect – finding a way to prevent the unwanted behavior from occurring, rewarding an alternative behavior to form a new pattern, and then gradually fading yourself out of the picture. Kudos to you for an excellent, well-executed training plan. Glad everyone is happy now, including Obi and the neighbor’s dogs.

  10. We give treats to the dogs when they get in their kennel after coming inside. The end goal is to get them in the kennel and that act alone is rewarded. Some go straight there, others run a few laps inside first and we have to work to get them in. It is interesting to think of the ones that don’t go straight in as learning the wrong chain. Always figured they want a treat and the fastest way to get it is get in the kennel. Will have to work on this one a bit, thanks for the insight.

    1. That’s definitely an interesting example! I do think you could probably address it as a behavior chain, from a training standpoint. Glad you enjoyed the post.

Comments are closed.

Comments are closed.