http://www.phred.org/~josh/bike/SignalDetection.html has a bit of info on how signal detectors usually work, and how to get cities to adjust them correctly.
Personally, I don't cross against a light that just turned red, even if I know it won't detect me. Too many motorists run fresh red lights assuming cross-traffic hasn't started yet. Much safer to wait well into the red.