Saying that LLMs simulate reasoning makes as much sense as saying that robots simulate walking.
4
575
Sergio Castro retweeted
Pressure Testing GPT-4-128K With Long Context Recall
128K tokens of context is awesome - but what's performance like?
I wanted to find out so I did a “needle in a haystack” analysis
Some expected (and unexpected) results
Here's what I found:
Findings:
* GPT-4’s recall performance started to degrade above 73K tokens
* Low recall performance was correlated when the fact to be recalled was placed between at 7%-50% document depth
* If the fact was at the beginning of the document, it was recalled regardless of context length
So what:
* No Guarantees - Your facts are not guaranteed to be retrieved. Don’t bake the assumption they will into your applications
* Less context = more accuracy - This is well know, but when possible reduce the amount of context you send to GPT-4 to increase its ability to recall
* Position matters - Also well know, but facts placed at the very beginning and 2nd half of the document seem to be recalled better
Overview of the process:
* Use Paul Graham essays as ‘background’ tokens. With 218 essays it’s easy to get up to 128K tokens
* Place a random statement within the document at various depths. Fact used: “The best thing to do in San Francisco is eat a sandwich and sit in Dolores Park on a sunny day.”
* Ask GPT-4 to answer this question only using the context provided
* Evaluate GPT-4s answer with another model (gpt-4 again) using @langchain evals
* Rinse and repeat for 15x document depths between 0% (top of document) and 100% (bottom of document) and 15x context lengths (1K Tokens > 128K Tokens)
Next Steps To Take This Further:
* Iterations of this analysis were evenly distributed, it’s been suggested that doing a sigmoid distribution would be better (it would tease out more nuanced at the start and end of the document)
* For rigor, one should do a key:value retrieval step. However for relatability I did a San Francisco line within PGs essays.
Notes:
* While I think this will be directionally correct, more testing is needed to get a firmer grip on GPT4s abilities
* Switching up prompt with vary results
* 2x tests were run at large context lengths to tease out more performance
* This test cost ~$200 for API calls (a single call at 128K input tokens costs $1.28)
* Thank you to @charles_irl for being a sounding board and providing great next steps
Sergio Castro retweeted
How can we trust LM evals when LMs might be pretraining on the test set? We show you can prove suspected test set contamination on black-box models with false positive rate guarantees. An audit of 5 open LMs shows little evidence of strong contamination. arxiv.org/abs/2310.17623
Today saying that you are an "AI expert" is like a doctor saying that they are a "medicine expert". What speciality, exactly?
1
11
354
Sergio Castro retweeted
GPT-4 Out-performs RL Algorithms by Studying the Paper and Reasoning.
Our SPRING framework extracts relevant info from an academic paper on an RL game (Crafter) and learns to play the game without training. (1/6)
with @SoYeonTiffMin @shrimai_ @ybisk @rsalakhu @tommmitchell
Sergio Castro retweeted
2023 is the year of #LLM's (#ChatGPT) with great potential for good but also many risks - including #privacy - that cry out for #regulation.
Our focus: the #EU AI ACT, but also the AI regulation efforts getting started in the US.
Next blog soon...
dctechthoughts.blogspot.com/…
Sergio Castro retweeted
And Switzerland???
Bard is now available in these 180 countries...
but not Canada🥲
Any legal folks know why not? support.google.com/bard/answ…
When people say "ChatGPT cannot do X", most of the time what they should be saying is "I don't know how to get ChatGPT to do X".
1
7
2,305
Sergio Castro retweeted
If your mind isn't being blown away every day by using GPT-4, then it's obvious that you aren't using the tool in anger. It seems to me that most people are driving a Bugatti at 25mph!
Sergio Castro retweeted
Working in AI is stressful not only because progress is fast, but also because progress is HIGHLY CONVERGENT.
As AI becomes more general, fewer tailored ideas and tools are needed.
Sergio Castro retweeted
Repeat after me:
1. Current Auto-Regressive LLMs are *very* useful as writing aids (yes, even for medical reports).
2. They are not reliable as factual information sources.
3. Writing assistance is like driving assistance: your hands must remain on the keyboard/wheel at all times
I'm very proud of this interview. I listened to NPR every day when I arrived in the US and it was a key part of my integration process.
Thank you @gbrumfiel !
Sergio Castro retweeted
Dear Students, please don't get discouraged... we need you. Quoting another Geoff: "The future depends on some graduate student who is deeply suspicious of everything I have said" (8/8)
Sergio Castro retweeted
I get a lot of questions on the “why” of embedding search.
This is the simple example I like to use to help illustrate the magic of embeddings.
Once it clicks, you understand why it’s such a powerful retrieval mechanism for AI systems.
Sergio Castro retweeted
if you run a startup, you need to realize that no matter what you are building (outside of hardware), you are now competing with openai and have maybe few years/months to arbitrage the time before openai just does what you do or allows their users to build what you’re building.
Sergio Castro retweeted
The #1 misconception with ChatGPT is thinking capabilities are a property of the model rather than model + input.
Example: ChatGPT is great at chess when prompted with strings that look like real chess games; e.g., "1. e4 e5 2. Nf3". Otherwise it's bad.
news.ycombinator.com/item?id…

























