learning auto attributes