AI & LLMs

GPT-4 and the Rise of Multimodal AI

GPT-4 arrived last week with markedly better reasoning, a much longer context window and the ability to understand images as well as text. We look at what is genuinely new, what the headline exam results do and do not mean, and how multimodal models change what AI applications can do.

By EthicalHat Research · · 3 min read
Infographic: GPT-3.5 vs GPT-4, as announced

On 14 March, OpenAI released GPT-4. The same day, Anthropic launched its Claude assistant and Google announced API access to its PaLM model. Microsoft confirmed that the new Bing chat has been running on GPT-4 since February. It has been an extraordinary few weeks for AI.

GPT-4 stands out for three reasons: better reasoning, much longer context, and the ability to understand images as well as text.

Better reasoning, with caveats

OpenAI's technical report shows GPT-4 performing strongly on exams designed for humans. On a simulated bar exam, OpenAI reports a score around the top 10% of test takers, compared with around the bottom 10% for GPT-3.5. It also reports large improvements on academic benchmarks and on following nuanced instructions.

In practice, early users report:

  • fewer factual errors (OpenAI says GPT-4 scores 40% higher than GPT-3.5 on its internal factuality evaluations),
  • more reliable multi-step reasoning and coding,
  • better adherence to complex instructions and formats, and
  • more consistent behaviour in long conversations.

Two caveats:

  1. Exams are not jobs. Passing a test designed for humans measures something different in a model that has read vast amounts of text. Contamination (test questions appearing in training data) is also hard to rule out.
  2. It still hallucinates. OpenAI is explicit that GPT-4 "is still not fully reliable": it makes up facts and makes reasoning errors, and should not be used in high-stakes settings without human review.

Multimodal input

GPT-4 accepts images alongside text. OpenAI's demonstrations include:

  • explaining why an unusual image is funny,
  • reading charts and answering questions about them,
  • solving exam problems given as photographs, and
  • turning a hand-drawn sketch of a website into working HTML.

Image input is not yet generally available; OpenAI is testing it with a single partner, Be My Eyes, which helps blind and low-vision users understand their surroundings. But it signals where models are heading.

flowchart LR
  I1[Text] --> M[Multimodal model]
  I2[Images: photos, charts,<br/>screenshots, scans] --> M
  M --> O[Text output:<br/>answers, code, analysis]

Why multimodality matters

Much of the world's business information is not clean text: scanned invoices, forms, slide decks, dashboards, whiteboard photos, UI screenshots and diagrams. Multimodal models can potentially:

  • extract data from documents without separate OCR and layout pipelines,
  • answer questions about charts and reports,
  • understand software interfaces from screenshots, and
  • support accessibility use cases.

Longer context

GPT-4 comes in two context sizes: about 8,000 tokens and 32,000 tokens, roughly 50 pages of text. That makes it possible to include a whole contract, a long report or a sizeable code file in one request, instead of splitting it up.

Longer context is not free: cost scales with the number of tokens, and models can still overlook details in very long inputs. For large document collections, retrieving only the relevant passages remains important.

What OpenAI did not say

The technical report deliberately omits details of model size, architecture, training data and compute, citing competition and safety. That makes independent assessment harder, and it marks a shift from the openness of earlier GPT papers.

Using GPT-4 today

GPT-4 is available to ChatGPT Plus subscribers and through an API waitlist, at a significantly higher price per token than GPT-3.5 Turbo. A sensible approach for teams:

  • Use GPT-4 where quality matters: complex reasoning, nuanced writing, difficult code and evaluation of other models' outputs.
  • Use cheaper models for volume: classification, simple extraction and high-throughput tasks.
  • Build an evaluation set from your own tasks and compare models on it, rather than relying on published benchmarks.
python
import openai

response = openai.ChatCompletion.create(
    model="gpt-4",
    messages=[
        {"role": "system", "content": "You are a careful contract analyst. Quote the clause you rely on."},
        {"role": "user", "content": f"Does this agreement allow termination for convenience?\n\n{contract_text}"},
    ],
    temperature=0,
)
print(response["choices"][0]["message"]["content"])

Risks to keep in mind

  • Overreliance: better answers make errors harder to spot.
  • Data handling: understand what happens to data you send to any API.
  • Prompt injection: as models read more content (documents, web pages, images), attackers can hide instructions in that content.
  • Misuse: more capable models write more convincing phishing and disinformation.

The bottom line

GPT-4 is not a leap to general intelligence, but it is a significant improvement in reliability and capability. Its image understanding points to a near future where AI systems work with all the information formats businesses use, not just text. Now is the time to identify the documents, workflows and decisions where that could help, and to build the evaluation and guardrails you will need.

Our agentic AI security team helps organisations evaluate GPT-4 and other models against their own use cases.

EthicalHat Research

The EthicalHat research team: penetration testers, SOC analysts and engineers writing about security, software engineering and AI.

Want an expert opinion on your own systems?

Email info@ethicalhat.com or call +1-844-838-4422. Our security engineers are happy to talk it through.