this post was submitted on 19 Nov 2023
116 points (93.9% liked)

Technology

34788 readers
344 users here now

This is the official technology community of Lemmy.ml for all news related to creation and use of technology, and to facilitate civil, meaningful discussion around it.


Ask in DM before posting product reviews or ads. All such posts otherwise are subject to removal.


Rules:

1: All Lemmy rules apply

2: Do not post low effort posts

3: NEVER post naziped*gore stuff

4: Always post article URLs or their archived version URLs as sources, NOT screenshots. Help the blind users.

5: personal rants of Big Tech CEOs like Elon Musk are unwelcome (does not include posts about their companies affecting wide range of people)

6: no advertisement posts unless verified as legitimate and non-exploitative/non-consumerist

7: crypto related posts, unless essential, are disallowed

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] huginn@feddit.it 40 points 11 months ago (4 children)

It's interesting to me how many people I've argued with about LLMs. They vehemently insist that this is a world changing technology and the start of the singularity.

Meanwhile whenever I attempt to use one professionally it has to be babied and tightly scoped down or else it goes way off the rails.

And structurally LLMs seem like they'll always be vulnerable to that. They're only useful because they bullshit but that also makes them impossible to rely on for anything else.

[–] mkhoury@lemmy.ca 20 points 11 months ago (1 children)

I've been using LLMs pretty extensively in a professional capacity and with the proper grounding work it becomes very useful and reliable.

LLMs on their own is not the world changing tech, LLMs+grounding (what is now being called a Cognitive Architecture), that's the world changing tech. So while LLMs can be vulnerable to bullshitting, there is a lot of work around them that can qualitatively change their performance.

[–] huginn@feddit.it 10 points 11 months ago (1 children)

I'm a few months out of date in the latest in the field and I know it's changing quickly. What progress has been made towards solving hallucinations? The feeding output into another LLM for evaluation never seemed like a tenable solution to me.

[–] mkhoury@lemmy.ca 4 points 11 months ago (2 children)

Essentially, you don't ask them to use their internal knowledge. In fact, you explicitly ask them not to. The technique is generally referred to as Retrieval Augmented Generation. You take the context/user input and you retrieve relevant information from the net/your DB/vector DB/whatever, and you give it to an LLM with how to transform this information (summarize, answer a question, etc).

So you try as much as you can to "ground" the LLM with knowledge that you trust, and to only use this information to perform the task.

So you get a system that can do a really good job at transforming the data you have into the right shape for the task(s) you need to perform, without requiring your LLM to act as a source of information, only a great data massager.

[–] sudoreboot@slrpnk.net 5 points 11 months ago (1 children)

That seems like it should work in theory, but having used Perplexity for a while now, it doesn't quite solve the problem.

The biggest fundamental problem is that it doesn't understand in any meaningful capacity what it is saying. It can try to restate something it sourced from a real website, but because it doesn't understand the content it doesn't always preserve the essence of what the source said. It will also frequently repeat or contradict itself in as little as two paragraphs based on two sources without acknowledging it, which further confirms the severe lack of understanding. No amount of grounding can overcome this.

Then there is the problem of how LLMs don't understand negation. You can't reliably reason with it using negated statements. You also can't ask it to tell you about things that do not have a particular property. It can't filter based on statements like "the first game in the series, not the sequel", or "Game, not Game II: Sequel" (however you put it, you will often get results pertaining to the sequel snucked in).

[–] BluesF@feddit.uk 1 points 11 months ago

Yeah, it's just back exactly to the problem the article points out - refined bullshit is still bullshit. You still need to teach your LLM how to talk, so it still needs that cast bullshit input into its "base" before you feed it the "grounding" or whatever... And since it doesn't actually understand any of that grounding it's just yet more bullshit.

[–] huginn@feddit.it 3 points 11 months ago

Definitely a good use for the tool: NLP is what LLMs do best and pinning down the inputs to only be rewording or compressing ground truth avoids hallucination.

I expect you could use a much smaller model than gpt to do that though. Even llama might be overkill depending on how tightly scoped your DB is

[–] Conradfart@lemmy.ca 14 points 11 months ago (2 children)

They are useful when you need to generate quasi meaningful bullshit in large volumes easily.

