Rather than teach the cranes to stop landing on him, the trainer taught the birds something else, a behavior that would make the undesirable behavior impossible. The birds couldn’t alight on the mats and his head simultaneously.

At home, I came up with incompatible behaviors for Scott to keep him from crowding me while I cooked. To lure him away from the stove, I piled up parsley for him to chop or cheese for him to grate at the other end of the kitchen island. Or I’d set out a bowl of chips and salsa across the room. Soon I’d done it: no more Scott hovering around me while I cooked.

I followed the students to SeaWorld San Diego, where a dolphin trainer introduced me to least reinforcing syndrome (L.R.S.). When a dolphin does something wrong, the trainer doesn’t respond in any way. He stands still for a few beats, careful not to look at the dolphin, and then returns to work. The idea is that any response, positive or negative, fuels a behavior. If a behavior provokes no response, it typically dies away.

In the margins of my notes I wrote, “Try on Scott!”

It was only a matter of time before he was again tearing around the house searching for his keys, at which point I said nothing and kept at what I was doing. It took a lot of discipline to maintain my calm, but results were immediate and stunning. His temper fell far shy of its usual pitch and then waned like a fast-moving storm. I felt as if I should throw him a mackerel.

Now he’s at it again; I hear him banging a closet door shut, rustling through papers on a chest in the front hall and thumping upstairs. At the sink, I hold steady. Then, sure enough, all goes quiet. A moment later, he walks into the kitchen, keys in hand, and says calmly, “Found them.”

Without turning, I call out, “Great, see you later.”

Off he goes with our much-calmed pup.

After two years of exotic animal training, my marriage is far smoother, my husband much easier to love. I used to take his faults personally; his dirty clothes on the floor were an affront, a symbol of how he didn’t care enough about me. But thinking of my husband as an exotic species gave me the distance I needed to consider our differences more objectively.