News for hackers. Stuff that matters.
Re:Artificial Needles to Real Haystacks: Improving Retrieval... by anotherpaulg on Saturday June 29, 2024 @11:04AM (#40831107)
This is really interesting. They fine-tune on instances of this sort of task:

  Do a task using the list of dictionaries below.
  Dictionary [1] {122: 765, 4548: 1475, 4818: 4782} Dictionary [2] {526: 290, 9205: 9318, 9278: 1565} ...
  Dictionary [32] {2931: 8364, 196: 1464, 812: 5363} ...
  Dictionary [85] {344: 1579, 116: 617, 330: 411}
  Above is a list of dictionaries such that each key and value is an integer. Report the
  value of key 2931 and the dictionary it is in.
  Desired answer: The value of key 2931 is 8364 and it is in Dictionary [32].

This task doesn't teach any new facts, but seems to encourage better ability to random-access data from a large context.
Re:Artificial Needles to Real Haystacks: Improving Retrieval... by surfingdino on Saturday June 29, 2024 @12:06PM (#40831537)
cat list_of_dicts.txt | grep '2931:'
Re:Artificial Needles to Real Haystacks: Improving Retrieval... by optimalsolver on Saturday June 29, 2024 @12:28PM (#40831679)
This is why you need symbolic reasoning. The above is vastly more efficient than whatever these LLMs are doing.
Re:Artificial Needles to Real Haystacks: Improving Retrieval... by surfingdino on Saturday June 29, 2024 @01:27PM (#40832144)
I had a chat with a dev friend of mine. He's building an app and will have users enter venue booking info. He then plans to use ... AI to check venue availability and sort bookings, something a couple of simple SQL queries and views would easily take care of. Where did we go wrong? How did the LLM monkey gang manage to embed their shitty ideas into the minds of otherwise intelligent people?
Re:Artificial Needles to Real Haystacks: Improving Retrieval... by sgaur on Saturday June 29, 2024 @10:21PM (#40834707)
Hope he’s using the AI to convert user inputs into query parameters and doing the actual retrieval through queries. Or perhaps there are subjective descriptions or reviews of the venues that need to be queried?
Re:Artificial Needles to Real Haystacks: Improving Retrieval... by EGreg on Sunday June 30, 2024 @07:12AM (#40836536)
Sounds like blockchain.

Actually very much like blockchain, in that it’s slower and less efficient but they put it into everything inclusinf Iced Tea.

The only difference is that AI weights are inscrutable and people don’t know what it will do, while blockchain’s actual achivement is precisely the opposite — knowing and proving what the code will do. But still, it is not a hammer for every nail!

Re:Artificial Needles to Real Haystacks: Improving Retrieval... by surfingdino on Sunday June 30, 2024 @03:04PM (#40839298)
Good analogy.
Re:Artificial Needles to Real Haystacks: Improving Retrieval... by beefnugs on Monday July 01, 2024 @05:17PM (#40850792)
Yeah I don't know how we can avoid this circle jerk of inevitability: flood the internet with cheap generated content, so that the rest of us need ai to try and filter out the vast amount of shit to get to the meat?

Then we finally get back to the shit covered meat we all crave

Re:Artificial Needles to Real Haystacks: Improving Retrieval... by EGreg on Sunday June 30, 2024 @07:11AM (#40836524)
In 10 years:

“LLM, make your lookup more efficient. kthxbai”

Re:Artificial Needles to Real Haystacks: Improving Retrieval... by vessenes on Saturday June 29, 2024 @04:13PM (#40833065)
Interesting. You could add counting and other jobs as well, eg ”how many times does value 8364 appear, and in which dictionaries?”

A lot of the needle trained models clearly can’t reason with stuff everywhere in a long context even if they can retrieve. I would like to see some extensions that require some reasoning.

I guess you could use words as dict vals and ask it what sentence a set of keys spells, and to answer the sentence with a set of keys. Lots of interesting possibilities.

Re:Artificial Needles to Real Haystacks: Improving Retrieval... by avree on Saturday June 29, 2024 @07:12PM (#40833935)
If this type of fine-tuning severely harms the general-purpose capabilities of the model, why is it advantageous versus using a slimmer model more suited to your goal from the start? I guess I don't fully grok the paper.