the others) were produced by the UltraVISTA survey [@McCracken2012]. The photometric redshift and the stellar mass of the detected galaxies were estimated using Le PHARE [@Arnouts1999; @Ilbert2006] as described in @Ilbert2013. The precision of the photometric redshifts at 1.5$<$z$<$4 is $\sigma_{\rm \Delta z / (1+z)}$ = 0.03. According to @Ilbert2013, this catalog is complete down to $10^{10.26}$M$_\odot$ at z$<$4. X-ray detected active galactic nuclei (AGNs) are also removed from our sample of star-forming galaxies, since the mid-infrared emission of these objects could be strongly affected the AGN. Luminous X-ray obscured AGNs might still be present in the sample. However, their possible presence appear to have limited impact on our work as no mid-infrared excess is observed in the average SEDs measured by stacking (see Fig.\[fig:sedms\] and \[fig:sedsb\] and Sect.\[results\]).\
As this paper studies star-forming galaxies, we focused only on star-forming galaxies selected following the method of @Ilbert2010 based on the rest-frame $\rm NUV-r^{+}$ versus $\rm r^{+}-J$ and similar to the UVJ criterion of [@Williams2009]. The flux densities in each rest-frame band are extrapolated from the closest observer-frame band to minimize potential biases induced by the choice of template library. At z$>$1.5, 40-60% of the objects classified as passive by this 