If $f: X \to S$ is a smooth, proper morphism of nonsingular complex algebraic varieties with $S$ connected, then the dimensions of the (algebraic) de Rham cohomology groups of the fibers of $f$ are constant. One way to see this is to use that, complex analytically, $f$ is a locally trivial fibration (Ehresmann's theorem), hence all fibers are homeomorphic, and to conclude by using the topological invariance of analytic de Rham cohomology and the comparison between algebraic and analytic de Rham cohomology.
Is there a 'purely algebraic' proof of this result, i.e. one which does not appeal to GAGA and Ehresmann's theorem?