Showing posts with label behavior chain. Show all posts
Showing posts with label behavior chain. Show all posts

Thursday, November 15, 2012

Shipping Our Dogs to New Zealand – Part 1: Meeting the Standard


I’ve not had much time to blog these last few months as we’ve been busy arranging our return to New Zealand and the establishment of our new home there. Shipping dogs overseas is a complicated process at the best of times but shipping to New Zealand is even more so.

New Zealand, being an island nation that relies heavily on its pristine beauty and quality primary produce both for tourism and for export, works very hard at keeping unwanted invasive plants, animals and microbes out of the country. This includes disease which could wipe out any one of the many industries on which the country is so dependent.

What this means for our dogs is a rather lengthy and stringent program of inoculations, blood tests and treatments to prepare them for the first stage of the process – acquiring the permit to import. If a dog is not familiar with regular visits to the vet, this can be a most traumatic time for them.

Both our dogs were rescued and as such had already seen more than their fair share of the inside of a vet clinic. In fact our poodle, Blue, spent almost a month in hospital before coming into our care. 

Since we adopted them we have worked hard at making visits to the vet a fun event. I would take them to visit often even if we were not going for treatment. I used the excuse of popping in weekly just to sit them on the scales and see how much weight they had put on. It was always an opportunity to say hi to the staff and perhaps score an extra treat or two.

When we knew for sure we were returning to NZ, we needed to first get the dogs cleared for rabies with a titre test. Because the poodle was born Italian and the Beauceron, French, they needed a European passport to bring them into Switzerland and that meant meeting the European microchipping and vaccination requirements which included a rabies vaccination. Both our dogs were vaccinated for the disease before we adopted them. However, the rabies immunity requirements to meet the standards for importation in New Zealand are far and beyond anything required for their European passport. It took us four months of blood tests and further rabies vaccinations (three each) to get test results that met the NZ standard.

Microchipped, vaccinated and rabies immune, they had only completed the first step in their preparation but it was enough, along with the booking to the quarantine facility in Levin, to acquire a permit to import. This permit provides a window of 10 days during which the dogs are allowed into NZ – three months from their rabies all clear date. So even though we started the process in late May, the earliest we could bring them into the country would be November 20th.

Stage 1 accomplished, we needed to devise a plan with the vet to address all the other tests and requirements necessary before importation. We are very lucky with our veterinarian service in Nyon: The clinic is located in the estate where we live and the resident vet there, who both our dogs love, was willing to work with me to devise a plan to meet all the necessary testing requirements. My intention was to meet the requirements with the least amount of stress possible for the dogs. We decided on three more visits – the first within 30 days, the second within 16 days and the final within 48 hours or their shipping date. The last was to be followed with a visit to a government vet who does the final examination and signs off on all the tests completed.

We now have less than one week to go before the dogs and I ship out and we have completed two of the three vet visits necessary with an all clear on every one of the blood tests. 

Our first visit entailed an initial treatment each for internal and external parasites, a blood draw for a Leptospirosis test and a blood draw for a Canine Heartworm antigen test. Because all the blood tests need to be conducted at Government laboratory or a laboratory approved by the Government Veterinary service of Switzerland, enough blood had to be drawn for sufficient serum to be extracted onto which the test would be conducted. This meant that the same amount of blood needed to be drawn from my 8kg poodle as from the 30kg Beauceron – and yet it was the big puppy that was the right sook.

This is where the clicker comes into play with remarkable effectiveness. I use it to mark appropriate behavior at every stage of the process:  Getting up onto the table, Click’n’treat! Sitting nicely in position close to the vet, Click’n’treat! Looking at me rather than at what the vet is doing, Click’n’treat! Staying still through the blood draw, Click’n’treat! Click’n’treat! Click’n’treat! And a lovely jackpot at the end of it with the added bonus of being allowed to jump down from the table and having a rump massage from one of the vet techs.

