The great genAI moderation debate, vol. 1

The current moderation team stance appears to be not to split this thread because untangling which replies are on-topic and which ones are off-topic from this messy thread appears to be difficult. This may be discussed further, though, since there are good arguments in favor of splitting it as well…

Probably the easiest solution to this problem is for @bighill to create a new thread, and then perhaps we’ll need to rename this thread to mark it as the old one.

Alas, being moderator is hard sometimes with threads like these. This thread demands my time and attention now if possible, even if I have other things I would like to do. Oh well.

One parting thought: try to stay respectful in this thread. We likely will never all agree on AI. But we can at least try to give each other some things to think about :slight_smile:

Some poeple chose to use unethical, polluting, whatever-the-problem-is tools. Some other people are not willing to ignore that problem. The fact that it keeps happening does not solve the issue.

Why should Haiku, a project that has banned LLM contributions, provide a space for LLM users to discuss things in peace? If that’s what they want, they can create their own forum. But they chose to post here, so I assume this is not what they want.

Then maybe we shouldn’t allow it at all. If you want to keep things neutral, either you allow people to talk about their pro and anti-LLM opinons, or you allow neither.

8 Likes

For what it’s worth, I personally agree with this: I would be quite happy with a total ban on generative AI-derived material.

In the OS, the app repositories, the web site, this forum.

But we don’t currently have that, and I think it’s reasonable that as long as generative AI-derived projects are allowed on this forum that they get to have their project-specific threads left alone.

To make a somewhat flippant analogy: would we allow a native-code partisan to derail every thread on a QT port? :slight_smile:

2 Likes

Yes, me too. Even though I’m not too active I have seen other communities blow up because of AI based contributions where it’s more about attention-seeking than bringing in real competence. I see it like in the Zig community: they don’t just evaluate a contribution in isolation, they look at whether there’s actual competence behind it. They are interested in the people.

A post was merged into an existing topic: The ongoing genAI debate, vol. 1

Does it mean that discussing of LLVM, Mesa 3D or Meson will become prohibited (they contain LLM generated code)? Or only discussion of software that contain LLM generated code created by forum members will become prohibited?

I think it is impossible to fully close eyes on 3rd party software with LLM generated code unless Haiku team plans to make hard forks of all 3rd-party software used by Haiku that introduced LLM generated code to the moment before first LLM contribution.

See ethical-foss/open-slopware: Free/Open Source Software choosing to use and/or support LLM usage/AI, as well as alternatives and tips to requesting better policies or forking. - Codeberg.org . A lot of core Haiku dependencies are listed there.

4 Likes

Again, this is just my personal perference but yeah, I’d be OK with banning non-forking-related discussion of projects that have accepted LLM-generated code.

And also again, that is not this forum’s current policy. And likely never will be.

If possible, I’d appreciate it if we can keep this discussion limited to moderation in the current hybrid context rather than speculating about how it would work in unlikely and extreme cases.

2 Likes

Note that even FreeBSD and OpenBSD are started to use LLM generated code and reviews. Haiku contains quite a lot imported FreeBSD code (network drivers, malloc etc).

CC: @waddlesplash

1 Like

I’m aware, and I’ve been checking the commit logs before merging changes from them now.

3 Likes

Does that mean you will not merge anything that has LLM generated code upstream?

Our AI policy applies to any code in the Haiku tree directly, and the BSD network drivers are directly in the tree (and not in HaikuPorts), so yes, that’s correct.

1 Like

Considering that Haiku seems to rely pretty heavily on BSD sources for network drivers, do you really think this position is realistic or even tenable?

3 Likes

Last I looked, there weren’t any AI-assisted patches merged to the network drivers so far. There were some to NVMM, however, which I deliberately didn’t merge. If necessary we could re-create those ourselves.

It will definitely get harder over time. However, I think it’s premature to adopt LLM generated code into open source projects before we have seen a few related law suits giving it a legal and secure base. I prefer to be on the cautious side.

I would also assume that we won’t accept AI generated code, unless it’s only a couple of lines, from non-proven developers even later. You can easily create tons of code with AI, but there won’t be anyone reviewing these changes unless the contributor knows what he is doing, and has carefully reviewed the changes himself beforehand.

3 Likes

You can inevitably expect to see more and more as time goes by, and when that happens, the plan to “re-create those ourselves” does not seem to be realistic, does it?

3 Likes

No, there will be a point where this won’t be realistic anymore. Let’s hope the legal issues around LLMs will be cleared until then.

We could still move those drivers out of our repository, and just provide the recipes/diffs to build them via HaikuPorter if not, though, as it’s done with a lot of other software, too.

4 Likes

Now, that does sound like a more realistic plan. :slightly_smiling_face:

Samsung Electronics has integrated Anthropic’s Claude into its semiconductor design processes. Consequently, support for Haiku on all Samsung devices(including its memory products and smartphones) should likewise be banned.

Non-native English speakers often rely on translation tools for communication. Fostering an environment that dismisses them with comments like “learn English” risks creating an exclusionary or discriminatory culture within the community. Great.

8 Likes

