AcceptedNeurIPS 2026

Barycentric Guidance: Turning Foundation Image Editors into Continuous Affective Controllers

Harvey Mannering·Zhiwu Huang·Adam Prügel-Bennett
University of Southampton
Paper arXiv Code
The valence-arousal model of emotion with emotion words placed on a circle
Valence–Arousal Model
3x3 valence-arousal grid of edits to a manga face
Manga Faces
3x3 valence-arousal grid of edits to a cat's face
Animal Faces
5x5 valence-arousal grid of edits to a human face
Human Faces
3x3 valence-arousal grid of edits to a painting
Artworks
Continuous valence–arousal editing with a single training-free framework. Valence increases left to right and arousal bottom to top, with values from −1 to 1 in uniform steps.

Abstract

Emotions are expressed on a continuum and are naturally described in the valence–arousal (VA) space. Existing VA-based image editors are typically training-based and domain-specific, limiting them to VA regions seen during training and making them brittle across datasets and domains. Meanwhile, despite producing high-quality edits, state-of-the-art foundation image editors are not continuous affective controllers: non-linear emotion representations in text encoders makes prompt interpolation poorly calibrated, so accurate and continuous VA control remains unreliable. To fill this gap, we introduce Barycentric Guidance, a training-free framework that turns pretrained foundation image editors into continuous affective controllers over VA, requiring no finetuning, extra data, or model changes. Our method maps any target VA point to simplex-based guidance weights, enabling VA controllability in three aspects: (i) accurate targeting of VA states, (ii) broad coverage across the VA plane, and (iii) continuous control. Across three face datasets, we improve VA target accuracy by 25–29%, expand VA-plane coverage by 28–50%, and increase expression diversity by 29–49%, over the strongest baseline. Unlike prior domain-specific methods, our training-free approach exploits the foundation model's inherent versatility, enabling generalization beyond human faces to animals, artworks, and complex scenes within a single framework.


Method

Triangle mesh of discrete emotions over the valence-arousal plane, with a target point inside the sad-neutral-sleeping triangle and its barycentric weights
  1. Build an emotion mesh.Foundation editors excel at discrete edits, so discrete emotion anchors (happy, sad, angry, …) are placed at their VA positions and joined into a triangle mesh.
  2. Find barycentric weights.For a target \((v, a)\), take the enclosing triangle \(A, B, C\) (or the closest one) and solve
    $$\begin{bmatrix} A_x & B_x & C_x \\ A_y & B_y & C_y \\ 1 & 1 & 1 \end{bmatrix}\begin{bmatrix} w_1 \\ w_2 \\ w_3 \end{bmatrix} = \begin{bmatrix} v \\ a \\ 1 \end{bmatrix}$$
  3. Diffusion Guidance.The weights mix the editor's noise predictions for each emotion prompt \(y_i\):
    $$D^{\text{edit}}_{\text{bary}}(x_t) = \sum_{i=1}^{3} w_i\, D_\theta(x_t, y_i)$$
    Scaling the CFG weight with distance from neutral, \(w^{*}_{\text{cfg}} = 1 + (w_{\text{cfg}} - 1)\sqrt{v^2 + a^2}\), controls emotional intensity.
Optional: geometry-aware latent interpolation. For faces, the three discrete-emotion edits are morphed together using the same weights \(w_i\), and diffusion restarts from the morph a third of the way through. This keeps facial geometry smooth and removes ghosting. For non-human faces, optical flow replaces landmarks.

Results

On facial expression editing, Barycentric Guidance outperforms prior VA-based editors on AffectNet, FFHQ and CelebA-HQ.

VA Controllability Image Quality / Preservation
DatasetModel RMSE ↓VA Entropy ↑VA Std ↑\(S^{*}_{2D}\) ↓ FID ↓IS ↑ID Sim. ↑LPIPS ↓
AffectNetGANmut–0.6160.47 / 0.38–36.893.900.760.128
EmoStyle0.6100.4230.46 / 0.310.14736.722.810.310.276
Ours0.4330.9160.64 / 0.570.30311.024.420.550.096
FFHQGANmut–0.6870.50 / 0.36–73.204.490.710.282
EmoStyle0.5680.4570.48 / 0.320.14825.504.120.670.172
Ours0.4180.8900.64 / 0.510.30713.855.610.550.097
CelebA-HQGANmut–0.6510.48 / 0.37–59.593.240.700.267
EmoStyle0.5500.5130.47 / 0.340.14917.442.940.650.154
Ours0.4120.8770.65 / 0.540.29311.803.530.540.125

VA controllability and image quality on three face datasets. VA Std is reported as valence / arousal. Best results per dataset in bold.

AffectNet
Comparison of GANmut, EmoStyle and our method editing an AffectNet face around the edge of the valence-arousal circle
FFHQ
Comparison of GANmut, EmoStyle and our method editing an FFHQ face around the edge of the valence-arousal circle

Edits around the edge of the VA circle (labels are target (valence, arousal)). Ours preserves backgrounds better and covers extreme expressions, especially sleepy and the negative, high-arousal quadrant.


Citation

@inproceedings{mannering2026barycentric,
  title     = {Barycentric Guidance: Turning Foundation Image Editors
               into Continuous Affective Controllers},
  author    = {Mannering, Harvey and Huang, Zhiwu and Pr{\"u}gel-Bennett, Adam},
  booktitle = {Advances in Neural Information Processing Systems (NeurIPS)},
  year      = {2026}
}