• intensely_human@lemm.ee
    link
    fedilink
    arrow-up
    28
    ·
    4 months ago

    If there’s an algorithm for detecting deep fakes, there’s an algorithm for creating an AI capable of fooling that algorithm.

    • TranquilTurbulence
      link
      fedilink
      arrow-up
      5
      ·
      4 months ago

      And then someone will create a new AI capable of defeating the old one. It’s just AIs all the way.

      • intensely_human@lemm.ee
        link
        fedilink
        arrow-up
        4
        ·
        4 months ago

        And they’ll train that AI on the first AI’s detection performance. This process is called Generative Adversarial Neural Networks, or GANN. It works really well and allows AI to become superhuman by having superhuman obstacles to overcome.

    • elfpie@beehaw.org
      link
      fedilink
      arrow-up
      1
      ·
      4 months ago

      Does it really work like that? I would say that they are not trying to fool any test, just getting harder to be detected. The goal being looking completely realistic.

      • jarfil@beehaw.org
        link
        fedilink
        arrow-up
        3
        ·
        edit-2
        4 months ago

        This is one of the basic techniques to spot AI fakes:

        • Correct number of body features (limbs, fingers, eyes…)
        • Non-intersecting body features
        • Surface continuity (skin, clothes, walls…)
        • ➡️ Eye reflections
        • Consistent illumination of features
        • Consistent shadows
        • Consistent reflections of illumination and shadows

        The “test” they’re trying to fool, is kind of the Turing test: whether humans can tell them apart.

        • Sina@beehaw.org
          link
          fedilink
          arrow-up
          5
          ·
          edit-2
          4 months ago

          Consistent illumination and shadows is a rabbit hole we really don’t want to hop into.

          Outside of very obvious anomalies even a trained eye will have a hard time discerning what’s going on.

          • jarfil@beehaw.org
            link
            fedilink
            arrow-up
            2
            ·
            4 months ago

            Some are very easy to spot, like a shadow of a character, that’s missing a limb on the shadow, or has different placement or pose. Illumination or parallel surfaces where they vary in shadowing without a reason, is also a dead giveaway. But the mist damning evidence is having one scene, then a slightly different scene in a reflection.

            There are reasons for human authors to do any of these on purpose, but unless that purpose is part of the work, they’re most likely AI mistakes.

            Of course it’s kind of funny how there is already a large overlap between the best AI art, and the most senseless “modern art”.

        • barsoap@lemm.ee
          link
          fedilink
          arrow-up
          4
          ·
          4 months ago

          It’s quite easy to trick people with untrained eyes… for one, they have no idea what “consistent illumination” and stuff means. And something being off doesn’t mean that an AI made that mistake because humans make mistakes, too – photographs don’t, but the general problem is not just about telling realistic stuff apart but also illustrations. You’re looking specifically for mistakes that AI is likely to make, but humans are practically never going to make. And yes humans get hands wrong all the time.

          Here’s a good video about what to look for and what not.

          • jarfil@beehaw.org
            link
            fedilink
            arrow-up
            2
            ·
            4 months ago

            Yes, my comment applied more to photorealistic AI images.

            Illustrations are a different beast, where people have much more creative freedom… and that video is reasonably good at explaining that, but I find it falls short at some points:

            1. AI image generators don’t “consult” source images to generate an output. At training time, they extract patterns from the training set, which is never again used for generation, only the extracted patterns are.
            2. Modern AI generators are increasingly good at generating text. They still struggle a bit, but compared to a year ago, they can now generate headlines and large text correctly, while the mess gets shoved into smaller and less important text. This isn’t all that different from human artists adding “filler gibberish” text.
            3. Layers. While a naive (and cheaper) approach to AI generation doesn’t use layers, there are generators which do use layers, and can keep object consistency across obscured or cut-off sections.

            As AI generators advance, all these differences are likely to disappear… by following this same criticisms to fix things.

            • barsoap@lemm.ee
              link
              fedilink
              arrow-up
              1
              ·
              4 months ago

              AI image generators don’t “consult” source images to generate an output.

              Well, you have an artist breaking things down for an audience understanding neither the technical nor artistic aspect…

              Modern AI generators are increasingly good at generating text. They still struggle a bit

              I mean… SDXL still struggles a lot. The only thing you can get it to spell reliably is probably “Hooters”. There’s the one or other lora which makes it not suck completely but it’s still nowhere near actually good at generating text, the training just isn’t there. And even with that in place things like signatures are probably going to be gibberish.

              While a naive (and cheaper) approach to AI generation doesn’t use layers, there are generators which do use layers,

              Unless you start off training by feeding the model 3d data (say, voxels) alongside 2d projections I don’t think it’s ever going to develop a proper understanding of these kinds of things. Or, differently put: Learning object permanence (of sorts, related) is a meta-cognitive abstraction step that just won’t happen with the type of topologies we know how to engineer. It’s probably like 90% on the way towards AGI, so to get a simple topology to understand it we have to spoon-feed it permanence information alongside the (apparent) non-permanence.

              • jarfil@beehaw.org
                link
                fedilink
                arrow-up
                1
                ·
                4 months ago

                breaking things down for an audience understanding neither the technical nor artistic aspect…

                Not a reason to misrepresent things. Reminds me of the animistic fallacy, if they even understand what’s really going on themselves.

                As for text, I’ve seen the MS generator spit out decent text, at least in titles and logos, and some AI art with full legible sentences.

                Unless you start off training by feeding the model 3d data (say, voxels) alongside 2d projections

                Some time ago already, there was an SD fork with bounded box support, and a ChatGPT preprocessor prompt template to do the layout. Object permanence in this case is as simple as continuing with the lower layer once the upper one is finished, maintaining object continuity in the lower layer. It’s reasonable to expect this to go from bounded boxes, to freehand layers for each object. Since an LLM has been shown to be a good preprocessor to set the layout, some more integration between both, with object feedback from the SD to reduce the layer bounding box, would do wonders. Adding an opacity mask could be a bit harder, but sounds doable.

                I don’t see the need of much higher abstraction to address this issue. Rendering videos of translucent objects, might need it, though.

  • Match!!@pawb.social
    link
    fedilink
    English
    arrow-up
    19
    ·
    4 months ago

    this should work on its face because many machine learning algorithms optimize for low Gini coefficient, e.g. a decision tree classifier makes binary splits based off the greatest reduction in Gini; astronomers use something similar to compress the data sent back from space telescope cameras to a reasonable filesize, so if a picture of a face has weird Gini coefficients then it makes sense that it would’ve been AI generated

    • IHeartBadCode@kbin.run
      link
      fedilink
      arrow-up
      21
      ·
      4 months ago

      To quote the article.

      While the eye-reflection technique offers a potential path for detecting AI-generated images, the method might not work if AI models evolve to incorporate physically accurate eye reflections, perhaps applied as a subsequent step after image generation.

      I’m not discouraging AI detection, we will absolutely need it in the future, but we have to acknowledge that AI detection is a cat and mouse game.

  • AutoTL;DR@lemmings.worldB
    link
    fedilink
    English
    arrow-up
    7
    ·
    4 months ago

    🤖 I’m a bot that provides automatic summaries for articles:

    Click here to see the summary

    Researchers at the University of Hull recently unveiled a novel method for detecting AI-generated deepfake images by analyzing reflections in human eyes.

    Adejumoke Owolabi, an MSc student at the University of Hull, headed the research under the guidance of Dr. Kevin Pimbblet, professor of astrophysics.

    In some ways, the astronomy angle isn’t always necessary for this kind of deepfake detection because a quick glance at a pair of eyes in a photo can reveal reflection inconsistencies, which is something artists who paint portraits have to keep in mind.

    They used the Gini coefficient, typically employed to measure light distribution in galaxy images, to assess the uniformity of reflections across eye pixels.

    The approach also risks producing false positives, as even authentic photos can sometimes exhibit inconsistent eye reflections due to varied lighting conditions or post-processing techniques.

    But analyzing eye reflections may still be a useful tool in a larger deepfake detection toolset that also considers other factors such as hair texture, anatomy, skin details, and background consistency.


    Saved 70% of original text.