My little poodle doesn’t respond to treats when he is under stress. With him I use a combination of tongue clicks and a gentle neck and back massage while he stands quietly through what, for him,  is quite a long procedure.   

Despite the repeated blood-taking both dogs still get a kick out of going to the vet's. They have a bit of a reputation each and the vet techs fall over themselves to come and assist. 

On our second visit to take blood for two more tests: Brucella Canis and Babesia Gibsoni,  I showed one of the vet techs how to give Blue a calming massage around his lower back and rump while he waited for Beau to be seen to. When it was Blue's turn on the table the tech started doing the same thing to Beau. Beau promptly backed into her so she was pinned against the wall and kinda leaned in for more - his tail doing propeller turns and thumping the wall. It would have been laughable if I hadn't had Blue's wee head tucked in under my armpit while yet another vial of blood was drawn from his leg. Even though the vet used a smaller syringe and split the blood draw between his two front legs, he just didn’t have a high enough flow rate – it must hurt terribly having it sucked out of him. Under this sort of stress the reassuring massage is a huge help. He left the surgery with little bandages wrapped around his blood stained legs looking like a wounded soldier from WWI, but when he hopped down from the table, he earned a Click! And happily took one of his extra special treats that are kept especially for the end of stressful situations like this.

Beau and Blue relaxing after yet another vet visit
The vet has repeated said what a pleasure it is to work with my dogs and how lucky that they are so good-natured. But a lot more is responsible for that ‘good-nature’ than just luck. From the moment we step into the vet clinic, the structure kicks in and the game-playing begins. We play "Touch" and "Check it Out" with anything unfamiliar while we wait for the vet to get ready for us. Once in the surgery, we continue the game playing adding “Look at That” to the set for things like the examining table, and the different people that come and go while we are there. 

After the procedures, when we have the long wait to see if the vet has enough serum for the tests, I run through each dog’s repertoire of tricks. These are mini behavior chains that keep each dog’s focus on me, providing great opportunities to reinforce calmness and making the vet surgery a place where mostly good things happen.

We have only the final visit to go now which will be a breeze. There will be no more blood-taking only a 2nd treatment for internal and external parasites, a treatment for canine heart-worm prevention and a physical vet examination each. Then there is the final check by the Government vet in our region to complete the vet procedures and both dogs will be ready for the next part of the process - the drive to Zurich and the grueling 36 hour ordeal of flying to NZ.

Sunday, March 18, 2012

Rehabilitating a Food Thief: Part 2 - Changing the Behavior


Dogs steal for all sorts of reasons and our subject, Poppy, has probably the most understandable reason of them all for stealing food – fear of going hungry. 

Poppy (photo: dog::links)
In my last blog I made an attempt to analyse Poppy's situation so a strategy could be devised to deal with it. The trouble with any sort of stealing though – whether it be food or socks or your son’s new toy – is that the act itself often stimulates all sorts of reactions from the humans in the household and the whole situation turns into a self-reinforcing cycle. This in turn leads to the dog stealing just about anything it can in the hope of stimulating further reaction from her humans.

One way to help Poppy and other dogs like her to overcome this type of perpetual problem of stealing, is to shape a situation where the dog learns that better things come from leaving the food or item alone, than from taking it.

For this to work of course, it is most important that the dog is never punished or chastised for stealing, if this happens she will learn that she can’t trust her owners when food or that precious item is around and will therefore become more creative and cunning in her theft, only doing it when she is sure no one is looking. Dogs don’t understand the reasons why we go mad at them, they just know that their once happy human has all of a sudden become a grumpy, scary one and this causes further fear and confusion to our dogs.

If I want to show one of my dogs that I am not pleased with what he has done, I simply ignore him and his act. No fuss, no punishment, no shouting, no scolding, I just walk away and pay lots of positive attention the other dogs. This has a dual effect – it reinforces the dogs who are behaving appropriately and it shows the naughty dog that what he did awards him no reinforcement whatsoever. That is something for him to ponder.