LLMs are being used in medicine now, not to help with diagnosis or correlate seemingly unrelated health data, but to write responses to complaint letters or generate reflective portfolio entries for appraisal.

Don't get me wrong, outsourcing the bullshit and waffle in medicine is still a win, it frees up time and energy for the highly trained organic general intelligences to do what they do best. I just don't think it's the exact outcome the industry expected.

[–] sugar_in_your_tea@sh.itjust.works 8 points 11 months ago

I think it's the outcome anyone really familiar with the tech expected, but that rarely translates to marketing departments and c-suite types.

I did an LLM project in school, and while that was a limited introduction, it was enough for me to doubt most of the claims coming from LLM orgs. An LLM is good at matching its corpus and that's about it. So it'll work well for things like summaries, routine text generation, and similar tasks (and it's surprisingly good at forming believable text), but it'll always disappoint with creative work.

I'm sure the tech can do quite a bit more than my class went through, but the limitations here are quite fundamental to the tech.

[–] huginn@feddit.it 3 points 11 months ago

That's kinda the point of my above comment: they're useful for bullshit: that's why they'll never be trustworthy

[–] waspentalive@beehaw.org 10 points 11 months ago* (last edited 11 months ago) (1 children)

I use chatgpt to make up stuff, imagine things that don't exist for fun - like a 'pitch' for the next new Star Trek series, or to reword my much too succinct prose for a manual for a program I am writing ('Calcula' in gitlab) or ideas for a new kind of restaurant (The chef teaches you how to cook the meal you are about to eat) - but never have it code or ask it about facts, it makes them up just as easily as the stuff I just described.

[–] huginn@feddit.it 5 points 11 months ago

A great use for the tool

[–] Damage@feddit.it 9 points 11 months ago (2 children)

It's a computer that understands my words and can reply, even complete tasks upon request, nevermind the result. To me that's pretty groundbreaking.

[–] huginn@feddit.it 18 points 11 months ago (2 children)

It's a probabilistic network that generates a response based on your input.

No understanding required.

[–] 0ops@lemm.ee 13 points 11 months ago

It's a probabilistic network that generates a response based on your input.

Same

[–] Eheran@lemmy.world 6 points 11 months ago (2 children)

Ask it to write code that replaces every occurrence of "me" in every file name in a folder with "us", but excluding occurrences that are part of a word (like medium should not be usdium) and it will give you code that does exactly that.

You can ask it to write code that does a heat simulation in a plate of aluminum given one side of heated and the other cooled. It will get there with some help. It works. That's absolutely fucking crazy.

[–] sugar_in_your_tea@sh.itjust.works 5 points 11 months ago (1 children)

Maybe, that really depends on if that task or a very similar task exists in sufficient amounts in its training set. Basically, you could get essentially the same result by searching online for code examples, the LLM might just make it a little faster (and probably introduce some errors as well).

An LLM can only generate text that exists in its training data. That's a pretty important limitation, which has all kinds of copyright-related issues associated with it (e.g. I can't just copy a code example from GitHub in most cases).

[–] Eheran@lemmy.world 0 points 11 months ago (1 children)

No, it does not depend on preexisting tasks, which is why I told you those 2 random examples. You can come up with new, never before seen questions if you want to. How to stack a cable, car battery, beer bottle, welding machine, tea pot to get the highest tower. Whatever. It is not always right, but also much more capable than you think.

[–] huginn@feddit.it 2 points 11 months ago (1 children)

It is dependent on preexisting tasks, you're just describing encoded latent space.

It's not explicit but it's implicitly encoded.

And you still can't trust it because the encoding is intrinsically lossy.

[–] Eheran@lemmy.world -1 points 11 months ago

It can come up with new solutions.

[–] huginn@feddit.it 3 points 11 months ago* (last edited 11 months ago)

Ask it to finish writing the code to fetch a permission and it will make a request with a non-existent code. Ask it to implement an SNS API invocation and it'll make up calls that don't exist.

Regurgitating code that someone else wrote for an aluminum simulation isn't the flex you think it is: that's just an untrustworthy search engine, not a thinking machine

[–] amki@feddit.de 14 points 11 months ago

That is exactly what it doesn't. There is no "understanding" and that is exactly the problem. It generates some output that is similar to what it has already seen from the dataset it's been fed with that might correlate to your input.