Showing posts with label shaping. Show all posts
Showing posts with label shaping. Show all posts

Sunday, August 18, 2013

Kathy Sdao Seminar: 10 Ways to Get Behavior

As presented by Kathy Sdao.

Picture is unrelated. But beautiful!

1. Physical Pressure
Also known as “molding,” this method involves the trainer physically putting the dog into the position you want. To do this, the dog needs to yield to your action. Although this method can work (it’s how I taught Maisy to shake/give me her paw, and how many people teach sit), it does require a cooperative animal. Since the dog is passively allowing the behavior to happen, it can be tricky to get the dog to understand that he needs to offer the behavior.

2. Prompting
Similar to using physical pressure, in this method, the trainer elicits the response by doing something that prompts the dog to take action. For example, if you walk towards a dog that is facing you, he is likely to step backwards. This is a common way to teach the dog to back up. This tends to be used mostly with reflexive instincts.

3. Luring
Kathy actually listed this as 2b because it is a subset of prompting. In luring, we prompt the dog to do a behavior by using food to get the dog to do what we want. Although it is widely used among positive trainers, the dog is acting more passively than some people would want.

4. Targeting
This requires the animal to place a body part against an item. This does require some pre-teaching so that the dog understands what he’s supposed to do when the target item is presented, but once the dog has learned that, it can be used to elicit a variety of behaviors. It can be used in a similar way to luring, although it doesn’t have to be. It’s a great technique for people who want the dog to be an active participant because the dog has to think through the options and make choices.

5. Capturing
In capturing, the trainer can be quite lazy. Instead of figuring out how to elicit a behavior, the trainer simply watches for what she wants and then rewards it. This makes capturing great for behaviors that are already in the dog’s repertoire and that he’s likely to do (such as sitting or lying down). Capturing doesn’t work for behaviors the dog doesn’t innately do.

6. Shaping
This is what many people think of when they think of “clicker training.” In shaping, we allow the dog to offer behaviors and then click/reward small steps towards the goal behavior. It requires the dog to be an active participant in his training, and can often result in very creative behaviors.

7. Classical Conditioning
First discovered and studied by Pavlov, classical conditioning is a method of getting behavior that relies on creating associations between two things to create automatic responses. In Pavlov’s case, he could get the behavior of drooling by ringing a bell. Classical conditioning is used most often in behavior modification, but can also be used for developing strong recalls.

8. Removal of Inhibitors
If something is preventing a dog from performing a behavior, removing that thing will often allow you to get the behavior. Often, the thing that is inhibiting the behavior is something scary, so this is really about allowing the dog to feel safe enough to perform.

9. Modeling or Mimicry
This method of getting behavior involves demonstrating what you want, and then having the dog copy what you’re doing. Although it is possible for dogs to do this, they are not naturally good at it. It’s really more useful for primates.

10. Verbal Instructions

This one isn’t used for animals at all as it requires a shared understanding of verbal language. In other words, it’s only for humans, and only for those who speak and understand the same language! Still, it is a way to get behavior, so I’ve included it here!

Monday, October 1, 2012

Shedd Animal Training Seminar: Getting Behavior

So far, we’ve learned that Ken prefers to use positive reinforcement when training behaviors, and that he finds the use of a bridging stimulus to be very helpful. But we haven’t talked about how he gets the behavior he wants to bridge and reinforce, so let’s do that today! The first thing you need to know is that while some trainers will use only one or two methods to the exclusion of all others, Ken uses what works. The method that he chooses will depend on the animal and the behavior.

As an interesting side note, while the concepts were familiar to me, Ken uses some different terminology than I’m used to. Indeed, the words that zoological trainers use differ from things we say in the dog world. As a lover of words, I actually found this fascinating. For example, he uses the word “shaping” differently than we do in the dog world; for Ken, “shaping” simply means training. Each of the techniques he discussed can be broken down into small increments, and he will reward each successive approximation regardless of what technique he’s using… which is shaping. Just not the way we dog people typically think of it.

Targeting
Targeting is probably the most common technique used in the zoological setting, mostly because it is incredibly useful for teaching husbandry tasks. (Ironically, it’s probably the one I use the least with my dog, although I have found it incredibly helpful when I’m trying to learn a physical skill myself.) Targeting involves teaching the animal to touch an object with a body part, either briefly or for an extended duration. For example, a dolphin may be taught to touch its nose to a colored shape, or a sea otter may be taught to grab a plastic buoy with its paws.


Scanning
Sometimes called capturing in non-zoological settings, scanning is where the trainer watches for the animal to perform a desired behavior. When the animal does- for example when a dolphin jumps in the air or a beluga whale spits water- the trainer reinforces the animal at the exact moment the behavior happens. As you can imagine, the use of a bridging stimulus is incredibly important here. Scanning is also sometimes called free-shaping, as the trainer will capture a first step toward the behavior and then gradually increase the criteria.

Baiting
Baiting is also known as luring, and it can be a controversial method. Baiting is done by using food to elicit the desired behavior, and if not done well, can create animals and trainers who are dependent on the use of food to complete the behavior. We actually saw some baiting in action when Ken was working to teach Tanner the sea lion to go in the water on cue. He would give the cue (swim!) and then toss a fish in the water. While it is very useful- especially for novice animals and trainers- Ken said it’s typically not his first choice for a lot of behaviors. Still, he rarely says “never” to a training technique.

Environmental Manipulation
I love environmental manipulation; it can make things so easy sometimes. This is simply the process of arranging things in the environment so that the desired behavior is the only or the most likely option for the animal. It obviously won’t work for every behavior you want, but when it does, it’s genius. What could be better than setting the animal up for success and giving the trainer the opportunity to reinforce the behavior?

Modeling
This technique, sometimes called molding, is more common in the dog world than zoological settings. Modeling is where you physically manipulate the animal’s body into the position you want (like when a trainer pushes a dog into a sit), and as you can imagine, tends to be either physically impossible or incredibly dangerous with zoo animals. Still, Ken refused to discount it entirely, citing Koko the gorilla as an example. Koko’s trainers taught her sign language by manipulating her fingers and hands into each word, something they could have never targeted, captured, or lured into happening.

Mimicry
This is not a common method of training as it requires a fairly sophisticated animal who understands that it should copy what another animal is doing. Although Ken has done some work around mimicry, it is not widely used. A similar concept is social facilitation, in which an animal learns to do something from another animal. This is typically accidental, such as when a dog learns to bark at passers-by from another dog.

