Ants have exceptionally developed olfactory receptors. They use their sense of smell for scouting, communication, as well as guiding others to a food source. This means that leaving food around will attract them. The quantity is irrelevant - even an empty can will do the trick. Ant infestations are more common than people realize.