Let $f:M\to N$ be a smooth map between smooth manifolds and assume $M$ is oriented. Suppose $y\in N$ is a regular value of $f$ with $S:=f^{-1}(y)$ nonempty. According to this question: normal bundle of level set, the normal bundle of $S$ in $M$ is trivial (explicitly, $NS\to S\times T_yN$, $(p,v)\mapsto (p,df(v))$ is a trivialization) and in particular orientable. This implies that $S$ is orientable. My question is: Is there a "canonical" orientation on $S$? This is of course equivalent to choosing a canonical orientation of the normal bundle on $S$.
In some speical situations, this seems possible:
If $\dim (N)=1$, then we can regard $f$ as a map $f:M\to \Bbb R$ (locally) and in this case we can choose a canonical orientation on $S$ using $\text{grad}(f)$ .
If $N$ is oriented, then we have an orientation on $T_yN$, and we can choose orientation on $NS$ by declaring the above trivialization $NS\to S\times T_yN$ to be orientation-preserving.
But I can't handle the general case.