We present a new class of coherent perfect absorbers based on guided-mode resonance in thin semiconductor films. Using particle-swarm optimization methods, we design a thin-film amorphous silicon grating that maximizes coherent modulation of the absorbance. The optimized device exhibits a maximum scattering power of ∼94% and a power absorption limit approaching 100% at the 1550-nm wavelength.