Image making · Research feature

AI Model Uses Local Image Comparisons to Improve Text-to-Image Alignment

A new AI framework reconstructs meaningful image comparisons around preferred outputs to enhance text-to-image alignment without additional human labeling.

Adapted from research by Pulkit Bansal, Vivek Srivastava, Shirish Karande.

arXiv preprint revision · 2026-11-22 · Attribution & reuse
In this article
Editorial illustration of a color study.

Editor’s introduction

The study focuses on improving text-to-image models by analyzing local preference neighborhoods around human-preferred images. Researchers compared how semantically similar variations of preferred images perform against baseline models, measuring alignment through image quality and human preference metrics. The framework, PrefLens, generates controlled image variations that maintain semantic consistency and selects only those that provide meaningful perceptual differences. Results show these neighborhoods preserve preference orderings and improve model alignment. The evidence indicates that neighborhood expansion and reward-based selection both contribute to better performance. However, the study acknowledges human preferences are subjective and may involve conflicting criteria, limiting the generalizability of findings to diverse individual judgments.

Introduction

A natural response to these limitations is to acquire additional preference supervision by collecting more human annotations, but this remains costly. Another possibility is to associate each preferred image with multiple candidate negatives and obtain rankings over the resulting candidate set. While such strategies can potentially provide richer supervision, they require evaluating large numbers of candidate images, which is computationally expensive and may inherit biases and inconsistencies from VLM-based judges. Moreover, although inverse-constitution-based approaches can improve the robustness of such judges, applying these strategies in the image domain remains challenging due to the cost of repeated multimodal evaluation.

We instead argue that a key limitation of existing preference datasets lies in how human judgments are represented. Current datasets typically encode each human annotation as a single pairwise comparison between a preferred and a rejected image. Consequently, each annotation provides only a sparse observation of the broader preference structure surrounding the preferred image. We hypothesize that each preference pair can provide a starting point for recovering a richer local preference neighborhood, in which semantically aligned alternatives reveal how human judgments vary under controlled perceptual changes. Recovering such neighborhoods can therefore transform each human annotation into substantially richer and more informative supervision for preference alignment.

The notion of local preference neighborhoods naturally suggests three requirements for effective preference expansion. First, neighborhood construction should be preferred-image anchored, ensuring that generated comparisons remain centered around the preferred reference image so that common semantic structure is retained and meaningful alignable differences can emerge. Second, effective neighborhood exploration requires fine-grained control over perceptual variations, enabling systematic manipulation of localized visual attributes while largely retaining semantic identity. Finally, effective neighborhood recovery should maintain diversity within the local neighborhood. Since local preference neighborhoods may be highly dense, naively incorporating all neighboring samples can introduce substantial redundancy, which may negatively affect preference optimization. Consequently, effective preference expansion should select compact subsets of neighboring samples that retain the information while reducing redundancy.

Preference Alignment for Text-to-Image Models

Recent text-to-image (T2I) diffusion models have achieved remarkable generative performance through large-scale multimodal training. Despite these advances, aligning model outputs with human preferences remains challenging. Early approaches adapted Reinforcement Learning from Human Feedback (RLHF) to generative models. While effective, these methods introduce significant computational overhead and can suffer from reward hacking.

To simplify alignment, several works have proposed reward-free preference optimization methods that directly learn from pairwise comparisons. Examples include Diffusion-DPO, DSPO, and related variants that formulate alignment as supervised learning over preference likelihoods. Although these approaches substantially reduce training complexity, they rely on preference datasets that provide only sparse observations of human judgments. Consequently, recovering richer preference structure from limited annotations remains a key challenge for scalable alignment.

Preference Datasets and Synthetic Preference Generation

Large-scale human preference datasets such as Pick-a-Pic, ImageReward, and HPD constitute the primary source of supervision for T2I preference alignment. These datasets provide pairwise comparisons between generated images and have enabled both reward modeling and preference optimization.

To reduce annotation costs and enrich preference supervision, recent work has explored automated preference generation pipelines. One class of approaches relies on pretrained models or vision-language models to simulate preference feedback and generate synthetic preference pairs. Another line of work constructs large candidate pools through model sampling and subsequently ranks candidates using automated evaluators. While such approaches improve scalability, they typically provide limited control over the local preference structure surrounding human-preferred examples. In contrast, our work recovers local preference neighborhoods around preferred images and systematically selects informative neighbors that expose localized, alignable differences.

Structured Preference Supervision and Dataset Expansion

Beyond the scale of preference datasets, recent work has highlighted the importance of constructing informative preference supervision for alignment. In representation learning and metric learning, techniques such as hard negative mining focus training on examples that reveal meaningful decision boundaries, and similar principles have been adopted in preference alignment to improve optimization stability. Several approaches have explored enriching preference supervision through prompt-side augmentation, model sampling and ranking pipelines, and multi-dimensional preference modeling using multiple reward signals. While these approaches improve the quantity or expressiveness of preference supervision, they typically provide limited control over the localized perceptual factors that vary across comparisons.