The following is one approach to changing Poppy's behavior which can also be easily adapted to suit any number of situations. While the stages are worded in general terms, I have used Poppy’s situation to specify the examples.

Stage 1:  Be very clear about what behavior is wanted from the dog

What is it that we want Poppy to do? Depending on the way in which Poppy goes about her stealing – Does she counter surf to reach out-of-the-way items? Does she open the fridge to get at its contents (yes, I know dogs who do this)? Does she help herself off the table? Does she steal food out of the cats’ bowls or off other dogs? – there could be any number of possible options and each of these needs to be dealt with separately and specifically. For example, counter surfing is a problem in and of itself regardless of whether food is stolen or not. The desired behavior for a dog who counter surfs is for the dog to have four paws on the floor whenever she is in the kitchen. This not only resolves the counter-surfing issue but also inhibits the dog’s ability to get close enough to food on the counter to steal it. A training plan therefore, would focus on ways to positively reinforce the dog for having four on the floor and would ignore any deviation from that.

Too often dog owners and trainers focus on what it is they don’t want, after all isn’t that the behavior that needs to be stopped? The fact is that unless we can replace that undesirable behavior with something desirable, we set ourselves up in a no win situation and we may even inadvertently reinforce the behavior we don’t want simply by focusing our attention on it.

By describing a new behavior, one we can teach the dog to do when faced with the tempting situation that is cueing the unwanted behavior, we can set up a situation that will make it easy for the dog to be successful in the early stages and ultimately change the behavior over time.

There is also an element of management needed in many of these situations. An unsupervised dog can get up to all sorts of mischief simply because she does not understand what is expected of her when left alone, particularly if there is food left lying around.  In Poppy’s case it would be prudent to first manage as much of the situation as possible by making sure that all food and any other items she tends to steal are kept out of Poppy’s reach, as well as keeping an eye on her when she is in the vicinity of any prohibited item. On those occasions when she does manage to steal something, the best strategy would be to ignore it if at all possible. The less attention given to the act, the less likely it is that Poppy will do it secretly.

As to the desired behavior, it depends on what it is that Poppy’s foster mum or new owner might want, but here are a few with which I have had success when working with other dogs:
  • Always look to her owner whenever she sees food – whether on the table, on the floor, on the ground outside
  • Always keep her four paws in contact with the ground whenever she is in the kitchen or dining room
  • Go to her mat or basket when meal preparation or the meal itself is taking place, or when other animals in the house are being fed
Each behavior requires a different approach and, depending on the circumstances, all might be appropriate for Poppy. It is the first though, that I will focus on here. The added advantage of this behavior is that it incorporates an element of trust building and enables the dog’s owner to build a relationship with the dog that goes beyond just stopping the stealing of food.

The following example is one with which I have worked with one of my own dogs. Essentially I created a two-part behavior. I wanted the environmental cue – the sight or smell of food – to trigger a specific behavior from my dog. I set up a situation where it became easy for my dog to refer to me whenever he saw something that looked particularly tasty. I wanted this new chain of behavior to replace the ‘rush and grab’ one he previously displayed. The following behavior chain shows what I wanted to happen when the dog found himself facing any unattended tasty morsels.

Stage 2: Build a shaping plan to teach the dog to leave a prohibited item in favor of the desired behavior

Shaping plans are made by breaking a behavior down into its incremental elements. When I was studying with the Karen Pryor Academy I got into the habit of building my shaping plans in the form of shaping staircases. Since then I have continued to use the process to map out hundreds of different behaviors.
In Poppy’s case, we need a shaping plan that deals with very small increments of behavior and provides multiple opportunities for Poppy to get rewarded.  

The following is a plan I’ve put together especially for Poppy’s situation. It focuses only on the first behavior – that of shaping her to look to her owner whenever she is in the presence of food.

Stage 3: “Charge” the clicker

If Poppy has never been exposed to a clicker before it will be necessary to “charge” the clicker before commencing any training. This will be easy to do with Poppy because the very nature of her problem suggests she is particularly motivated by food.

