The Tigers had been blanked over 7 2/3 innings by Chicago's Chris Sale and were trailing 6-0 entering the last at-bat, but erupted for six runs to mount an improbable comeback.
In the 12th, Don Kelly coaxed a leadoff walk from Jake Petricka (1-1) and went to second on an out. Martinez was intentionally walked, Dirks drew an unintentional pass and Infante then scorched a grounder off Petricka's glove for the deciding RBI.
Al Alburquerque (4-3) notched the win for the Tigers, who reduced their magic number for clinching the American League Central to two.
Duggar sisters unveil Christian dating rules in new book
Beautician charged with giving client fatal silicone butt injection