Controlled image perturbations have also been explored as useful training signals, e.g., AugMix for robustness. In preference alignment, Diffusion-NPO primarily introduces a negative preference optimization objective and, alongside this contribution, studies controlled corruption of negative samples, showing that mild degradations can improve alignment. Compared with these prior directions, PrefLens combines anchor-centered controlled perturbations with reward-guided neighborhood organization and diversity-aware selection to construct compact local preference neighborhoods for optimization.

Recovering Local Preference Neighborhoods (LNR)

Sequential compositions of perturbation operators enable exploration of diverse regions of the local preference neighborhood while largely retaining semantic identity. Additional neighborhood visualizations and preference-pair examples along with a theoretical analysis are provided in Appendices F, G, and C, respectively.

Reward-Guided Informative Neighborhood Selection

The margin constraint removes candidates exhibiting only negligible deviations from the anchor while retaining more informative variations. Similar margin-based filtering (MBF) is widely used in metric learning and hard negative mining to focus optimization on informative examples. Conceptually, this filtering is also motivated by the notion of just noticeable differences in perceptual psychology, where sufficiently small variations can be difficult to distinguish reliably.

Training Data and Models

We use the open-image-preferences-v1-binarized dataset, which contains 7,459 human-annotated image preference pairs. We refer to this dataset as OpenPref throughout the paper. In OpenPref, images are generated using FLUX.1-dev and SD-3.5-large. We apply PrefLens to OpenPref to recover local preference neighborhoods around human-preferred images, which are subsequently used to construct expanded preference pairs for alignment. To represent images in preference space, we employ two reward models, ImageReward and Aesthetic Score, which provide complementary preference signals for characterizing the recovered neighborhoods. For preference alignment, we fine-tune two widely used diffusion models: SD v1.5 and SDXL-1.0-base.

Baselines

Alignment-method baselines. We first report SFT, where the model is fine-tuned using only the preferred samples from OpenPref, providing a reference before preference-based optimization. For SD v1.5, we compare against Diff.-DPO, SPIN-Diffusion, SePPO, and SPO. For SDXL-Base, we compare against Diff.-DPO and SPO. Together, these baselines span diverse preference-alignment paradigms, including learning from human preference pairs, self-play, and model-generated preference construction strategies.

Human-preference-dataset baselines. We compare different sources of human preference supervision while keeping the underlying alignment algorithm fixed. We train using HPDv2, Pick-a-Pic-v2, and OpenPref. This comparison evaluates whether the preference dataset constructed by PrefLens provides more effective supervision than existing human-annotated preference datasets.

Neighborhood-construction baselines. We further compare against alternative strategies for constructing preference pairs from the same preferred anchors: (i) LNR, where local preference neighborhoods are generated using the proposed perturbation strategy and all recovered neighbors are retained for training; (ii) LNR+RS, where the same candidate neighborhoods are constructed but negatives are selected uniformly at random instead of using the proposed informative-neighbor selection; (iii) AugMix, where AugMix transformations are used to construct a single negative image for each preferred image; and (iv) AugMix-MN, where multiple AugMix-generated negatives are associated with each preferred image.

Evaluation Protocol

Automatic metrics. We report win rates (%) over the corresponding base model and organize the automatic evaluation metrics into two categories: image quality and human preference. For image quality, we report Aesthetic Score using both ViT-L/14 and ViT-B/16 predictors. For human preference, we report ImageReward, HPSv2, and PickScore. Since Aesthetic Score (ViT-L/14) and ImageReward are used in preference-space construction, we additionally report Aesthetic Score (ViT-B/16), HPSv2, and PickScore as held-out metrics to assess potential reward overfitting and evaluation circularity.

Compositional fidelity. To evaluate compositional fidelity, we report average TIFA scores on 1,000 samples from T2I-CompBench++, using Salesforce/blip-vqa-capfilt-large and microsoft/git-large as VQA backbones, with evaluation questions generated by GPT-4o. All evaluation instructions are provided in Appendix L.

Preference-Neighborhood Diagnostics

Preference reliability and semantic proximity. We measure whether the preferred anchor is consistently favored over the recovered negative using Aesthetic Score, ImageReward, and two VLM judges (LLaVA-v1.5-7B and Qwen3-VL-4B-Instruct) over the full recovered dataset; human consistency is additionally evaluated on 500 pairs. We also measure anchor–neighbor semantic similarity using CLIP and DINO-v2.

Q5: What factors explain the behavior of different preference-supervision strategies?

The results reveal a quantity–quality trade-off in preference supervision. SFT remains weak, consistent with positive-only training providing less informative supervision than pairwise comparisons. OpenPref provides high-quality but limited comparisons, whereas larger datasets such as HPDv2 and Pick-a-Pic-v2 offer greater coverage but may contain redundant or weakly informative pairs. Importantly, PrefLens does not discard the human preference signal: the human-preferred image defines each anchor, around which additional localized comparisons are constructed.

