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.

  • @MTK@lemmy.world
    link
    fedilink
    English
    11 month 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?

  • @jsomae@lemmy.ml
    link
    fedilink
    English
    4
    edit-2
    1 month ago

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

    • Unbecredible
      link
      fedilink
      English
      21 month 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.

    • @bimbimboy@lemm.ee
      link
      fedilink
      English
      292 months ago

      I’m cool with it. I just don’t like how the market tries to sell it as the second coming of Christ.

      • Pennomi
        link
        fedilink
        English
        192 months ago

        “Don’t believe that marketing department“ is one of those things everybody needs to learn at some point in their life.

        • @bimbimboy@lemm.ee
          link
          fedilink
          English
          52 months ago

          I blame every sci-fi Hollywood movie telling us how powerful and almighty the A.I is. How it’s going to be the magic pill that entirely destroys or saves humanity by itself.

          Now we have an entire generation believing this crap.

          • @ShinkanTrain@lemmy.ml
            link
            fedilink
            English
            5
            edit-2
            2 months ago

            You can blame Hollywood for a lot of things, including this, but sci-fi authors have been doing it for longer. That’s where Hollywood took those stories from in the first place.

          • Pennomi
            link
            fedilink
            English
            82 months ago

            I mean, it still could be. But LLMs are not that AGI we’re expecting.

            • @taladar@sh.itjust.works
              link
              fedilink
              English
              32 months ago

              The difficult question about AGI destroying humanity is deciding whether to be afraid of that option or to cheer it on and LLM enthusiasts are certainly among the people heavily pushing me towards the ‘cheer it on’ option.

      • @logicbomb@lemmy.world
        link
        fedilink
        English
        11
        edit-2
        2 months ago

        This is the same market that tried to add blockchain to everything when that first became well-known.

        Some of the biggest forces in the market are extraordinarily stupid people trying to ride every buzzword that comes along.

        • @bimbimboy@lemm.ee
          link
          fedilink
          English
          42 months ago

          Some of the biggest forces in the market are extraordinarily stupid people trying to ride every buzzword that comes along.

          I think the biggest forces sell the fantasy to smaller forces. This way they can capitalize on the smaller forces believing the hype.

    • Sculptus Poe
      link
      fedilink
      English
      532 months ago

      I wish they would tone down the crusade. This is some of the most interesting technology to come out in decades.

      • DominusOfMegadeus
        link
        fedilink
        English
        422 months ago

        It’s extremely useful for many things, if you know how to use it, and it’s annoying and useless for many others, which is what they fixate on and keep-jerk react to

        • @4am@lemm.ee
          link
          fedilink
          English
          302 months ago

          It’s annoying that every middle manager is trying to become the hero of their company by pushing it inappropriately into every single field at the expense of productivity and jobs, while simultaneously the largest most powerful companies are slinging their SaaS solutions built on stolen data which are destroying communities of both the physical and hobby varieties and consuming more natural resources than all the fucking crypto scams of the last like 10 years

          But yeah it’s neat I guess

          • @Initiateofthevoid@lemmy.dbzer0.com
            link
            fedilink
            English
            4
            edit-2
            2 months ago

            it’s annoying that […] the largest most powerful companies are […] built on stolen [wealth,] destroying communities […] and consuming more natural resources than [everyone else combined]

        • IndiBrony
          link
          fedilink
          English
          72 months ago

          My gf’s employer was going into administration last month. AI was surprisingly competent in determining where to seek advice and had a decent understanding of what to expect and how to approach things such as not getting paid on time (which happened last week).

          Of course, we double and triple checked any information given to us with the relevant bodies, but it provided a little relief to go into something so chilling not being completely clueless.

          AI has its use, but you have to know how to extract the information you need.

          It’s stupid the way people are using it for therapy. Like, by all means ask it if it knows any organisations which can help you, then look those up, but don’t tell it a load of personal information about your relationship, because the reply will be something akin to the advice you see on r/relationships (which is probably where it scraped its data from) 😅

          • @WanderingThoughts@europe.pub
            link
            fedilink
            English
            52 months ago

            Judges are warning lawyers there will be sanctions if they kept using LLM to do their research as documents with fake references keep appearing.

        • Sculptus Poe
          link
          fedilink
          English
          11 month ago

          Well, I do wish they would promote the actual use and limitations of AI and stop making up crap and overselling the use cases. I use ChatGPT at work all the time as a start for research, but if I took any of it as being reliable info to run with I would be in grave trouble. It is a great tool that has saved me much time because I know how far to trust it and how to use it. The progress is very impressive as I’ve been using AI art services for years, and the difference between the random blobs from back then and the great stuff it can generate now is pretty stark. Same thing with the LLMs. I’ve been using ChatGPT since it showed up and it has improved greatly since then. Before all this I talked to people who were using AI training on various picture recognition projects where getting data from other sensors was not practical. … Overall AI is pretty exciting, but the non-stop hype and hate headlines is doing nobody any favors.

    • El Barto
      link
      fedilink
      English
      462 months ago

      This is a “guns don’t kill people - people kill people” kind of scenario.

      As a standalone thing, LLMs are awesome.

      What sucks is greedy people using them for the wrong reasons.

      It’s like robots. Playing with robots are awesome. Firing 1,000 people and replacing them with robots - and not sharing the benefits with the community sucks.

      • @taladar@sh.itjust.works
        link
        fedilink
        English
        122 months ago

        As a standalone thing, LLMs are awesome.

        They really aren’t though and that is half the problem. Everyone pretends they are awesome when the results are unusable garbage 80% of the time which makes them unusable for 99% of practical applications.

        • El Barto
          link
          fedilink
          English
          11 month ago

          That’s why I said “as standalone things.” As a computing curiosity, they’re amazing. No language processing application like this existed 30 years ago when I was a kid. You could also see “talking computers” speaking naturally, pretending or not, on movies and TV shows.

        • Balder
          link
          fedilink
          English
          7
          edit-2
          2 months ago

          That’s a bit too dismissive. I’ve had a lot of interesting chats with LLMs that led me to find out what I didn’t understand about something. As an example I’m reading a book explaining some practices of Structured Concurrency in Swift and many times I asked ChatGPT is the author is correct about some phrasing that seemed wrong to me. And ChatGPT was able to explain why that was right in that context.

        • Tarquinn2049
          link
          fedilink
          English
          42 months ago

          They are essentially a fun toy for most people, and an ok tool for people with the patience and training to get useful output from them. And they cost an insane amount of money to train and an insane amount of power to run.

          Not to mention the other cost of training them, the human emotional cost. And the human cost of running them.

          It just costs so much of a variety of things, for an output that has barely made anything better. Maybe they might get “better” in the future, and have to get through this stage to get there, but I’ve also seen a lot of people saying they appear to be starting to plateau… maybe a temporary plateau, but if so, how temporary? Could we just drop it for 10 years and start back up when they won’t be as inefficient? Maybe a law that they have to pay for everything they feed it, would effectively cause them to only emerge at a time when they are actually feasible.

          • danzania
            link
            fedilink
            English
            21 month ago

            People who track performance (like METR, a nonprofit) indicate that progress is, if anything, speeding up. Most people’s use case is so simple they can’t detect the difference. However for cases like complex problem solving, agentic tasks, etc you can in fact see significant progress happening. This should be concerning if you think the world isn’t ready for labor displaced by LLMs.

        • @scrion@lemmy.world
          link
          fedilink
          English
          20
          edit-2
          2 months ago

          Those numbers are baseless exaggerations. There are plenty of tasks which they solve perfectly, today. It’s just that a bunch of dicks operate them, and the cost of operating them are way too high.

          Also:

          • environmental impact of AI
          • unethical acquisition of training data
          • dichotomy of how conservative politics treat AI company and private copyright law
          • “undress AI” and deepfakes

          It’s not that they’re not useful, that’s just nonsense.

          • @taladar@sh.itjust.works
            link
            fedilink
            English
            42 months ago

            There are plenty of tasks which they solve perfectly, today.

            Name a single task you would trust an LLM on solving for you that you feel confident would be correct without checking the output. Because that is my definition of perfectly and AI falls very, very far short of that.

            • @scrion@lemmy.world
              link
              fedilink
              English
              82 months ago

              Who says you can’t check their outputs? It’s much faster to e. g. read a generated text than to write everything yourself. Same applies to translations, they’ve been excellent for quite a while now.

              Business communication can be handled effortlessly by AI. Of course you read the result before you send it out, but that takes an order of a magnitude less time than formulating and typing all those meaningless sentences.

              And honestly, that’s a perfect use case for AI. I wouldn’t compose a love letter to my family using AI, but a pamphlet, feature description, sales pitch, any bullshit presentation deck? You bet AI excels at those.

              Same applies to content summaries that help augment search indices. Finding a large number of content candidates (e. g. videos) and have AI summarize the contents of said videos to narrow down the search is helpful and works today.

              I’m not looking for AGI. I’m looking for tools to make my life easier, but in an ethical manner that doesn’t advance the destruction of the planet at an exponential rate, just for some tech bro to jerk it and buy another yacht.

              • @DeathsEmbrace@lemmy.world
                link
                fedilink
                English
                22 months ago

                You can make a generic fill in the blanks for all of those like I do and just change the key terminology for each scenario. LLMs are competing with search and replace?

                • danzania
                  link
                  fedilink
                  English
                  21 month ago

                  I think this may be a skill issue on your part.

            • @yamper@lemmy.world
              link
              fedilink
              English
              32 months ago

              i used it when i traveled to japan to ask it for english->japanese translations. it gave back results for multiple contexts, politeness levels, and broke down each sentence into its parts. my native speaker friends validated a few responses.

              if youre going to be pedantic about “perfect” then nothing, not even a human, is going to live up.

              willful ignorance about the things ai can be good at today is not going to do any favors for your fight against ai in the future. know your enemy and all that.

    • @Sabin10@lemmy.world
      link
      fedilink
      English
      1402 months ago

      I dislike that people are relying on them to do all their thinking for them while also being incredibly interested in the tech behind them.

      • @L0rdMathias@sh.itjust.works
        link
        fedilink
        English
        652 months ago

        I recently realized it’s a non-issue. The people doing this have already been looking for decades to find new ways to rot their minds. LLMs are just the latest in a long line of tools that help them tune out.

        • @SparroHawc@lemmy.zip
          link
          fedilink
          English
          2
          edit-2
          1 month ago

          The problem is that before LLMs, they had to actually put forward some effort to produce content on the internet, which at least kept the amount of thoughtless content down somewhat. Now the barrier to entry is practically zero, all while thieving people’s hard work without compensation and burning ridiculous amounts of resources to do so.

          It is super interesting tech though.

        • Balder
          link
          fedilink
          English
          7
          edit-2
          2 months ago

          Not when companies force them on you as well.

          My current company forces me to use it and measures how many prompts I’m making as “productivity”.

            • Balder
              link
              fedilink
              English
              4
              edit-2
              2 months ago

              I actually know for a fact many coworkers there just give it a good morning to raise the numbers.

              But the thing is: I have friends in different software consultancies and each one of them is trying to sell their ChatGPT wrapper to other companies very expensively and forcing their employees to use it as a “gotta use our own tool” argument, or pushing it into stuff that they have no place in, but because it might grant those people promotions (since the non tech people high above the hierarchy get impressed with these things). It’s a shitty state of things.

          • DominusOfMegadeus
            link
            fedilink
            English
            22 months ago

            That sounds like a terrible company, NGL. I’m sorry there aren’t other options for you.

        • @Plebcouncilman@sh.itjust.works
          link
          fedilink
          English
          342 months ago

          I’ve said this a few times in a different way and I always get downvoted. The fact is that the people who will use the LLMs to think for them, were not gonna think a lot in the first place.

          • Dale
            link
            fedilink
            English
            152 months ago

            This is true, but we don’t need people putting glue on their pizza. These people used to have a person to ask now they’ll be asking Sam Altman

            • @Scubus@sh.itjust.works
              link
              fedilink
              English
              22 months ago

              No, we were juat eating tide pods. Dumb gonna do what dumb gonna do. The only real issue with llms is that their training data is stolen, and that theyre currently not that useful due to hallucinations and lacking logical reasoning.

            • @Plebcouncilman@sh.itjust.works
              link
              fedilink
              English
              8
              edit-2
              2 months ago

              Well I would make the argument that someone stupid enough to do such a thing kinda deserves whatever consequences their actions have. I find that people learn faster when actions have consequences instead of everything being babyproofed.

              • Dale
                link
                fedilink
                English
                12 months ago

                Strongly disagree. Survival of the fittest based eugenics is not acceptable. Stupid people don’t deserve to suffer.

              • @naught@sh.itjust.works
                link
                fedilink
                English
                32 months ago

                Sometimes things aren’t obvious unless you already have the knowledge. If an AI tool tells a young person cleaning their first apartment to combine household cleaners, are they stupid for doing so? Maybe. They may not have the experience to know. Stupid people deserve to live free from harm too, and we’re all a little stupid.

                There’s a balance to be struck.

              • Leon
                link
                fedilink
                English
                21 month ago

                The rest of us will be stuck with those consequences also. When idiots are at work, third party always suffers.

    • NostraDavid
      link
      fedilink
      English
      112 months ago

      I like LLMs. Instead of making a racket, I just use them, which may make it seem like everyone on Lemmy hates LLMs.

      • Crash
        link
        fedilink
        English
        12 months ago

        Being a teacher In academia is what makes me hate them tbh

    • @Zexks@lemmy.world
      link
      fedilink
      English
      62 months ago

      I love how everyone tries to jump on your comment after being called out and act like they don’t absolutely hate every stitch of it. But even in their excuses you can see the lies.

    • @AnAverageSnoot@lemmy.ca
      link
      fedilink
      English
      392 months ago

      I don’t dislike LLMs, I dislike people who treat them as anything more than an advanced search engine and stupidly give them all their confidential data. Seen it happen too much at work.

      • @ipkpjersi@lemmy.ml
        link
        fedilink
        English
        1
        edit-2
        1 month ago

        Yep. My work is very strict about security except for when it comes to LLMs, and then suddenly they’re surprisingly lax about it. It’s a bit concerning actually.

  • @LainTrain@lemmy.dbzer0.com
    link
    fedilink
    English
    702 months ago

    They taught it toxicity so it knows what they mean by “don’t be toxic”. It’s only a shame so few flesh and blood models take the same lesson away from it.

  • Ice
    link
    fedilink
    English
    282 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.

      • It’s a pretty simple concept. Train any kind of model on only “good” data, and it fails to distinguish between that data and bad data.

        Take image recognition. Feed it hundreds of images of an orange and ask it to find the orange. After training, it will be very good at finding that orange.

        Then add a picture of a Pomeranian dog in there, and watch as the model confidently marks it as an orange.

        The model should have been trained on lots of images that don’t feature what you want it to output as well, so it knows to distinguish that.

        • @CileTheSane@lemmy.ca
          link
          fedilink
          English
          72 months ago

          I’m reminded of an early model that was trained to find if tanks were hiding pictures of forests / jungles. Was doing great with the training data then was given new images and seemed to be guessing wildly.

          Turns out it in the training data all the pictures with tanks were taken on cloudy days.

      • Tarquinn2049
        link
        fedilink
        English
        3
        edit-2
        2 months ago

        There are a couple relatively safe places on 4 chan. But like 90% of the content makes for great “don’t do this if you want to get along with humans” training.

        And the goal of training an AI is that it does want to get along with humans.

      • Ice
        link
        fedilink
        English
        22 months ago

        This is obviously subjective depending on what you want to achieve with your llm, but “Bad” data in that it showcases the opposite of what is desirable output. Think bunk conspiracies, hostility, deception, racism, religious extremism etc.

    • danzania
      link
      fedilink
      English
      3
      edit-2
      1 month ago

      Yeah, it’s like me never having alcohol before and walking into a frat party as a freshman. Sometimes it’s better to come prepared.

  • @10001110101@lemm.ee
    link
    fedilink
    English
    1
    edit-2
    2 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.

  • @L0rdMathias@sh.itjust.works
    link
    fedilink
    English
    82 months ago

    Interesting training strategy. Makes a lot of sense intuitively. Worried this makes the model even more susceptible to prompt injections. Feels like this method adds more attack vectors? It’s unfortunate they didn’t attempt to test the long term hardness and stability, though it’s probably beyond their scope.

    • @technocrit@lemmy.dbzer0.com
      link
      fedilink
      English
      52 months ago

      Just because something makes sense intuitively to one person, that doesn’t mean it makes sense scientifically.

      They’re probably not testing anything further because they can’t even define their terms.

    • @Squizzy@lemmy.world
      link
      fedilink
      English
      41 month 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.

  • @markovs_gun@lemmy.world
    link
    fedilink
    English
    11 month ago

    This is not surprising if you’ve studied anything on machine learning or even just basic statistics. Consider if you are trying to find out the optimal amount of a thickener to add to a paint formulation to get it to flow the amount you want. If you add it at 5%, then 5.1%, then 5.2%, it will he hard to see how much of the difference between those batches is due to randomness or measurement uncertainty than if you see what it does at 0%, then 25% then 50%. This is a principle called Design of Experiments (DoE) in traditional statistics, and a similar effect happens when you are training machine learning models- datapoints far outside the norm increase the ability of the model to predict within the entire model space (there is some nuance here, because they can become over-represented if care isn’t taken). In this case, 4chan shows the edges of the English language and human psychology, like adding 0% or 50% of the paint additives rather than staying around 5%.

    At least that’s my theory. I haven’t read the paper but plan to read it tonight when I have time. At first glance I’m not surprised. When I’ve worked with industrial ML applications, processes that have a lot of problems produce better training data than well controlled processes, and I have read papers on this subject where people have improved performance of their models by introducing (controlled) randomness into their control setpoints to get more training data outside of the tight control regime.

  • @technocrit@lemmy.dbzer0.com
    link
    fedilink
    English
    4
    edit-2
    2 months ago

    Fresh “AI” pseudo-science for a monday morning.

    These grifters never even define “bad/toxic data”. It’s just 4chan ffs.

  • Endmaker
    link
    fedilink
    English
    7
    edit-2
    2 months ago

    It’s like how vaccinations protect us from illnesses.

  • 74 183.84
    link
    fedilink
    English
    181 month ago

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