I kept the collision assistance on for a while, and if your following someone fairly close it'll pick up that they're slamming on the brakes pretty quick.
I think it also takes your own speed in consideration when deciding at what point to warn you.
'13 M5 Imperial Blue
Sold: '11 M3 IB / Fox Red
Sold: '05 M3 Mystic Blue / Cinnamon