News for hackers. Stuff that matters.
Re:OSI readies controversial open-source AI definition by didibus on Friday October 25, 2024 @08:51PM (#41951587)
> Maybe the supporter of the definition could demonstrate practically modifying a ML model without using the original training data, and show that it is just as easy as with the original data and it does not limit what you can do with it (e.g. demonstrate it can unlearn any parts of the original data as if they were not used).

I quite like that comment that was left on the article. I know some models you can tweak the weights, without the source data, but it does seem like you are more restricted without the actual dataset.

Personally, the data seems to be part of the source to me, in this case. I mean, the code is derived from the data itself, the weights are the artifact of training. If anything, they should provide the data, the training methodology, the model architecture, the code to train and infer, and the weights could be optional. I mean, the weights basically are equivalent to a built artifact, like the compiled software.

And that means commercially, people would pay for the cost of training. I might not have the resources to "compile" it myself, aka, run the training, so maybe I pay a subscription to a service that did.

Re:OSI readies controversial open-source AI definition by lolinder on Friday October 25, 2024 @10:12PM (#41951945)
A lot of people get hung up on `weights = compiled-artifact` because both are binary representations, but there are major limitations to this comparison.

When we're dealing with source code, the cost of getting from source -> binary is minimal. The entire Linux kernel builds in two hours on one modest machine. Since it's cheap to compile and the source code is itself legible, the source code is the preferred form for making modifications.

This doesn't work when we try to apply the same reasoning to `training data -> weights`. "Compilation" in this world costs hundreds of millions of dollars per compilation run. Cost of "compilation" alone means that the preferred form for making modifications can't possibly be the training data, even for the company that built the thing in the first place. As for the data itself, it's a far cry from source code—we're talking tens of terrabytes of data at a minimum, which is likewise infeasible to work with on a regular basis. The weights must be the preferred form for making modifications for simple logistics reasons.

Importantly, the weights are the preferred form for modifications even for the companies that built them.

I think a far more reasonable analogy, to the extent that any are reasonable, is that the training data is all the stuff that the developers of the FOSS software ever learned, and the thousands of computer-hours spent on training are the thousands of man-hours spent coding. The entire point of FOSS is for a few experts to do all that work once and then we all can share and modify the output of those years of work and millions of dollars invested as we see fit, without having to waste all that time and money doing it over again.

We don't expect the authors of the Linux kernel to document their every waking thought so we could recreate the process they used to produce the kernel code... we just thank them for the kernel code and contribute to it as best we can.

Re:OSI readies controversial open-source AI definition by kvemkon on Friday October 25, 2024 @11:44PM (#41952357)
> The entire Linux kernel builds in two hours on one modest machine.

I think it is better to compare with something really big and fast evolving, e.g. Chromium. It will take a day to compile it. (~80000 seconds vs. ~8 seconds for a convenient/old Pascal program.)

Re:OSI readies controversial open-source AI definition by lolinder on Friday October 25, 2024 @11:59PM (#41952432)
Even if we take Chromium, compiling it is still within the logistical capabilities of any individual with a modest computer, and it's still more reasonable to spend a day waiting for the compilation then to try to modify the binary directly.

The same cannot be said for LLM weights, as evidenced by the fact that even the enormous megacorps that put these things out tend to follow up by fine tuning the weights (using different training data) rather than retraining from scratch.

Re:OSI readies controversial open-source AI definition by kvemkon on Saturday October 26, 2024 @12:04AM (#41952453)
I'd continue to compare it with how free software appeared. It was barely feasible back then (end of 60th - begin of 70th) to work on software at home on a PC, since there was no PC. Still the software could already be open/free and exchanged between big enough players with big computers. Only later the things changed. But even now there is free software which is nightmare to program on a usual single PC.

Thus it is either to early to define "open" for AI. Or "open" must be truly open. Though it remains not practically achievable at home or even at small companies.

Re:OSI readies controversial open-source AI definition by smolder on Friday October 25, 2024 @11:01PM (#41952175)
If you can't bootstrap a set of weights from public material, the weights aren't open source.

Trying to draw an equivalency between code and weights is ridiculous, because the weights are not written in the same way as source code. They are built from the source material supplied to an algorithm. Weights are data, not code.

Re:OSI readies controversial open-source AI definition by lolinder on Friday October 25, 2024 @11:17PM (#41952237)
> Trying to draw an equivalency between code and weights is ridiculous, because the weights are not written in the same way as source code.

By the same logic, the comparison between a compiled artifact and weights fails because the weights are not "compiled" in any meaningful sense. Analogies will always fail, which is why "preferred form for making modifications" is the rod we use, not vague attempts at drawing analogies between completely different development processes.

> They are built from the source material supplied to an algorithm. Weights are data, not code.

As Lispers know well, code is data and data is code. You can't draw a line in the sand and definitively say that on this side of the line is just code and on that side is just data.

In terms of how they behave, weights function as code that is executed by an interpreter that we call an inference engine.

Re:OSI readies controversial open-source AI definition by dietr1ch on Saturday October 26, 2024 @12:17AM (#41952516)
> > Trying to draw an equivalency between code and weights is ridiculous, because the weights are not written in the same way as source code.

> By the same logic, the comparison between a compiled artifact and weights fails because the weights are not "compiled" in any meaningful sense.

To me the weights map to assembly and the training data+models map to source code+compilers. Sure, you can hand me assembly, and with the assembly I may be able to execute the model/program, but having it does not mean that I can stare at it and learn nor modify it with a reasonable understanding of what's going to change.

I got to add that the situation feels even worse than assembly, because assembly, hand-coded or mutilated by an optimizing compiler still does something very specific and deterministic, but the weights on the model makes things equivalent to programming without booleans, but seemingly random numbers and checking for inequalities to get a binary decision.

Re:OSI readies controversial open-source AI definition by lolinder on Saturday October 26, 2024 @12:23AM (#41952536)
This is the analogy that people keep saying, but as I observed above, the key difference is that the company that produces a binary executable doesn't prefer to work with that binary: they work with the source code and re-compile after changing it.

In contrast, the weights are the preferred form for modification, even for the company that built it. They only very rarely start a brand new training run from scratch, and when they do so it's not to modify the existing work, it's to make a brand new work that builds on what they learned from the previous model.

If the company makes the form of the work that they themselves use as the primary artifact freely available, I'm not sure why we wouldn't call the work open.

Re:OSI readies controversial open-source AI definition by Nevermark on Saturday October 26, 2024 @01:42AM (#41952803)
> In contrast, the weights are the preferred form for modification, even for the company that built it.

Preferred is obviously not a particularly strong line.

If someone ships object code for a bunch of stable modules, and only provides the source for code that’s expected to be where changed, is that really open?

“Preferred” gets messy quick. Not sure how that can be defined in any consistent way. Models are going to get more & more complex. Training with competitive models, etc.

I think you either have it all, or it isn’t really open. Or only some demarked subset is.

Re:OSI readies controversial open-source AI definition by smolder on Saturday October 26, 2024 @01:28AM (#41952760)
Is a .rom file open source because you can pipe it into an emulator and generate new machine code for a different platform?

I don't think your argument holds any water.

Re:OSI readies controversial open-source AI definition by lolinder on Saturday October 26, 2024 @01:30AM (#41952765)
Is a .rom file the preferred form for modifying the work?
Re:OSI readies controversial open-source AI definition by smolder on Saturday October 26, 2024 @01:41AM (#41952797)
To get it to run on different platforms and gain new features like super-resolution and so on, yes. Rom files are the preferred form for modifying old games. No one bothers digging up old source code and assets to reconstruct things when they can use an emulator to essentially spit out a derivative binary with new capability. See every re-release of a 16 bit era or earlier game.

Now that I've beat my head against this issue for a while, I think it's best summed up as: weights are a binary artifact, not source of any kind.

Re:OSI readies controversial open-source AI definition by lolinder on Saturday October 26, 2024 @01:44AM (#41952816)
If what you say is true—if the ROM is the preferred form for making modifications (even for the original company that produced it) and the ROM is released under a FOSS license—then sure, I have no problem calling it open source.
Re:OSI readies controversial open-source AI definition by grandma_tea on Saturday October 26, 2024 @09:41AM (#41954675)
Preferred by who? It sounds like these people have a strong say in what constitutes open source.
Re:OSI readies controversial open-source AI definition by lolinder on Saturday October 26, 2024 @10:32AM (#41954961)
Preferred by anyone who's actually using and modifying the work.

No one trains an existing model from scratch, even those who have access to all of the data to do so. There's just no compelling reason to retrain a model to make a change when you have the weights already—fine tuning is preferred by everyone.

The only people I've seen who've asserted otherwise are random commenters on the internet who don't really understand the tech.

Re:OSI readies controversial open-source AI definition by grandma_tea on Saturday October 26, 2024 @11:54AM (#41955535)
> Preferred by anyone who's actually using and modifying the work.

> ...fine tuning is preferred by everyone

How do you know this? Did you take a survey? When? What if preferences change or there is no consensus?

> The only people I've seen who've asserted otherwise are random commenters on the internet who don't really understand the tech.

There are lots of things that can be done with the training set that don't involve retraining the entire model from scratch. As a random example, I could perform a statistical analysis over a portion of the training set and find a series of vectors in token-space that could be used to steer the model. Something like this can be done without access to the training data, but does it work better? We don't know because it hasn't been tried yet.

But none of that really matters, because what we're discussing is the philosophy of open source. I think it's a really bad take to say that something is open source because it's in a "preferred" format.

Re:OSI readies controversial open-source AI definition by lolinder on Saturday October 26, 2024 @12:08PM (#41955641)
> I think it's a really bad take to say that something is open source because it's in a "preferred" format.

Preferred form and under a free license. Llama isn't open source, but that's because the license has restrictions.

As for if it's a bad take that the preferred form matters—take it up with the GPL, I'm just using their definition:

> The “source code” for a work means the preferred form of the work for making modifications to it.

Re:OSI readies controversial open-source AI definition by fsflover on Tuesday October 29, 2024 @04:27AM (#41980883)
Today, the weights may be the preferable format indeed, due to the cost. Are you going to change the definition tomorrow, when the cost drops?
Re:OSI readies controversial open-source AI definition by lolinder on Tuesday October 29, 2024 @10:10PM (#41991295)
Sure, why not?
Re:OSI readies controversial open-source AI definition by fsflover on Friday November 01, 2024 @05:29AM (#42015280)
A good definition should not depend on transient state of affairs.
Re:OSI readies controversial open-source AI definition by smolder on Saturday October 26, 2024 @01:14AM (#41952708)
I'm perfectly willing to draw a line in the sand instead of letting people define their models however it's most convenient for them. Analogies aside, here is what a set of weights is made of: A lot of data, mostly produced by humans who are not credited and have no say in how the output weights are licensed, some code written by people who might have some say, and then lots of work by computers running that code and consuming that data.

I'm not comfortable with calling the resulting weights "open source", since people can't look at a set of weights and understand all of the components in the same way as actual source code. It's more like "freeware". You might be able to disassemble it with some work, but otherwise it's an incomprehensible thing you can run and have for free. I think it would be more appropriate to co-opt the term "open source" for weights generated from freely available material, because then there is no confusion whether the "source" is open.

Re:OSI readies controversial open-source AI definition by lolinder on Saturday October 26, 2024 @01:29AM (#41952763)
> A lot of data, mostly produced by humans who are not credited and have no say in how the output weights are licensed

And this is what I think everyone is actually dancing around: I suspect the insistence on publishing the training data has very little to do with a sense of purity around the definition of Open Source and everything to do with frustrations about copyright and intellectual property.

For that same reason, we won't see open source models by this definition any time soon, because the legal questions around data usage are profoundly unsettled and no company can afford to publicize the complete set of data that they trained on until they are.

My personal ethic says that intellectual property is a cancer that sacrifices knowledge and curiosity on the altar of profit, so I'm not overly concerned about forcing companies to reveal where they got the data. If they're releasing the resulting weights under a free license (which, notably, Llama isn't) then that's good enough for me.

Re:OSI readies controversial open-source AI definition by smolder on Saturday October 26, 2024 @02:12AM (#41952928)
> For that same reason, we won't see open source models by this definition any time soon

It's totally fine if we don't have many (or any) models meeting the definition of open source! How hard is it to use a different term that actually applies?

The people on my side of the argument seem to be saying: "do not misapply these words", not "do not give away your weights".

Insisting on calling a model with undisclosed sources "open source" has what benefit? Marketing? That's really all I can think of... that it's to satisfy the goals of propagandists.

Re:OSI readies controversial open-source AI definition by Shamar on Saturday October 26, 2024 @06:01AM (#41953780)
It's not just marketing: European AI Act impose several compliance obligations to corporations building AI system, including serious scientific scrutiny on the whole training process.

Such obligations are designed to mitigate the inherent risks that AI can pose to individuals and society.

The AI Act exempts open source from such scientific scrutiny because it's already transparent.

BUT if OSI defines black boxes as "open source", they open a loophole that will be exploited to harm people without being held accountable.

So it's not just marketing, but dangerous corporate capture.

Re:OSI readies controversial open-source AI definition by acka on Saturday October 26, 2024 @01:31PM (#41956263)
Exactly. Without models being truly open source, (training data, training procedures, alignment etc.), there is no way for auditors to assess, for example, whether a model was trained on data exhibiting certain forms of selection bias (anything from training data or alignment being overly biased towards Western culture, controversial political or moral viewpoints, particular religions, gender stereotypes, even racism) which might lead to dangerous outcomes later on, whether by contamination of derived models or during inference.
Re:OSI readies controversial open-source AI definition by JumpCrisscross on Saturday October 26, 2024 @04:23PM (#41957451)
> if OSI defines black boxes as "open source", they open a loophole that will be exploited to harm people without being held accountable

The OSI’s definition matches the legal definition in the EU and California (and common use). If the OSI says open data only, it will just be ignored. (If people are upset about the current use, they can make the free vs. open distinction we do in software to keep the pedantic definition contained.)

Re:OSI readies controversial open-source AI definition by seba_dos1 on Saturday October 26, 2024 @02:30PM (#41956716)
> very little to do with a sense of purity around the definition of Open Source and everything to do with frustrations about copyright and intellectual property

The whole reason FOSS exists is because of frustrations about copyright and intellectual property, anything else is derived from that, so I'm not sure what your point is.

Re:OSI readies controversial open-source AI definition by zoobab on Tuesday October 29, 2024 @06:41AM (#41982296)
"frustrations about copyright and intellectual property"

Intellectual property is an undefined term, I would say copyright, although patents can also play a role in some countries.

Re:OSI readies controversial open-source AI definition by seba_dos1 on Wednesday October 30, 2024 @05:14AM (#41993127)
> Intellectual property is an undefined term

That's one of the frustrating things about it ;)

Re:OSI readies controversial open-source AI definition by SOLAR_FIELDS on Saturday October 26, 2024 @12:20AM (#41952529)
Is it sufficient to say something is open if it can be reproduced with no external dependencies? If it costs X gazillion dollars to reproduce it, that feels irrelevant to some extent. If it is not reproducible, then it is not open. If it is reproducible, then it is open. Probably there’s some argument to be made here that it’s not actually open if some random dev can’t reproduce it on their own machine over a weekend, but I honestly don’t buy that argument in this realm.
Re:OSI readies controversial open-source AI definition by lolinder on Saturday October 26, 2024 @12:27AM (#41952549)
> If it is not reproducible, then it is not open. If it is reproducible, then it is open.

You're applying reproducibility unevenly, though.

The Linux kernel source code cannot feasibly be reproduced, but it can be copied and modified. The Mistral weights cannot feasibly be reproduced, but they can be copied and modified. Why is the kernel code open source while the Mistral weights are not?

Reproducibility is clearly not the deciding factor.

Re:OSI readies controversial open-source AI definition by fragmede on Saturday October 26, 2024 @12:48AM (#41952624)
The Linux kernel is considered Open Source because (among other things) the compiled kernel binary that is used to boot a computer can be reproduced from provided source code.

source code -> compile -> kernel binary. That binary is what can be reproduced, given the source code.

We don't have the equivalent for Mistral:

source code (+ training data) -> training -> weights

Re:OSI readies controversial open-source AI definition by lolinder on Saturday October 26, 2024 @12:53AM (#41952641)
So people have said, but as I've noted I disagree with the characterization that training is equivalent to compilation. Even the companies that can afford to train a foundation model do so once and then fine-tune it from there to modify it. They only start a new training run when they're building a brand new model with totally different characteristics (such as a different parameter count).

Training is too expensive for the training data to be the preferred form for making modifications to the work. Given that, the weights themselves are the closest thing these things have to "source code".

And this is where the reproducibility argument falls apart: on what basis can we insist that the preferred form for modifying an LLM (the weights) must be reproducible to be open source but the preferred form for modifying a piece of regular software (the code) can be open sourced as is, with none of the processes used to produce the code?

Re:OSI readies controversial open-source AI definition by fragmede on Saturday October 26, 2024 @01:36AM (#41952786)
Just because I can hex edit Photoshop.exe to say what I want in the about dialog doesn't make it open source, even if it is faster and easier to hexedit it than it is to recompile from source.

In order for the weights to take all the training data and embed it in the model, by definition, some data must be lost. That data can't be recovered, no matter how much you fine tune the model. Because we can't, we don't know how alignment gets set, or the extent of it.

The closet thing these things have to source code is the source code and training data used to create the model. Because that's what's used to created the model. How big a system is necessary to train it doesn't factor in. It used to take many days to compile the Linux kernel, and many people at the time didn't have access to systems that could even compile it.

Re:OSI readies controversial open-source AI definition by lolinder on Saturday October 26, 2024 @01:39AM (#41952795)
> Just because I can hex edit Photoshop.exe to say what I want in the about dialog doesn't make it open source, even if it is faster and easier to hexedit it than it is to recompile from source.

First, licenses matter. Photoshop.exe is closed source first and foremost because the license says so.

Second and more importantly for this discussion, Adobe doesn't prefer to work with hexedit, they prefer to work with the source code.

OpenAI prefers to fine tune their existing models rather than train new ones. They fine tune regularly, and have only trained from scratch four times total, with each of those being a completely new model, not a modification.

That means the weights of an LLM are the preferred form for modification, which meets the GPL's definition of 'source code':

> The “source code” for a work means the preferred form of the work for making modifications to it.

Re:OSI readies controversial open-source AI definition by fsflover on Tuesday October 29, 2024 @04:32AM (#41980916)
> OpenAI prefers to fine tune their existing models rather than train new ones.

This "preference" is solely based on the cost, not convenience, unlike in the GPL definition. The cost is going to change fast and should not be a part of the definition.

Re:OSI readies controversial open-source AI definition by SOLAR_FIELDS on Saturday October 26, 2024 @01:11AM (#41952702)
Interesting take. You appear to be defining reproducibility to be something like “could I write this source code again myself”. But no one I know uses the term reproducible in the way you’re saying. Everyone I know, including myself, takes reproducibility in this context to mean “if given source code, I can produce a binary /executable that is identical to the one that is produced by some other party when built the same way”

Now I get that “Identical” is a bit more nebulous when it comes to LLMs due to their inherent nondeterminism, but let’s take it to mean the executable itself, not the results produced by the executable.

Re:OSI readies controversial open-source AI definition by lolinder on Saturday October 26, 2024 @01:21AM (#41952733)
> You appear to be defining reproducibility to be something like “could I write this source code again myself”.

No, I'm using the strict definition "capable of being reproduced", where reproduce means "to cause to exist again or anew". In and of itself the word doesn't comment on whether you're starting from source code or anything else, it just says that something must be able to be created again.

Yes, in the context of compilation this tends to refer to reproducible builds (which is a whole rabbit hole of its own), but here we're not dealing with two instances of compilation, so it's not appropriate to use the specialized meaning. We're dealing with two artifacts (a set of C files and a set of weights) that were each produced in different ways, and we're asking whether each one can be reproduced exclusively from data that was released alongside the artifact. The answer is that no, neither the source files or the weights can be reproduced given data that was released alongside them.

So my question remains: on what basis can we say that the weights are not open source but the C files are? Neither can be reproduced from data released alongside them, and both are the preferred form which the original authors would choose to make modifications to. What distinguishes them?

Re:OSI readies controversial open-source AI definition by SOLAR_FIELDS on Saturday October 26, 2024 @01:43AM (#41952812)
I’ll go ahead and call this a false equivalency because the amount of work required to get “pretty close” to compiling a binary that looks something like the Linux kernel is pretty achievable. Not so for these models. I know my way around gcc and llvm enough to be able to compile something that will work mostly like the Linux kernel in some reasonable amount of time.

Now I know it seems like I’m taking the opposite side of my original take here but come on - you can’t really genuinely believe that because I can’t produce a byte for byte representation of the Linux kernel immediately even if it behaves 99.999% the same that somehow that is even remotely the same as not being able to reproduce an “open” LLM.

Re:OSI readies controversial open-source AI definition by lolinder on Saturday October 26, 2024 @01:49AM (#41952843)
All I'm saying is that reproducibility of the released primary artifact—be it source or weights—is not actually a factor in whether we consider something to be open source. Regardless of whether you believe you could rewrite the Linux kernel from scratch, you don't consider the Linux kernel to be open source because you can rewrite it.

It's open source because they licensed the preferred form of the work for making modifications under a FOSS license. That's it. Reproducibility of that preferred form from scratch doesn't factor into it.

Re:OSI readies controversial open-source AI definition by SOLAR_FIELDS on Saturday October 26, 2024 @02:06AM (#41952909)
Fair. In reading our thread again I realized we are probably talking past each other. Really this discussion should be about the philosophical aspect of what constitutes open source in the context of LLM’s. Which is a tough and more interesting topic.

Really the conversation should be reframed to be something along the lines of “is it even ethical for these companies to offer their LLM as anything other than open source”? The answer, if you look into what they do, is “probably not”. Arguing about the technicalities of whether they follow the letter of whatever rule or regulation is probably a waste of time. Because it is completely obvious to anyone who understands how this works that these models are built and sold off the backs of centuries of open source work not licensed or intended to be used for profit.

Re:OSI readies controversial open-source AI definition by lolinder on Saturday October 26, 2024 @02:10AM (#41952925)
> Really the conversation should be reframed to be something along the lines of “is it even ethical for these companies to offer their LLM as anything other than open source”? The answer, if you look into what they do, is “probably not”.

Agreed, but I'm personally of the opinion that this is true for all intellectual endeavors. Intellectual property is the great sin of our generation, and I hope we eventually learn better.

And I think you've hit at the heart of the matter: the push for open source training data has never been about the definition of open source, it's always been a cover for complaints about where the data was sourced from. Which is also why we won't see it any time soon—not until the lawsuits wind their way through the courts, and even then only if the results are favorable towards training.

Re:OSI readies controversial open-source AI definition by 9dev on Saturday October 26, 2024 @03:46AM (#41953256)
It was a joy to follow along this discussion. Thank both of you.
Re:OSI readies controversial open-source AI definition by nrnrjrjrj on Saturday October 26, 2024 @05:25PM (#41957842)
This is an annoyingly good argument. Yet my gut says a bunch of floating point numbers isn't open source code.

I think it goes to show how hard it is to make analogies between thw two fields.

Maybe it is just not source at all. Open or closed.

It is data. Like a csv of addresses and coordinates that were collated from different sources that say are no longer available.

It is a very philosophical topic. What if machines got faster and you could train Llama in 5 minutes, and an SSD could hold all the training data. Then it would feel like a compiled artifact more than data. Not releasing the training data would then feel like hiding something.

Re:OSI readies controversial open-source AI definition by dahart on Saturday October 26, 2024 @12:24AM (#41952541)
> The entire point of FOSS is for a few experts to do all that work once and then we all can share and modify the output of those years of work and millions of dollars invested as we see fit, without having to waste all that time and money doing it over again.

Really? Hmm yeah maybe you’re right, but for some reason, said that way it somehow starts to seem a little disappointing and depressing. Maybe I’m reading it differently than you intended. I always considered the point of FOSS to be about the freedoms to use, study, customize, and share software, like to become an expert, not to avoid becoming an expert. But if the ultimate goal of all that is just a big global application of DRY so that most people rely on the corpus without having to learn as much, I feel like that is in a way antithetical to open source, and it could have a big downside or might end up being a net negative, but I dunno…

Re:OSI readies controversial open-source AI definition by raverbashing on Saturday October 26, 2024 @01:51AM (#41952856)
Completely agree

There's a much simpler analogy: a photo

You can't have an "Open source photo" because that would require shipping everything (but the camera) that shows up in the photo so that someone could "recreate" the photo

It doesn't make sense.

A public domain photo is enough

Re:OSI readies controversial open-source AI definition by dragonwriter on Saturday October 26, 2024 @02:43AM (#41953019)
> A lot of people get hung up on `weights = compiled-artifact` because both are binary representations,

No, that's not why weights are object code. Binary vs. text is irrelevant.

Weights are object code because training data is declarative source code defining the desired behavior of the system and training code is a compiler which takes that source code and produces a system with the desired behavior.

Now, the behavior produced is less exactly known from the source code than is the case with traditional programming, but the function is the same.

You could have a system where the training and inference codes were open source and the model specified by the weights itself was not — that would be like having a system where software was not open source, but the compiler use to build it and the runtime library it relies on were. But one shouldn't confuse that with an open source model.

Re:OSI readies controversial open-source AI definition by lolinder on Saturday October 26, 2024 @09:35AM (#41954648)
This is a much more compelling explanation than any I've seen so far.

What do you do with the fact that no one (including the companies who do the initial training) modifies the training data when they want to modify the work? Are the weights not the preferred form for modifying a model?

Re:OSI readies controversial open-source AI definition by seba_dos1 on Saturday October 26, 2024 @02:18PM (#41956632)
Compiling Android takes many hours and requires a lot of RAM and disk space, more than I have available on my machines right now. For some things there, binary patching may actually be an easier way to change stuff than compiling the whole thing from source.

Now scale that up and consider - at which point such project would start being "FOSS" in your book without actually providing its sources on an appropriate license?

The intention behind "preferred form for modification" is to put you as a user on the same level as the copyright holder. This construct works well in a world where compiling is cheap; where it isn't, it may require some refinement to preserve the intention behind it. The copyright holder could decide to modify the learning set before pressing the "start" button, you can't.

Re:OSI readies controversial open-source AI definition by lolinder on Saturday October 26, 2024 @03:55PM (#41957272)
> Now scale that up and consider - at which point such project would start being "FOSS" in your book without actually providing its sources on an appropriate license?

At the moment when the copyright holder stops ever recompiling the code from scratch and starts just patching binaries.

We are at that point with LLMs.

> The intention behind "preferred form for modification" is to put you as a user on the same level as the copyright holder.

Exactly. And the copyright holders for these LLMs do not ever "recompile". They create brand new works that aren't derivatives at all, but when it comes to modifying the existing work they invariably fine-tune it rather than retraining it.

Re:OSI readies controversial open-source AI definition by seba_dos1 on Saturday October 26, 2024 @04:23PM (#41957456)
> At the moment when the copyright holder stops ever recompiling the code from scratch and starts just patching binaries.

So when the copyright holder considers the work done and stops changing it at all, it's now FOSS too?

I'll repeat myself, as you ignored the important part:

> The copyright holder could decide to modify the learning set before pressing the "start" button, you can't.

Even if the copyright holder does not intent to retrain their model, you are not in the same position as them. The choices they made at initial training are now ingrained in the model, putting them at an advantage over anyone else if you can't inspect and change those choices. They got to decide, you did not. Your only option to be in a similar position is to start from scratch.

Re:OSI readies controversial open-source AI definition by lolinder on Saturday October 26, 2024 @04:44PM (#41957595)
Why does open source have to mean that you, the user, are on equal footing with where the copyright holder was before they even started? Where is that written?

If you wanted to write a project in Rust you would have needed to be there at the beginning, too. Same if you wanted to make it a web app versus native. There are dozens and dozens of decisions that can only be made at the beginning of a project and will require completely reworking it if you're receiving it later.

If a project needed to put all future users on equal footing with where the copyright holder was at the beginning of the project in order to be open source, there can be no open source. The creator of the project invariably made decisions that cannot be undone later without redoing all the work.

Re:OSI readies controversial open-source AI definition by seba_dos1 on Saturday October 26, 2024 @05:06PM (#41957729)
> Why does open source have to mean that you, the user, are on equal footing with where the copyright holder was before they even started?

Equal footing is the whole idea behind Free Software. Open Source puts accents somewhere else, but in practice it's essentially about the same thing.

> If you wanted to write a project in Rust you would have needed to be there at the beginning, too.

I can take the source code, inspect it and rewrite it line-by-line.

I can't take a closed model, inspect the data it was trained on and retrain it, even if I had enough money and resources to do so.

Whether the copyright holder will ever want to retrain it themselves is irrelevant. They have the information needed to do so if they wanted, I don't.

Re:OSI readies controversial open-source AI definition by Shamar on Sunday October 27, 2024 @10:05AM (#41962711)
> Why does open source have to mean that you, the user, are on equal footing with where the copyright holder was before they even started? Where is that written?

It's written on the OSI page about license approval:

""" The license does not have terms that structurally put the licensor in a more favored position than any licensee. """

https://opensource.org/licenses/review-process

Re:OSI readies controversial open-source AI definition by dragonwriter on Saturday October 26, 2024 @05:28PM (#41957861)
> What do you do with the fact that no one (including the companies who do the initial training) modifies the training data when they want to modify the work?

People do take and modify training data sets for new models, it's not as common for modifications to foundation models where you aren't also changing the architecture, because it's not necessary for efficient additive changes, which are the most common kinds of changes, and because training datasets for foundation models are rarely shared. It is commonly used by first parties when the change involves changing the architecture as well (so you can't do an additive to change to the existing trained model, and need to train from scratch but also want to address issues -- either expanding the scope, improving quality, etc. -- with the training data but don't want to start from scratch with training data.) Meanwhile, there is research on fine tuning for subtractive changing (removing concepts from a trained model) because, at least for third parties, while fine-tuning is available, altering the training data and retraining a foundation model from scratch usually isn't an option.

Certainly, people doing derivatives of non-foundation models (LoRA, finetunes, etc.) often reuse and modify training sets used by earlier non-foundation models of the same type, and model sharing sites with an open-source preference facilitate dataset sharing to support this.

Re:OSI readies controversial open-source AI definition by Shamar on Saturday October 26, 2024 @07:51AM (#41954177)
Compiling Emacs on a PDP-11 wasn't cheap either.

And by today standards, a PDP-11 is quite comparable with the cost of the server farms used in training.

And yet Emacs was released under GPL.

So the economic argument is pretty miopic.

Re:OSI readies controversial open-source AI definition by lolinder on Saturday October 26, 2024 @09:39AM (#41954664)
People still chose to compile emacs from scratch rather than modify the binary. The source code was the preferred form for modifications.

The same is not true of these models. To my knowledge no company has retrained a model from scratch to make a modification to it. They make new models, but these are fundamentally different works with different parameter counts and architectures. When they want to improve on a model that they already built, they fine tune the weights.

If that's what companies that own all the IP do, that tells me that the weights themselves are the preferred form for making modifications, which makes them source code under the gpl's definition.

Re:OSI readies controversial open-source AI definition by Shamar on Saturday October 26, 2024 @03:33PM (#41957121)
The problem with hype around LLM is that people without much experience in the field can't think of anything else.

So much they forget the basics of the discipline.

What do you think cross validation is for?

To compare different weights obtained from different initializations, different topologies, different hyper-parameters... all trained from the same training dataset.

Even for LLM, have you ever tried to reduce the size of the vocabulary of, say, Llama?

No?

Yet it's a totally reasonable modification.

What's the preferred form to make modifications like this?

Can you do it fine tuning llama weights?

No.

You need training data.

That's why training data are the preferred form to make modification, because whatever the AI (hyped or not) it's the only form that let you make all modifications you want.

Re:OSI readies controversial open-source AI definition by seba_dos1 on Saturday October 26, 2024 @02:03PM (#41956518)
> The entire point of FOSS is for a few experts to do all that work once and then we all can share and modify the output of those years of work and millions of dollars invested as we see fit, without having to waste all that time and money doing it over again.

The entire point of FOSS is to preserve user freedom. Avoiding pointless waste of repeated work is a side effect of applying that freedom.

It would feel entirely on point for things that require ungodly amounts of money and resources to even start considering exercising your freedoms on to not be considered FOSS, even if that aspect isn't considered by currently accepted definitions.

Re:OSI readies controversial open-source AI definition by lolinder on Saturday October 26, 2024 @04:00PM (#41957310)
Nit: what you're describing is Free Software as put forward by the FSF, not Open Source as put forward by the OSI.

I realize I'm the one who used the combo acronym first, but this is a discussion about the OSI, which exists to champion the cynical company-centric version of the movement, and for that version my description is accurate.

Re:OSI readies controversial open-source AI definition by pxc on Saturday October 26, 2024 @07:28PM (#41958495)
It is sad that this definition will represent the first practical split between these two movements in terms of their terminology, if it goes through. The difference between open-source and free software will go from a difference of emphasis to a difference in substance.

I suppose I will have to stop writing 'F/OSS'. I'll probably use the term 'open-source' less and less, and maybe stop altogether.

Re:OSI readies controversial open-source AI definition by evoke4908 on Saturday October 26, 2024 @03:40PM (#41957171)
> I think a far more reasonable analogy, to the extent that any are reasonable, is that the training data is all the stuff that the developers of the FOSS software ever learned, and the thousands of computer-hours spent on training are the thousands of man-hours spent coding.

I think this is a decent point. Is your FOSS project actually open source if your 3D assets were made in Fusion or Adobe?

Similarly, how open is a hardware project if you post only finalized STLs? What about with and without Fusion source files?

You can still replicate the project. You can even do relatively minor edits to the STL. Is that open or not?

Re:OSI readies controversial open-source AI definition by advael on Saturday October 26, 2024 @05:12PM (#41957766)
Lots of people like that analogy because it's extremely self-congratulatory. It also makes no fucking sense

Despite the fact that people keep insisting on the buzzword "AI" to describe these large neural networks, they are more succinctly defined as approximate computer programs. The means by which we create them is through a relatively standardized family of statistical modeling algorithms paired with a dataset they are meant to emulate in their output

A computer program that's specified in logic is already a usable representation that can be used to understand every aspect of the functioning code in its entirety, albeit some of it may be hard to understand. You don't need to consult the original programmer at all, let alone read their mind

In contrast, a function that is approximated in the manner described needs the training data to replicate or make sense of it, and in fact is even necessary to assess whether the model is cheating at the benchmarks its creators assess it against. The weights themselves are a functional approximation, not a functional description

For the purposes of the ethos of free and open source software, it is obvious that training data must be included. However, this argument is also deployed in various other places, like intellectual property disputes, and is equally stupid there. Just because we use the term "learning" to describe these systems doesn't mean it makes sense for the law to treat them as people. It is both nonsensical and harmful to say that no human can be held responsible for what an "AI" model does, but that somehow they are "just like people learning from experience" when it benefits tech companies to believe that

Re:OSI readies controversial open-source AI definition by didibus on Thursday November 07, 2024 @04:56PM (#42081529)
The source is not open, so not open source. It's as simple as that to me.

That doesn't mean you can't allow the modification of your weights, but a model is not open source because it lets you modify its weights.

If we take the JDK for Java. It is open source, but the actually built JDKs of it are not all free to use or modify. It's quite annoying to build those, patch in source from newer ones into the builds of older ones, cherry pick and all that.

So it enables an economy of vendors that do just that, and people willing to pay for the simple act of building the JDK from its open source.

I'm not even sure it makes sense to license weights, they're not part of any creative process, I don't think weights should even be copyrightable. Weights are part of the product you sell, maybe a EULA applies, terms of use. It's like with video games, you're not always allowed to modify the binary (cheating), and if you do, you break the EULA and are revoked the right to play the game.

Re:OSI readies controversial open-source AI definition by nextaccountic on Friday October 25, 2024 @10:06PM (#41951918)
The source is really the training data plus all code required to train the model. I might not have resources to "compile", and also "compilation" is not deterministic, but those are technical details

You could have a programming language whose compiler is a superoptimizer that's very slow and is also stochastic, and it would amount to the same thing in practice.

Re:OSI readies controversial open-source AI definition by a2128 on Friday October 25, 2024 @09:15PM (#41951689)
The usefulness of data here is that you can retrain the model after making changes to its architecture, e.g. seeing if it works better with a different activation function. Of course this is most useful for models small enough that you could train it within a few days on a consumer GPU. When it comes to LLMs only the richest companies would have the adequate resources to retrain.