
Two models can be equally good choices: one is more accurate, the other is cheaper. Which should you ship? A wing designer faces the same conflict between drag and mass. In Part 1, the objective was a single number. Here I look at what happens when several objectives compete, why a weighted sum hides some perfectly good solutions of the Pareto front, and how to choose weights for a wing or an LLM training run.
Numerical Optimization series. This is Part 2 of four. The others are Part 1, loss, constraints and minima; Part 3, choosing an optimizer; and Part 4, gradient descent, Newton, Adam and Muon. The series starts from chapter I of my 2008 PhD thesis and applies it to LLM training.
What does Pareto optimal mean?
A solution is Pareto optimal when you cannot improve one objective without making another worse. Solution A dominates solution B when A is at least as good on every objective and strictly better on at least one. The Pareto front contains the objective values of all nondominated solutions. A dominated solution has an alternative that improves at least one objective without sacrificing any other.
Two reference points frame the front:
- The ideal point takes the best value of each objective separately. It is usually impossible to reach. Some authors distinguish a utopia point placed slightly beyond the ideal.
- The nadir point takes the worst value of each objective among Pareto optimal solutions.
The gap between these two points gives the range of each objective on the front. You will need it to choose weights.
With two objectives, the ends of the front are the two single-objective solutions, with ties broken by the other objective. The useful trade-offs sit between them. A front can be discontinuous, unbounded or non-convex.
Does a weighted sum give a Pareto optimum?
Yes, when every weight is strictly positive and you reach the global minimum of the sum. No convexity is needed. If some solution dominated yours, it would have a lower or equal value on every objective and a strictly lower one somewhere, so its weighted sum would be lower. That contradicts the minimum.
F(θ) = k1 F1(θ) + k2 F2(θ) + …, with every ki > 0
Two limits apply. A zero weight only guarantees weak Pareto optimality: the ignored objective may still be improvable for free. A local minimum of the sum, which is what training gives you, carries no such guarantee.
A second property holds for any front, convex or not: if you raise one weight and keep the others, that objective can only improve or stay equal at the new global minimum. In practice, optimizer noise and imperfect convergence can obscure that monotonic relationship.
Which solutions can a weighted sum never find?
A weighted sum only finds points where a straight line, or a hyperplane with more objectives, touches the set of results from below. Where the front bends inward, no such line exists. Those solutions are Pareto optimal, and no choice of weights reaches them. On convex objective images, supporting hyperplanes recover efficient points with nonnegative weights. Some boundary solutions require zero weights or a limiting weight ratio.

In the figure, s1 and s3 share the same supporting line. As the weights cross one value, the answer jumps from s1 to s3 and skips the stretch that contains s2. I also tested a fully concave front with 999 weight settings. The weighted sum returned two distinct solutions: the two ends.
Convexity does not make the weights intuitive. On the convex front F2 = (1 − F1)4, evenly spaced weights give unevenly spaced results, and the last two weights give the same point:
| Weight on objective 1 | 0.2 | 0.4 | 0.6 | 0.7 | 0.8 | 0.9 |
|---|---|---|---|---|---|---|
| Value of objective 1 | 0.60 | 0.45 | 0.28 | 0.16 | 0 | 0 |
| Value of objective 2 | 0.03 | 0.09 | 0.27 | 0.49 | 1 | 1 |
Das and Dennis (1997) explained both effects. Their normal boundary intersection method (1998) spreads points evenly along a front.
How do you choose the weights?
Scale each objective by the amount it can move, not by its value. A common rule equalizes starting values, so both objectives begin at 100 and get the same weight. If one can drop by 40 and the other by 2, the first one decides everything. Dividing by the achievable range, ki = 1/ΔFi, removes the units and puts both on the same footing.

| Weights | Gain on objective 1 (max 40) | Gain on objective 2 (max 2) |
|---|---|---|
| 1 and 1, on raw values | 99.8% of the maximum | 9.3% of the maximum |
| 1/40 and 1/2, by range | 75% of the maximum | 75% of the maximum |
The geometry is simple. Draw the line between the two single-objective solutions. The weights 1/ΔFi look for the point where the front is parallel to that line. With two objectives and a smooth convex front, that point exists and lies between the ends. The equal percentages come from the symmetry of this example. On an asymmetric front the same rule gives an interior point with unequal gains.
The rule has limits:
- It needs the ranges. Run each single-objective problem, or estimate them.
- It matches the line through the two ends only with two objectives. With three or more, each single-objective solution can degrade the others by a different amount, and 1/ΔFi becomes a starting point.
- On a concave front, it returns one of the ends, like any weighted sum.
- Ranges shift during neural network training. Log each term and its gradient norm, and revisit the weights.
I paid for this lesson in my thesis. To place an engine under a wing, I added drag and structural mass with a physical exchange rate taken from their absolute values. Drag decided everything: the mass gain would have had to be 12 times larger for the two to compete. The physical rate answered the physical question. It gave no trade-off to study, and scaling by range would have.