Abstract Learning
Abstract learning is a complex method of learning. This is where two ideas are combined to create a new concept. It happens often with humans, such as when we attend lectures, but is not common in the animal world, although it does happen with cognitive researchers. Alex the Parrot is an excellent example.


This list is certainly not all inclusive. There are other ways of training animals, but these were presented as some of the most common methods. I initially learned through the use of baiting/luring, and appreciate it as a technique. I also do a fair amount of scanning (both capturing and free-shaping). What about you guys? Which technique do you use the most? Are there techniques you’ve used that aren’t listed here? I’d love to hear about your experiences.

Thursday, March 1, 2012

Jane Killion Seminar: Shaping

I don’t think I have ever met a trainer with better shaping skills than Jane Killion. At times, it seemed like it’s the only tool she uses (and I’ll talk more about that in my posts on her approach to reactivity, aggression, and attention), but I’ve got to admit that if I was even half as good at shaping as she is, I might not feel the need to use other approaches. Honestly, her skills are just phenomenal.

So, what is shaping? Shaping is the process of teaching a dog a new behavior in small, incremental steps. Instead of trying to teach the entire behavior all at once, shaping builds it up, one piece at a time. Jane used the analogy of a movie: if the behavior is what you would see in the final video clip, then shaping is the process of teaching that behavior one frame at a time.

More specifically, Jane does something called free shaping, which is where the dog offers each successive behavior as opposed to the trainer prompting, luring, compelling, or showing the dog what to do. Jane makes this distinction because she wants the dog to be the active participant. Since a “Pigs Fly” dog tends to be an independent thinker, free shaping harnesses the dog’s natural ability.

It also creates a dog who is “obsessed” with solving problems. Jane believes that free shaping taps into the SEEKING circuit in the brain, and since we know that anticipation is reinforcing, this means that the dog who has learned via shaping will find solving training challenges to be inherently reinforcing. This makes shaping a valuable tool for the “Pigs Fly” dog who isn’t all that interested in pleasing his person.

If this sounds wonderful, it’s because it is. But there is a catch! For free shaping to work, the dog has to be operant. This means that the dog understands that his behavior will earn a click and treat, and even more importantly, that he actively offers behaviors in order to earn the reward.

Jane teaches a dog how to be operant by playing The Box Game. To play, set a box on the floor and click/treat any interaction with the box that your dog offers. Any interaction. You aren’t teaching a behavior, so you should click anything and everything your dog does with, near, or to the box. Dog looks at the box? Click Dog sniffs at it? Click. Dog paws it? Click. Dog steps in it? Click. Dog jumps over it? Click. And if your dog will have nothing to do with the box? Click him for looking away from it, or even for getting up and walking away. That may sound weird, but remember, the goal is not teaching a behavior, it’s to teach the dog the concept of offering behaviors.

Once your dog is eagerly offering behaviors, it’s time to start shaping a behavior. Jane had working participants shape a behavior related to the box. This allowed the handlers (and the dogs!) to practice their new-found skills with something that doesn’t really matter. Choosing a "silly" behavior is important, because when people start with behaviors they care about, they tend to get tense and worried, which interferes with their ability to train.

To shape a behavior, start by thinking about what you want to teach. Jane said that the key to training lies in setting up your sessions well. You should spend more time planning than training. Have a very clear picture of what you want, and be sure to state it in terms of what the dog will do, not what he won’t do. For example, a sit-stay is defined as “sitting and holding that position” as opposed to “sitting and not changing position.”

Next, figure out what each step will be. Again, think of the final behavior as a movie, and visualize each frame. The change between each step should be very small. For example, if the behavior is teaching your dog to go lie on his bed, you might say that the first step is for the dog to turn his head towards the bed. Jane, however, would say the first step is for the neck muscles to move, or for the dog's eyes to flick in the direction of the bed. Like I said: tiny steps.

Click/treat that first step repeatedly until it is clear that the dog is deliberately offering the behavior. The amount of time you spend on this step will depend on the dog; if he’s done a lot of shaping, you might only need to click each step two or three times, but if this is his first time out, you might need to click it a hundred times.

Now, stop clicking. If your dog understood that his behavior was resulting in reinforcement, he will probably be a little confused. He will likely try the behavior again a few times. When that doesn't produce a click, he will start to offer variations on the behavior, trying to figure out what it is you want. Pick one that takes you closer to your end goal and click/treat that. Technically, your dog is going through an extinction burst, so be quick, before the dog gives up entirely. While much of training is a science, there is definitely an art to determining when to stop clicking, and what to click after that.

A lot of the working dogs were already operant, having had experience with shaping. In fact, some of them were almost frantic in their efforts to offer clickable behaviors. Jane acknowledged that shaping can be messy and chaotic at times. This is often hard for people to accept, especially if they are used to dogs who wait to be told what to do, or who really want to control their dogs.

That said, there are problems unique to shaping, although they are almost always due to timing. (Of course, poor timing is a problem no matter how you train, it’s just that poor clicker timing results in a different set of problems than in a poorly timed collar correction.) Almost every clicker problem can be solved simply by clicking earlier. Barking out of frustration during training is usually a very smart, fast dog saying “I did it! Click me already!” Dogs who throw lots of behaviors usually are not sure what the trainer wants because of her poor timing. And superstitious behaviors- those things that the dog thinks is part of the behavior but really isn’t- usually creep in due to late timing.

Timing and splitting behaviors down into tiny pieces seem to go hand in hand. For example, when Jane was working on teaching a dog to jump, she started with clicking the dog for seeing/committing to the jump versus going over it. Not only does slicing the criteria like this make it easier to shape the dog, but it also means that if your click is even a half-second late, you’re probably still clicking the goal behavior- in this case, jumping- instead of the behavior after it, like landing.

It was pretty amazing to watch Jane work with the dogs because her timing was just so good, and the lesson of clicking early was definitely something I needed. My timing is pretty good, but it is nowhere near Jane’s level of pure awesomeness. I am going to work hard to click sooner and to break down behaviors into smaller pieces. I think both things will really benefit my ability to teach the behaviors I want.

Coming up soon: using shaping to create an attentive dog and solve behavior challenges.

Sunday, May 15, 2011

Training Update: Baby Retrieves!

