The Joy Robot
Home | Content | Services | About
Search Eng Dark

TJR-News News, Artificial Intelligence 2023-03-15

OpenAI unveils GPT-4: a multimodal model that passes the bar exam in the top 10% of scores

Just three and a half months after ChatGPT took the Internet by storm, OpenAI introduced GPT-4 this Tuesday, March 14, the new generation of its language model. The company describes it as “the latest milestone” in its effort to scale up deep learning, and the first results show a significant leap over GPT-3.5, the model behind the free version of ChatGPT.



GPT-4 accepts text and images and generates text. Illustration: The Joy Robot.



Multimodal: it understands images

The big news is that GPT-4 is a multimodal model: in addition to text, it can take images as input and answer questions about them in text. OpenAI showed examples in which it explains why an image is funny, interprets charts, solves exercises from a photo or describes the contents of a screenshot.

That said, this capability is still a research preview and is not available to the public. For now, OpenAI is testing it with Be My Eyes, an app that helps blind and low-vision people, to describe what their phone's camera sees.



Human-level results on exams

To measure its capabilities, OpenAI put GPT-4 through dozens of exams designed for people. The most striking result was on the US bar exam (Uniform Bar Exam): GPT-4 scored around the top 10% of test takers, while GPT-3.5 was in the bottom 10%.



Percentile achieved by GPT-4 and GPT-3.5 on different exams. Chart: The Joy Robot.

According to OpenAI, GPT-4 is also more reliable and creative, and can handle much more nuanced instructions than its predecessor. The company says it spent six months aligning it: compared to GPT-3.5, it is 82% less likely to respond to requests for disallowed content and scores 40% higher on its internal factuality evaluations.



What we don't know

Unlike previous models, OpenAI revealed almost no technical details about GPT-4. Its technical report doesn't state the model size, architecture, hardware or training data, citing competitive and safety reasons. It's a big change for a company that has “open” in its name, and it's already drawing criticism from the scientific community.

OpenAI also acknowledges that GPT-4 keeps the limitations of its predecessors: it still “hallucinates” facts, makes reasoning errors and knows nothing about what happened after September 2021.



Where can you use it?

  • ChatGPT Plus: subscribers to the 20-dollar-a-month paid plan can already use GPT-4, with a message cap.
  • API: developers can join a waitlist. There are two versions: one with an 8,192-token context and another with 32,768 tokens, equivalent to about 50 pages of text.
  • Bing: Microsoft confirmed that the new Bing chat, launched in February, was already running on a version of GPT-4.
  • Companies: Duolingo, Stripe, Morgan Stanley, Khan Academy and the government of Iceland are already using it in their products.

For developers with access, using GPT-4 from Python is very similar to using the ChatGPT model. With OpenAI's official library, you just change the model name:



Language: Python

 1 | import openai
 2 | 
 3 | openai.api_key = "YOUR_API_KEY"
 4 | 
 5 | response = openai.ChatCompletion.create(
 6 |     model="gpt-4",
 7 |     messages=[
 8 |         {"role": "system", "content": "You are an electronics expert."},
 9 |         {"role": "user", "content": "Explain what a pull-up resistor is."}
10 |     ]
11 | )
12 | 
13 | print(response["choices"][0]["message"]["content"])

The price is 0.03 dollars per thousand input tokens and 0.06 dollars per thousand output tokens, quite a bit more expensive than GPT-3.5.



Our take

The jump from GPT-3.5 to GPT-4 is huge, especially on tasks that require reasoning, such as solving math or programming problems. A model going from the bottom 10% to the top 10% on a bar exam in less than a year gives you an idea of how fast this technology is moving. And the ability to understand images opens up very interesting possibilities, like the collaboration with Be My Eyes.

What we don't like is the lack of transparency. Without knowing how it was trained or on what data, it's impossible for the scientific community to evaluate its risks or reproduce its results. At a time when open models like LLaMA show that it's possible to share more, OpenAI's decision to keep every detail closed marks a change of direction worth watching.




The Joy Robot