Where do LLMs optimize several objectives?
Almost every stage of LLM training combines objectives, and most combinations are weighted sums with another name. Distillation mixes a teacher term with a data term. RLHF subtracts a KL penalty from a reward. Safe RLHF keeps a constraint. Knowing the form tells you which failure to expect.
| Technique | Objectives in tension | How they are combined | What to watch |
|---|---|---|---|
| Distillation | match the teacher, match the labels | weighted sum | scale of the two terms |
| RLHF | reward, distance to the reference model | reward minus β times KL | reward hacking when β is low |
| DPO | preference fit, distance to the reference model | β inside the loss | β is still a trade-off weight |
| Safe RLHF | helpfulness, harmlessness | constraint with a learned multiplier | oscillation of the multiplier |
| Rewarded soups | several rewards | one model per reward, then interpolate the weights | needs a shared starting model |
| Multi-task learning as multi-objective | tasks with conflicting gradients | common descent direction | cost per task gradient |
The last row corrects an old belief, including one line of my thesis: gradient methods are not limited to one objective. MGDA (Désidéri, 2012) takes the shortest vector in the convex hull of the gradients. If it is nonzero, stepping against it decreases every objective at first order. When that vector is zero, the point is Pareto stationary, which does not establish global Pareto optimality.
Penalty, constraint or front: which one should you use?
Use a constraint when you can name a limit, a weighted sum when you can name an exchange rate, and a front when you need to understand the trade-offs before choosing. A latency limit of 200 ms is a constraint. A price per token helps define an exchange rate. “Good quality at a reasonable cost” is a front to plot and discuss.
| Method | You must know | You get | Main risk |
|---|---|---|---|
| Weighted sum | an exchange rate | one solution | misses dents, sensitive to scale |
| Constraint (ε-constraint) | a limit for all objectives but one | one solution, dents included | infeasible limits |
| Weighted Chebyshev (minimize the worst scaled gap to the ideal point) | a target and scales | one solution, dents included | non-smooth objective |
| Pareto front | nothing in advance | a set to choose from | cost grows quickly with the number of objectives |
Constraints and Chebyshev can reach the dents, with one caveat: their minimizers may be only weakly Pareto optimal. Break ties by minimizing a strictly positive weighted sum of all objectives among the primary minimizers. This rules out solutions that could still improve an objective for free.
One warning holds for all four methods. An objective is often a proxy, and pushing hard on a proxy separates it from the goal. Gao and colleagues (2022) measured it with a synthetic gold reward model standing in for humans: optimizing the proxy too far lowers the gold score. In their setup, an explicit KL penalty acted like early stopping. It did not improve the gold score reached at a given distance from the starting policy.
Once the objectives and constraints are fixed, the next question is how much computation to spend looking for a solution. That is Part 3.
Pareto optimization FAQ
What is the difference between the utopia point and the nadir point?
The ideal point combines the best value of each objective and is usually unreachable. Some authors use utopia as a synonym; others place it slightly beyond the ideal. The nadir point combines the worst values on the Pareto front. The difference between the ideal and nadir, objective by objective, gives the range used to normalize the problem.
Why does my weighted loss ignore one of its terms?
Its achievable range may be small compared with the other terms, or its gradient may be small or oppose the other gradients. Compare the weighted gradient norms and directions, as well as the amount each term can still improve. Rescale by range as a starting point. Equal initial loss values guarantee none of these properties.
Is a penalty equivalent to a constraint?
For convex problems with a regularity condition, each constrained solution matches a penalized problem with the right multiplier. Without convexity the equivalence can fail, and some constrained solutions match no penalty weight. Those solutions sit in the inward parts of the Pareto front.
Related research posts
- Part 1, loss, constraints and minima
- Part 3, choosing an optimizer
- Part 4, gradient descent, Newton, Adam and Muon
- My PhD thesis: Kriging for aerodynamic shape optimization
- Gradient and Cokriging optimizers compared on four criteria
Sources
- J. Laurenceau, Surfaces de réponse par krigeage pour l’optimisation de formes aérodynamiques, PhD thesis, INPT, 2008, sections I.1.1 and I.1.2 (full text, in French). This post corrects and updates those sections.
- I. Das and J. Dennis, A closer look at drawbacks of minimizing weighted sums of objectives, Structural Optimization, 1997; Normal-Boundary Intersection, SIAM Journal on Optimization, 1998.
- S. Boyd and L. Vandenberghe, Convex Optimization, section 4.7, 2004.
- J.-A. Désidéri, Multiple-gradient descent algorithm (MGDA), 2012; O. Sener and V. Koltun, Multi-Task Learning as Multi-Objective Optimization, 2018.
- L. Ouyang et al., InstructGPT, 2022; R. Rafailov et al., Direct Preference Optimization, 2023; J. Dai et al., Safe RLHF, 2023; A. Ramé et al., Rewarded soups, 2023; L. Gao et al., Scaling Laws for Reward Model Overoptimization, 2022.
- The fronts, the 999-weight test and the scaling table are my own computations (NumPy).
0 Comments