Charging the clicker does not require the dog to do anything other than be relatively attentive to the handler so it is best to do it when there are few distractions around (like a litter of bouncing puppies in Poppy’s case). It simply involves letting the dog know that the “click” will earn her a treat every time she hears it. The process goes a little like this:
  1. Dog looks at you – click’n’treat
  2. Before the dog has finished chewing – click’n’treat again
  3. Repeat step 2 another 7 or 8 times in quick succession.
Over time the dog will learn that the “click” means “well done, what you just did was what I wanted” and will promise a treat of some sort (whether toy or food or game) to follow.

Stage 4: Conduct the foundation training sessions

Now things are ready to commence the first training session. I would pick a quiet time for Poppy, perhaps when the pups are taking a nap or are busy with other humans. I would prepare several sets of 10 treats and have them readily available but well out of Poppy’s sight. I’d then sit quietly with Poppy and wait for her to make eye contact with me. I’d click for that briefest of contacts and give her a treat. This is the first step of the staircase and teaches Poppy that making eye contact with me will earn her a treat. 

I like to measure duration for eye contact as it can be a good indicator of whether the dog understands what I am after. I would count the seconds Poppy holds my gaze and see if it increases in length at all. Most dogs find holding a human’s gaze disconcerting, so if I can get a couple of seconds for each glance at first, then I am doing very well. With this sort of game I like to keep the sessions short, no longer than 30 seconds, and I’d reward Poppy with a game or the remaining treats at the end of that time. I’d then keep repeating this first step until I was sure Poppy understood what this game was about – “If I look at her hard enough, she’ll “click” and feed me – how cool is that!”

Stage 5: Introduce food and work the plan

Once Poppy knows what the game is about I can then introduce a small amount of low value food to the game. I would start by holding it in my fist just in front of Poppy’s nose. Any attempt to nudge my hand or get at the food would be ignored. What I want Poppy to do is look away from my hand, just for a second, if I can capture that with the “click” then I can build on this with more repetitions and perhaps some duration (she looks away for a couple of seconds). If I practiced the first step of my process well enough, i.e. lots of sessions with lots of repetitions, then chances are high that when Poppy looks away from my food clenching hand, she will look at me - “Click’n’treat” – we’ll have jumped to the next step of the staircase. Little by little I’d work my way up the staircase, shifting the criteria minutely at first, and always going back a step or two if things don’t seem to be progressing.

The Secret to Shaping New Behavior

I’m a record keeper and I like to know how well I am doing with each session. Am I making progress in this session compared to the last? Is the dog’s interest high? Are my treats of a high enough caliber? Am I keeping the repetitions high? Are my sessions short? Are we having fun?

I’ve found whenever I try to shape a behavior I have to be very clear in my head as to what the terminal behavior looks like and I will reward any progress toward that behavior. 

I’ve played this game with many dogs and they all catch on really quickly – “ignoring the food in that hand, means I get something better from the other one – ahh, I get it, I’ve gotta look at her to let her know I know that”.

Beau, our youngest dog, is a master at this game. He uses the presence if any food as an opportunity to let me know that I “owe” him a treat by eye-balling me. The advantage of this for me is I can now trust him to leave food alone and all I have to do to maintain the behavior is reinforce him with a word of praise or something special out of my pocket. 

Poppy (Photo: dog::links)
In Poppy’s case, we really want her to defer to her owner when there is anything around that she might previously have tried to steal. To achieve this sort of reliability with the behavior will take lots of repetitions, in lots of sessions a day, over many days and weeks, but it is achievable and sets the scene for the next part of the behavior chain – teaching Poppy to leave the item that is tempting her, or giving her permission to take it. In my next blog, Cueing a New Behavior, I will discuss this part of the process in more detail.  



Saturday, March 10, 2012

Rehabilitating a Food Thief: Part 1 – Poppy's Problem


