Tag Archives: Operant Conditioning

Operant Conditioning and Shaping: Dog Plays Dead

At the end of last summer, my family bought a new golden retriever puppy to add to the family.  Our old golden retriever had been the most well behaved dog around so it was only right to get another retriever.  My family loves teaching our dogs tricks so they can show them off to neighbors so it did not surprise me that the training started within a few days. It was not until taking psychology that I realized the psychological discoveries and aspects that are used in everyday life.  Operant conditioning and shaping helped me understand how our dog came to learn these ticks and how it happened so quickly.  Operant conditioning is when an association is formed between behaviors and resulting events.  Giving the dog a treat for their good behavior is commonly and widely used.  We also used shaping without even realizing it.  Shaping is guiding behavior closer toward the desired behavior.  This was necessary to get the puppy to do tricks that are more advanced.

With our dog, we were able to place a treat on her nose and have her sit there until we said “okay”.  Then she would flip the treat up in the air and catch it in her mouth on the way down.  We had to shape her by teaching her to catch the treat normally first and how to sit.  When our new dog got home everyone so excited to teach it that trick because it seemed to woo everyone.  To me, that was our old dog’s trick and this one needed a new one.  I came up with the idea to teach our dog to play dead on one single command and began my efforts without the family knowing.  I would give the dog a treat every time she got the desired behavior right, which I know was an example of classic operant conditioning.  Teaching a dog to play dead seems simple but it was more work than expected.  That is where the shaping came into play.

First, my family taught the dog to sit down. Easy enough. Then from there we had to teach her to lay down.  She picked that up easily with the help of me pushing her down a couple times.  Then I when they were not around I would proceed the shaping in the ultimate goal to get her to play dead on one command.  Next, I had to get her to roll over which was even harder than the first two commands.  All these commands took a different word to get her to do so now I needed something to link all three together.  After she was able to roll over every time I said it, she would go all the way back to her upright position, but I needed her to stay on her back.  During the last stage, I held her on her back and would give her the treat while she was still facing upwards so she would learn she has to stay in that position to get the treat.  From her sitting position, I would push her over onto her back in one fluid motion, hold her there and then give her the treat.

Soon enough with a little time, commitment, operant conditioning, and shaping; I was able to point a finger gun at my dog and say bang, and she would fall to the floor and lie on her back.  My parents and siblings were impressed with the trick and got a good laugh out of it too.  Playing dead became my new dog’s signature move so my parents could woo the guests.  So far, the audiences have not been disappointed.   While learning this in psychology, I found it interesting how people everywhere already use these methods and may not even know the details behind conditioning and shaping and unconsciously know how they work.  I thought it was interesting how psychology can tie into and exhibited in everyday life.

Above is a quick video I uploaded of my sister performing the completed trick with my dog so you can see how the intended, final trick is performed.  poor quality but achieves its intended purpose.  The dog did it flawlessly and the conditioning worked well despite the dogs lethargic attitude.

 

My Parents and Operant Conditioning

Operant conditioning can be defined as the increasing or decreasing appearance of behaviors due to the association with positive or negative stimuli.  The two forms of operant conditioning are reinforcement and punishment. In reinforcement, the behavior is strengthened by either presenting positive stimuli or removing negative stimuli. In punishment, the behavior is decreases by adding in a negative stimulus or removing a positive one. My parents were always efficient in their punishment and reinforcement methods.

When I did something wrong when I was younger, my parents would make me stand in the corner of a room or sit on the couch for a certain amount of time. This may not seem that painful, but, for a kid, it was torturous. These are forms of negative punishment because I was restricted from doing what I wanted to do. Technically, my parents temporarily took away my freedom, a desirable stimulus for me. My parents have never spanked me, but spanking would be a form of what is known as positive punishment. “Positive” meaning that a stimulus (the act of spanking) is added to the environment in order to diminish a particular response (the behavior that needs to be disciplined).

My parents always gave monetary rewards to me for my positive behaviors. We had a whole system planned out for the amount of money I would get for good grades in school. An A would be worth $20, a B worth $10, a C worth $5, and anything less would not count for anything. I would get rewards for each semester all the way up through my senior year of high school. This definitely helped me want to succeed in school. I graduated in the top 5% of my class and now I am a student at the best university ever! They would also give me an allowance of $50 each month for being well-behaved. My mom would also make deals with me that if I did the chores she asked me to do, she would give me money in return. This shows how positive reinforcement is really helpful in promoting desirable behaviors.

Operant Conditioning- How I Taught My Dog to Bark

Operant conditioning is a learning technique used by many psychologists and is a little different than classical conditioning. While classical conditioning is a type of learning where an organism learns to associate stimuli and therefore elicits a conditioned response, operant conditioning is where the organism forms an association between behaviors and resulting events. This tool is not only used by psychologists, but also anyone who decides to teach their pet how to perform a trick. Shaping is used in order to guide the animal to perform a desired behavior. This ultimate behavior might be the dog rolling over. However, it would probably take a lot of time and would be extremely frustrating to teach a dog by simply instructing it to “roll over” without any other assistance. By just saying “roll over”, the dog isn’t going to know what the means or what you want them to do. Teaching through successive approximations can help guide the dog from a standing position to the rolling over motion through multiple steps.

