Non-Repetitive Colouring
Defunct: Some of this question is defunct, now, because of this theorem of Dujmović et al:
Every graph from an apex-minor-free family has such a layered $H$-partition (where $t$ depends on the apex-minor) and so do $k$-planar graphs (where $t$ depends on $k$.) See Dujmović et al. and Dujmović, Morin, and Wood, respectively.
The Original Question
A string $s=s_1,\ldots,s_{2k}$ is a repetition if $s_1,\ldots,s_k=s_{k+1},\ldots,s_{2k}$. A colouring $\varphi:V(G)\to\{1,\ldots,c\}$ of a graph $G$ is non-repetitive if, for every path $v_1,\ldots,v_{2k}$ in $G$, the string $\varphi(v_1),\ldots,\varphi(2k)$ is not a repetition. The non-repetitive chromatic number $\pi(G)$ of $G$ is the smallest number of colours in any non-repetitive colouring of $G$.
The best upper bound of $O(\log n)$ is due to Dujmović. The only known lower bound is constant.
For maximum-degree $\Delta$ graphs, Dujmović et al showed that $\pi(G)=(1+o(1))\Delta^2$ and the best known lower bound is $\Omega(\Delta^2/\log\Delta)$. The proof of the upper-bound uses entropy compression and at the heart of it, it relies on the simple fact that the number of paths of length $2k$ that contain any vertex $v$ is at most $k\Delta^{2k}$. In our paper on random trees we showed that, in a $d$-degenerate graph, the average (over all $v\in V(G)$) number of paths of length $2k$ that contain $v$ is $O(k(d\Delta)^k)$.
One way that I had hoped to achieve this was with the following lemma:
The result in our paper on random trees states that the total number of paths of length $\ell$ in $G$ is at most $2n(2d\Delta)^{\ell/2}$.
For each $\ell\in\N$, let $X(\ell)$ denote the number of vertices of $G$ that
are the first vertex of more than $2^{\ell+1}(2d\Delta)^{\ell/2}$ paths. Then we have
\[
X(\ell)\cdot2^{\ell+1}(2d\Delta)^{\ell/2} \le n2(2d\Delta)^{\ell/2}
\]
which implies
\[
X(\ell) \le n/2^{\ell} \enspace .
\]
But now,
\[ \sum_{\ell=1}^{n-1} X(\ell) \le \sum_{\ell=1}^{n-1} n/2^{\ell} < n
\]
Unfortunately, the preceding lemma is not enough to prove the result we want. It allows us to order the vertices of $G$ in some order $v_1,\ldots,v_n$ so that, for every $\ell\in\N$, in $G[\{v_1,\ldots,v_i\}]$, the number of paths of length $2k$ that contain $v_i$ is at most $O(k(2d\Delta)^{k})$. However, now when the random colouring fails at $v_i$ because of some path $P$, we must recolour all the vertices of $P$. However, for some vertex $v_j\in P$, $j<i$ we have no upper bound on the number of paths of length $2k$ that contain $v_j$ in $G[\{v_1,\ldots,v_i\}\setminus V(P)]$.