His decision to try the technique, called transcranial magnetic stimulation (TMS), stemmed from dramatic advances in the science of addiction—and from his frustration with traditional treatments.