# Foundational must read GPT/LLM papers

**URL:** <https://community.openai.com/t/foundational-must-read-gpt-llm-papers/197003>\
**Category:** Community\
**Tags:** research, large-language-model\
**Created:** [May 7, 2023, 10:04pm UTC](https://community.openai.com/t/foundational-must-read-gpt-llm-papers/197003 "2023-05-07T22:04:16Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![bruce.dambrosio](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/bruce.dambrosio/32/224818_2.png) [@bruce.dambrosio](https://community.openai.com/u/bruce.dambrosio)\
**Post date:** [May 7, 2023, 10:04pm UTC](https://community.openai.com/t/foundational-must-read-gpt-llm-papers/197003/1 "2023-05-07T22:04:16Z")

</div>

Initializing a new thread on the very best, must read, well-written, papers on Large Language Model capabilities, limits, and use. We’re all balancing ‘do I continue my own work’ vs ‘do I keep up with the literature so my work stays cutting-edge and relevant, and I don’t waste my time re-inventing the wheel.’  
Suggested criteria for posting - if, as an academically inclined practitioner you were only going to read one paper on GPT and LLMs this month, would this be it?  
Sorry to sound harsh, I really do encourage participation. In any case, I have no moderation authority, anyone can post anything they want!  
Here’s my initial contribution. It’s from microsoft research, who has had full access to all of GPT4 long before most of us. Eric Horvitz, one of the authors and CSO (or something like that) of Microsoft research, is one of the smartest guys I know.  
**warning** the paper is _Long_

[Sparks of Artificial General Intelligence: Early experiments with GPT-4](https://arxiv.org/pdf/2303.12712.pdf)

* * *

Note: There is a separate topic for discussions about this topic.

> [@Discussion thread for "Foundational must read GPT/LLM papers"](https://community.openai.com/t/discussion-thread-for-foundational-must-read-gpt-llm-papers/207389):
>
> Welcome to the discussion thread for the “Foundational must read GPT/LLM papers” topic! This is your space to dissect, debate, and delve deeper into the papers mentioned in the main thread. Perhaps you’re grappling with some complex concepts in a paper, or you’ve stumbled upon an intriguing idea that you’d like to explore further. Maybe you have real-world experiences that confirm or contradict the theories proposed. Whatever your thoughts or questions, this is the place to share and learn toget…

* * *

* * *

Blog pages

While these section is not research paper(s) they are blog pages that note key research papers.

> **[LLM Powered Autonomous Agents](https://lilianweng.github.io/posts/2023-06-23-agent/?ref=emergentmind)**
>
> Building agents with LLM (large language model) as its core controller is a cool concept. Several proof-of-concepts demos, such as AutoGPT, GPT-Engineer and BabyAGI, serve as inspiring examples. The potentiality of LLM extends beyond generating...

> **[Patterns for Building LLM-based Systems & Products](https://eugeneyan.com/writing/llm-patterns/?ref=emergentmind)**
>
> Evals, RAG, fine-tuning, caching, guardrails, defensive UX, and collecting user feedback.

* * *

* * *

---

<div class="post-metadata">

**Author:** ![qrdl](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/qrdl/32/361458_2.png) [@qrdl](https://community.openai.com/u/qrdl)\
**Post date:** [May 7, 2023, 11:07pm UTC](https://community.openai.com/t/foundational-must-read-gpt-llm-papers/197003/2 "2023-05-07T23:07:09Z")

</div>

I really liked this paper as it talked about some of the capabilities for generating new science as well some interesting warnings about the dangers of “AI Malassist” which is AI help bad guys do bad things.

> **[Emergent autonomous scientific research capabilities of large language models](https://arxiv.org/abs/2304.05332)**
>
> Transformer-based large language models are rapidly advancing in the field of
> machine learning research, with applications spanning natural language,
> biology, chemistry, and computer programming. Extreme scaling and reinforcement
> learning from human...

I think this is an important paper as it talks about smaller models can perform as well as bigger models. Potentially relevant when you look at GPT3.5 being magnitude cheaper than GPT4.

> **[Distilling Step-by-Step! Outperforming Larger Language Models with Less...](https://arxiv.org/abs/2305.02301)**
>
> Deploying large language models (LLMs) is challenging because they are memory
> inefficient and compute-intensive for practical applications. In reaction,
> researchers train smaller task-specific models by either finetuning with human
> labels or...

Good paper for everyone to start out with. Dated now, but provides a good foundation.

> **[GPT-4 Technical Report](https://arxiv.org/abs/2303.08774)**
>
> We report the development of GPT-4, a large-scale, multimodal model which can
> accept image and text inputs and produce text outputs. While less capable than
> humans in many real-world scenarios, GPT-4 exhibits human-level performance on
> various...

Just one page to this paper, but it makes a point:

 ![image](https://us1.discourse-cdn.com/openai1/original/3X/6/c/6caa814fc3c06f4f067cb249c950869252325e7d.jpeg)

This was a fun paper. Check out the simulation here - [Reverie](https://reverie.herokuapp.com/arXiv_Demo/)

> **[Generative Agents: Interactive Simulacra of Human Behavior](https://arxiv.org/abs/2304.03442)**
>
> Believable proxies of human behavior can empower interactive applications
> ranging from immersive environments to rehearsal spaces for interpersonal
> communication to prototyping tools. In this paper, we introduce generative
> agents--computational...

Good twitter user to follow who regularly posts popular papers:

[https://twitter.com/\_akhaliq](https://twitter.com/_akhaliq)

---

<div class="post-metadata">

**Author:** ![qrdl](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/qrdl/32/361458_2.png) [@qrdl](https://community.openai.com/u/qrdl)\
**Post date:** [May 9, 2023, 4:10pm UTC](https://community.openai.com/t/foundational-must-read-gpt-llm-papers/197003/3 "2023-05-09T16:10:26Z")

</div>

Interesting paper on fine tuning llama without distilling from GPT. IBM

> **[Principle-Driven Self-Alignment of Language Models from Scratch with Minimal...](https://arxiv.org/abs/2305.03047)**
>
> Recent AI-assistant agents, such as ChatGPT, predominantly rely on supervised
> fine-tuning (SFT) with human annotations and reinforcement learning from human
> feedback (RLHF) to align the output of large language models (LLMs) with human
> intentions,...

Similar paper

> **[Constitutional AI: Harmlessness from AI Feedback](https://arxiv.org/abs/2212.08073)**
>
> As AI systems become more capable, we would like to enlist their help to
> supervise other AIs. We experiment with methods for training a harmless AI
> assistant through self-improvement, without any human labels identifying
> harmful outputs. The only...

---

<div class="post-metadata">

**Author:** ![bruce.dambrosio](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/bruce.dambrosio/32/224818_2.png) [@bruce.dambrosio](https://community.openai.com/u/bruce.dambrosio)\
**Post date:** [May 9, 2023, 6:35pm UTC](https://community.openai.com/t/foundational-must-read-gpt-llm-papers/197003/4 "2023-05-09T18:35:09Z")

</div>

Hey @qrdl, you posted a bunch of pprs! It will take me a while to catch up 😀  
On the scientific one, nice paper outlining the basics of engineering LLMs into larger applications.  
I noticed the comment about segmenting the documentation into 7800 token windows for embedding. Hmm - has anyone tried embedding multiple (two is probably enough) offset sliding windows of a text, in the case where the most relevant piece is split over two windows in one or another of the windowings?

On the ‘dangers’ - Hmm. Whom are ‘we’ protecting from what? Few people will have the actual physical resources to actually do any of the syntheses, and those who do probably don’t need gpt to figure out the synthesis. But that is just revealing my bias.

More importantly, I’ve been around long enough to be skeptical about how quickly new technology behind small demos will quickly top out.

Having said that, I’m spending sleepless days and nights persuing adaptations of exactly these techniques! Nice layout of the essential process of building around LLMs.

---

<div class="post-metadata">

**Author:** ![qrdl](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/qrdl/32/361458_2.png) [@qrdl](https://community.openai.com/u/qrdl)\
**Post date:** [May 9, 2023, 7:20pm UTC](https://community.openai.com/t/foundational-must-read-gpt-llm-papers/197003/5 "2023-05-09T19:20:37Z")

</div>

> On the ‘dangers’ - Hmm. Whom are ‘we’ protecting from what? Few people will have the actual physical resources to actually do any of the syntheses, and those who do probably don’t need gpt to figure out the synthesis. But that is just revealing my bias.

The problem of AI Malassist I think was best discussed in this video. This is not sci-fi AGI kill all humans stuff, but a real and present danger. I really encourage anyone and everyone interested in AI safety to watch this. I link to to the critical part, but there are other earlier parts in the video that are related.

[![](https://us1.discourse-cdn.com/openai1/original/3X/d/9/d9d804b3b8b63d3e22fa1292ae0a13ccd8546764.jpeg "OpenAI's GPT-4 Discussion with Red Teamer Nathan Labenz and Erik Torenberg") ](https://www.youtube.com/watch?v=oLiheMQayNE&t=3107s)

I am quite concerned about this, but I also am cognizant that this will be an excuse for regulatory capture, which I and pretty much everyone else would hate to see. It’s a difficult situation.

---

<div class="post-metadata">

**Author:** ![qrdl](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/qrdl/32/361458_2.png) [@qrdl](https://community.openai.com/u/qrdl)\
**Post date:** [May 9, 2023, 8:03pm UTC](https://community.openai.com/t/foundational-must-read-gpt-llm-papers/197003/6 "2023-05-09T20:03:35Z")

</div>

I’m posting papers which aren’t necessarily foundational, but ones I find particularly interesting. Hope that’s ok.

I find any paper which addresses the ‘chain of thought’ type planning/execution/reasoning to be very interesting, and the more I can read the better. They all give me lots of cool ideas.

> **[Plan-and-Solve Prompting: Improving Zero-Shot Chain-of-Thought Reasoning by...](https://arxiv.org/abs/2305.04091)**
>
> Large language models (LLMs) have recently been shown to deliver impressive
> performance in various NLP tasks. To tackle multi-step reasoning tasks,
> few-shot chain-of-thought (CoT) prompting includes a few manually crafted
> step-by-step reasoning...

If the forum lets me, I’ll re-edit and add more COT papers here to avoid too much bumping noise.

> **[Complexity-Based Prompting for Multi-Step Reasoning](https://arxiv.org/abs/2210.00720)**
>
> We study the task of prompting large-scale language models to perform
> multi-step reasoning. Existing work shows that when prompted with a chain of
> thoughts (CoT), sequences of short sentences describing intermediate reasoning
> steps towards a final...

Good paper with some already known tips (sadly they don’t bother looking for prior art unless its in a paper, I guess), but still useful anyways for lowering GPT4 costs (by 98% they say)

> **[FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving...](https://arxiv.org/abs/2305.05176)**
>
> There is a rapidly growing number of large language models (LLMs) that users
> can query for a fee. We review the cost associated with querying popular LLM
> APIs, e.g. GPT-4, ChatGPT, J1-Jumbo, and find that these models have
> heterogeneous pricing...

---

<div class="post-metadata">

**Author:** ![SomebodySysop](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/somebodysysop/32/17613_2.png) [@SomebodySysop](https://community.openai.com/u/SomebodySysop)\
**Post date:** [May 10, 2023, 5:31am UTC](https://community.openai.com/t/foundational-must-read-gpt-llm-papers/197003/7 "2023-05-10T05:31:22Z")

</div>

Whose job does AI automate?: [Whose job does AI automate? - YouTube](https://youtu.be/gjDRDrOrH94)  
AI and Stochastic Parrots: [A.I. and Stochastic Parrots | FACTUALLY with Emily Bender and Timnit Gebru - YouTube](https://youtu.be/jAHRbFetqII)

Some thoughtful discussions on the real impact of AI on our society. I believe that the good will outweigh the bad, but a lot. But it is also important to recognize the potential problems now in order to develop the strategies to deal with them.

---

<div class="post-metadata">

**Author:** ![qrdl](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/qrdl/32/361458_2.png) [@qrdl](https://community.openai.com/u/qrdl)\
**Post date:** [May 10, 2023, 8:42pm UTC](https://community.openai.com/t/foundational-must-read-gpt-llm-papers/197003/8 "2023-05-10T20:42:19Z")

</div>

Yeah those were good papers to start the discussion. I was a bit skeptical of the job one, but at least someone started the ball rolling.

The technical report on Palm 2 that was announced today at Google IO is out.

> **[palm2techreport.pdf](https://ai.google/static/documents/palm2techreport.pdf)**
>
> 4.85 MB

Doesn’t seem to do so well at humaneval, which by some, is considered a gold standard for python code generation.

![image](https://us1.discourse-cdn.com/openai1/original/3X/2/4/2420b6b60723a85ca873121986a235b9782dc5cd.png)

---

<div class="post-metadata">

**Author:** ![N2U](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/n2u/32/54438_2.png) [@N2U](https://community.openai.com/u/N2U)\
**Post date:** [May 13, 2023, 5:09pm UTC](https://community.openai.com/t/foundational-must-read-gpt-llm-papers/197003/10 "2023-05-13T17:09:25Z")

</div>

I strongly recommend that people read the ReAct paper, it introduces a novel method for synergistically combining reasoning and acting in large language models (LLMs). Their approach outperforms existing benchmarks on various tasks but also tries to address common issues such as hallucination and error propagation in chain-of-thought reasoning.

> **[ReAct: Synergizing Reasoning and Acting in Language Models](https://arxiv.org/abs/2210.03629)**
>
> While large language models (LLMs) have demonstrated impressive capabilities
> across tasks in language understanding and interactive decision making, their
> abilities for reasoning (e.g. chain-of-thought prompting) and acting (e.g.
> action plan...

---

<div class="post-metadata">

**Author:** ![qrdl](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/qrdl/32/361458_2.png) [@qrdl](https://community.openai.com/u/qrdl)\
**Post date:** [May 14, 2023, 3:04am UTC](https://community.openai.com/t/foundational-must-read-gpt-llm-papers/197003/13 "2023-05-14T03:04:09Z")

</div>

Sorry about the deleted posts! Perhaps the forum software can be updated not to show them?

Moving discussion about papers to [Discussion thread for "Foundational must read GPT/LLM papers"](https://community.openai.com/t/discussion-thread-for-foundational-must-read-gpt-llm-papers/207389)

---

<div class="post-metadata">

**Author:** ![curt.kennedy](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/curt.kennedy/32/709249_2.png) [@curt.kennedy](https://community.openai.com/u/curt.kennedy)\
**Post date:** [May 15, 2023, 1:58am UTC](https://community.openai.com/t/foundational-must-read-gpt-llm-papers/197003/14 "2023-05-15T01:58:22Z")

</div>

Develop GPT-3 from scratch with Andrej Karpathy, legendary founding member of OpenAI (and lead AI engineer at Tesla). The focus is on the original paper “Attention is All You Need”.

[![](https://us1.discourse-cdn.com/openai1/original/3X/7/9/79a05c35b9ace9a39a09b8199702ddd939165ea0.jpeg "Let's build GPT: from scratch, in code, spelled out.") ](https://www.youtube.com/watch?v=kCc8FmEb1nY)

The video is a model trained on Shakespeare, but you can evolve it from there. All code is in the Colab notebook. You can generalize it from the Bigram to the Trigram, etc. to get more and more GPT level quality. Also swap out the tokenizer for the one GPT-4 uses, etc.

Then develop on his nanoGPT framework on an A100, but that’s cheating 🤣

---

<div class="post-metadata">

**Author:** ![qrdl](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/qrdl/32/361458_2.png) [@qrdl](https://community.openai.com/u/qrdl)\
**Post date:** [May 20, 2023, 9:15pm UTC](https://community.openai.com/t/foundational-must-read-gpt-llm-papers/197003/15 "2023-05-20T21:15:49Z")

</div>

Tree of Thoughts - Great paper, simple idea, described cleanly. More evals would have been nice, but its a start.

> **[2305.10601.pdf](https://arxiv.org/pdf/2305.10601.pdf)**
>
> 748.36 KB

I actually proposed this idea a week ago, though I’ll admit the concept of prune/backtrack had not yet occured me, but from a DFS/BFS point of view seems sort of obvious now.

> <https://github.com/openai/evals/issues/968>
>
> \### Describe the feature or improvement you're requesting
> 
> I think it would be… interesting to see how GPT4 performs on more ideal scenarios, where COT is allowed extensively.  
> 
> In particular, GPT4 is allowed to think step by step along several different approaches to solve a problem and provide its reasoning. Some prompting should be done to ensure that it tries to look at the problem from different angles / viewpoints / perspectives.
> 
> Then, in a second prompt, it's asked to pick from the approach it thinks is most likely to be correct.  
> 
> If there has been a paper or effort done on evaluating GPT4 for something like this, I'd greatly appreciate a link. :)
> 
> \### Additional context
> 
> \_No response\_

What’s interesting is this is somewhat thematically related to simbiotico, the mindmapping tool I built for GPT4. There are a number of alternative solutions, btw,

> **[NodePad: LLM-aided graph based note-taking and brainstorming tool](https://news.ycombinator.com/item?id=36002817)**
>
> 84 points —
> 42 comments —
> beshrkayali —
> 3:04 PM - 19 May 2023

---

<div class="post-metadata">

**Author:** ![codie](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/codie/32/77495_2.png) [@codie](https://community.openai.com/u/codie)\
**Post date:** [May 20, 2023, 9:41pm UTC](https://community.openai.com/t/foundational-must-read-gpt-llm-papers/197003/16 "2023-05-20T21:41:36Z")

</div>

These are going to be a lot to read through. A lot of times I’ll read a paper and then find out it was not even close to anything I’ve needed. I’ve incorporated AI into my paper/report reading regiment.

If I am on mobile I use [Ask Your PDF](https://askyourpdf.com/).  
If I am on desktop I use [LightPDF](https://lightpdf.com/chatdoc).

They help me interrogate the documents a lot faster than me trying to skip over parts and wondering if maybe I didn’t search it thoroughly enough. It’s rare that I find a paper that I need to read 100% of. So for the people in the same boat, I suggest using those to increase your research throughput.

---

<div class="post-metadata">

**Author:** ![bruce.dambrosio](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/bruce.dambrosio/32/224818_2.png) [@bruce.dambrosio](https://community.openai.com/u/bruce.dambrosio)\
**Post date:** [May 20, 2023, 10:45pm UTC](https://community.openai.com/t/foundational-must-read-gpt-llm-papers/197003/17 "2023-05-20T22:45:08Z")

</div>

Know of a comparable desktop tool for linux? Seems like a great idea, too many papers, too little time.

Maybe I’ll have to build one

---

<div class="post-metadata">

**Author:** ![bruce.dambrosio](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/bruce.dambrosio/32/224818_2.png) [@bruce.dambrosio](https://community.openai.com/u/bruce.dambrosio)\
**Post date:** [May 21, 2023, 6:41pm UTC](https://community.openai.com/t/foundational-must-read-gpt-llm-papers/197003/18 "2023-05-21T18:41:39Z")

</div>

answer my own question - there is a plugin for this  
AskYourPdf  
Also LinkReader

---

<div class="post-metadata">

**Author:** ![N2U](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/n2u/32/54438_2.png) [@N2U](https://community.openai.com/u/N2U)\
**Post date:** [May 25, 2023, 5:20pm UTC](https://community.openai.com/t/foundational-must-read-gpt-llm-papers/197003/19 "2023-05-25T17:20:57Z")

</div>

And earlier paper with very similar ideas to the “tree of thoughts” paper:

> **[Maieutic Prompting: Logically Consistent Reasoning with Recursive Explanations](https://arxiv.org/abs/2205.11822)**
>
> Despite their impressive capabilities, large pre-trained language models
> (LMs) struggle with consistent reasoning; recently, prompting LMs to generate
> explanations that self-guide the inference has emerged as a promising direction
> to amend this....

---

<div class="post-metadata">

**Author:** ![qrdl](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/qrdl/32/361458_2.png) [@qrdl](https://community.openai.com/u/qrdl)\
**Post date:** [May 25, 2023, 9:02pm UTC](https://community.openai.com/t/foundational-must-read-gpt-llm-papers/197003/20 "2023-05-25T21:02:29Z")

</div>

They conflate AI misuse/malassist with autonomous fantasy, but otherwise a foundational / must read.

> **[Model evaluation for extreme risks](https://arxiv.org/abs/2305.15324)**
>
> Current approaches to building general-purpose AI systems tend to produce
> systems with both beneficial and harmful capabilities. Further progress in AI
> development could lead to capabilities that pose extreme risks, such as
> offensive cyber...

TBH, you could just read this one page and gain about 90% of the utility of this paper.

 ![image](https://us1.discourse-cdn.com/openai1/original/3X/d/8/d85b5e8df35cf1419fb9d9c58b8cd81598cb1da8.png)

---

<div class="post-metadata">

**Author:** ![bruce.dambrosio](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/bruce.dambrosio/32/224818_2.png) [@bruce.dambrosio](https://community.openai.com/u/bruce.dambrosio)\
**Post date:** [May 31, 2023, 7:43pm UTC](https://community.openai.com/t/foundational-must-read-gpt-llm-papers/197003/21 "2023-05-31T19:43:31Z")

</div>

[Limits on Compositionality](https://arxiv.org/abs/2305.18654)

tl;dr:  
LLMs just do pattern-matching on linearized short multi-step logic chaings, they can’t scale reasoning very far.

@jwatte will probably find much to agree with here.  
I don’t find much to disagree with…

---

<div class="post-metadata">

**Author:** ![bruce.dambrosio](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/bruce.dambrosio/32/224818_2.png) [@bruce.dambrosio](https://community.openai.com/u/bruce.dambrosio)\
**Post date:** [May 31, 2023, 9:57pm UTC](https://community.openai.com/t/foundational-must-read-gpt-llm-papers/197003/22 "2023-05-31T21:57:00Z")

</div>

Thinking further about the paper, I believe the lack of ‘logical reasoning’ on language as compared to the incredible capability at code-generation speaks more to the existing of logical thinking in the training texts than it does to the inability of LLMs.  
Maybe we should increase the representation of Principia Mathematica and Plato in the training corpus and decrease the representation of your favorite flame blog and troll posts.

---

<div class="post-metadata">

**Author:** ![jwatte](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/jwatte/32/127705_2.png) [@jwatte](https://community.openai.com/u/jwatte)\
**Post date:** [June 1, 2023, 12:00am UTC](https://community.openai.com/t/foundational-must-read-gpt-llm-papers/197003/23 "2023-06-01T00:00:23Z")

</div>

> [@bruce.dambrosio](#):
>
> @jwatte will probably find much to agree with here.

You’re not wrong 😃

> [@bruce.dambrosio](#):
>
> Maybe we should increase the representation of Principia Mathematica

I think this will get further in pattern matching on logic that it’s trained on, but it still doesn’t have the ability to extrapolate to new patterns.  
(It can extrapolate within existing patterns, sometimes to great effect, and sometimes … that’s where hallucinations come from!)

That being said – if this is a tool for “everyday work” rather than “high end thinking,” then maybe filling in enough of the basic cases will just make them good enough for those use cases?

[Next page](https://community.openai.com/t/foundational-must-read-gpt-llm-papers/197003.md?page=2)
