The finite passive dilatation is , . To compare at the same argument, invert the coordinate change:Consequently the fixed-argument infinitesimal variation isThis also follows from and . The plus sign on the derivative term is a consequence of this specified contraction of coordinates.
Under the finite dilatation, , and . Keeping the couplings fixed givesThus the full finite change isFor invariance for arbitrary fields and all constant , the fixed nonzero kinetic term requires . Then the mass term requires , and every nonzero coupling must have . Henceincluding the free choice . At the canonical mass dimension is and , so only the quartic interaction has a dimensionless coupling. A mass introduces a scale. This recovers the same result from solution.
The fixed field weight in the question matters: if it were replaced by the general canonical weight , the kinetic term could be invariant in other dimensions, and a nonzero monomial interaction would require for . That is a different transformation from the one specified here. The result above is classical; quantum running generally breaks the quartic theory's scale invariance.