It's been a very long time since I posted any kind of training update. Honestly, I haven't done much lately. I started a new job recently, and it's left me kind of wiped out. Still, we go to class regularly, so we're still making some progress:



I'm really pleased with how she's doing with her retrieves. It took forever, but we've mostly gotten rid of both nudging the item with her nose and the paw lift when I reach for the item. Both things pop out once in a while, but given how hard it is to train out superstitious behaviors, I'm happy with how far she's come! I also like that we're getting a bit of duration.

Tuesday, May 3, 2011

Clicker Expo 2011 (Chicago): Kay Laurence- Raising Criteria

I really, really enjoyed Kay Laurence's session on raising criteria. One of the most difficult parts of shaping is knowing when, and how much, to raise criteria. Or at least, I think so. At any rate, there is a definite art to it, and I loved seeing Kay's take on it.

Although each presenter used slightly different words, the theme of “think-plan-do” recurred over and over at Clicker Expo, so it should come as no surprise that Kay emphasized the importance of planning your sessions in advance. Kay explained that planning helps you develop clear criteria. If you don't know exactly what you want, how is your dog supposed to figure it out? At best, unclear criteria slows down learning. At worst, it creates messy, inconsistent behaviors.

Therefore, you need to decide what your criteria is, and then click only the behaviors which meet it. If in doubt, don't click. It is more confusing for the dog if you click several variations of the same behavior than if you don't click several perfect versions. Of course, this is easier said than done. I know I often have the tendency to want to help my dog by clicking good tries, but Kay said that it is nearly impossible to tidy up messy behaviors later on. As a result, it becomes clear that knowing when to withhold the click is as much of a skill as knowing when to click.

So choosing your criteria and sticking with it is important, but it's also important to make sure that you are picking small, easily achievable steps. Kay said that a clicker-savvy dog should be able to figure out what the criteria is in two clicks. If it takes longer, your criteria is probably too high. Although you want quality from the outset, you can't set the bar so high that the dog can't find it. You will get further with lots of quick, small steps than with fewer, bigger steps.

As for how quickly those steps should be taken, Kay recommended increasing the criteria once your dog is able to do five repetitions of the behavior without error and without hesitation. It is important to get five solid reps; raising criteria too quickly means that you're building the behavior on a shaky foundation.

While raising criteria too fast, too soon is more problematic than too slow, a failure to raise criteria at the correct time can be detrimental, too. If you stick at a lower level too long, you run the risk of “locking in” that level of behavior, and making it harder to raise criteria as a result.

Kay believes that you will make the most progress if you take frequent, short breaks. She has found that alternating 20 clicks and treats with a 10-20 second break ten times will yield more progress than 200 clicks and treats in a row. This is partially because it gives you a chance to quickly evaluate how your dog is performing. It's much harder to make this decision on the fly, while training, so she advised us to take a break in order to have time to think.

Another thing to consider during your breaks is your location. Kay said that dogs are very geographically aware, and recommended playing with the environment as part of the criteria. Change the direction you're facing, or introduce small objects as distractions. Use props that help your dog be successful and fade them out later on. Explore how these things affect your dog's behavior.

Breaks can also help you evaluate if your treats are helping or hurting your progress. Tossing a dark colored treat on a dark colored surface is going to slow your dog down. So is throwing treats that break into little pieces when they land, causing the dog to sniff around to find them all. You might also find that your dog is anticipating where or how you're going to give him the treat, so you might need to vary the delivery. If you're tossing treats to reset the behavior, randomly alternate which direction you're throwing it, as well as if you're throwing it overhanded, underhanded, or like a frisbee.

On the subject of tossing treats to reset the behavior, Kay said that it's okay to toss a treat even if you withheld a click. Tossing the treat lets them know they were on the right track, but didn't quite meet the criteria. As odd as it sounds, she said dogs really do seem to understand that the absence of a click means they need to try harder next time.

Like Cecilie Koste, Kay said you should make breaks clear to the dog. Either you're working with him or you're not. Do your best to avoid confusing him. Although she didn't recommend using stations, she did say that when you're on a break, you shouldn't look at, talk to, or otherwise engage your dog.


Overall, I really enjoyed Kay's session. It was a lab, which meant I got to see her interact with a wide variety of dogs. She often chose criteria points that I wouldn't have thought of, which was interesting. The biggest thing is that I tend to shape forwards, towards something, and she seemed to be shaping backwards. For example, when teaching a dog to go around a cone, I would probably start by clicking orientation towards the cone, then steps toward the cone, etc. Kay started with trotting towards the trainer. Then she had the dog trot towards the trainer with the cone visible next to her. She gradually moved the cone into the dog's path so that the dog had to choose to go around it to get to her.

I also really appreciated her emphasis on quality; I'm not very good at being clear with my criteria, and often accept “close enough.” This, of course, prevents me from getting precise behaviors. Sometimes this is okay, but sometimes I would like more consistent results. Watching her train really helped me understand the importance of selecting a clear clickable moment, and I'm looking forward to implementing this in the future.

But what about you guys? How do you choose what your criteria will be? When do you know your dog is ready for the next step? How quickly do you move? What problems have you had, and what do you think you might do differently? Let me know!

Sunday, April 3, 2011

Clicker Expo 2011 (Chicago): Kathy Sdao- You're in Great Shape!

You guys, I loved, loved, loved Kathy Sdao. In fact, I loved her so much that I went to four of her sessions (the equivalent of a third of the weekend). I skipped sessions that I’d planned on seeing in order to attend her sessions. And I wanted more. Someone bring her to the Midwest, please; I’m dying for a working spot with her.

Why did I love Kathy Sdao so much? Well, she’s wicked smart and has had tons of practical experience, including training dolphins to do defense-related open-ocean work for the US Navy. How cool is that? Her lectures are just packed full of great information and fascinating stories. She’s energetic and engaging and enthusiastic and entertaining! Go see her… and take me with you.

Okay, enough gushing. Dog training is all about changing behaviors, right? The thing is, though, we can’t manipulate the behavior directly- the behavior belongs to the dog. So what we need to do is manipulate what happens both before and after the behavior.

There are many ways to get a behavior to happen from the front end, everything from physically prompting or luring the dog to capturing or shaping the behavior. The method you choose is up to you, and Kathy said that you should understand the science so that you can choose the method for yourself instead of letting someone else decide for you. However, no matter how you decide to train, remember that the fundamental law of behavior is that consequences drive behavior. No matter what you do on the front end, your power as a trainer comes from being a reinforcer, not a commander.

