I've been studying a bit on the foraging habits of ants, and one of the things I'm not clear on is whether ants know the shortest path from the food that they find to their nest. I understand that ants can leave different types of pheromones$^{[1,2]}$, they can change their behavior based on those trails, and those trails are often volatile. What I'd like to know is how do ants find their nest once they find a food morsel. In one of the papers,$^{[3]}$ it was shown that ants change their foraging strategy based on the number of encounters they have: they follow a straighter path when the ant density in an area is low, while they follow a more tortuous path if the ant density is high.
Considering a lower ant density, an ant will travel pretty far from the nest in search for food in a path that is not always straightforward. Assuming that the pheromone trails it leaves behind do not evaporate by the time it finds the food, will the ant travel back on the same path laid down by its pheromone trail, or will it actively find a more direct path towards its nest? I might also be missing something in the sense that ants always know where their nest lies when they are foraging, and thus can find the shortest path whenever they find any food. If so, any work reflecting such research would be of great help.
References: