About half energy of the radiation from cosmic star formation is absorbed and re-emitted by dust into the far-infrared. How dust attenuates star formation in galaxies over cosmic time remains to be understood. I will introduce recent progresses in exploring the relationships between star formation, dust attenuation (IRX=L_IR/L_UV) and other galaxy parameters. Particularly, we found that dust attenuation of star-forming galaxies obeys an empirical relation, jointly determined by IR luminosity, galaxy size, metallicity and axial ratio. We argue that this empirical relation is fundamental in understanding galaxy dust attenuation because it also holds for distant SFGs out to z = 3. Combined with the scaling relations related to galaxy stellar mass, size and metallicity, a comprehensive picture emerges to link star formation, structure buildup and chemical enrichment together.