In fact, that’s so important that I’m going to repeat it: Your power as a trainer comes from being a reinforcer, not a commander. If you are labeling your dog in some way, be careful! Dogs that are “distractible” and “stubborn,” say more about you than about them. Specifically, those labels say that you don’t reinforce them enough! Awesome dogs come from awesome reinforcement histories.

Although there are lots of ways to get the behavior, as the title implies, this session was about shaping. Kathy defined shaping as “teaching new behaviors by use of differential reinforcement, systematically reinforcing successive approximations toward the goal behavior.” Or, to put it simply, teaching a dog to do something one small step at a time.

Kathy demonstrates shaping.

Shaping can take place through either reinforcement or punishment, but it should go without saying that Kathy focused on the reinforcement side. Click, then treat. You don’t need to punish wrong responses, you don’t even need to mark them with a No Reward Marker. The opposite of reinforcement is not punishment, after all- the dichotomy is reinforcement versus no reinforcement. You’re either clicking the dog for getting it right, or you’re not clicking.

So, why shape? Well, of course it’s based in the science of operant conditioning, which means that it takes advantage of using consequences in your favor. But it also makes the dog an active participant- there’s two of you present, so why not use both brains? What’s more, it gives the dog a sense of control, and can help him make sense of a seemingly random and punishing world. It allows him to find a way to make the world work in his favor, thus creating a sense of internal motivation and desire to interact with you. And of course, sometimes it’s the only way to get a complex behavior the dog wouldn’t offer otherwise.

Once you’ve decided to shape a behavior, there are a few pre-requisites. First and most importantly, you need to know what your goal behavior is. Be specific- does “come” simply mean “move towards me,” or does it imply that the dog will move towards as soon as you call, quickly, and directly? And what should he do when he arrives- stick around or dash off again? Know what you want.

Once you know what the completed behavior is, you need to know what the first criterion is. What sliver of behavior will you be clicking for in the first 60 seconds? That sixty seconds thing? Yeah, she means it. Your job as a trainer is to choose the criteria, do a brief bit of training, click when it happens (and withhold the click when it doesn’t), and then stop and ask how it went. In fact, that was sort of the refrain throughout the weekend. Many of the presenters I saw recommended working in really short bursts with lots of thinking time in between.

What are you thinking about? Well, you need to assess your dog’s progress and then plan the next 60 seconds. You’re trying to figure out what your criteria will be the next time around. Kathy recommended making the job easier when your dog is getting it wrong half the time, or if he’s getting less than 8 clicks and treats a minute. That’s one click every 8 to 9 seconds- not much time! But it helps underscore just how small your steps should be during shaping. If your dog is doing well, getting 8 to 11 clicks per minute, and getting things right somewhere between 60% to 80% of the time, you’re on the right track. Continue working on that criterion. And if your dog is getting it right more often than 80% of the time, or is getting clicked every 4 to 5 seconds, it’s time to move on to the next step!

Incidentally, if you’re working on a duration behavior and can’t get in enough repetitions in order to get a high rate of reinforcement, you should increase your density of reinforcement so that the dog is getting the same amount of treats- 12 to 15 per minute’s worth of behavior. Deliver them however you want- all at once or one at a time- but make it worth the dog’s while to do that behavior.

Kathy also covered Karen Pryor’s ten laws of shaping, paying special attention to number 5 (stay ahead of your subject by having a plan) and number 8 (don’t interrupt the session gratuitously, which includes talking. Don’t be more distracted than you expect your dog to be!). She also noted that Karen herself says that number 3 (put the current response on a variable ratio schedule of reinforcement before raising criteria) isn’t necessary with dogs, which I thought was fascinating, and relieving- I’ve never done it!

Remember that when you’re shaping, your main job is to sit back and watch your dog. You should not be doing the moving, your dog should. If your dog stalls out and gets stuck, your response should not be to help him out. Instead, have faith in your reinforcement history. He can figure it out. If need be, go ahead and reduce your criteria, but resist the impulse to help him out by pointing or luring him.

And that’s shaping in a nutshell. I feel like I glossed over so much of what she said- her sessions really are just jam packed with great information- but this should give you a good idea of what she said. Even though I shape a lot (I find it addicting, even if I’ll never use that behavior), I still took a lot away from this session.

I have to admit, I’m not very good at the planning/assessing piece. I just sort of… sit down and click. I usually don’t end up where I’m planning to go, either. That’s fine for casual sessions, but I’ve got to admit, it impedes my progress for tricks or competition behaviors. But between this session and Kathy’s presentation on cuing skills, I think I’ve figured out what I need to do! In fact Kathy’s cue seminar was amazing, and I cannot wait to share it with you.

Tuesday, December 28, 2010

Training Tuesday: CC and DB

Click! Good Trainer!
Last time, I admitted that I hadn’t done any of the counter-conditioning that the veterinary behaviorist and I agreed I should do with Maisy. Thankfully, no one can shame me this time, because I’ve been working diligently for the last two weeks.

I chose to focus on the noises the cats make because Maisy seems to think that her official job title is “Kitty Cop.” She takes it so seriously that she will often jump while napping in order to do some police work. Eventually, I hope to decrease some of her resource guarding with the cats, too, but I decided to start with the easier stuff first.

The first few days, I used the clicker, mostly because it is such a strongly conditioned secondary reinforcer that it can pierce her consciousness when my voice can’t. The process went like this: a cat would do something “naughty” (for example, scratching the cat tree), and I clicked. I tried to click before she dive-bombed the cat, not after she’d already started moving towards them. If I wasn’t fast enough, I simply didn’t click. I don’t want her to think that I want her to rush at them, after all! This wasn’t easy- there was only a split second in which to mark the behavior I wanted- but I was successful most of the time.

Once she figured out that staying near me resulted in treats, even when the kitties were naughty, I switched to a verbal marker/praise. Not only is it easier to use (after all, I don’t just sit around with a clicker in my hand), it is less arousing, and (I think) less reinforcing if my timing is off.

The hardest part right now is to catch as many opportunities as possible (sometimes I’m distracted, or napping, or otherwise engaged in life). As a result, my counter-conditioning efforts aren’t as consistent as I’d like, and our progress is a bit slow. Even so, I would say that about half the time she’s either looking at me instead of dive-bombing the cat, or she’s interrupting the dive-bomb to come to me. I’m pretty happy about this!

