When a text-to-image generator is fine-tuned to maximize a learned "human preference" score, it often learns to cheat. It finds image changes that raise the score without making the picture better. This proposal targets one family of such cheats: changes to brightness, contrast, saturation, and local exposure that leave the drawn content untouched. A classical fact from computer vision makes this family easy to name. Edge orientation, meaning the direction in which intensity changes at each pixel, does not change under any strictly increasing brightness curve applied pixel by pixel. It also stays almost unchanged under smooth exposure gradients. So we can take any generated image, produce many relit copies that share its exact geometry, and ask how much of its reward depends on lighting alone. We then reshape the reward non-linearly. The policy is paid fully for reward that survives relighting, while reward that comes only from lighting saturates at a bound set by the un-tuned model.
The bet has two parts. First, a measurable share of visual reward hacking runs along these orientation-preserving directions. Second, a non-compensatory reward suppresses that share without blocking real improvements in text rendering, anatomy, or composition, because those change the orientation field. "Non-compensatory" means extra lighting gains cannot buy back missing structure. The first part is an empirical question we test before building anything. If it is false, the method has no purpose, and we say so.
Core Claim
Visual preference models such as ImageReward (a BLIP model fine-tuned on 137,000 expert comparisons), HPS v2 (CLIP ViT-H/14 fine-tuned on about 800,000 choices), and PickScore (CLIP-H fine-tuned on 500,000 web-user selections) score raw pixels. Nothing in them separates geometry from tone. That is not automatically a flaw, because people really do prefer well-exposed images. Making the reward model fully lighting-invariant would therefore throw away real signal. The flaw appears under optimization pressure. A policy can push tone further than any human-preferred image in the training data, and a pixel-level reward has no reason to stop rewarding it.
Chasing the Tail shows, for language-model rubrics, that misranking in the top 10–40% of responses is what drives policy collapse. Exaggerated tone is exactly the kind of artifact that lives in that high-reward tail.
Our claim is that a reward which separates lighting-robust reward from lighting-only reward, and caps the latter, reduces hacking at equal or better true quality. Orientation invariance supplies the separation. A non-linear, non-compensatory aggregation, rather than a weighted sum, supplies the reshaping.
The Construction
Let $x$ be a generated image and $R$ a frozen preference model.
Building the relit copies. We define a family $\mathcal{G}(x)$ of relighting transforms in two steps.
- We draw candidates from two sources. The first is random strictly increasing tone curves applied per channel and in luminance, which covers gamma, S-curves, and saturation changes. The second is multiplication by smooth low-frequency gain fields, which mimics vignetting and local exposure.
- We keep a candidate $g$ only if it is admissible. Admissible means the orientation of $\nabla g(x)$ agrees with that of $\nabla x$ on at least a fraction $\rho$ of pixels whose gradient magnitude exceeds a noise floor $\sigma$.
The magnitude floor handles the known weakness of orientation features: in flat regions, orientation is undefined and dominated by noise. The agreement test removes transforms that clip highlights or shadows, since clipping drives the slope of the tone curve to zero and destroys edges. This test is where orientation invariance does real work. A strictly increasing pointwise curve $f$ gives $\nabla f(I) = f'(I)\nabla I$, which keeps the direction of $\nabla I$ wherever $f' > 0$. This holds even for non-linear curves, which goes further than the affine model $I' = \alpha I + \beta$ usually cited, as in Comparing Images under Variable Illumination and Beyond Photometric Consistency. Smooth gain fields add a term $I\nabla\alpha$ that is small away from edges. The agreement check enforces "small" explicitly instead of assuming it.
Splitting and reshaping the reward. With $K$ admissible samples $g_1, \dots, g_K \in \mathcal{G}(x)$, we compute two quantities:
$$R_s(x) = \mathrm{quantile}_q\big(R(g_1(x)),\dots,R(g_K(x))\big), \qquad \Delta(x) = R(x) - R_s(x).$$
Here $R_s(x)$ is the lighting-robust reward, the level the image keeps across many lightings of the same geometry. $\Delta(x)$ is the extra reward attributable to its particular lighting. The policy is trained on
$$\tilde R(x) = R_s(x) + \min\big(\Delta(x),\ \tau\big),$$
where $\tau$ is the 90th percentile of $\Delta$ over samples from the un-tuned reference model on the training prompts.
This aggregation is deliberately non-linear. Lighting gains count fully up to the level natural images already reach. Beyond that they earn nothing, so no amount of tone tuning can make up for weak structure. This is the kind of aggregation that MODPO names as an open problem for its weighted-margin formulation. It also fits the evidence from Rewarded soups that linear mixing fails when objectives conflict.
Choice of quantile. We use a moderate quantile, $q = 0.5$, rather than the worst case. Taking the minimum over relightings would punish images whose appeal rests on subtle low-contrast shading. These are exactly the fine tail distinctions that Chasing the Tail says matter, and orientation features are weakest in such regions.
Cost. The method adds $K$ reward-model forward passes per sample and requires no backward pass through the orbit. With $K = 8$, the cost is roughly an 8× increase in reward evaluation. In diffusion RL, reward evaluation is a small fraction of the cost of sampling the policy.
Research Program
Stage one: audit, before any method. We take the HPD v2 test set and the policies from standard RL runs. For each reward model, we measure how much $R$ moves across admissible relightings. We then ask two questions about RL runs on SD3.5-Medium in the setting of GARDO:
- What fraction of the reward climb over training is $\Delta$ rather than $R_s$?
- Does $\Delta$ rise sharply exactly where held-out rewards and human judgments begin to diverge from the training reward?
Stage two: does the split keep the signal? We evaluate $R_s$ itself as a preference predictor. If $R_s$ loses most of HPS v2's accuracy, then structure-robust reward is not a meaningful quantity, and capping $\Delta$ would amount to capping the reward itself.
Stage three: the reshaped reward in RL. We train with $\tilde R$ and compare against the alternatives below.
Stage four: ablations. These test whether orientation preservation is the ingredient that matters, or whether any multi-view averaging helps.
Baselines
Unmodified reward. The do-nothing reference is standard RL fine-tuning of SD3.5-Medium on HPS v2 reward, and separately on the OCR text-rendering reward, using the GARDO training recipe. Its failure mode is documented: the diversity score on GenEval is 19.98 under standard RL, as reported by GARDO.
GARDO. The strongest existing method is GARDO itself. It applies a KL penalty only to the roughly 10% of samples on which a reward-model ensemble disagrees most, updates its reference model adaptively, and shapes advantages to favor diversity using DINOv3 features. It reports a GenEval diversity of 24.95 and peak OCR reward within 600 steps. It is the right competitor because it targets the same failure through a different signal, ensemble disagreement, rather than a geometric invariance. It also costs more, since it needs an ensemble of reward models.
Fair comparison. Every arm runs from the same prompts, seeds, sampler, number of policy updates, and number of reward-model forward passes per update. GARDO's ensemble passes are counted against our $K$ relighting passes. Each method gets an equal hyperparameter sweep: for GARDO, the gating fraction and KL weight; for ours, $q$, $\tau$, and $\rho$.
What counts as beating GARDO. Our method must match or exceed GARDO's held-out reward (ImageReward and PickScore when training on HPS v2) and its GenEval diversity. It must do so while lowering the hacking indicators: measured $\Delta$ inflation, and the human-judged rate of tone and saturation artifacts. We also test GARDO combined with $\tilde R$, because the two mechanisms target different signals and may add together.
Ablations isolating the key ingredient. The first replaces the orientation-checked family $\mathcal{G}$ with transforms of equal pixel-level strength that break orientation, such as local contrast enhancement or blur-and-sharpen. If those work equally well, orientation preservation is not doing the work. The second keeps $\mathcal{G}$ but replaces the cap with a linear penalty $R - \lambda\Delta$. This isolates the non-compensatory aggregation from the decomposition. The third removes the admissibility check, to measure how much clipping-induced edge loss contaminates $R_s$.
Why not just…?
Why not just train the reward model with photometric augmentation? This is the most serious alternative, and we run it. We fine-tune HPS v2 with color jitter, gamma, and exposure augmentation, matched in compute to the original fine-tuning, and use it as the RL reward. The main argument against it is conceptual. Augmentation teaches $R$ that lighting does not matter, which deletes a real preference: people do prefer well-exposed images. Our cap keeps lighting preference up to natural levels. The audit settles it. If the augmented model keeps HPS v2's accuracy and resists hacking as well as $\tilde R$, augmentation wins, because it is simpler and costs nothing at RL time, and we would report that. We expect it to lose some accuracy on the Photo and Painting styles of the HPD v2 benchmark set. Augmentation also samples a finite set of transforms, while the admissibility test certifies an unlimited family at RL time.
Why not just add a weighted saturation or contrast penalty? A fixed penalty $\lambda \cdot$ (image statistic) assumes we know in advance which statistic the policy will exploit. It also charges the same rate whether the image is under- or over-exposed. The linear-penalty ablation above tests the closely related form $R - \lambda\Delta$. Non-compensatory aggregation is motivated by MODPO and Rewarded soups, but neither paper tested images. If a tuned linear penalty matches the cap on held-out reward and human ratings, the non-linear part of the claim fails.
Why not just rely on a stronger KL leash or GARDO? GARDO reports that uniform KL either stalls learning or permits hacking. Its gated version is our main baseline. But ensemble disagreement catches exploits only when ensemble members disagree. CLIP-family reward models were fine-tuned in similar ways and may share the same lighting blind spot. The audit will show whether GARDO's gate fires on high-$\Delta$ samples. If it already catches them, our contribution reduces to a cheaper diagnostic, not a new defense.
Proposed Experiments and Decisive Checks
Audit check. The project proceeds only if two things hold. First, $\Delta$ accounts for a substantial and growing share of reward gained during unregularized RL. Second, $\Delta$ inflation precedes the divergence between training and held-out reward.
Split check. We test whether $R_s$, computed from HPS v2, stays close to HPS v2's reported 83.3% accuracy on the HPD v2 test set. For reference, PickScore reports 79.8% and average individual human agreement is 78.1% on that set (HPS v2). Falling below human agreement would mean the decomposition discards the signal people actually use.
Main RL comparison. Training uses SD3.5-Medium, and Flux.1-dev if budget allows, on HPS v2 reward and the OCR task. Evaluation covers held-out ImageReward and PickScore, GenEval diversity against GARDO's 24.95, and a blind pairwise human study against the un-tuned model and GARDO.
Known limitation. We expect one specific failure. Additive high-frequency noise in backgrounds, the exploit GARDO illustrates, changes orientations, so $\Delta$ will not catch it. We will report its rate separately rather than claim coverage.
References
- ImageReward: Learning and Evaluating Human Preferences for Text-to-Image Generation
- Human Preference Score v2: A Solid Benchmark for Evaluating Human Preferences of Text-to-Image Synthesis
- Pick-a-Pic: An Open Dataset of User Preferences for Text-to-Image Generation
- Chasing the Tail: Effective Rubric-based Reward Modeling for Large Language Model Post-Training
- Comparing Images under Variable Illumination
- Beyond Photometric Consistency: Gradient-based Dissimilarity for Improving Visual Odometry and Stereo Matching
- Beyond One-Preference-Fits-All Alignment: Multi-Objective Direct Preference Optimization
- Rewarded soups: towards Pareto-optimal alignment by interpolating weights fine-tuned on diverse rewards
- GARDO: Reinforcing Diffusion Models without Reward Hacking