Let $X \to Y$ be a smooth projective morphism of smooth varieties over $\mathbb{C}$. Then the fibers $X\_y, y \in Y$ have locally constant Hodge numbers $H^q(X\_y, \Omega^p\_{X\_y})$. Namely, one can argue that the Hodge numbers are upper semicontinuous because they represent the kernels of the $\overline{\partial}$-Laplacian, and when you wiggle an operator, the kernel only jumps. However, their sum gives the sum of the Betti numbers of the fibers (since each $X\_y$ is smooth and projective), which is locally constant by Ehresmann's fibration theorem. 


In what generality is this claim about Hodge numbers true? For instance, will upper semicontinuity still be true (I would like to apply the semicontinuity theorem but don't know how the $\Omega^p\_{X\_y}$ fit into a flat family) if the morphism is, say, only proper? Is any of this true in characteristic $p$ where we don't have Hodge theory? 



Hodge numbers in a family
Without flatness you have little chance for this to even get off the ground: Let $f:X\to Y$ be the blow up of a smooth (closed) point of $Y$. Then all fibers except one consist of a single point, while the special fiber is a $\mathbb P^n$. That will have non-zero Hodge numbers that the others can't even dream about. 


So, assume $f$ is flat, then if $X$ is smooth, then $\Omega\_X$ is still locally free and so it is flat over $Y$ and hence you get that $\dim H^q(X\_y, (\Omega^p\_X)\_y)$ is semi-continuous. This works in any characteristic and it does not have anything to do with Hodge theory. The shortcoming of this is that you're actually not getting $\dim H^q(X\_y, \Omega^p\_{X\_y})$ even in the smooth case, because for that you would need $\Omega\_{X/Y}$, but that's not flat and in some sense not the right object to consider.


If $Y$ is also smooth, then $\Omega\_Y$ is locally free and if $f$ is dominant, then you still have the short exact sequence
$$
0\to f^\*\Omega\_Y\to \Omega\_X\to \Omega\_{X/Y}\to 0
$$
The trouble is that the sheaf on the right is not locally free, so when you take exterior products, then it gets kind of tricky. One possibility is to construct complexes that behave very similarly to $\Omega\_{X/Y}^p$ with respect to $\Omega\_X^p$ and $\Omega\_Y^p$. This is done in [this](http://books.google.com/books?id=p6YrfFeS4s0C&pg=PA89&lpg=PA89&dq=Relative+de+Rham+complex+for+non-smooth+morphisms&source=bl&ots=Uv5S_X1AcQ&sig=nDB5JEyg_pQ5iWJxNPxwPeSlw0c&hl=en&sa=X&ei=TgJAT5nyPLHciQL71rG2AQ&ved=0CCEQ6AEwAA#v=onepage&q=Relative%2520de%2520Rham%2520complex%2520for%2520non-smooth%2520morphisms&f=false) paper. The primary goal of the paper is not what you want and I am not sure that you actually get semi-continuity, but you can at least check out the construction.
A general version of that construction is in [this](http://books.google.com/books?id=l_CM8szufz0C&lpg=PA57&ots=2gpe1fsF4p&dq=spectral%2520sequences%2520associated%2520to%2520morphisms&lr&pg=PA57#v=onepage&q=spectral%2520sequences%2520associated%2520to%2520morphisms&f=false) paper. (Sorry, neither of them are on arXiv).


Also, for singular fibers $\Omega\_{X\_y}$ is not the "right" thing to look at.
One can look at the objects that come from the Deligne-Du Bois complex and do Hodge theory for singular varieties. Then the restriction becomes a little tricky, because those are objects in a derived category and restriction is not exact, so you need to do something else. Completion along the fiber gives the right thing, but I don't know if there is a semi-continuity theorem using completion instead of restriction. That might be an interesting question to contemplate. This is related to the paper I linked above. See the references in that for more details.


