The reduction of pore space as overburden packs grains closer together, consolidating sediment into rock.