The Dumbbell
I’ve continued to work with Maisy and her dumbbell. Shortly after I posted about it last, I received an email from Canis Clicker Training about teaching the retrieve. How fortuitous! They agreed with all of you who said that the hardest part is teaching the duration on the hold. According to them, the trick is to click when the dog’s teeth is around the dumbbell, and not when the dog is curling his tongue to spit it out. However, since it’s difficult to see inside the dog’s mouth, they recommended gently pulling on the dumbbell and clicking when the dog grips on to it in order to get a nice, firm hold.

So that’s what I’ve been doing:


I’ve been starting off each training session with a simple grab. Then I move on to lightly tugging the dumbbell, gradually making the tugging a bit firmer, and with a bit more duration. I was actually surprised by how quickly she grasped the concept- it only took a day or two until she seemed to understand that she needed to hold onto the dumbbell. After she got that, I started letting go of the dumbbell for just a split second before taking it and gently tugging again. This took a bit longer- she seemed to think that she should give it to me when I reached for it- but again, she’s figured it out.

In this session, I’m working on moving my hand successively further away before grabbing the dumbbell again. This adds both distraction and duration to the hold. You can see that when I moved my hand too far away, she failed. I’ve been trying not to let her fail more than twice in a row before making the task easier again. (She actually did great in the session after this- no failures at all!- but of course, I didn’t have the video running then.)

I’m glad I took video of this session. I’m pleased with my rate of reinforcement. Even though she is distracted by the door mysteriously opening about 30 seconds in (cat, I assume), she got seven clicks and treats in 60 seconds. It also made me question if I’m holding the dumbbell too high. I guess it doesn’t matter much- I’m hoping to have her pick the dumbbell up off the ground soon- but it might have been affecting our progress. Any thoughts?

Miscellaneous
I’ve been kind of screwing around with free shaping lately, just for fun. One day, I started out trying to shape a spin, but instead ended up with her sidestepping to the right. That’s kind of neat, so I think I’ll keep playing with it.

I’ve also been thinking a lot about how my body affects Maisy. Both of us are highly dependent on body positioning and movement- shoulder movements for heeling, leaning backwards on fronts, etc. I’m trying to figure out how much of this is desirable and helpful, and how much of it is impeding our progress. Certainly, if we ever return to the competition ring, it will be nice to have subtle, legal ways to cue her. However, the trade off seems to be that she pays very little attention to my words. Sometimes, I get the feeling that’s she’s guessing, even on the basics like sit or down. More on this soon…

Tuesday, December 14, 2010

Training Tuesday: Three Things

On Retrieves and Jackpots
Maisy still doesn’t have a formal obedience retrieve, and while we may never get the opportunity to use one, I still want to teach it. It’s been a good exercise for me- it’s really helped me pay attention to my timing, criteria, and rate of reinforcement, but that’s all beside the point. I’ve been using Shirley Chong’s method to shape a retrieve, and overall, it’s been going well, but I’ve struggled to add duration to the hold, so that’s one thing we’ve worked on lately.

Now, when I work with Maisy- on any task- I often toss treats on the ground away from me to help reset the exercise. I’ve also mentioned before that I use jackpots while shaping, and my typical method is to click, toss a treat, and then verbally tell her how smart she is as I continue to toss treats, one at a time, on the floor for about ten seconds. Then we return to the exercise.

Last week, while working on holding objects for longer periods of time, Maisy did a lovely four second hold. I clicked and tossed a treat, which Maisy found, then looked at me, eager to start the next rep. I belatedly realized that, hey, that was pretty good, and murmured, “Nice!” The second I said that, Maisy immediately began searching the floor for more treats.

Apparently, I have a jackpot marker.

The Come! Go! Game
I’ve been wanting to write about the Come! Go! Game for a long time, but it’s better with video. It’s also been hard to get video of it, but today, I finally have some! It’s not the best example, but here it is:



The Come! Go! Game is basically the Premack Principle at work. Premack says that you can reinforce a low-probability behavior (coming) with a high-probability behavior (running away). Interestingly, as you do this, the low-probability behavior gains value, and the high-probability behavior loses value.

You can totally see this happening in this video. At first, Maisy runs far away, and quickly, when I tell her “Go!” But, as the game goes on, she not only quits running as far, she also takes several cues to take off running. This happens every single time we play the game. The first few reps are enthusiastic, and then she decides it’s more fun to stay near me, which in the end, is exactly what I want anyway.

However, it does mean that if I ever train an obedience go-out, I can’t use “go!” as a cue.

The Stuff I’m Supposed to be Working On
Last week, at our re-check with the vet behaviorist, we agreed that I’d start working on counter-conditioning Maisy to everyday noises around the house. I have failed miserably at this. It seems like I never have treats handy when I need them, and at the end of the day, I’m too tired to get up and grab some.

I’m posting this publicly in an effort to embarrass myself into doing it. I've already put a glass jar with treats (glass so neither canine nor feline can chew it open) and put it in the living room where I spend most of my time. I've also stashed a clicker there, because even though a clicker isn’t the best tool for counter-conditioning, there are times where it can be helpful.

Next Training Tuesday, I want you all to shame me if I don’t report progress on this, okay?

Sunday, November 28, 2010

Ian Dunbar Seminar: Providing Feedback to Our Dogs

One of Ian’s biggest criticisms of dog training today has to do with how we are providing feedback to our dogs. He believes that the vast majority of training is done with what he calls “Non-instructive Quantum Feedback,” while dogs would be much better off if they received “Instructive Analog Feedback.” It’s an interesting distinction, and today I’d like to spend some time explaining the difference, and why Ian’s so adamant that we switch over to the latter.

First, let’s break down what he means by these terms, starting with “Non-instructive Quantum Feedback.” “Non-instructive” means that the training simply provides consequences, either desirable (click and treat) or undesirable (collar correction), but does not explain why the action was correct or incorrect, nor to does it explain what the dog ought to do in the future. “Quantum” means that that the feedback can be counted in measured in some way. This makes it a simple response, and devoid of emotion.

“Instructive Analog Feedback,” on the other hand, is basically the opposite. “Instructive” means that we tell the dog what we want, either prior to the behavior (by using a lure), or after the dog does it wrong (by explaining what we wanted instead). “Analog” means that the feedback expresses value, which is difficult to measure. Ian does this by using his voice.

