1) lose more of a certain type of free agent player than you gain in a particular year. The league determines this via a confidential formula, and the picks could be at the end of the 3rd through 7th rounds.
2) Have one of your minority coaches or executives leave for a head coach or GM job with another team. These "special compensatory picks" are awarded at the end of the third round.