Revealing the Diversity and Formation of Sub-Neptune Exoplanets