Category Debugging and AI Refinement