AugMix and AugMix-MN generally underperform the other alternatives. Manual inspection shows that many AugMix negatives remain visually close to their anchors, potentially yielding ambiguous preference supervision. Their varying behavior across SD v1.5 and SDXL, together with differences between Diffusion-DPO and DSPO, suggests that effective preference-pair construction can depend on both the diffusion backbone and optimization objective.

Q6: How do perturbation groups and strength affect preference alignment?

Combining all three perturbation groups gives the best performance in most cases, suggesting that the different families provide complementary preference signals. For SDXL, Group 3 alone performs noticeably worse than the combined setting, unlike SD v1.5, indicating that its effectiveness in isolation is backbone-dependent. For perturbation strength, sampling across the full range outperforms fixing the strength at either the minimum or maximum, suggesting that exposure to varying perturbation intensities provides more effective supervision. Detailed results are provided in Appendix J (Figures 15 and 16).

Conclusion

We introduced PrefLens, which enriches sparse preference supervision by constructing local neighborhoods around human-preferred images and selecting informative comparisons in a reward-defined preference space. Diagnostic analyses show that the recovered pairs preserve the intended preference ordering and remain semantically close to their anchors, while downstream evaluations demonstrate consistent alignment gains. Our results indicate that both neighborhood expansion and reward-guided informative selection contribute to these improvements. Future work will explore richer preference representations and perturbation strategies guided by model failure modes.

Limitations and Future Work

Subjectivity of human preferences. Human preferences are inherently subjective and may reflect multiple, sometimes competing, criteria that vary across individuals and contexts. Consequently, a single preference ordering or evaluator may not capture the full reasoning underlying a judgment. Related directions such as ICAI and Democratic ICAI similarly motivate recovering multiple underlying principles and rationales from pairwise preferences. Future work could incorporate evaluator disagreement, uncertainty, and diverse preference principles to construct more robust and potentially personalized preference neighborhoods.

Preference-space representation. PrefLens currently represents preference structure using a fixed set of pretrained reward models. Although complementary reward signals provide a practical low-dimensional space for neighborhood construction, they cannot capture every perceptual or semantic factor relevant to human preference. Future work could explore richer, learned preference representations that adapt to the data and capture interactions among multiple preference dimensions.

Coverage of local variations. The current neighborhood construction relies on a predefined family of controlled perceptual perturbations. While this enables systematic and interpretable exploration around each preferred anchor, a fixed transformation set cannot represent every meaningful variation or failure mode of a generative model. Future work could develop adaptive, model-informed perturbations derived from observed generation failure modes, enabling neighborhoods that better reflect the weaknesses of the model being aligned.

LLM Usage Statement

We used ChatGPT to assist with language editing and improving the clarity of the manuscript. In our experiments, GPT-4o was used to generate evaluation questions for TIFA, while Qwen3-VL and LLaVA were used as automated evaluators for image preferences and consistency checks. We also employed LLM-assisted inverse constitutional analysis to examine preference characteristics. The authors reviewed the generated outputs and remain responsible for the methodology, experimental results, and conclusions.

Locality Preservation under Sequential Perturbations

The above assumption formalizes the intuition that each controlled perceptual perturbation induces only a bounded change in semantic representation. In the following theorem, “semantic-preserving” refers to perturbations satisfying this bounded-displacement condition rather than requiring exact semantic invariance.

Human-relevant preference principles

A key question is whether the preference comparisons recovered by PrefLens reflect meaningful human preference structure beyond the reward signals used during neighborhood construction. To examine this, we use ICAI to recover interpretable preference principles from different human-preference datasets and compare their resulting category distributions. This analysis provides a complementary view of the data by characterizing the types of preference criteria represented in each dataset, rather than only measuring downstream model performance.

To organize the recovered ICAI principles, we group them into six interpretable preference factors according to the dominant criterion expressed by each principle. Visual Quality captures overall clarity and perceptual quality; Composition covers layout, balance, and spatial arrangement; Lighting & Color captures illumination, contrast, and color characteristics; Structural Fidelity concerns object geometry, anatomy, and structural correctness; Prompt & Style covers semantic adherence, attributes, and requested visual style; and Artifact Avoidance captures undesirable generation artifacts and visual defects. Each principle is assigned to a single primary factor based on its predominant preference criterion.

Extended benchmark results

We provide additional quantitative results complementing the evaluations reported in the main paper. In particular, we report results on PartiPrompts and GenAIBench, in addition to Pick-a-Pic-v2. We evaluate SD v1.5 and SDXL-Base using Aesthetic Score, ImageReward, HPSv2, and PickScore. Across benchmarks and metrics, PrefLens-based training consistently improves over training with the original OpenPref comparisons. The gains are also observed on Aesthetic Score (ViT-B/16), HPSv2, and PickScore, which are not used for preference-space construction, indicating that the improvements extend beyond the reward signals used to construct the neighborhoods.

Hyperparameter Sensitivity

We analyze the sensitivity of preference optimization to two key training hyperparameters: the learning rate and LoRA rank. The analysis is conducted for both SD v1.5 and SDXL-Base while keeping the remaining training settings fixed. These experiments characterize how optimization choices affect downstream preference-alignment performance across the two diffusion backbones.