Leveraging Structure for Improved Classification of Grouped Biased Data