Returning -loss would turn it into a proper score method.