Showing posts with label food stealing. Show all posts
Showing posts with label food stealing. Show all posts

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.