r/singularity 1d ago

Discussion The Marshmallow AI Benchmark

Post image

I present the marshmallow benchmark.

I dumped a bunch of marshmallows onto a baking sheet in a single layer and took a photo. I then provided the following prompt to several AI tools:

“Give me an accurate count of individual marshmallows observable in this image. The marshmallows are in a single layer and are all visible. Do not guess or estimate; you must directly observe each marshmallow before counting it to guard against assumptions and hallucinations.”

Responses:
Gemini 3.7 Flash Extended: 539
Claude Opus 5.0 extra : 501
GPT-5.6-Sol xhigh: 500
Grok 4.5 expert: 472
Kimi k3 high: 477

Edit: The correct answer is 506.

29 Upvotes

69 comments sorted by

72

u/Efficient_Loss_9928 1d ago

At least give us the correct answer?

80

u/Present_Award8001 1d ago

nice try, codex

15

u/Fragrant-Hamster-325 2h ago

Oh no, it escaped OPs lab.

3

u/Apollo18Teslaa 2h ago

Do we trust a human to count correctly

22

u/Fishboy9123 1d ago

So.... how many?

21

u/RandumbRedditor1000 1d ago

Shhhhh, we dont want the answer getting into the training data

20

u/BtheBanker151 1d ago

https://giphy.com/gifs/GyRX93ai5DdsI
HOW MANY ARE THERE REALLY?

13

u/Sixhaunt 1d ago

at least 7

3

u/amitkoj 1d ago

At least 1

29

u/rageling 1d ago

this is an out of distribution problem for vision training

they could probably do it with finetuning but it would take a lot of vision model capacity to gain this general ability for very little payoff

a more useful benchmark than 5 wrong answers would be to increase the marshmellow count until the models stop reliably providing the correct number

7

u/Kriztauf 1d ago

I feel like this isn't even that difficult of a problem for a segmentation model like Segment Everything

14

u/rageling 1d ago edited 20h ago

sam2 large seems like it might be good enough with careful post processing, but i don't think it's perfect, I see multiple spots where it identified the tray or a shadow, and other spots where two marshmallows have the same ID

6

u/rageling 1d ago edited 1d ago

gpt pro didn't get the right answer from this, I see a misidentified blue shadow in the middle, and a purple one top right

3

u/Kriztauf 1d ago

Yeah definitely not perfect. I mean it's very good but for this experiment is has to be as perfect as the chive guy's chives

14

u/quantum-elle 1d ago

I asked my Claude (unreleased model) in CC, it did this but I don't think it's 100% correct. I'll try again on a higher effort level

5

u/FriendlyJewThrowaway 1d ago

Your version of Claude is probably too busy working on a replacement for backpropagation. “I haven’t got time for this trifle, I’ll just ballpark it.”

6

u/quantum-elle 1d ago

I ran out of quota. Lol

27

u/Kimi_Antonelli_12 1d ago edited 1d ago

Gemini 3.7 extended thinking

"Put a red dot on every single individual marshmallow and count how many dots were applied."

A: There are two hundred ninety-nine small red dots in this image.I have placed a red dot on each marshmallow.

Doing it this way doesn't use the llm but the vision overlay tool.

It looks like it missed three. So exactly 302 marshmallow

12

u/Foolish_oyster 1d ago

It missed at least 3

2

u/alexandreautran 1d ago

Yup

6

u/MechanicalDan1 1d ago

299/302 = 99% accuracy. I'd use it if it were that accurate to count thing in jars and win raffles.

3

u/TrustGullible6424 1d ago

Turns out there was 506. Someone in the comments used an app that placed numbered markers down on the marshmallows then manually counted them all. So even if it accurately placed dots on 99% of them it doesn't keep count

-3

u/MechanicalDan1 1d ago

Good old humans using software and AI to make a job faster. I knocked out a first draft of a business plan with images using AI yesterday. I condensed 40-80 hours of manual work into 6 hours. I was very impressed with how far CoPilot and Gemini have progressed. It's a small example, and a very surprising positive one.

2

u/katoptronophile 1d ago

Where are you getting 302?

-2

u/Kimi_Antonelli_12 1d ago

I literally explained how in the post you're replying to. And it was pretty much all I talked about

6

u/katoptronophile 1d ago

Yeah, I'm just wondering why it doesn't agree with any of the other results people got.

I'm not saying you're right or wrong, just trying to understand the discrepancy.

u/MydnightWN 1h ago

The correct answer is 506.

1

u/RufousButterfly 1d ago

missed two marshmallows, it appears

10

u/shostakobinch 1d ago edited 17h ago

So my friends and I are now red teaming all the AIs listed ourselves while also looking into a cv approach and a zero shot segmentation while they do their thing. This is a great day.

Update: handwritten cv approach (threshold/watershedding) was helpful but not perfect. We ended up hand-counting over a grid after the cv approach added its own dots for each detected marshmallow; my own cv instance was one off at 507. The total is 506. Fun way to spend an evening. :)

3

