In the latter case, the modifier(s) introduce(s) a non-compositional, unpredictable shift of meaning; hot shifts the meaning of dog from live animal to food.
the compositional meaning shift caused by small in small dog is transparent.