Predicting crosswalks?

I see people who start walking across intersections while the light is saying to wait. AND THEN SOMEHOW the greenlight to walk turns on as soon as they start walking. Is this a coincidence or is there a way to tell when it is about to turn green for pedestrians. Thanks.