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.

  • Grimy@lemmy.world
    link
    fedilink
    English
    arrow-up
    17
    ·
    3 months 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
        1
        ·
        3 months ago

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

  • Ice@lemmy.world
    link
    fedilink
    English
    arrow-up
    11
    ·
    3 months ago

    Interesting - I can sort of intuit why it might help. Feeding the model bad data and instructing training it to identify it as such would be advantageous compared to being entirely unaware of it.

  • 74 183.84@lemm.ee
    link
    fedilink
    English
    arrow-up
    11
    ·
    3 months ago

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

  • Mr_Dr_Oink@lemmy.world
    link
    fedilink
    English
    arrow-up
    10
    ·
    3 months 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
      cake
      link
      fedilink
      English
      arrow-up
      2
      ·
      3 months 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.

  • Pnut@lemm.ee
    link
    fedilink
    English
    arrow-up
    4
    ·
    3 months 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.

  • Naevermix@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    3 months 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.

    • PushButton@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      3 months 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
    4
    ·
    3 months 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.

  • 10001110101@lemm.ee
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    3 months ago

    Kinda weird GPT4-Chan wasn’t referenced. A guy fine-tuned GPT-J on 4chan, then deployed bots to write posts. I guess it was more of a stunt than academic or scientific, but training on 4chan improved the model’s performance on a truthfulness benchmark.

  • MTK@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 months 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?