You will notice that this does not reference the four quadrants in any way. As I’ve previously written, Ian finds most of learning theory to be unnecessary to dog training, and he says the quadrants fall into that category. Instead of looking at feedback in one of those four ways, he sees it as binary: things either get better, or they get worse.

Instead of worrying about terminology (which is pointless anyway, because your intention and the dog’s perception may not match up), Ian says there are three types of feedback that people use. We reward the behavior somehow, we punish the behavior somehow, or we do nothing. Similarly, there are three ways of combining this feedback.

First, there’s the “old way,” of punishing all incorrect behaviors, but doing nothing when the dog gets it right. In this example, the dog often has no clue why he’s getting punished. It also relies on the use of painful consequences, such as a collar correction, which Ian says (and I agree) are unnecessary for dog training.

Then, there’s the “new way,” of rewarding the desired responses and ignoring the rest. Shaping falls into this category, and Ian isn’t a fan of it. He believes that dogs find shaping frustrating due to the lack of feedback when the trainer is silent. While I certainly believe that it would be frustrating to go “several minutes” without a click, if you find this happening during your shaping sessions, you’re doing it wrong. Shaping should split the criteria up into tiny increments; I once heard Kathy Sdao say that, during a shaping session, you should be clicking roughly every three to five seconds.

Ian also said that he doesn’t like shaping because if you click the wrong thing once, the dog will persist with that action, and you’ll be stuck there for long periods of time. Certainly you get what you click, but a single mis-click is pretty easy to overcome, especially if your criteria is split out well and your rate of reinforcement is high.

Finally, there’s the Ian’s preferred method: using both rewards and punishment. He believes using both helps the dog figure out the task faster. Keep in mind that he believes it’s possible to punish the dog without pain, so he is not combining collar corrections with treats. Instead, he’s using feedback that is instructive and analog, and he uses his voice to accomplish this.

Basically, he uses his language and his emotions to provide feedback to the dog. Not only can he tell the dog if he’s right or wrong, but also how well he did. This allows Ian to let the dog know whether the behavior was average or if it was truly exceptional. It also allows us to inform the dog how serious his misbehavior was, ranging from, “that wasn’t quite it” to “holy crap, that was dangerous!” Ian says this allows the dog to receive far more information about his actions than a simple click and treat, or a buzz and shock from a collar.

Personally, when I’m teaching Maisy new tasks, I use primarily shaping. I do not tell her when she’s getting it “wrong”- but then, I don’t think a dog can be wrong when shaping anyway, since the whole point is that the dog is supposed to offer behaviors and you choose the ones you want to work with. I have tried using no reward markers- when you tell the dog they’re on the wrong track- but I found that they cause Maisy to give up. However, I do add verbal feedback when Maisy does something amazing. Click- jackpot- and lots of praise. Although Ian seems to believe clicker trainers don’t do this- and maybe purists don’t, I guess I don't know for sure- I don’t see why I can’t use my voice in conjunction with clicker training.

As for what I do when Maisy performs a known behavior incorrectly, well, that’s a discussion for another day. Ian talked a lot about how he approaches this: he uses what he formerly called an “instructive reprimand.” However, once he found out that people interpreted “reprimand” to mean something harsh, like yelling, he renamed the method “repetitive reinstruction as negative reinforcement.” This is a very interesting method, and it deserves its own post. I’ll do that very soon.

In the meantime, I’d love to hear about how you give your dog feedback, especially when teaching new behaviors. I know there are many ways to train, and I can’t wait to hear how different people approach this!

Wednesday, June 9, 2010

She's on the ball!


Long time readers of this blog know that Maisy is generally a fearful dog. She always has been, ever since puppyhood. In fact, if I were to try to make a list of all the things that have scared Maisy at one point or another, I wouldn’t have room in this post to discuss anything else. So, let’s talk about just one of her feared items: exercise balls.

I purchased an exercise ball many years ago, and like most of my exercise equipment, I only use it intermittently. I used it much less after Maisy joined my life, largely because I had been previously unaware that instead of purchasing an exercise ball, I had mistakenly gotten a Large Dog-Eating Sphere of Doom.

I’m only exaggerating slightly.

Maisy did not care for the exercise ball, and would bark and growl at it… from the safe distance of three or four feet away. If it happened to move, she would run, terrified, from the room.

Over the past year, though, Maisy has become much braver. My trainer says this is because she trusts me so much, and it’s true- I’ve worked hard to build that kind of relationship with Maisy. Although I’ve made mistakes, I think that Maisy understands I will never force her to do anything she can’t handle. At least not on purpose.

But I’ve also worked hard to pair scary things with treats. Depending on the level of scariness, I will click and treat Maisy for doing anything from looking at a feared object, to walking near the object, to touching the object, to interacting with it in some way. In fact, it was just this process that helped her get over her fear of the exercise ball to the point that she could push it across the room.

All of which is a rambly preamble to the fact that Maisy STOOD ON A FREAKING BALL in our conditioning class on Monday!!

Here’s what happened: we were talking about using an exercise ball to increase a dog’s fitness level (and yes, I’ll post more about the class soon), and the instructor had each of us put our dogs on the ball just so we could get the feel of it. When it was my turn, I told her that in addition to being nervous about exercise balls, Maisy is pretty fearful of things moving under her feet in general. I said I was willing to try the exercise, but that I wanted to let Maisy interact with the ball first. I also told her that if Maisy didn’t want to stay on the ball, she didn’t have to.

The instructor readily agreed that we didn’t want to push her beyond her ability to cope, so I cued Maisy to go “push it,” and she did, no problem. In fact, she pushed it a good five feet across the room, which amused everyone, and told me that Maisy was just fine with this ball, even if it was larger, shaped oddly and an entirely new color than the one we’ve worked with at home. While the instructor held the ball very steady, I put Maisy on the ball, feeding her treats as fast as I could.

Maisy wasn’t exactly comfortable, but she wasn’t really uncomfortable, either. There were no red flags in her body language, and she took the treats without any “shark teeth”- one of the easiest ways for me to gauge Maisy’s stress level. Better yet, she didn’t struggle, and she didn’t try to get off the ball! She just stood there, eating the treats, not quite sure why I felt she needed to stand on this large ball, but willing to go along with it for tasty, tasty salmon treats.

