I’ve been thinking lately about AI poisoning. I want to make this post a thread for suggestions about which tools we can use to fight back. Bear in mind that I’m only talking about poisoning tools, not blocklists or bot-detection utilities. Here’s a short list of what I have so far:

Website protection tarpits for text poisoning (fighting web scrapers):

  • Nepenthes was one of the first. In the words of its author, “I’m just fed up, and you know what? Let’s fight back, even if it’s not successful. Be indigestible. Grow spikes.” Nepenthes’s demo page is here.
  • Iocaine is the best tarpit I know of right now. It’s very well-designed and performant. Version 3.0x is complete, and the fourth version is a work in progress. It’s made by Gergely Nagy, who goes by the pseudonym “algernon”, after the character by the same name from Flowers for Algernon, by Daniel Keyes. Iocaine’s demo page is here.

Image poisoning tools:

    • ragas@lemmy.ml
      link
      fedilink
      arrow-up
      0
      ·
      27 days ago

      For pure data this is way harder.

      The trick here is that the website can react to crawling activity.

      • swab148@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        0
        ·
        27 days ago

        I see 😔 I saw a Benn Jordan video on the subject a couple of years ago, but it took forever and needed some special equipment that put it out of financial reach for me, at least. I was wondering if anyone knew about any progress on that front.

        • Bold Omi@lemmy.todayOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          19 days ago

          I’m not sure. That Benn Jordan video was good, though. Did Jordan make the source code publicly available? If so, you could look into it wherever it is hosted and see if anyone has said anything about it there.

    • Bold Omi@lemmy.todayOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      7 days ago

      I think I’ve done a few already. I tend to add a shitpost there from time to time, in a comment.

  • algernon@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    27 days ago

    FWIW, while iocaine does generate copious amounts of garbage, it is never going to poison LLM training data: it’s trivial to filter iocaine-generated garbage out pre-training. The garbage is there for two reasons:

    1. To serve the crawlers something.
    2. To poison the crawling queue.

    Not the models, the crawling queue. Place an identifiable substring into every generated URL, and you can catch any crawler that works off of a queue collected by cheaper crawlers.

    It’s not really a poisoning tool - it originally started with that goal, but that goal has changed a loooong time ago -, it’s more bot detection & mitigation nowadays, the garbage is just one of the tools it achieves this goal with.

    But while I’m here, I’d like to mention Alun Jones’ fakejpeg (or my rust port): a library that can help you generate structurally legit-ish JPEGs, files that most decoders will happily display, but with entirely random content. Generating them is very cheap. How effective it is in poisoning? I don’t know. But I find great delight in looking at the random noise.

    Hello Lemmy

    • Bold Omi@lemmy.todayOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      23 days ago

      Oh hey, Algernon!

      I didn’t expect to gather the attention of one of the people I mentioned in the post. Thanks for this; it’s quite informative. Iocaine is really impressive, and I follow your work quite closely. I’ve been reading your blog for a year and a half now.

      So, I have a few questions, if you have the time to answer them:

      • I noticed you started another rewrite of Iocaine for version 4.x. May I ask about plans for version four compared to version three?
      • How well does Iocaine integrate with OpenRC? I don’t use SystemD much, as I tend to run Artix.

      P.S. Algernon is a really cool pseudonym; Flowers for Algernon is a fantastic novel (and short story). It’s one of my favorites, along with some Kurt Vonnegut Jr. books. I’m fond of Player Piano, if you’ve read it.

    • Bold Omi@lemmy.todayOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      27 days ago

      As interesting as it is, it has a few problems.

      LLM use in the project

      LLMS, as we all know, have a vast number of problems. That’s why we’re in this community.

      The biggest issue with Fauxx is that it uses LLMs for documentation, issues, and in “assistance” writing code and fixing bugs. Any programmer who outsources all or part of their thought or work to a slop bot is not exactly smiled upon in my view or here on !fuck_ai@lemmy.world. See the project’s gen-AI use disclosure.

      I believe that these two statements in that disclosure are mutually exclusive:

      • No, this project was not vibecoded.

      • I also use it [generative AI] for assistance in writing code or chasing down bugs.

      Hosting on GitHub

      The second most notable issue to me is that it is hosted on GitHub, which is less than ideal. One of the reasons it is not ideal is because all of its source code has, by virtue of its hosting on GitHub, been scraped by Micro$lop Copilot. That said, the hosting situation is not disqualifying.

      • SillyDude@lemmy.zip
        link
        fedilink
        arrow-up
        0
        ·
        27 days ago

        If this is the level of your moral purity tests, I would suggest you just stop using the internet at this point.

        • Bold Omi@lemmy.todayOP
          link
          fedilink
          arrow-up
          2
          ·
          edit-2
          4 days ago

          A zero generative AI tolerance is not unreasonable.

          I still use tools with genAI-translated issues, but that’s about as far as I’ll go, excepting the kernel.

          As for the GitHub hosting, that’s just a critique, not a disqualification. Much of the software I use is hosted there.

    • Bold Omi@lemmy.todayOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      27 days ago

      LightShed isn’t perfect, though, and introduces its own AI bias to images, basically creating AI incest. Plus, it takes them time to run it. Poisoning is still a good idea. Although, yes, LightShed is a problem.