Widespread public health surveillance efforts focused on key populations (men who have sex with men, sex workers, people who inject drugs, and others) gather data on population sizes, HIV prevalence, and other information for planning and resource allocation.