Pretty sure practice also improves that. Even lip reading is possible with enough practice. And for sure accents understanding improve pretty fast if you bend your mind to it. The danger there for me is if I am trying to get a new accent, I might start copying the accent or word choices a bit and embarrass myself. Humans are amazingly flexible in what we can do without thought, after a bit of practice.