Copy a look you love: a neural network predicts its Lightroom preset

You see an edit you love and want it on your own photos. A neural network predicts the Lightroom preset behind it, and you apply it like a filter. A before and after pair is enough. One photo is not, and you can see why.

Published
Reading time
Long read · 13 min

The short version

Hypothesis. A Lightroom preset is a small file of slider values. It holds no pixels, so the same preset works on any photo. If a neural network can read those values off an edited photo, you can copy any look you love.

Method. I made 23,088 Lightroom edits with a known preset. A network reads a photo before and after the edit and writes the preset, 93 values. Lightroom renders that preset, and a second step corrects it. I score each preset by ΔE00, the mean colour difference per pixel. About 1 is just visible.

Result. From a before and after pair, the preset lands 3.6 ΔE00 from the true look on a new photo. No edit is 9.4. From one edited photo alone it lands at 6.2. The photo itself hides most of the preset: a slider for a colour that is not in the photo leaves no trace in it.

Contents

Part 01

The idea

A look is a small file

You see a photo with an edit you love: muted colours, a matte finish, yellows drained to almost nothing. You want that look on your own photos. In Lightroom, a look like this is a preset: a small file of slider values and nothing else. It holds no image, so the same preset works on any photo.

My version of a preset has 93 values. The look I just described is a real one from my dataset, called Steel Hush. Pick it, then switch the photo.

A preset holds numbers, not pixels, so it works on any photo

Apply a look or move the sliders. Then switch the photo: the same numbers give it the same look.

1 · Choose a look

2 · Try it on a photo

Loading the photo.

3 · Move the sliders

Steel Hush.xmp

15 of 93 values moved

Steel Hush.xmp

Looks rendered in your browser by my open slider model, not by Lightroom. Steel Hush is a preset from the experiment, without its texture and grain.

The look follows you from photo to photo. Steel Hush moves fewer than 20 of the 93 values. So copying a look means finding a short list of numbers. That is the hypothesis: a neural network can read those numbers off the edited photo.

Try it yourself

A copy needs a score. I render the true preset and the guess on the same photo and compare them pixel by pixel. The measure is ΔE00, the CIEDE2000 colour difference (Sharma and others, 2005), averaged over the photo. About 1 is the smallest difference a person sees side by side. An unedited photo sits about 9 from a typical look in my test set.

Now a game. The left photo carries a hidden preset. Can you copy it by hand? Move the sliders until the right photo matches, and get the score under 2.

Game: can you copy this look by hand?

Move the sliders until your photo matches the target. Get the score under 2 to win.

🎮 Look 1 of 4Best – · 0 moves

Target

Your photo

–

Darker blue is further off.

This look moves 2 of the 6 sliders.

Copy the look on the left. Under 2 wins.

Looks rendered in your browser by my open slider model, not by Lightroom.

The first moves bring the number down fast. The last part is slow, because one slider pulls against another. The network meets the same problem.

The whole system in one loop

Here is everything this post builds, in one drawing. A photo goes in, before and after its edit. A neural network writes a preset. Lightroom renders it, and the render is compared with the look to copy. The difference is the loss, and it goes back as an update.

A network guesses, Lightroom answers, and the error goes back

The blue dot is one photo going round the loop.

the look to copyphoto pairbefore, afternetworkupdatepreset93 valuesLightroomthe environmentloss ?

A drawing. The two loss values come from one validation case, scored on Lightroom renders.

The loop runs in two places. In training, the loss changes the network’s weights. When I copy one look, it corrects the sliders of that one preset.

Part 02

One photo is not enough

A slider with nothing to act on

The dream input is a single edited photo, such as a picture you saved from Instagram. I started there, and it barely works. The preset scores 6.2 on a new photo, where no edit is 9.4 and the true preset is 0.75.

The cause is in the photo itself. Below, each dot is one pixel of a photo, placed in a cube by its red, green and blue values. An edit moves the dots. The slider is Blue saturation, one of the 93 values.

A slider with nothing to act on leaves no trace

Move the slider and switch the photo. Each dot is one pixel, and a blue line shows how far the edit moved it.

…Loading the photo.

The photo, edited

A restaurant interior in warm browns and orange light.

Its pixels in the RGB cube

The edit is rendered in your browser by a simple colour-mixer model of mine, not by Lightroom. A pixel counts as changed above 1 ΔE (CIE76).

On the first photo almost nothing moves, because the photo holds almost no blue. Switch the photo, and the same slider moves a whole cloud. A slider for a colour that is not in the photo leaves no trace in it. No network can read back what was never written.

A single photo also hides its own starting point. Is the sky pale because of the edit, or because the day was grey? With the photo before the edit, the network sees the change itself. That is worth about 2 ΔE00: 4.1 against 6.2. So the rest of the post works from a pair: one photo before and after the edit.

Many slider sets, one look

With pairs, the obvious training target is the slider values. That fails too. On one lake photo my network got 13 sliders wrong by 10 or more, and its render was still only 1.6 ΔE00 from the true one. Lightroom’s tone sliders overlap, so different mixes draw the same tone curve. Some moves also cancel each other.