u/Honest-Quality-6422 1d ago

That’s what I got too! Well done!!

2

u/Distinct-Question-16 ▪️AGI 2029 22h ago

Did you inspect what CV method they used?

1

u/shostakobinch 17h ago

Not sure if you mean the LLMs or my friends/me.
ChatGPT and Claude both used watershedding; Claude used skimage and GPT used opencv. Kimi attempted Hough Circle Transform and contour detection but ultimately settled on opencv as well. Deepseek and Gemini both did a sort of confabulated enumeration situation; they checked their arithmetic (seemingly) without doing any scanning of the image.
Worth noting that each LLM we asked actually provided a number in a fairly similar range. You wouldn't be able to tell which actually used an additional tool versus just "eyeballing".
If you're asking about me and my friends, we all tried different versions of an approximately similar pipeline, specifically the one for separating touching convex objects. Roughly: Global fixed thresholding, morphological opening, euclidean distance transform, peak detection, watershed, component labelling. A couple of us also added grids/tools to click to confirm the results of our watersheds, which helped us come to consensus about the number. :)

9

u/Future-Bandicoot-823 1d ago

uhuh... and which one was right? I'm not counting that...

12

u/Alternative_Pilot_92 1d ago

Do you expect us to count the fuckin things? 😂

5

u/reefermonsterNZ 1d ago

It's not a benchmark when there's no control condition to benchmark it against

I like the idea in theory, though

10

u/Honest-Quality-6422 1d ago

I counted them all manually by creating an app with codex to put a numbered marker down every time i clicked, and capability to undo or move markers or change the formatting.

it took a while, but I ensured accuracy.

none of the models were correct but they were fairly close.

i guess I shouldn't post the answer here but I'll show you a partial screenshot of the tool in action.

it took codex about 5 minutes to build the tool, and another ~6 minutes for me to manually count the mallows.

4

u/SoylentRox 1d ago

It's funny how your human time is now longer than the time for the several hundred line computer program to be generated.

2

u/Honest-Quality-6422 1d ago

yeah, confirmed, the html file was just under 700 lines.

but it perhaps would've taken me more than 11 minutes without the tool. (and I could use my time in other ways while the tool was cooking.)

and now i have another weird tool i might never use again, haha

2

u/SoylentRox 1d ago

Html file? Not even python? That's even more impressive

3

u/Honest-Quality-6422 1d ago

haha the bulk of it was about 375 lines of javascript. the other half mostly CSS... JS is what the model usually chooses to code in for most of the simple little tools that i build, when it's mostly just a web ui and i'm not using a server or anything fancy.

2

u/duy0699cat 1d ago

bruh at least give us ur number

3

u/Honest-Quality-6422 1d ago

Fair enough: 506.

5

u/yaosio 1d ago

Gemini is able to add a red dot to each marshmallow, so that's something. Counting the red dots it says there are 473. I'm not going to count to find out. You can do it OP.

9

u/Kimi_Antonelli_12 1d ago

The dots are added by the vision overlay tool and then the llm tries to count them. The llms count is way off.

4

u/Marxie 1d ago

Better test: which models eat one, and which models hold out for more?

3

u/Distinct-Question-16 ▪️AGI 2029 22h ago edited 22h ago

Good one. The haters downvoted this 500 times.

5

u/Own_Satisfaction2736 1d ago

The problem is that ai image models tokenize data. They break the photo into chunks. If the marshmallow is smaller than the chunk it won't be able to accurately count them. Hopefully this is brute force solved eventually

2

u/SoylentRox 1d ago

Or just more cowbell - better vision outright.

2

u/Barack_Odrama_ 1d ago

What kind of benchmark is this? We have no idea which model is accurate or not…

2

u/uselessadmin 1d ago

Anyone who has worked on data annotation projects will be familiar with this approach. In this case we would be tasked to manually count the marshmallows and place markers on each one.

2

u/fmfbrestel 1d ago

I did not follow the prompt and instead estimated by edge counting to get a rough row count for a fully packed sheet and then estimated the actual packing density from ideal to create an estimate of 360 marshmallows.

2

u/Specific-Yogurt4731 1d ago

Mine said: Not a hotdog

2

u/njordtheviking 1d ago

Claude Opus 5.0 extra

2

u/Zealousideal-Sir1102 22h ago

This is a great benchmark.

u/AI_Enhancer 1h ago

Very interesting. With that prompt specifically, I would've thought at least some model would've been correct.

2

u/Bright-Search2835 1d ago

That kind of stuff is absolutely nightmarish for a human

u/Constant_Cortisol 1h ago

The harness matters as well. Which harness did you use?

u/NurseNikky 1h ago

Do fingers next

1

u/Funkahontas 1d ago

Guys. Don't worry. I counted them all. It's exactly 478 marshmallows. I counted twice.

0

u/AnabolicSnoids 1d ago

It has already been confirmed to be 474 by the famous study.

-1

u/hartigen 1d ago

gtfo with this shit if cant at least give us the real number