Positive reinforcement is another tool that can be used to get an animal to perform a desired behavior. When the dog exhibits a desired behavior, you give it a treat. Since dogs love treats, this is considered a positive stimulus. Now the dog has associated the action her or she performed with getting a treat, it will increase that behavior to continue getting more treats. Now, let’s get back to how successive approximations would work. In order to get your dog from a standing position to rolling over, the first step to take is to instruct it to sit. Once the dog sits, you can give it a treat. Then, you can work on getting your dog to lie down. Once it does, give it another treat. Now, you can work on teaching it to roll over, giving it a treat after it lies on its back and then again after it fully rolls over. Now, when you tell the dog to roll over, it will know the behavior you want it to exhibit.

I used a similar process as I explained above when I was teaching my dog to speak. Ever since she was 8 weeks old, she didn’t bark at all unless she was scared. It was crucial that I taught her to speak whenever she needed to go to the bathroom. She would simply stand or sit at the door. On occasion, she would bark or growl softly, but it wasn’t loud enough that I could hear from very far away. You can imagine that we had a few accidents when she was a puppy when I wasn’t paying attention to her and didn’t know she had to go out.

Once I knew she barked a little when she was waiting at the door, I was constantly watching her. Whenever she would walk over to the door, I would wait to see if she’d bark. When she did softly, I would give her a treat, praise her, and take her outside. I did this a few times and her bark grew a little louder. After a day or two, she would begin to bark when I was no longer standing right there at the door with her. I’d give her a treat for barking and take her outside. Then, her barks got louder, to the point where I could hear them when I wasn’t even in the same room. Since I rewarded her after she barked and then took her outside, she associated the barking behavior with the event of me taking her out and then rewarding her afterward. Now I know when she needs to go out wherever I am in the house. She hasn’t begun to bark in response to anything else so now I know exactly what she needs and when she needs it. Operant conditioning was a very easy process, especially since my dog picked up on it so quickly.

Classical and Operant Conditioning

In class, we discussed the concepts of classical and operant conditioning.  Classical conditioning involves pairing a stimulus that was previously neutral with an unconditioned stimulus. An example of this theory can be given using my cats.

IMG_0948

For this example, we need a neutral stimulus and an unconditioned stimulus. These happen to be the sound of a bag of cat treats being shaken (the neutral stimulus) and the delicious taste of the treats to my cats (unconditioned stimulus).  When my cats were in the room, I gave them a treat and then shook the bag. After doing this many times, they associated the sound of the bag being shaken with the yummy taste of a treat. Now, when I shake the bag of treats and they are in another room, they come running. It doesn’t even have to be the bag of treats. If anything is shaken and sounds at all similar to the treats being shaken, my cats come running because they want to be given a scrumptious tuna flavored snack. This has turned the sound of the treats being shaken into the conditioned stimulus and the running into the room has become the conditioned response.

Behaviorist B.F. Skinner developed the theory of operant conditioning to explain how voluntary behavior is learned. Our textbook explains that, “in this theory, behavioral responses that are followed by pleasurable consequences are strengthened, or reinforced. An example of this has to do with me. Last semester for Educational Psychology, we were given an extra credit opportunity to conduct an operant conditioning study on ourselves. I had wanted to drink more water, so I made it my goal to drink four bottles of water a day. To condition myself to do this, I had to reward myself to reinforce the behavior. I chose my reinforcer to be a West cookie. So, every time I drank four bottles of water in a day, I had a West cookie for dessert. After the experiment period was over, I found myself drinking more water in a day than I had before. This semester I still drink more water than I used to, and this is because my behavior was reinforced enough to make this behavior stick.

Bibliography:
Cherry, Kendra. “Classical vs Operant Conditioning.” About.com Psychology . About.com, n.d. Web. 4 Feb 2014.
Ciccarelli, Sandra K., and J. Noland White. Psychology. 3rd ed. Upper Saddle River, New Jersey: Pearson Education, 2012. 14. Print.

Classical Conditioning With My Pup Sadie

Classical Conditioning With My Pup Sadie

Ivan Pavlov is credited with the discovery of classical conditioning, when in 1902, he discovered that his dogs had the unconditioned response to salivate in the presence of food, but could have a conditioned response to salivate at the ring of a bell. He did this by ringing a bell before giving his dogs food, therefore allowing them to associate the bell with the presence of food. Eventually, when he rang the bell without the presence of food, the dogs had the conditioned response of salivating.

My personal experience with classical conditioning stems from attempting to get a conditioned response out of my German shepherd, Sadie. My family and I received Sadie when she was 11 months old. Her previous owners had not really attempted to train her in anyway and she was quite difficult to control, since Sadie was mainly my dog, the job of training her fell largely upon me. I began by training her to be calm by saying “down!” and ignoring her while holding a treat until she calmed down, then gave her the treat. I kept repeating the behavior until she had been conditioned to be calm, I did the same while teaching her to sit, stay, give me a paw, lay down, and roll over. Sadie now has the conditioned response of doing an action due to the newly conditioned stimulus of a verbal command, these newly conditioned responses and stimuli were all made possible by the unconditioned stimulus of a treat.

Another way in which Sadie is classically conditioned is that a previously unconditioned stimulus of the doorbell ringing has become a conditioned stimulus towards her unconditioned response of barking and being a guard dog, this is because the doorbell ringing continuously indicates the presence of strangers, which triggers her instinct to warn the family of the presence of said strangers.