Sergio Castro (@SergioCastroR) header
Sergio Castro (@SergioCastroR) profile picture

AI / Cybersecurity / P(doom) ∈ [0, 1]

Joined January 2014
Photo by Sergio Castro (@SergioCastroR)Photo by Sergio Castro (@SergioCastroR)Photo by Sergio Castro (@SergioCastroR)Photo by Sergio Castro (@SergioCastroR)Photo by Sergio Castro (@SergioCastroR)Photo by Sergio Castro (@SergioCastroR)Photo by Sergio Castro (@SergioCastroR)Photo by Sergio Castro (@SergioCastroR)Photo by Sergio Castro (@SergioCastroR)Photo by Sergio Castro (@SergioCastroR)
Saying that LLMs simulate reasoning makes as much sense as saying that robots simulate walking.
4
575
Sorry, but Reasoning Deniers are the flat earthers of AI You can literally watch AIs reason IN PLAIN ENGLISH in front of your very own eyes.
It's only called reasoning if a human does it, otherwise it's just sparkling pattern matching
53
48
11
508
109,997
Claude needs a "stop" button @alexalbert__ , please
3
499
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
199
606
197
3,788
1,477,989
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
6
51
4
273
51,608
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
2
12
55
15,865
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/…
4
11
1
15
1,690
And Switzerland???
Bard is now available in these 180 countries... but not Canada🥲 Any legal folks know why not? support.google.com/bard/answ…
9
2
3
19
18,979
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
🚨Here’s an intuitive explanation for why training on lots and lots of data creates emergent properties, for instance math and reasoning, in large language models like #GPT-4 and #ChatGPT 🚨 1/17
6
34
3
266
110,769
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!
10
13
94
11,436
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.
1
2
7
467
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 !
60
492
68
2,567
574,386
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)
19
192
16
1,412
129,665
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.
17
37
5
326
115,760
Sergio Castro retweeted
Another one for the “GPT4 is more than a stochastic parrot” evidence pile…
234
907
212
12,967
4,649,139
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.
143
203
123
1,649
553,981
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…
3
4
1
32
5,030