Hacker News new | ask | show | jobs
by burnoutdv 26 days ago
this is not what I meant. If I take my pro-sumer camera, and take a pictures, photons from reality hit the sensor after passing through a few layers of hopefully high quality glass. So far a lot of messy physics is involved and then there is the bayer array business and math is used to torture those poor photons into pixels. But then. I got a RAW file, maybe 10bit depth, maybe 12, sometimes even 14, more than a jpeg.

Then I go and do things with exposure zones, define highlights, increase the lumina of certain ranges and so on. A lot functions that result in one final receipt. If I take the same receipt with the same raw I reasonable expect the exact same result. The resulting, although manipulated picture, is deterministic in a sense. As soon as an LLM gets involved it is not.

1 comments

> The resulting, although manipulated picture, is deterministic in a sense. As soon as an LLM gets involved it is not.

Monocular depth estimation algorithms are deterministic in the same sense: using the same recipe on the same input produces the same result.

This is the point where I cannot really be in the conversation anymore, I dont understand how the Mariegold Transformer works. Like, I dont know how repeatable it is. I cannot refute or confirm your words. The only thing I can do is nitpick, I am quite sure its not an algorithm as it is a diffusor model as far as I understand it
I feel like you are saying "deterministic", when what you really mean is "predictable". They're all algorithms, just a bunch of multiplies and adds on the image data really. But the algorithms you don't mind are the ones where you feel you have a good intuitive grasp of what they'll do. The ones that seem eerie and break your sense of indexicality are the ones where 1) you're not sure what it will do, and relatedly 2) seem to introduce a substantial amount of new information, perhaps drawn from some database of how images look generally.

To sum up: Marigold V2 is just as deterministic as Bayer demosaicing. But Marigold has about 20 billion magic numbers in it, thoroughly dwarfing the source image. It feels less like transforming the image with Marigold, and more like steering Marigold with the image. And who knows what's in that thing or how it works...

(note: I see the same confusion often in conversations about LLMs. People call them "nondeterministic", as if that were some new category of software. But, with temp 0, they're no less deterministic than any other pile of floating point math - and nobody complains that fluid simulations aren't deterministic. No, what they are is unpredictable.)

This was the core premise of your original comment!

I'm not sure how you define algorithms, but I have a feeling it's not a universal definition. I would argue that diffusion is an algorithm like HDR compensation. Both describe well defined and repeatable processes that can be broken down into low-level components with different potential implementations.

How does your HDR algorithm select a exposure curve for tone-mapping? How does it handle noise rejection? Does it apply any non-local corrections or smoothing? Does the existence of these questions mean that HDR is less of an algorithm? Where do we draw that line?