Inverting selection means selecting for the opposite of what is desired. For example, if you are trying to select for a particular trait in a population, you would invert selection by selecting against that trait.