In large language model (LLM) pretraining, data quality is believed to determine model quality. In this paper, we re-examine the notion of “quality” from the perspective of pre- and post-training co-design. Specifically, we explore the possibility that pre-training on more toxic data can lead to better control in post-training, ultimately decreasing a model’s output toxicity. First, we use a toy experiment to study how data composition affects the geometry of features in the representation space. Next, through controlled experiments with Olmo-1B models trained on varying ratios of clean and toxic data, we find that the concept of toxicity enjoys a less entangled linear representation as the proportion of toxic data increases. Furthermore, we show that although toxic data increases the generational toxicity of the base model, it also makes the toxicity easier to remove. Evaluations on Toxigen and Real Toxicity Prompts demonstrate that models trained on toxic data achieve a better trade-off between reducing generational toxicity and preserving general capabilities when detoxifying techniques such as inference-time intervention (ITI) are applied. Our findings suggest that, with post-training taken into account, bad data may lead to good models.

  • jsomae@lemmy.ml
    link
    fedilink
    English
    arrow-up
    24
    ·
    edit-2
    6 days ago

    Headlines should not say “scientists,” they should name the institution. (Harvard in this case.)

    • Unbecredible@lemm.ee
      link
      fedilink
      English
      arrow-up
      10
      arrow-down
      3
      ·
      6 days ago

      Headlines should not say “Harvard”, they should name the researchers. (Rachel Greene in this case.)

      I don’t know why I had to write this.

      • jsomae@lemmy.ml
        link
        fedilink
        English
        arrow-up
        11
        ·
        edit-2
        6 days ago

        Who’s Rachel Greene? But we all know Harvard and have an idea of their respectability. Name of the researcher if not well-known should be in the body instead.

  • Mr_Dr_Oink@lemmy.world
    link
    fedilink
    English
    arrow-up
    20
    ·
    6 days ago

    So is it saying essentially that in order to not output garbage, it needs to know first what garbage is?

    Is it just me that things this seems like a no-brainer?

    It almosr draws parallels to many societal issues. Knowledge is power.

    People tend towards intolerance and hatred when they dont understand the thing they are angry at. The more they know the better they behave.

    • halowpeano@lemmy.world
      link
      fedilink
      English
      arrow-up
      9
      ·
      6 days ago

      No it’s more of a technical discussion. Many people might believe that in order to avoid toxicity, you just train a model on “good” non-toxic data and then apply toxicity removal techniques to address emergent toxicity that the model might spit out. This paper is saying they found it more effective to train the model on a small percentage of “bad” toxic data on purpose, then apply those same toxicity removal techniques. For some reason, that actually generated less total toxicity. It’s an interesting result. A wild guess on my part, but I’m thinking training the model with toxic content “sharpened” the toxicity when it was generated, making it easier for those removal tools to identify it.

      • MangoCats@feddit.it
        link
        fedilink
        English
        arrow-up
        3
        ·
        6 days ago

        Toxicity is everywhere, you can’t recognize that “Drill baby drill” has sexual connotations if you’ve never been exposed to sexual double entendre like that before.

    • MangoCats@feddit.it
      link
      fedilink
      English
      arrow-up
      7
      arrow-down
      1
      ·
      6 days ago

      Is it just me that things this seems like a no-brainer?

      Yes, and no. When raising our children, my wife prefers the “ban the bad stuff” approach. I don’t encourage exposure to bad stuff, but when my kid wants to buy and watch a raunchy movie, instead of yelling “NO!” and making him put it back, I let him buy it and we watch it, together, pausing to explain the unrealistic and awful parts and explain how imitating these things in real life can cause problems for you.

  • Grimy@lemmy.world
    link
    fedilink
    English
    arrow-up
    35
    ·
    7 days ago

    Those are actually some very good results. Funny situation, if the copyright companies win the AI legislative war, 4chan is going to get twice as much as reddit did for the data at the minimum.

    It’s also interesting the model gets worse faster if it has to untrain the toxic data so to speak.

      • Grimy@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        6 days ago

        Yup. Sucks for everyone having fun jailbreaking them. It is going to get much harder.

  • 74 183.84@lemm.ee
    link
    fedilink
    English
    arrow-up
    20
    ·
    6 days ago

    Give the AI model the gift of culture and class. No suprise it behaves better

  • Naevermix@lemmy.world
    link
    fedilink
    English
    arrow-up
    12
    arrow-down
    2
    ·
    edit-2
    6 days ago

    I envision a Gemini powered bot that cracks captcha and posts “woke” replies on 4chan. If you’re an antivaxxer, antisemite, nazi, racist, sionist, or otherwise, it will debate you. It will not get tired. It will not get mad. It will maintain a sense of decorum indefinitely and it will never ever stop. If some far right extremist decides to do the same, it will have the advantage that academia is left leaning, meaning the model can cite widely recognized studies.

    Dead internet theory and so on, but I’ll gladly completely and utterly destroy the internet if it means the filth dies with it.

        • MangoCats@feddit.it
          link
          fedilink
          English
          arrow-up
          2
          ·
          6 days ago

          And it rarely works in scientific fields right away - usually an established wrong idea needs to be overwhelmed with serious proof before scientists start to consider that what they “know” might be wrong.

    • PushButton@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      6 days ago

      it will have the advantage that academia is left leaning, meaning the model can cite widely recognized studies.

      I was looking for the person saying a particular quote yesterday.

      I asked 3 times the same question and I got 3 different people.

      The funny part us I had the quote wrong.

      Bullshit all the way down.

  • ᕙ(⇀‸↼‶)ᕗ@lemm.ee
    link
    fedilink
    English
    arrow-up
    11
    arrow-down
    2
    ·
    6 days ago

    because 4chan users write original content. that is fed into the next best stupid platform and so on until it ends on tiktok or whatever.

    if you have nothing to say you use meta/tiktok. no relevabt content has ever been there first. copies and derivates, yes…

    so soonish AI will flood 4chan so ai scrapers get polluted aswell…and then it is dead.

    • SparroHawc@lemmy.zip
      link
      fedilink
      English
      arrow-up
      5
      ·
      6 days ago

      It has nothing to do with that, and much more to do with people on 4chan being willing to call each other out. Without toxic behavior you can’t have examples on how to deal with toxic behavior.

    • Squizzy@lemmy.world
      cake
      link
      fedilink
      English
      arrow-up
      4
      ·
      6 days ago

      It is truly a bizzare world, I went there first to be edgy as an early teen and seeing boobs is fun, then I saw a dude live post his murder of a woman he liked while everyone called her names.

      It makes a great case for moderation if not banning the internet.

  • katy ✨@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    9
    arrow-down
    2
    ·
    6 days ago

    can we stop referring to llm’s as if they’re capable of thought? they don’t make decisions; their programming just responds to patterns.

    • MangoCats@feddit.it
      link
      fedilink
      English
      arrow-up
      4
      ·
      6 days ago

      Do you make decisions, or are you just 1300 grams of synapses responding to stimuli?

  • MTK@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    6 days ago

    Makes sense if you look at abliterated models. Once abliterated and retrained they seem to improve. Imo we are adding too much human bias by trying to guide the LLM. Censored models are good and need to be used in some situations, but shouldn’t the base be just data and only then finetune to desired output?

  • Pnut@lemm.ee
    link
    fedilink
    English
    arrow-up
    8
    ·
    7 days ago

    My hope was that AI would, at least, bear some disgust for the worst of humanity. My new fear is that AI will bear disgust for humanity.