A comparison between microscopic and empirical estimates of the density dependence of effective interactions