A loss on slider values punishes right answers. Robotics has the same problem. Many sets of joint angles put a robot’s hand in the same place, so a controller is scored on where the hand ends up. Here the hand is the rendered photo. From this point on, I grade on pixels.

Part 03

The model

Edits with a known answer

Grading on pixels needs edits where the preset is known. So I made them. I collected 1,075 public presets, and an LLM wrote 500 more from short briefs, with names like Steel Hush and Magnetic Promise. Lightroom rendered 5,772 presets and variations of them on 11,000 public iPhone photos. That gave 23,088 renders, each with its before photo and its exact preset. The network is always scored on looks it has never seen.

Grade on pixels

The network reads the pair and writes the 93 values. I changed one thing at a time and scored every version in real Lightroom.

Most of the gain came from grading on pixels

Each step builds on the one above. Dark blue steps grade on rendered pixels.

  1. No edit

    The unedited photo against the true look.

  2. One edited photo

    An image encoder reads the edited photo.

  3. Before and after, read as pixel pairs

    A transformer reads 2,048 pixel pairs.

  4. Graded on rendered pixels

    A render loss, then a 100-step fit.

  5. Lightroom in the loop

    Two real renders, each with a correction.

576 held-out photos, 144 preset families. Scored on Lightroom renders. Thin lines are 95% intervals.

Two changes carry most of the gain. The first is what the network looks at. My first one used DINOv2, an image encoder trained to describe what a photo shows (Oquab and others, 2024). An edit is something else: a mapping from colour to colour. So the next network reads 2,048 pixel pairs, the same pixel before and after the edit. Each pair is one sample of that mapping.

The second is what the network is graded on. A render loss compares rendered pixels and ignores which sliders made them. It needs a renderer that gradients can flow through, and Lightroom is a closed program. So I wrote an open slider model: my own approximation of what each slider does. The hands-on figures in this post run on it. Every step that grades on pixels helped.

The last step asks Lightroom itself. It renders the network’s preset once. A correction step compares that real render with the target and moves the sliders. One such loop takes the score from 3.11 to 2.53, and a second one takes it to 2.36.

Under the hood · The pixel-set model and its loss · 2 min

Input. Both photos are resized to 256 pixels. The model samples 2,048 positions and takes the colour at each one, before and after the edit. Each pair becomes one token. A few more tokens carry band energies: how much detail the edit added or removed at each scale.

Model. A transformer with 4 layers and width 256 reads the set. The order of the tokens carries no meaning, as in a point-cloud model. A linear head writes the 93 values.

Loss. The slider loss compares the predicted values p^\hat p⁠ with the true values pp⁠. The render loss renders both on the before photo xx⁠ through the open slider model RR⁠, and compares the NN⁠ pixels in CIELAB:

L=Lsliders(p^,p)+λ 1N∑i=1NΔE76(R(x,p^)i,  R(x,p)i)L = L_\text{sliders}(\hat p, p) + \lambda \, \frac{1}{N} \sum_{i=1}^{N} \Delta E_{76}\big(R(x, \hat p)_i,\; R(x, p)_i\big)

ΔE76 is the plain distance in CIELAB, and the renders are 64 pixels wide. The score is ΔE00 in real Lightroom. I keep the two apart on purpose: a method should not train on its own metric. Weights λ of 1 and 2 worked equally well.

Fit. At test time, 100 steps of gradient descent tune the sliders. They reduce the same pixel distance, now between R(x,p^)R(x, \hat p)⁠ and the real edited photo.

A night of reinforcement learning

Could a network learn that correction step? For one night I made Lightroom a reinforcement-learning environment. The agent proposes a preset. Lightroom renders it. The reward is the colour error against the target, negated. The loop ran 16,234 renders in 12.7 hours with nobody watching.

The idea fits in a small picture. Below is a toy version that runs in your browser: two sliders in place of 93, and my open renderer in place of Lightroom.

Reinforcement learning in one picture: try nearby, keep what works

Each round the agent tries three presets near its own and moves toward the ones that score better than the group.

Round 1the agent's reward –0 renders

The look to copy

The agent's preset now

–

The hidden lookThe agentIts triesHigher reward

+100Saturation−100
−100Temperature+100
  1. Try 1–

  2. Try 2–

  3. Try 3–

The real night: one round was 64 photos with 9 renders each in Lightroom, about half an hour.

A toy version: it runs in your browser with my open slider model and two sliders. The real night used Lightroom, 93 values and a neural network.

In the toy it works within a few dozen renders, because there are two numbers to learn. The real night had 93 values and a network behind them, and reinforcement learning lost. A corrector trained by imitation (DAgger; Ross and others, 2011) beat my hand-written loop: 2.40 against 2.49. Training it further with GRPO (Shao and others, 2024) made it worse: 2.91. A few hundred real renders can tune a few numbers. They cannot train a network.

