New Framework for the Selective Inversion