, we examined how aggregation and heterogeneity shape the exploration-vigilance trade-off under predator-like looming stimuli. A latent negative relationship between exploration and vigilance became apparent when aggregated, suggesting improved behavioral performance compared to solitary condition. Heterogeneity within the group further enhanced performance beyond expected levels, indicating an alleviation of the cost of balancing exploration and vigilance. We then applied a phenome-wide higher