5 ms·
Llms seem like a good compression mechanism. It blows my mind that I can have a copy of llama locally on my PC and have access to virtually the entire internet
by whatever1 3y ago
Llms seem like a good compression mechanism.
It blows my mind that I can have a copy of llama locally on my PC and have access to virtually the entire internet
- Culonavirus 3y agoYea except it's a lossy compression. With the lost part being hallucinated in at inference time.
- Kuinox 3y agoIf you've read the article, the LLM hallucinations aren't due to the model not knowing the information but a function that choose to remember the wrong thing.
- sinemetu11 3y agoFrom the paper: > Finally, we use our dataset and LRE-estimating method to build a visualization tool we call an attribute lens. Instead of showing the next token distribution like Logit Lens (nostalgebraist, 2020) the attribute lens shows the object-token distribution at each layer for a given relation. This lets us visualize where and when the LM finishes retrieving knowledge about a specific relation, and can reveal the presence of knowledge about attributes even when that knowledge does not reach the output. They're just looking at what lights up in the embedding when they feed something in, and whatever lights up is "knowing" about that topic. The function is an approximation they added on top of the model. It's important to not conflate this with the actual weights of the model. You can't separate the hallucinations from the model -- they exist precisely because of the lossy compression.
- deleted 3y ago[deleted]
- ewild 3y agoeven this place has people not reading the articles. we are doomed
- AnotherGoodName 3y agoLossy and lossless are way more transferable than people give credit. Long winded explanation as best as i can in a HN comment. Essentially for state of the art compression both the encoder and the decoder have the same algorithm. They look at the bits encoded/decoded so far, they both run exactly the same prediction on those bits seen so far using some model that predicts based on past data (AI is fantastic for this). If the prediction was 99% likely that the next bit is a '1' the encoder only writes a fraction of a bit to represent that (assuming the prediction is correct) and on the other side the decoder will have the same prediction at that point and either read the next large number of bits to correct or it will be able to simple write '1' to the output and start on the prediction of the next bit given that now written '1'. Essentially lossy predictions of the next data are great tools to losslessly compress data as those predictions of the next bit/byte/word minimize the data needed to losslessly encode that next bit/byte/word. Likewise you can trivially make a lossy compressor out of a lossless one. Lossy and lossless just aren't that different. The longstanding Hutter prize for AI in fact judges the AI on how well it can compress data. http://prize.hutter1.net/ http://prize.hutter1.net/ This is based in the fact that what we think of as AI and compression are quite interchangeable. There's a whole bunch of papers out on this. http://prize.hutter1.net/hfaq.htm#compai http://prize.hutter1.net/hfaq.htm#compai I have nothing to do with Hutter but i know all about AI and data compression and their relation.
- krainboltgreene 3y ago> have access to virtually the entire internet It isn't even close to 1% of the internet, much less virtually the entire internet. According to the latest dump, Common Crawl has 4.3B pages, but Google in 2016 estimated there are 130T pages. The difference between 130T and 4.3B is about 130T. Even if you narrow it down to Google's searchable text index it's "100's of billions of pages" and roughly 100P compared to CommonCrawl's 400T.
- fspeech 3y ago130T unique pages? That seems highly unlikely as that averages to over 10000 pages for each human being alive. If gp merely wants texts of interest to self as opposed to an accurate snapshot it seems LLMs should be quite capable, one day.
- darby_eight 3y agoIt doesn't seem that hard to believe given how much automatically generated "content" (mostly garbage) there is. I think a more interesting question is how much information there is on the internet, especially after optimal compression. I'm guessing this is a very difficult question to answer, but also much higher than LLMs currently store.
- cypress66 3y agoIs it? Every user profile in every website is a page. Every single tweet is a page.
- fspeech 3y agoTweets count. HN posts also count (actually as high quality texts :). IOT devices reporting status based on the same templates should not qualify as unique pages (count the number of templates if you want). Now if I do a search for some news, many almost verbatim copies would show up. They should only count as one, as we are looking for unique texts!
- whatever1 3y ago
- deleted 3y ago[deleted]
- nyrikki 3y agoPAC learning is compression. PAC learnable, Finite VC dimensionality, and the following form of compression are fully equivalent. https://arxiv.org/abs/1610.03592 https://arxiv.org/abs/1610.03592 Basically each individual neuron/perceptron just splits a space into two subspaces.