technically not "learning" but 'domestication syndrome in plants' is something you could google... e.g. indoor plants can survive with less root mass