News for hackers. Stuff that matters.
Re:Our Humble Attempt at “How Much Data Is Needed to Fine-Tune by BoorishBears on Sunday September 24, 2023 @06:37PM (#37637845)
Your answer is not really answering and is liable to confuse someone asking the question this person asked... the answer to their question is a simple: No.

Current fine tuning techniques can only contribute to knowledge indirectly (getting better queries for an external data source for example), you cannot directly embed new facts in the model is any generally efficient/effective manner.

There are toy examples of fine tuning in facts that are not of use outside of academic considerations at this point, and I sense it's contributing to the widespread confusion about fine-tuning's value proposition

Re:Our Humble Attempt at “How Much Data Is Needed to Fine-Tune by dnnssl2 on Sunday September 24, 2023 @06:56PM (#37637971)
There are a few reputable academic examples of factual editing, such as: https://rome.baulab.info/

I don’t believe that the answer is strictly no. There are still many questions around the fine tuning method and the scale of data, as well as expectations of task accuracy from the perspective of an end user.

Re:Our Humble Attempt at “How Much Data Is Needed to Fine-Tune by mikeagb on Sunday September 24, 2023 @07:07PM (#37638047)
I agree that stating outright that the answer is no is a bit too strong of a statement. The general consensus has definitely been that fine-tuning (especially instruction fine-tuning) is primarily to pick up style over facts, but that doesn't mean it's not doable. Continuous pre-training is used to instill new knowledge, and the line where it becomes "fine-tuning" rather from "continuous pre-training" is not obvious to me.
Re:Our Humble Attempt at “How Much Data Is Needed to Fine-Tune by joewferrara on Monday September 25, 2023 @01:52PM (#37647875)
This line between fine tuning and continuous pre-training is what I’m interested in. What is the investment difference between fine tuning, contoured-training and training from scratch? Do you (or anyone else) have any good sources or know of good examples where continuous pre-training is being done?
Re:Our Humble Attempt at “How Much Data Is Needed to Fine-Tune by BoorishBears on Sunday September 24, 2023 @07:09PM (#37638057)
> There are toy examples of fine tuning in facts that are not of use outside of academic considerations at this point, and I sense it's contributing to the widespread confusion about fine-tuning's value proposition

The answer for someone asking that question is a strict no. Many people asking this stuff only have access to SFT, so it's a super no for them.

Honestly I don't get this weird obsession right now with LLMs and throwing random roadblocks in any sort of common knowledge of the subject. If someone in CS 101 asked if they could write a game engine in CSS you wouldn't get people lining up to tell them the answer isn't "No." despite it technically being possible (https://github.com/brookjordan/css-game-engine) because we understand that sometimes to enable understanding of a subject you need to setup some solid ground for new entrants to stand on.

Fine-tuning is not for knowledge. If you get comfortable enough to start experimenting with that application, you'll understand that there's some nuance to that statement either way and get to research/tinker/push boundaries armed with enough knowledge to not accept the simple no.

Re:Our Humble Attempt at “How Much Data Is Needed to Fine-Tune by Phemist on Monday September 25, 2023 @03:32AM (#37640599)
Funny, as a corollary to how impractical a game engine would be in CSS: my first pass over the text had me reading CSS as something like C Sharp Sharp. A non-existent language that, according to my brain, still seems like a more likely language to build the game engine in
Re:Our Humble Attempt at “How Much Data Is Needed to Fine-Tune by TeMPOraL on Monday September 25, 2023 @05:23AM (#37641272)
Or, in other words, you were hallucinating, in the LLM sense.
Re:Our Humble Attempt at “How Much Data Is Needed to Fine-Tune by Phemist on Monday September 25, 2023 @06:33AM (#37641647)
Re:Our Humble Attempt at “How Much Data Is Needed to Fine-Tune by ozr on Sunday September 24, 2023 @08:29PM (#37638457)
This is simply wrong. Information that did not exist in the model can be added to a model by finetuning, both full and PEFT. It has been repeatedly demonstrated in practice and in multiple papers.
Re:Our Humble Attempt at “How Much Data Is Needed to Fine-Tune by BoorishBears on Sunday September 24, 2023 @08:40PM (#37638509)
That is simply noise.

Surely you saw the sibling comment that tries to make the exact same point and did so hours ago, the reply to them is the same to you:

> There are toy examples of fine tuning in facts that are not of use outside of academic considerations at this point, and I sense it's contributing to the widespread confusion about fine-tuning's value proposition

The answer for someone asking that question is a strict no. Many people asking this stuff only have access to SFT, so it's a super no for them.

Honestly I don't get this weird obsession right now with LLMs and throwing random roadblocks in any sort of common knowledge of the subject. If someone in CS 101 asked if they could write a game engine in CSS you wouldn't get people lining up to tell them the answer isn't "No." despite it technically being possible (https://github.com/brookjordan/css-game-engine) because we understand that sometimes to enable understanding of a subject you need to setup some solid ground for new entrants to stand on.

Fine-tuning is not for knowledge. If you get comfortable enough to start experimenting with that application, you'll understand that there's some nuance to that statement either way and get to research/tinker/push boundaries armed with enough knowledge to not accept the simple no.

_

It's no different than teaching kids the Bohr model of the atom: we know it doesn't hold up to discoveries that you'll come across after it is established, but it doesn't matter because by the time you know enough to revisit the topic, you understand why the answer was a flat no then and can move past it on your own.

OP could have googled the topic but they asked human beings the question. They likely presumed they'd use their human sensibilities to understand the underlying intent of the question instead of parroting a list of toy experiments that would have zero benefit to them.

Re:Our Humble Attempt at “How Much Data Is Needed to Fine-Tune by zwaps on Monday September 25, 2023 @01:05AM (#37639835)
Having literally done it in an enterprise setting (and participated in experiments for some of the largest companies in the world in their respective domain fields), I have to say: your lack of nuance and abundance of arrogance does not come across very well.

It is important to distinguish between something being impossible, infeasible and not well understood. Fine-tuning "for effect" is mostly the latter.

You say "current fine-tuning techniques can only contribute to knowledge indirectly" and then in the next post row back to "except in toy examples" because the former is - literally - not correct.

This is HN. We are not advising clients on how "to get their data into their AI best". We can discuss here the actual technical detail of a thing. An intellectually honest discussion begins with saying: "From a scientific standpoint, and even from a practical standpoint, we are not sure yet, however..."

Re:Our Humble Attempt at “How Much Data Is Needed to Fine-Tune by BoorishBears on Monday September 25, 2023 @01:58AM (#37640085)
"advising clients" is such an odd way of describing "making a complex topic approachable"

But you're correct, this is HN: so much pontificating without producing a single counterfactual implies you should speak for yourself and not the collective.

They said "LLM", but given the context it's an RLHF LLM, and presumably they want a generalized way to add factual information in a way that doesn't cripple the model's general performance (yes, I am being so arrogant as to draw obvious conclusions to give them a useful answer)

No paper on the subject has achieved this, the ones that come close (and by close I mean very far) fall back to BERT sized models which I already addressed below: so please petition your "enterprise" to share their secrets

(wrong crowd to get any gravitas out of the word enterprise btw, we understand it means "constrained usecase with minimal external validation")