Organizations: Key Laboratory of Multimedia Trusted Perception and Efficient Computing, Ministry of Education of China, Xiamen University, Xiamen, Fujian, China · Central Media Technology Institute, Huawei
Reference-guided photographic color grading helps users realize their aesthetic intent by selectively drawing on the color and tonal characteristics of a reference photograph. Doing so requires understanding which characteristics users wish to adopt and translating these preferences into controllable edits. However, image-only reference methods align overall appearance without instruction-grounded selection, while pixel-space generative editors typically produce flattened images without editable parameters, limiting subsequent refinement. To address these challenges, we introduce JarvisAura, a multimodal aesthetic agent that formulates photographic color grading as structured decision-making in an editable parameter space. JarvisAura offers three key advantages: (1) an aesthetic agent paradigm that integrates visual attribute perception, strategy-level reasoning, and parameterized execution for interpretable and controllable photographic color grading; (2) a unified reasoning-to-execution pipeline that connects aesthetic planning with backend rendering and editable parameter refinement; and (3) a three-stage training strategy comprising Parameter-Grounded Continual Pre-Training for parameter-appearance grounding, Reference-Grounded Supervised Fine-Tuning for reference-guided reasoning and parameter decisions, and Reference-Aligned Group Relative Policy Optimization for rendered-outcome refinement with multidimensional rewards and dynamic data derivation. On Ref-Bench, JarvisAura achieves the best scores among methods with results across reported automatic metrics and a 74% human-rated task-success rate, exceeding GPT-Image-2.5 by 9 percentage points.
Figures & tables
Figure 1: JarvisAura takes a source image, a reference image, and a user instruction, and produces a reference-driven color-grading result with an editable parameter representation. It identifies instruction-relevant grading attributes in the reference, determines which attributes to emphasize, and generates executable editing operations.
Figure 2: Ref-CPT construction. The pipeline collects community edit pairs with configurations, renders results under original and perturbed settings, and generates parameter-anchored state-change captions for continual pre-training.
Figure 3: Ref-SFT construction. The pipeline builds source–reference pairs, generates reference-grounded instructions, and synthesizes expert trajectories for planning and parameter decisions.
Figure 4: JarvisAura post-training framework: we first perform PG-CPT to ground color-grading parameter knowledge, then conduct RG-SFT to learn reference-guided reasoning and parameter decisions, and finally apply RA-GRPO with multidimensional rewards and dynamic data derivation to improve parameter accuracy and alignment with reference images and user instructions.
Method
Instr.
L1×102↓
L2×103↓
CIEDE2000 ↓
SC ↑
PQ ↑
O ↑
HTSR ↑
ModFlows [ 14 ]
✗
11.86
16.89
11.16
–
–
–
–
RLPixTuner [ 37 ]
✗
17.16
51.46
18.84
–
–
–
–
UniPic-3 [ 34 ]
✓
22.12
89.15
23.61
4.87
3.86
4.21
0.09
FireRed-Image-Edit [ 32 ]
✓
12.73
33.02
14.17
5.95
5.97
5.83
0.43
Qwen-Image-2.1 [ 46 ]
✓
13.60
36.76
15.03
5.89
6.20
5.91
0.38
JoyAI-Image [ 29 ]
✓
18.87
70.40
20.23
5.23
4.00
4.41
0.15
Table 1: Quantitative comparison on Ref-Bench (300 samples). We highlight the best and second-best results. SC, PQ, and O are evaluated by Gemini-3.1-Pro. Methods in the Ref.-Transfer group do not accept textual instructions.
GPT-Image-2.5
Seedream-5-pro
Nano-Banana-2
FireRed-Image-Edit
Preference ratio for ours ↑
1.12
1.30
1.47
1.53
Table 2: A/B preference ratio for JarvisAura on cases where both JarvisAura and the compared baseline produce successful outputs. The ratio is defined as (Nwin+Ntie)/(Nloss+Ntie) .
Configurations
L1×102↓
L2×103↓
CIEDE2000 ↓
SC ↑
PQ ↑
O ↑
Training stages
RG-SFT only
11.04
25.00
12.46
5.60
6.83
6.16
PG-CPT + RG-SFT
10.25
21.59
11.77
6.13
7.02
6.53
PG-CPT + RG-SFT + RA-GRPO (Ours)
8.92
13.02
10.09
6.97
7.51
7.19
Dynamic data derivation
Derived data only
9.60
16.64
10.46
6.59
7.24
6.88
Table 3: Ablation studies on Ref-Bench.
Figure 5: Visual comparison of different methods on Ref-Bench. JarvisAura produces faithful retouching results that closely match the reference style while preserving source content.
Appendix figures & tables30 assets
Supplementary material from the paper’s appendix.
Appendix
Figure S1 : Source-image scene composition, instruction word cloud, and instruction and reasoning length distributions.
Dataset
Samples
Training stage
Principal content
Ref-CPT
200K
PG-CPT
Parameter-grounded state-change captions
Ref-SFT
50K
RG-SFT
Reference-grounded instructions, reasoning, and parameters
Ref-RL
2K
RA-GRPO
Expert-refined cases for rendered-outcome optimization
Appendix
Table S1 : Overview of the training resources. Sizes are approximate and exclude dynamically derived samples.
Dataset
Real photos
Reference and text
CoT labels
Lightroom config.
Res.
CPT
InstructPix2Pix [ 3 ]
No
No
No
No
No
No
MagicBrush [ 44 ]
Yes
No
No
No
No
No
MGIE [ 8 ]
Yes
No
No
No
No
No
ImgEdit [ 42 ]
Yes
No
No
No
Yes
No
MIT-Adobe FiveK [ 4 ]
Yes
No
No
Yes
Yes
No
PPR10K [ 18 ]
Yes
No
No
Yes
Yes
No
Appendix
Table S2 : Comparison with existing datasets. Res. denotes non-fixed resolution and CPT denotes continual pre-training support.
Level
Numerical score
Definition
Level 1
100
The property is visibly preserved from the source, with a concrete supporting observation.
Level 2
70
A trace or mild defect is visible only on close inspection, or the property cannot be conclusively judged from the supplied images.
Level 3
35
A defect is clearly visible under normal viewing and materially affects the property.
Level 4
0
A severe or critical defect makes the property unacceptable.
Appendix
Table S3 : Four-level scoring scheme for visual quality.
Setting
Configuration
Image resizing and alignment
Independently center-crop the edited image and target to the shortest-side square; resize both to 512×512 with Lanczos interpolation
Pixel range and normalization
RGB values represented as normalized sRGB in [0,1]
Color profile and transfer function
IEC 61966-2-1 sRGB transfer function
Lab conversion and reference white
sRGB-to-CIELAB conversion with the D65 reference white
CIEDE2000 implementation and factors
Standard CIEDE2000 formulation with kL=kC=kH=1
Spatial and channel reduction
L1/MSE averaged over all H×W×3 RGB samples; CIEDE2000 averaged over all H×W pixels
Appendix
Table S4 : Preprocessing and aggregation settings for automatic metrics.
Stage
Configuration
Samples
GPU Hours (A100)
PG-CPT
1 epoch
200K
∼ 500
RG-SFT
2 epochs
50K
∼ 160
RA-GRPO
1 epoch
2K
∼ 280
Total
∼ 940
Appendix
Table S5 : Training time for each stage of JarvisAura, measured in GPU hours on a single A100.
Inference framework
vLLM
Transformers
End-to-end time (s/sample)
38.18
47.75
Model generation time (s/sample)
29.36
36.24
Backend rendering time (s/sample)
8.75
11.22
Time to first token (s)
4.19
1.38
Throughput (tokens/s)
71.32
29.73
Generated tokens per sample
2,094
1078
Appendix
Table S6 : Inference configurations and computational costs.
Dimension
Inspection focus
Semantic correspondence
Correspondence of relevant content such as sky, skin, vegetation, water, and architectural regions.
Overall color tone
Dominant color tendencies, white balance, and overall color coherence.
Warm–cool balance
Relationships among highlights, midtones, and shadows.
Lighting atmosphere
Compatibility of the reference’s lighting appearance with the intended grading changes.
Tonal structure and contrast
Highlight transitions, shadow detail, midtone gradation, and contrast.
Local texture and clarity
Relevant textural characteristics without conflating grading with content replacement.
Appendix
Table S7 : Reference-inspection checklist for Ref-SFT quality control.
Check
Implemented property
Numerical rule
Reasoning block
Exactly one ordered <think> pair
0.20 in F
Tool-call block
Exactly one ordered <tool_call> pair
0.20 in F
XML parsing
Inner XML parses with sign-aware xml_to_dict
0.40 in F
Root tag
Parsed XML root is exactly root
0.20 in F
Parameter structure
Non-empty mapping; registered enums and explicitly handled nested structures/types are valid
P=0 on fatal failure
Parameter names
Every top-level name must belong to the supported parameter schema
Any unknown name gives P=0
Appendix
Table S8 : Format-validity reward checks.
Hyperparameter
PG-CPT
RG-SFT
RA-GRPO
Model & Data Configuration
Max Sequence Length
24576
24576
24576
Train Batch Size (per GPU)
1
1
1
Training Samples
200K
50K
2K + derived samples
Original samples yielding a derived sample
–
–
28%
Optimizer & Scheduler
Appendix
Table S9 : Hyperparameters for the three training stages of JarvisAura.
Criterion
Name
Definition and defect condition
1
Highlight and overexposure integrity
Highlights retain roll-off, headroom, and texture relative to the source; broad near-white crowding or a blown key subject is a defect.
2
Shadow and dark-detail integrity
Shadows retain boundaries, local contrast, and material separation; newly flattened, featureless dark regions are a defect.
3
Contrast, dynamic-range, and veil integrity
Global and local contrast and tonal separation remain credible; a broad white or colored veil or harsh tonal compression is a defect.
4
Subject-environment tonal integration
A key subject’s brightness and local contrast remain consistent with its surrounding scene; an implausible spotlighted or cutout appearance is a defect.
5
Gradient, banding, and posterization integrity
Smooth or gently graded regions (sky, water, walls) remain continuous; visible banding, stepped contours, or posterization is a defect.
6
Local chroma continuity and blocking
Color within a single material or semantic region stays spatially continuous; abrupt within-region color steps or blocky chroma cells are a defect.
Appendix
Table S10 : Criteria for the visual-quality reward.
Figure S2 : Representative photographic scenes in the Ref datasets.
Figure S3 : Ref-CPT examples with source images, rendered outcomes, editing configurations, and state-change captions.
Figure S4 : Ref-SFT examples with source and reference images, instructions, reasoning trajectories, parameter configurations, and rendered outcomes.
Figure S5 : Prompt template for verifying state-change caption validity and faithfulness.
Figure S6 : Prompt template for initial user-instruction generation.
Figure S7 : Prompt template for reference-grounded user-instruction refinement.
Figure S8 : Prompt template for reference-grounded local user-instruction refinement.
Figure S9 : Prompt template for content summarization in semantic retrieval.
Figure S10 : Prompt template for grading-style summarization in reference reranking.
Figure S11 : Prompt template for parameter-grounded state-change captioning.
Figure S12 : Prompt template for structured interpretation of grading intent.
Figure S13 : Prompt template for mapping grading intent to parameter decisions.
Figure S14 : Prompt template for integrating intent analysis and parameter decisions into a reasoning trajectory.
Figure S15 : Prompt template for the fourteen-criterion visual-quality reward.
Figure S16 : Prompt template for parameter-aware instruction-following reward evaluation.
Figure S17 : Prompt template for image-conditioned instruction generation during dynamic data derivation.
Figure S18 : Intermediate reasoning, predicted parameter configurations, and rendered outputs of JarvisAura.
Figure S19 : Prompt templates for SC and PQ evaluation on Ref-Bench.
Figure S20 : Additional qualitative comparisons on Ref-Bench.