  We give rates of convergence in the almost sure invariance principle for sums
of dependent random variables with semi exponential tails, whose coupling
coefficients decrease at a subexponential rate. We show that the rates in the
strong invariance principle are in powers of log n. We apply our results to iid
products of random matrices.