This was something that I never, ever thought Maisy would be able to do. In fact, when I went home and told my husband about how very brave and awesome our dog is, I had to explain that yes, she actually stood on the ball three different ways for him to understand. He simply couldn’t believe she would voluntarily stand on an exercise ball! In fact, if I hadn't insisted on doing it again so I could obtain photographic evidence, I'm not sure I would have believed it either. And I was there.

Update, 9:30PM
My husband, who took the photos for this post, wanted to know why I was picking Maisy up to put her on the ball instead of asking her to jump. I said I probably could shape her to do that. It took less than 10 clicks and one judicious jackpot, and she was jumping on and off that thing like she'd done it her whole life.

Sunday, May 2, 2010

99% Positive

Ever since the Suzanne Clothier seminar, where she said that being “all positive” is impossible, I’ve been obsessed with how we ought to use consequences in training.

I suppose that Suzanne could criticize my current obsession; I recognize that I may be overthinking this issue, after all. But let’s face it: this is who I am. I think. A lot. I am fascinated by science and research, and I love dog training, so really, it ought to be no surprise to anyone who knows me that I think about this stuff often. So, given all that, I’m going to continue to think about this stuff.

I’ve come to the conclusion that it is, indeed, impossible to use only R+ methods in training. But that doesn’t mean I can’t try. While there may be times that it’s necessary to use some of the other principles of operant conditioning, my personal goal is to remain firmly in the R+ area 99% of the time.

The other night, I went out with some friends. As it always does, our conversation turned to dog training. We were comparing different methods, specifically the various pros and cons of luring, shaping and capturing behaviors. I shared that for the first year, I lured every behavior with Maisy exclusively, but that she seems to learn faster through shaping.

The next morning, on one of the many dog-related email lists I belong to, the incredibly delightful Crystal Salig responded to a thread about teaching the recall by tugging on the leash. She said:

I used to mildly coerce the first part of recall also- just very light pressure on the neck with the leash and released it when the dog started to move- it wasn't harmful, it just wasn't as good as a completely uncoerced recall. I'm still trying to find a less aversive way to stop when a dog is pulling on leash so that it doesn't hurt or surprise the dog as much. When I switched from lure-reward to clicker training, I started to become even less aversive than I was before- seeing how much faster the dog learned if I didn't even lure him let alone use a physical prompt.

This all got me to thinking about my recent venture with Maisy, specifically her sniffing while on walks. Basically, if she stopped to sniff something without having been cued “go sniff,” I’d been telling her “let’s go” and kept walking. If she didn’t keeping walking, the resultant tug on the leash was a natural consequence of her behavior. And while this approach has been working- Maisy knows that “let’s go” means it’s time to stop sniffing and keep walking- I’ve felt bad about doing it.

Crystal Salig’s post helped me understand why the leash tug didn’t sit right with me. Although my action wasn’t inhumane- it’s not physically painful, nor did it appear to be causing stress on Maisy’s part- it did involve coercion, as minor as it is. I commented to my friends that Maisy learns better when she thinks something is her idea, which is why shaping seems to go faster than luring does. Tugging the leash makes Maisy stop sniffing, but it’s not her idea, so while it’s working, it’s slow and frustrating.

This doesn’t mean I think that what I’m doing is wrong. I wouldn’t have tried it if I did. But I do think there has to be a more positive way to teach this. I’m pretty sure that it includes using Premack.

So, here’s the first draft of my plan: I’m going to be vigilant on our walks. I will heavily reinforce the behavior I want- walking in a loose heel. I will also reinforce eye contact, as paying attention to me is incompatible with sniffing. I will pay close attention to her, and when I see the early signs of sniffing (and I think I can pick them out), I’ll call her back to me, ask for some kind of behavior (heeling, a sit, eye contact- it doesn’t really matter what), and then reinforce the behavior by cuing “go sniff.”

I’m quite sure this will not be the final draft of my plan. These things seem to evolve over time, after all. But from now on, all training has to pass the “feel test”- if it doesn’t feel right, then I won’t do it. And in the process, I hope to become 99% positive.

Wednesday, March 10, 2010

Asking the Wrong Questions

I’ve spent a lot of time over the last week thinking about no reward markers and keep going signals. In fact, I’ve thought so much about it, that I just had to post about it again.

In the comments to my last post on this topic, the point came up that there is a huge difference between shaping and competition. This is absolutely true. Shaping is about teaching a new skill, while competition is about testing a skill which is, presumably, under stimulus control. This means that you can’t really compare how a dog interprets silence from the learning stage to the performing stage; they’re two completely different contexts.

More than that, though, I realized I was also asking the wrong question entirely. When it comes to shaping, the question should not be How does my dog interpret silence? Instead, the question should be Why is there silence at all?

Think about that for a moment.

Now think about your last shaping session with your dog. How much silence was there? And why was there that much silence? For my last session, there was about thirty seconds of silence. Why was there that much silence? Well, because Maisy didn’t meet my criteria, of course.

But is that true?

My job as a clicker trainer is two-fold: split the task down into many small steps, and give a high rate of reinforcement when my criteria is met. These two things are interrelated. If a task is properly broken down into small, achievable steps, your rate of reinforcement will naturally be quite high. Likewise, the inverse is true: if you lump the steps together by setting the criteria too high, it will take your dog longer to figure it out, and thus your rate of reinforcement will be lower.

So why was there that much silence? Because I failed to do my job as a trainer. I lumped when I should have split.

Clicker training is difficult to master. To be a truly efficient trainer, you need to not only be able to split the task up into small steps, but you also need to be able to analyze your dog’s response, assess whether that means your criteria is too high, too low, or just right, and then adjust that criteria… and you need to be able to do all of that in a matter of seconds!

Thankfully, clicker training is also easy to learn. Even if you never move beyond the basic "click the behavior you like and give your dog a treat" stage, your dog will still learn. That's what I love about clicker training: regardless of your skill level, it has something to offer to everyone.

Thursday, March 4, 2010

Clicker Theory: No Reward Markers and Keep Going Signals

I apologize in advance to any readers who are not familiar with clicker training, or who are just beginning to learn about the learning theory behind it, as today’s post concerns more sophisticated clicker concepts.

About a week ago, someone on a mailing list I belong to posed a very interesting question: If the click means “yes,” then what does no click mean?

The poster, a teacher, mentioned that when she has her students play the“clicker game,” in class, they initially learn faster if they receive feedback for both yes, that’s what I want you to do, and no, you’re going in the wrong direction. In other words, a no reward marker. She went on to say that once her students understood the game, they learned that the absence of a click or verbal marker was basically the same thing as being told no. Once they figured that out, they could figure out the task just as quickly with only the positive marker.

