When training neural networks, why do we use convex losses (wrt the output of the neural…
- User
When training neural networks, why do we use convex losses (wrt the output of the neural network) even though these losses won't be convex wrt to the neural network parameters?
Assistant
There are a few reasons we use convex losses even though the overall optimization problem is non-convex:
-
Simplicity - Convex losses like mean squared error (MSE) and cross entropy are simple and well understood. They have nice properties like differentiability that make optimization easier.
-
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.