The effect is based on the principle that grain boundaries act as barriers to dislocation motion. When the grain size is reduced, there are more grain boundaries per unit volume, making it harder for dislocations to move. This increased resistance to dislocation movement results in higher material strength.