For a closed symplectic 4-manifold X, let Diffe(0)(X) be the group of diffeomorphisms of X smoothly isotopic to the identity, and let Symp(X) be the subgroup of Diff(0)(X) consisting of symplectic automorphisms. In this paper we show that for any finitely given collection of positive integers {n(1), n(2), ..., n(k)} and any non-negative integer m, there exists a closed symplectic (or Kahler) 4-manifold X with b(2)(+)(X) > m such that the homologies H(i) of the quotient space Diff(0)(X)/Symp(X) over the rational coefficients are non-trivial for all odd degrees i = 2n(1) - 1, ..., 2n(k) - 1. The basic idea of this paper is to use the local invariants for symplectic 4-manifolds with contact boundary, which are extended from the invariants of Kronheimer for closed symplectic 4-manifolds, as well as the symplectic compactifications of Stein surfaces of Lisca and Matic.