One failure is worth keeping. When the agent trained against my own renderer, its score there improved, and its score in Lightroom got worse. It had learned my renderer’s mistakes.

Part 04

The results

Five looks it never saw

Here are five validation photos. One side is the look I asked for. The other is my network’s preset. Lightroom rendered both. Drag the divider.

Five looks the model never saw

Pick a photo, then drag the divider. The look I asked for is on the left. My model's preset is on the right.

My model
The look I asked for

An office front with a warm golden grade.

My model
2.16 ΔE00
No edit
12.76

Rendered by Lightroom. Five held-out photos: office front, park, bus depot, château room, stone arch.

Across the 576 validation photos, the median score is 2.05. 472 of them (82%) are under 3.0, the target I set at the start.

A second photo costs about 1 ΔE00

Those scores are on the photo the network saw. A preset has to work on the next photo too. So I made each of 120 held-out presets from one photo and scored it on another.

A preset fits its own photo better than the next one

The light bar scores a preset on the photo the model read. The dark bar scores it on a new photo with the same look. Thin lines are 95% intervals.

Each score compares the result with the same photo under the true preset.

  1. No edit

    +0.37 on a new photo

  2. One edited photo

    +0.45 on a new photo

  3. Before and after

    +0.93 on a new photo

  4. Before and after, with Lightroom in the loop

    +1.21 on a new photo

  5. The true preset

    +0.03 on a new photo

120 held-out presets from 82 families, two photos each. Scored on Lightroom renders.

Every method that uses a pair loses about 1 ΔE00 on the new photo. With Lightroom in the loop, 2.39 becomes 3.61. The true preset loses 0.03. The network explains this photo’s change, and part of its explanation holds only for this photo.

It also fails in three known places. An edit to one colour, such as red bricks turned grey, is often missed. Commercial presets are harder: 4.35 on 32 before and after pairs from a preset store, against 2.39 on my own test presets. The worst of them darken only the sky with a mask, and global sliders cannot hold a mask. Black-and-white looks score worse than colour ones.

Part 05

Conclusions

What it means

A look can be copied into a preset when you have the photo before and after the edit. The result is readable: you can open the preset, see which sliders moved, and change them. From one edited photo the copy is rough, and more training will not fix that. The missing sliders were never in the photo.

What surprised me most is how little the slider values mean. Two presets can disagree on 13 sliders and make the same picture. Any method that predicts settings for a closed program meets this. Grade the output.

How many photos does a look need? Three edited photos already beat one: 5.41 against 6.14. Whether ten make the before photo unnecessary, I do not know yet. If you sell presets, or edit every photo with one look, write to me.

Limits

The test looks are public presets and presets that an LLM wrote. Commercial presets cost about 2 ΔE00 more. The method covers global edits only: no masks and no local adjustments. The photos are iPhone JPEG and HEIC files, and I did not test RAW files. The score measures colour and tone at 256 pixels, so it does not see grain or sharpness.

The loop steps and the second-photo scores are validation numbers. Only the network before the loop has a test score: 3.16, against 3.22 on validation.

Method and sources

Data. 1,575 presets: 1,075 public ones from 12 open repositories, and 500 written by an LLM from briefs. Lightroom rendered 5,772 presets and variations on 11,000 iPhone photos from Wikimedia Commons: 23,088 renders. Preset families are split whole. Validation has 576 scored photos from 144 families, and test has 604 from 151.

Training and scoring. One night on an A100 GPU: 8.95 hours and 18.02 US dollars. Lightroom on my Mac made the training renders. Adobe’s cloud renderer scored the predictions at 256 pixels. Intervals are 95% bootstrap intervals over preset families.

Rights. Every photo shown is in the public domain (CC0). The hands-on figures render with my open slider model. It approximates Lightroom, and its output is not Lightroom’s.

Code and data

The code, the data and the model are not public. The experiment learns from Lightroom’s output, so I wrote to Adobe to ask whether I may share this research. I am waiting for the answer.

References

  1. G. Sharma, W. Wu and E. N. Dalal, “The CIEDE2000 color-difference formula: implementation notes, supplementary test data, and mathematical observations”, Color Research & Application 30(1), 2005.
  2. M. Oquab and others, “DINOv2: learning robust visual features without supervision”, Transactions on Machine Learning Research, 2024. arXiv:2304.07193.
  3. S. Ross, G. Gordon and D. Bagnell, “A reduction of imitation learning and structured prediction to no-regret online learning”, Proc. AISTATS, 2011. arXiv:1011.0686.
  4. Z. Shao and others, “DeepSeekMath: pushing the limits of mathematical reasoning in open language models”, 2024. arXiv:2402.03300. It introduces GRPO.

Cite this post

@misc{hamolia2026preset,
  author = {Vladyslav Hamolia},
  title  = {Copy a look you love: a neural network predicts its Lightroom preset},
  year   = {2026},
  url    = {https://vhamolya.com/blog/copy-a-look/}
}

New posts by email

Each post here is one experiment. Leave your email, and I will write to you when the next one is out.

One email per new post. Nothing else.