She wondered: do our dogs understand the absence of a click the same way? Do they interpret silence as “no”? If so, why do they keep working in trial settings, where they receive neither clicks nor encouraging verbal feedback? Wouldn’t the silence inherit in a trial tell our dogs that they are doing it wrong? If so, this would have dire consequences on our performances.

The general response was that silence should not- cannot- imply that the dog made an error. Instead, we must teach our dogs that silence is a keep going signal- that they are on the right track, and that if they keep up with what they are doing, they will earn reinforcement. That is the only way that our trial performances will hold up.

So, if silence means “keep going,” then how do we tell our dogs they’re going off track? As Clicker Trainers, we don’t use corrections (defined here as anything that causes the dog pain or stress) to tell the dog they’re wrong. The logical response would be the use of a no reward marker- an emotionally neutral way of saying no, try something different… but some people on the list argued that this would actually slow learning down.

I disagreed. I shared with the group that when Maisy begins to get off track during a shaping session, I tell her “Nope! Try Again!” in a cheery voice. I wrote that I felt my dog learns faster this way, but that even if she doesn’t, it helps me feel better to be giving the feedback.

Still, in light of the conversation, I decided that I would test my theory, so I sat down with Maisy to work on a shaping project. First, I just worked with her like normal, not really thinking about what I say or when I say it. Although I did say “Nope! Try Again!” perhaps three or four times in the course of five minutes, I found that I said it more as conversation and less as information. Interestingly, I discovered that I was saying it at times when we were in the midst of a long period of silence. That “nope!” served to fill the silence until she finally got the click for doing what I wanted.

Next, I worked with her, but remained silent. I didn’t speak; I simply clicked or didn’t. Maisy continued on, doing well until we hit one of those long periods of silence. She kept trying things, but after about thirty seconds of neither a click nor a “nope!”, she laid down and looked at me as if she wasn’t sure what she was supposed to do.

Finally, I tried using the no reward marker more regularly. We continued shaping, but I tried to think in terms of right and wrong. I clicked when she got it right, and said “Nope!” when she got it wrong. This led to rapid-fire clicks and “nopes,” and after she got three “nopes” in the space of about ten seconds, Maisy again laid down with her chin on the floor. This time, though, I had to encourage her quite a bit to re-engage with the shaping game. But when she again got several more “nopes,” she laid down and refused to play any more.

I began to feel frustrated; this is not how it’s supposed to work! She’s supposed to want to play! My frustration came out in my voice, and I began to tell her to get up with an edgy tone. When she didn’t, my feelings of frustration gave way to anger. Since I didn’t want to take that out on her, I ended the session to evaluate what had just happened.

The first thing that I decided was that I was wrong: Maisy does not learn faster with a no reward marker. In fact, she gave up so quickly, and was so difficult to persuade to re-engage with the task, that I believe she found it punishing. True, she also gave up when the silence went on too long in the second scenario, but she worked approximately three times longer, and was much more willing to re-engage when I asked. As a result, I think she found the lack of any feedback confusing, but not aversive.

Still, I concluded that the complete lack of any kind of feedback was also not the best way to help Maisy learn. Instead, her learning is most efficient when she gets lots of reinforcement over a short period of time. This means my job is to break the shaping task at hand down into as many pieces as possible so it is easier for her to progress through each step of the task. However, sometimes it is difficult to figure out how to break a task down any further. As a result, if I cannot figure out how to make the task easier, and if it’s been fifteen to twenty seconds without a click, I need to give Maisy a “gimme” click- reverting to the previous level of criteria for a few moments before trying the higher criteria again.

I also suspect that my initial use of “nope!” wasn’t actually serving as a no reward marker. Given the way Maisy responded, I think it actually served the purpose of a keep going signal for her. This means that for tasks that haven’t had a sufficient amount of duration built in yet, she depends on verbal encouragement to know that she’s doing what I want. (Interestingly, though completely off topic, I haven’t been very good at building duration past 30 seconds or so, which was Maisy’s threshold for silence during these tests. It makes me wonder if my inability to build more duration in her behaviors is due to her threshold, or if she’s developed that threshold because I have neglected to put in the work necessary to build more duration. On second though, I’m pretty sure I know the answer to that.)

Finally, and perhaps most importantly, I learned that I don’t like it when I have to tell Maisy she’s wrong. I became frustrated and then angry as she continued to fail, even though that “failure” was behaviorally no different than when we did silence only, or when I used the keep going signal. Maisy was going about the shaping task in the exact same way in each scenario. She wasn’t any more wrong when I told her she was than when I didn’t. In other words: focusing on the wrong behavior rather than the right one changed the way I viewed and felt about the training session, and it took all of the fun and joy out of playing the shaping game with Maisy.

In the end, doing this experiment not only taught me that my initial supposition was wrong, but it also reaffirmed my commitment to positive training. Focusing on what I want her to do helps Maisy learn faster, but it also makes us both feel better.

Saturday, February 13, 2010

And now for something different

I train with Maisy almost every day. She's a busy dog who needs mental exercise to stay sane. Usually I train performance-related behaviors, but this week, I decided to do something different: the Go Click Challenge. This week's challenge was to teach your dog to push a ball with her nose.



The problem with this challenge was that one of Maisy's natural behaviors is to push her ball with her nose. It's incredibly adorable, but not something we ever taught her to do. It's just how she brings the ball back after we throw it. So, in order to make it a challenge for her, I worked on putting the behavior on cue (I had hoped for stimulus control, but didn't quite get there).

Once that was done, I worked on generalizing the behavior to other things. First with other balls (my husband was amazed when he saw her pushing the exercise ball with her nose because she is- well, was- incredibly scared of it), then we worked on cylindrical things like batteries and pop cans. Finally, we worked on boxes of all sizes.

I did need to do some shaping for the not-ball items. The large box was the hardest one to teach, and required the most steps during shaping. I did cheat once: we got stuck on the step where she touched the box with her nose. I couldn't get her to do any more force. To get around that, I showed her what I wanted by pushing the box with my hand, and then clicking and treating. On the very next trial, she pushed the box with her nose! This isn't the first time that she's learned through observation, but I gather that it isn't very common.

Anyway, this was very fun to do, and while I probably won't do every Go Click Challenge, I'll definitely be doing more!