Text this: The dual-edged potential of AI autonomously defining loss functions