Efficient Algorithms and Human-in-the-loop Approaches for Attribute Design and Selection