← All AI Engineer talks

AI Engineer World's Fair 2025

Perceptual Evaluations: Evals for Aesthetics — Diego Rodriguez, Krea.ai

About this talk

Krea cofounder Diego Rodriguez examines why generative-media evaluations often fail to capture human perception and aesthetic judgment. Drawing on information theory and perceptual compression in JPEG, MP3, and MP4, he shows how human sensory limits shape what is preserved or discarded. He then critiques FID and CLIP-style proxy metrics, highlighting clean-fid research showing that visually subtle JPEG artifacts can distort benchmark scores, and argues for evaluations that better learn subjective human preferences.

Chapters

  1. 0:00Introducing aesthetic and perceptual evaluations
  2. 2:14Information theory, JPEG, and perceptual compression
  3. 6:13Human sensory limits and misleading FID benchmarks
  4. 7:42Questioning convenient evaluation proxies
  5. 14:40Discussion and learning subjective image quality

Talk transcript

  1. 0:00

    [on hold music] Okay, so hello everyone.

  2. 0:16

    Uh, my name is Diego Rodriguez. Uh, I'm the co-founder of Krea, a startup in the AI space like many others, uh, in particular generative media, multimedia, multimodal, and all the, uh, buzzwords.

  3. 0:30

    But, uh, I, I come here mainly to tell a story about,

  4. 0:35

    hmm, how we think about evaluations when we have to take into account human perception and human opinion and aesthetics, uh, into the mix, right? So I'm gonna start with a very simple story, is like I put an AI-generated image of a hand, obviously it looks horrible.

  5. 0:56

    Uh, and then I ask o3, "What do you think of this image?" Then he thought for seventeen seconds, obviously tool calling, does Python analysis, OpenCV goes crazy. And then after he charges me a few cents, it's like, "Oh, just a couple of melting Johns are."

  6. 1:11

    It's like, it's mostly natural, but like... [chuckles] And it's like, okay, we have like what many people claim is basically AGI, and it is completely unable of answering a very simple question.

  7. 1:23

    And, and like th-does it... That's a surprising thing if you think about it because we as humans, uh, when people see that image, it's like we just react so naturally, right?

  8. 1:36

    Against that it's like, "Ugh, what is that?" Like, that, that, that's not natural. And, and I feel like that's precisely what AI models are being trained on. A, on human data, right?

  9. 1:45

    Uh, uh, second on human preference data. Uh, and, and third, like in a way limited by the data that we humans ba-ba-based on our preconceived notions and perception and all of that.

  10. 2:01

    So that's what this talk is about, about why, what, um, what can we do better, and honestly to ask ourselves some questions that I think are not being asked enough in the field.

  11. 2:14

    Um, cool. So a tiny, tiny bit of history. Uh, there's, uh... We all know about Claude, uh, Claude Shannon that is, the [chuckles] the father of information theory. Uh, and according to many, his master thesis is one of the most important master thesis in the world, where he laid foundations for digital circuits and then eventually communication and all...

  12. 2:39

    And, uh, to a degree, we can say that even LLMs, uh, nowadays, right? If we fast-forward. Um, and I wanna,

  13. 2:49

    I wanna focus on the infor-- a-all the, like the fact that we

  14. 2:56

    call his work foundational in information theory, while when he published it, it was actually called ma- like Mathematical Foundation for Communication Theory, and he was always focused on communication.

  15. 3:09

    Um, there's this image, uh, appears on that work, uh, and it's all about, okay, this is the source, this is the channel, this is destination, there can be some noise there.

  16. 3:21

    Um, and as a, well, as a founder of a company that is focusing on, on media,

  17. 3:29

    to me it's interesting to realize like these parallels between classic information theory and communication. Uh, let me see. Did I put the image? Let's see. Well, if you... I didn't put the image, but if you have any context around variational autoencoders or neural networks and whatever, you, you can squint and be like, "Oh, is that a neural

  18. 3:51

    network?" Right? Um, and in the context of information and communication, I wanna talk about how compression is going to be, uh, related to how we think about evaluation, right?

  19. 4:09

    And I'm gonna talk in, for an example, for, for example, on JPEG. Um, JPEG exploits

  20. 4:18

    like human nature in the sense that we are very sensitive to brightness, but not so much to color, and this is a i-illusion that also talks about that, where A and B is actually the same color, but we are basically unable to perceive it until we do this, and then suddenly it's like, "Oh, really?"

  21. 4:33

    Um, and it's kinda like, what's going on there, right? Um, and so JPEG just does the same thing where, okay, we have RGB color space to represent images with computers.

  22. 4:44

    Uh, we notice that there's a diagonal that represents the brightness of the images. We can change into a different color space, uh, that separates color versus brightness, and then we can downsample the channels around color because we are actually not even that sensitive to it, so we can remove that or parts of it.

  23. 5:04

    And then, uh, once we do that, this is, uh, an image where we can see the, uh, brightness and color components separated. Once we downsample, we can try to recreate the image, and this is an example of like basically original image and then the image with the downsampled color looks the same to us, uh, and the image

  24. 5:23

    is like fifty percent less information, right? Mm.

  25. 5:28

    And other stuff. There's Hussman-- uh, Huffman coding and more stuff, but like the point is the same, right? And then the thing is if you exploit the same for audio, like what can we hear?

  26. 5:42

    What can we not hear? Well, you, you do the same and we have MP3. And then if you do the exact same thing across time, well, congrats, now you have MP4.

  27. 5:50

    It's like it's all this principle of like let's exploit how we humans perceive the world, right? Um,

  28. 5:58

    but this made me think about myself because I studied audiovisual systems engineering, which is engineering around all of these microph- how microphones work, how speakers work. And it was just interesting to me that I was coding.

  29. 6:13

    I start deleting information. I know for a fact that I'm deleting information, yet-- And then I re-render the image, and I see the same. It's like, like philosophers always tell you about like, "Oh, we are limited by our senses," but like this is the first time that I was like, I'm seeing it, right?

  30. 6:28

    Like, I am not seeing the difference. Um,

  31. 6:33

    but then if all-- i- if, if a lot of our data is the Internet, right? Like we're stripping data from the Internet, bunch of those images are also compressed, right?

  32. 6:44

    Like, are we taking into account that perhaps our AIs are limited too because we're kinda like cont-- like

  33. 6:53

    we have some sort of contagion going on of our flaws into the AI? Um,

  34. 7:00

    and then it gets more tricky because, for instance, uh, this is a, just a screenshot I took from a paper. I think it's called clean-FID. And FID scores, for all of you who don't have context, is one of the standard metrics used for, uh, how well, for instance, diffusion models are, are reproducing an image.

  35. 7:20

    But then you start adding JPEG artifacts, and the score is like, "Oh, no, no, no. This is horrible. Horrible image." And it's like perceptually, the four images are basically the same, yet the FID score is like, "No, no, no.

  36. 7:31

    This is really bad." So then it's like, why are we using FID scores or metrics along those lines to deci- to decide how this generative AI model is good or bad, right?

  37. 7:42

    Um, so the thing is sometimes I feel like we are focused on measuring just things that are easy to measure, right? Like prompt adheren- adherence with CLIP. Hmm, how many objects are there?

  38. 7:55

    Uh, is this blue? Is this red? Et cetera.

  39. 7:59

    But what about here? Oh, it's like, oh, no. Really bad, really bad generator because that's not how clock looks and the sky, that makes no sense. And it's like, okay, how, h-

  40. 8:13

    not only are we limiting our AIs by our human perceptions, uh, on top of that, we forget about r- the relativity of metrics, right? Like, uh, no, actually this is art, and this is great.

  41. 8:29

    And, and, and, and there's sometimes meaning behind the work that is not-- Like, it is conveyed in the image, but only if you're human. You, you get it, right?

  42. 8:39

    Like, oh, this is what the author is trying to tell me. But I feel like the metrics don't show that. And kinda like

  43. 8:46

    commercially and professionally, my job is kinda like, okay, how can we make a company that

  44. 8:53

    allows creatives, artists of all sorts, uh, we can start with imagery, we can start with, with video, but to better express themselves. But how are we supposed to do that if this is kinda like the state of the art, right?

  45. 9:05

    Um, then a friend of mine, uh, Cheng Lu, actually he works at, at Midjourney. He was, uh-- He has, um,

  46. 9:18

    like he has great talks that you should all check, but he told me once, a little bit over a year ago, a quote that I just can't stop thinking about, which goes something like,

  47. 9:30

    "Hey, man, if you think about it, like predicting the car back when everything was horses, it's not that hard." I was like, "What?" Like, "Yeah, it's not that hard to, to like...

  48. 9:41

    Oh, cars are the future," and whatever. It's like we have s- we have a thing that goes like this. We have horses that make energy, so you swap the thing for the engine.

  49. 9:49

    That's essentially a car, right? It's like, come on, how hard is that? He's like, "You know what's hard to predict? Traffic." [laughs]

  50. 9:56

    Right? And, and then I just kept thinking about it. I was like, oh, man, like as engineers, as researchers, as founders, what are the traffics that we're missing now?

  51. 10:06

    'Cause I feel like everyone's focused on like, yeah, but you can, you can, I don't know, transform from JSON to YAML. I'm like, who cares? Like, dude, who cares? [laughs]

  52. 10:13

    Like, or, or yes, it's important, right? Like, but

  53. 10:19

    what kind of big picture are we all missing, right? Um, then he talks about, well, you know, the myth of the Tower of Babel, where i- i- i- in a nutshell, it's like

  54. 10:36

    God-- Like we, we wanna go and meet God, and then he's like, "No, I don't want that. So instead, I'm just gonna confuse all of you, and then you're not gonna be able to, uh, coordinate.

  55. 10:50

    Uh, and then you're all-- each one is gonna speak a different language, and then it's just g- basically gonna be impossible to keep the thing going." Which like reminds me of like standard infrastructure meetings w- with backend engineers.

  56. 11:03

    It's like, "No, we should use Kubernetes." "No, we should use..." And it's like it's just all fighting and whatever, and nothing get to be-- nothing gets built. And I'm like, "Dude, God is winning.

  57. 11:10

    Goddammit." Um, but then this makes me think about like

  58. 11:17

    we are now in-- We just entered the age where you can have

  59. 11:23

    models... Essentially, they solve translation, right? Or they solve it to a very high degree. So, so what happens now that we, that we can all speak our own languages, yet at the same time communicate with each other?

  60. 11:39

    I'm already doing it. For instance, I do sometimes customer support manually for Krea, and I literally speak Japanese with some of my users, and I don't speak Japanese. I learn a little bit, but I don't speak it.

  61. 11:51

    And, and, and like I'm now able to provide an excellent founder-led, whatever that means, uh, customer support level to a country that otherwise I would be unable to do, right?

  62. 12:04

    And- And so I invite us all to think about what that really means, um,

  63. 12:15

    because this for, for instance, means that we can now understand better or transmit our own opinion better to others. And

  64. 12:26

    on the previous point that I was talking about with the art,

  65. 12:30

    that's kinda like an opinion, right? Like, evals are not just about, are there four cats here? It's about this cat is blue, and it's like, yeah, but is it blue or is it teal?

  66. 12:41

    What kind of blue? And I don't like this blue, and all of that. Um, so

  67. 12:48

    like, in a nutshell, it's like how, how do we eval our evals, right? Like, from my opinion, like from my opinion, this is bad. Um, then I want metrics that take into account my op- my opinion too, and then it's like, okay, consider myself I may be a visual learner.

  68. 13:05

    What that means is, like, maybe your eval should take into account how we humans perceive images, right? So, and, and, and also the, the nature of the data, such as, oh, it's all trained on JPEG on the internet, so take into account the artifacts, take into account, uh, like all of these while,

  69. 13:30

    while training your data. Um, okay, I guess mandatory slide before the thank you. Uh, bunch of users, bunch of money. We did all of that with eight people, now we're 12.

  70. 13:41

    And this is an email that I set up today for high priority applications, uh, for every- anyone who wants to work on research around, uh, aesthetics research, uh, hyper-personalization, scaling generative AI models in real time for multimedia, image, video, audio, 3D, uh, across the globe.

  71. 13:59

    Uh, we have customers like those, and that's it. Thank you. Oh, here. [audience applauding]

  72. 14:09

    Q&A? Okay, perfect. Any questions? Uh... [speaking]

  73. 14:33

    Yeah, okay. There's many points there. Can you, like, reframe the question? Like...

  74. 14:40

    So we were working on a proof of concept. So by showing them, uh, uh, if it's, uh, if the bias is, like, less visual, what would it do to the

  75. 14:49

    Yeah. [speaking] Yeah. [speaking]

  76. 15:10

    Yeah. So, so the question, like, in a nutshell is, like, are there, uh, perceptually aware metrics, right? Like-

  77. 15:19

    Yeah.

  78. 15:19

    Like, okay, you... I showed an example of FID score. It changes a lot with JPEG artifacts. Are those where it's almost like the opposite, bare- barely changes, uh, and the metric is still good?

  79. 15:29

    Like, there are some, and many of these are used also in traditional, uh, encoding, uh, techniques. Um, but in a way, I'm here to invite us all to start thinking about those.

  80. 15:43

    Like, like to-- We can actually train.

  81. 15:52

    Right.

  82. 15:52

    Like, we can train, uh... I mean, it's, it's ca- it's called a classifier, right? Like, or, or, or, or a continuous classifier. We can train so that it understands what we mean, and it's like, "Hey, I show you these five images.

  83. 16:03

    These five images are actually all good." And then they can have all sorts of artifact, not just JPEG artifact. And this is exactly where machine learning excels, right? When it's all about opinions, and it's like, "Let me just know, and you will know," you know?

  84. 16:16

    You know what? You, you will know when you see it. That's precisely the type of question that AI is amazing at. [outro music]