Attribute factorizing