The other day I got an email from my friend Jane, a dedicated volunteer with the Cahor animal refuge in France. She shared with me the story of Poppy, a young Pointer / Weimaraner cross who had recently given birth to eight beautiful puppies and, lucky for her puppies, had been fostered out to a very generous care-giver.

Poppy's pups (photo: dog::links)
Despite being a gentle, trusting and extremely affectionate dog who enjoys the company of people to the point where she readily allows them to handle her pups, Poppy came into care with little training and a pathological need - she likes to steal food. When she was found, the heavily pregnant Poppy was starving. It is likely she had been abandoned, probably due to her pregnancy, and was thus forced to fend for herself, something domesticated dogs are just not equipped to do. Perhaps Poppy had a fondness for helping herself before her ordeal, perhaps not, it is impossible to say. What would be fair to assume though, is that Poppy’s starvation and the subsequent fear of not having enough to eat have resulted in her becoming a notorious food thief.

Poppy (photo: dog::links)
Stealing food is a common behavior in many dogs, not just those who have been forced to fend for themselves; food after all is a basic requirement to survival and if it is not readily available most dogs will resort to stealing to meet their nutritional needs. In Poppy’s case it might be simply that she has a propensity to make the most of an opportunity, or there could be more to it than a basic need for food. The trauma of being abandoned, coping with the physiological changes that accompany pregnancy, and that perpetual state of being hungry may have triggered in Poppy a psychological need to steal food. This behavior can easily be further reinforced because of the attention that Poppy gets, albeit negative, should her humans shoo her away from the food, or punish her for stealing it.

If any combination of these factors is in play, then Poppy’s condition will not be addressed just by giving her plenty of food to eat. If you look at it from her point of view, Poppy has likely learned through her ordeal that the only way to guarantee she will get a meal is to take whatever she can find. Perhaps in the past she had been regularly fed and food just miraculously and reliably appeared as it does for most pet dogs or perhaps she only received meager rations from her previous owners. Regardless of her past life, when Poppy was left to her own devices any previous supply line was severed - food was no longer on offer - and Poppy would have needed to revert to whatever means possible to stay alive.

Just because food starts to appear out of nowhere once more, doesn’t mean it will last forever and Poppy’s natural instincts will tell her to take whatever she can find, whenever she can. If, when this happens, a great fuss breaks out and she is chased away from the food, this just reinforces her initial desire to steal, perhaps making the item to be stolen much higher in value than she previously thought because there is competition for obtaining it.

The table below shows one way of describing the existing behavior :
Describe existing behavior: steals food, runs away to eat it in seclusion
Opportunities
Dog loose, food readily available: laid out on the table, on the kitchen bench, in shopping bags on the floor, in the cat's bowl
Cues (triggers)
Sight or smell of food; attention of humans
Reinforcers
The physiological satisfaction that comes from eating the food, attention from humans, yelling, commotion, running, game of “get away”

Another way to look at the situation is as part of a behavior chain in which the stealing is continually being reinforced.
Behavior Chain format adapted from Karen Pryor Academy Dog Training Program

We see this happening frequently enough with humans that it should be no surprise when it also happens with dogs. People steal for the same reasons: the desire for what they don’t have is greater than any consequences that might occur for the action, and always worth the risk when faced with the option of doing without. In fact, many thieves steal for the attention it attracts to them, they like the notoriety that accompanies their actions.

So does this mean that rehabilitating a food thief is futile? Luckily for Poppy and other dogs like her, no.

Through a dedicated and consistently positive approach using operant conditioning with high levels of reinforcement, Poppy can be taught to respond to food in a different way and to look to her new owner as the source of all things good in her life. This is an ideal situation for using a clicker or a similar marker to indicate to the dog when she is displaying appropriate behavior and to reward her with a high value treat.

In my next blog on this topic, I will detail one way in which Poppy and other dogs who steal food can be conditioned to leave food alone and instead make the sight of such food a cue to do something else entirely.