← LibraryBlog · AI

What I Learned from Competing Against a ConvNet on ImageNet

Andrej Karpathy
✓ Source-grounded

To understand the true ceiling of Computer Vision, you must measure model performance against human accuracy on unconstrained data, revealing a narrow gap where humans still excel at context and abstraction.

Read the original

In one sentence

The state-of-the-art in image classification is reaching human-level performance on unconstrained "internet jungle" images, leaving humans only with a slight advantage (approx. 1.7%) when they apply significant effort and expertise.

Why read this (and who it's for)

This piece is essential for machine learning researchers and engineers who want to move beyond "leaderboard chasing" and understand the qualitative boundaries of current AI. It teaches you how to perform a rigorous Failure Mode Analysis—comparing where a model fails against where human cognition succeeds—allowing you to identify exactly which capabilities (like contextual reasoning or fine-grained discrimination) are still missing from your models.

The big idea

The author argues that evaluating AI performance requires putting it into perspective with human accuracy on the same dataset. While many CV tasks (like face verification) are "fairly constrained" by specific distributions, ImageNet is a "jungle of viewpoints, lighting conditions, and variations." Because the images come directly from the "interwebs," achieving high accuracy there is a much harder test of generalizability.

By quantifying human performance on this same unconstrained data, Karpathy reveals that human accuracy is not a fixed point but a trade-off curve. We trade off human effort and expertise for a lower error rate. While a distracted human might have a 15% error rate, an expert with significant time can reach ~5% error—still slightly better than the winning GoogLeNet model (6.7%), but showing how rapidly the gap is closing.

Key ideas

Unconstrained vs. Constrained Tasks

What it is — Many AI successes occur on "constrained" distributions where images are aligned, centered, and normalized. ImageNet is an "unconstrained" task because it includes raw internet images with wild variations. Why it matters — If you only test your model on constrained data, you aren't measuring its ability to handle the "jungle of the interwebs." In the book — Karpathy contrasts face verification (constrained) with ImageNet (unconstrained) to highlight why GoogLeNet’s performance is so impressive.

The Human Accuracy Trade-off Curve

What it is — Human accuracy isn't a single number; it exists on a curve where error rate decreases as effort and expertise increase. Why it matters — You cannot say "humans are 100% accurate" or "AI is X% accurate" in isolation. You must define the human baseline (e.g., an expert vs. a novice). In the book — Karpathy notes that his labmates with less patience hit ~15% error, while he achieved 5.1% after intense training and labeling effort.

Failure Mode Analysis: AI Weaknesses

What it is — Identifying specific categories where models fail: small/thin objects, image filters, and abstract representations (paintings, statues). Why it matters — This tells you exactly what the model lacks: the ability to leverage context or understand non-literal representations. In the book — Karpathy identifies that 21% of GoogLeNet errors were "small or thin" objects where humans used "context and affordances" (like realizing a small feather belongs to a person's hand).

Failure Mode Analysis: Human Weaknesses

What it is — Identifying where humans fail: fine-grained recognition (e.g., specific dog breeds) and class unawareness. Why it matters — This reveals the "superhuman" strengths of ConvNets—their ability to distinguish between hundreds of nearly identical sub-categories. In the book — 37% of human errors were fine-grained (dogs/monkeys), while only 7% of GoogLeNet's errors fell into that category.

The "Jungle" of Labeling

What it is — The difficulty of classifying images into 1000 categories where many classes are semantically similar (e.g., 120 breeds of dogs). Why it matters — It highlights the sheer cognitive load required to reach high accuracy on complex datasets, making the AI's performance even more impressive. In the book — Karpathy describes the "painfully long" process of scrolling through 120 dog breeds to identify a single species.

Frameworks & tools

The Human Accuracy Trade-off Curve

Use this model to evaluate any AI system's progress:

  1. Define the Human Baseline: Determine the error rate for a novice (low effort) vs. an expert (high effort).
  2. Identify the Gap: Measure the delta between the SOTA model and the "Expert" human baseline.
  3. Assess Progress: If the model is within 1-2% of the Expert human, it has mastered the primary visual features of that domain.

Failure Mode Categorization

When a model fails, do not just say "it's wrong." Categorize the error:

  1. Contextual/Affordance Error: Did the model miss a small object because it couldn't infer context? (Human advantage).
  2. Abstraction Error: Did the model fail on a painting or statue? (Human advantage).
  3. Fine-grained Discrimination Error: Did the model fail to distinguish between two nearly identical subspecies? (AI advantage).
  4. Distortion Error: Did a filter or rotation break the model?

Memorable examples & stories

The "Border Terrier" Collection Process: To collect images for this class, organizers searched the internet and used humans for binary filtering ("Is this a Border Terrier?"). This teaches us that data collection is often a binary task, while classification is a 1000-way discriminative task.

The Labeling Party: Karpathy organized an "intense labeling effort" among lab experts. They still struggled, hitting 13-15% error rates even with some training. This teaches us that human accuracy on ImageNet is extremely difficult to achieve.

The Small Ant: An image of a small ant on a stem was a failure for GoogLeNet but not for humans. This illustrates the human ability to leverage "context and affordances" to identify tiny objects.

Key quotes

"It is clear that humans will soon only be able to outperform state of the art image classification models by use of significant effort, expertise, and time." Why it matters: It defines the closing window of human superiority in raw visual recognition.

"Human accuracy is not a point. It lives on that tradeoff curve." (paraphrased) Why it matters: It warns against using "human accuracy" as a static benchmark.

"After seeing so many images... you start to develop a really good model of the failure modes." Why it matters: Qualitative analysis is as important as quantitative metrics for understanding model limits.

How to apply it

This week

Ongoing

Common pitfalls

Connects to

If you remember only three things

Internalize it

Q: Why is human accuracy on ImageNet not a single point? A: It is a trade-off curve: error rate decreases as human effort and expertise increase.

Q: In what category did humans significantly outperform GoogLeNet? A: Small or thin objects, where humans leverage context/affordances to infer identity.

Q: In what category did GoogLeNet outperform humans? A: Fine-grained recognition (e.g., distinguishing between many species of dogs).

Q: What was the approximate error rate for an expert human vs. the winning GoogLeNet model? A: Expert human ~5.1% vs. GoogLeNet 6.7%.

Fidelity note

Confidence: High. This summary is grounded strictly in Karpathy's analysis of the ILSVRC 2014 results and his personal labeling experiment. I am certain about the error percentages (5.1% human, 6.7% model) and the specific failure categories identified. A reader should verify the "trade-off curve" concept against the original text to ensure they understand the nuances of how Karpathy defines "effort."

Keep going — related reads

More from Andrej Karpathy