AI has been in development for decades, and now that it more or less works and provides real value, it is here to stay. The Haiku community should learn to use it safely and effectively rather than ban it completely, which would be truly shortsighted and an emotional rather than rational decision.
I think AI-generated code could be used provided its publisher fully understands how it works, reviews it, and adapts it to meet Haiku’s code requirements. Obviously, blind copy-pasting would be a bad thing.
Of course, the question regarding the legality of AI-generated code remains open, but deep pockets will likely prevent any progress in this direction, and this issue will continue to be ignored by law enforcement agencies. On the other hand, if the political and economic situation changes (due to the AI bubble bursting), the tides could easily turn. So, all economic troubles could end up being blamed on those inflating the AI bubble.
(This statement was translated from Lithuanian using Gemini, and its translation accuracy was verified by me.)

6 Likes

I think the current policy is quite reasonable in that regard.

As Axeld mentionned, it bans LLM generated code in case there is a risk of copyright problems. This means large code changes that are likely to be too closely inspired by other open source (or even closed source, as we don’t know what the LLM models have been trained on) software without crediting it properly as required by the license.

Some of the developers (including myself) would prefer a more restrictive approach, however, the rule is the rule. So, the people who don’t want anything to do with this will have to:

  • Avoid reviewing LLM assisted changes (they can’t really block by giving a -2, since there isn’t a policy to do so)
  • Rewrite the code in a “manual” way

People who would want to include LLM assisted code in Haiku have to:

  • Make sure they do not accidentally or intentionally reuse code without crediting it (this seems pretty difficult to do in the current situation where the training for the models is too opaque)
  • Find someone in the Haiku team willing to review their changes (this also seems quite difficult given that the most active developers are not interested).

I think this is where things stand now. Once the legal issues are cleared, we can move on to the next problems. In my opinion (but this is just my opinion)

  • I think we should ban closed source and proprietary tools, and in general things that require a subscription. Software development should be available to everyone, and open source software should be built using open source software. But we should start this by fully moving off Github and a few other non-open things we’re using, and there is already opposition to that despite having many good alternatives.
  • Ecological concerns: LLM companies are building gigantic datacenters with the power usage on the scale of entire countries, powered by gas or coal, resulting in high CO2 emissions. I don’t think that’s a good use of our carbon budget (or whatever is left of it, if anything) and I think it is irresponsible and putting us on a track of several degrees of global warming. Will it change much about this wether Haiku uses LLMs for development or not? No, not really. This is more about making a statement that this energy is not spent in a useful way, but wasted, by showing that it’s possible to work perfectly fine without it.
  • Scrapping concerns: several LLM providers have been scrapping the entire internet, resulting in pretty bad consequences: higher server loads, but also closing off resources, using Anubis and other proof-of-work systems, setting up botnets in IoT devices such as smart TVs to contribute to their effort, etc. This results in yet another way to waste a massive amount of energy, both electrical, and also human energy of the sysadmins trying to counteract these things (including myself on my personal server). Like for the ecological concerns, Haiku banning such tools would not stop them, and would be more about making a statement. Moreover, this isn’t an inherent problem of LLMs, and it’s an option to only ban specific vendors known for such practices. Ideally, this would not be done at the Haiku level, but at the legal system level for massive DDoS of the entire internet, but it looks like the legal system is not reacting very quickly at the moment.
  • The deskilling issue: studies show that using LLMs result in a decline of cognitive capacities. I can solve this for myself by not using them, so that’s fine. Make yourself less smart if you want to, that’s not my problem and certainly not Haiku’s problem. I would rather not expose myself to it too much, however, and for this I appreciate that LLM generated posts are banned on the forum, and that LLM software is in a specific category so I know what I’m looking at. EU regulations do or will soon require mandatory tagging of LLM generated content, anyways.
  • Slop: LLMs make it easy to generate plausible looking and even apparently working code with consideraly less effort. But the result does not meet quality standards required for Haiku: there will be bugs in edge cases, defective error checking, bad architecture choices, etc. Such bad code would already not be merged under current rules, or would be reverted if a developper submitted it directly. So this is not a direct risk. However, the consequence is that the Haiku team can easily get drowned under a lot of change requests that are low quality, and end up using “LLM by proxy” when the reviewer ask the submitter to make some changes, and the submitter just repeats the question to their LLM. Much time will be wasted, and the main point of a code review, which is to get people to get better and submit a better patch next time, will be lost. The current ban on author rights currently already blocks this, but it may need to be revised (for example if the legal aspects are resolved by saying that all LLM output is in the public domain).

As for the “it’s inevitable” argument: several other projects are taking similar positions as Haiku or even stricter. I’d say the jury is still out. Some or most of the issues may be resolved, maybe eventually we will get LLMs that do not need to repeatedly scrap the entire internet, use a tiny fraction of the resources, a clarified copyright situation, etc. Then it’s always time to review and adjust the policies, which we will do as needed and as new cases emerge.

Finally, I’m surprised that no one has mentioned that WebKit does allow and use LLM generated code in their codebase. It is a pretty important component of Haiku, and I don’t think we have much options for replacing it currently. And I don’t think “let’s write our own” is a reasonable approach here.

9 Likes