r/MachineLearning • u/pinter69 • Apr 18 '21
Research [R] Putting visual recognition in context - Link to free zoom lecture by the authors in comments
31
Apr 18 '21
Hahahah Guillotine at 74.4%.
9
u/c3534l Apr 19 '21
Its interesting because while it seems completely wrong, if you look up pictures of guillotines there is something distinctly furniture-like about them.
1
Apr 19 '21
Yea they do kind of have a chair structure too, as one plane of the guillotine would be higher than the other to accommodate the blade drop.
8
u/keepthepace Apr 19 '21 edited Apr 19 '21
Both ground truths are false. Backpacks are bigger than a steak or a broccoli. Whatever that object is supposed to be, that's something small sitting in a plate.
Chairs are smaller than cars, this is not a chair. Street signs, pole are closer categories.
The fact that we need so artificial samples to fool modern algorithms is a testament on how far we have come in computer vision.
9
u/interesting-_o_- Apr 19 '21
Small backpacks are still backpacks.
Giant chairs are still chairs.
The fact that these algorithms depend so heavily on scale context to identify clear objects is alarming and worthy of investigation.
2
u/keepthepace Apr 20 '21 edited Apr 20 '21
Backpacks are bags you can put on your back. Chairs are things you can sit on. What you have on the first one is a out-of-scale, out-of-context shopped picture and in the second case it is a sign, a sculpture, an advertisement.
These two objects are shaped like backpacks and chairs, but the scale indicates they are not.
And actually, especially with the chair one, the results you see from the models indicate that they understand what it is but can't really express it (not exactly a street sign, not exactly a pipe or a gas station, but something that shares some properties with them).
I think the implicit prior behind most models is that we want to use them for robotics at one point and want to identify objects based on their functions, not on their artistic intent.
2
u/Dagrix Apr 21 '21
The chair example seems especially artificial to me. I think you could argue systems should be able to recognize out-of-context photoshopped but otherwise actual objects like the backpack, like we're able to do.
For all intents and purposes that thing is literally not a chair. I can see it looks like a giant chair, but I would be hard-pressed to describe it exactly. Honestly I'd go as far as to say the ground truth is wrong, it's more an advertising sign/prop than a chair.
0
u/red75prim Apr 20 '21
One hot encoding is just not expressive enough to describe such pictures. It's a small backpack and a gigantic chair. No need to invent new classes for them to make the shortcomings look better than they are.
2
u/Ambiwlans Apr 18 '21
How useful would this skill be... and what's the point of testing algos that haven't been trained to do this task?
17
u/Gordath Apr 18 '21
I'd consider this to be more of a warning. If you use the current DL methods in the real world then they will fail completely in some scenarios.
2
u/HINDBRAIN Apr 19 '21
Do we really care if the algo can't recognize a tiny backpack photoshopped on top of mashed potatoes?
If "by some scenarios" you mean "different angle, at night, sky background, occluded by another object...", then yes, these are problems, but people are already aware of that!
2
u/Ambiwlans Apr 19 '21
I mean, this isn't the real world if you have a 3inch across backpack hovering over a plate of food.
2
u/noweightleftbehind Apr 19 '21
I think it depends. The kind of common sense reasoning we do with visual concepts would suggest that we can still parse out the fact that there is a 3 inch backpack across a plate of food. It's a strange scene but doesn't make us wrongly classify/ignore objects with a high degree of confidence.
Maybe this is something related more to the narrow focus of a classification task rather than the architecture itself.
1
u/Ambiwlans Apr 19 '21
But successfully classifying under these circumstances is only useful in..... describing surrealist art? Like, it doesn't seem to useful.
2
u/noweightleftbehind Apr 19 '21
I'd say a lot of edge cases in safety-critical scenarios involving perception might involve what can be described as "surrealist art" where contextual clues and common sense might make the difference. There was that fatal incident with a Tesla where the autopilot couldn't distinguish the white side of the tractor-trailer from the brightly lit sky. I guess in this scenario the backpack is the tractor-trailer and the sky is the mashed potatoes, if that makes sense.
1
u/Ambiwlans Apr 19 '21
The concern is if you make an algo that is good at spotting clowns in a bucket but worse at spotting tractors on a road.
1
u/noweightleftbehind Apr 19 '21
Yeah I see where you're coming from. The hope would be to make it good at all of the above.
0
34
u/pinter69 Apr 18 '21
Hi all,
We do free zoom lectures for the reddit community.
This talk will cover visual recognition networks and the role of contextual information
Link to event (May 24):
https://www.reddit.com/r/2D3DAI/comments/mr9nlj/putting_visual_recognition_in_context/
Talk is based on the speakers' papers:
Putting visual object recognition in context (CVPR2020)
Paper: https://arxiv.org/abs/1911.07349
Git: https://github.com/kreimanlab/Put-In-Context
When Pigs Fly: Contextual Reasoning in Synthetic and Natural Scenes
Paper: http://arxiv.org/abs/2104.02215
Git: https://github.com/kreimanlab/WhenPigsFlyContext
Talk abstract:
Recent studies have shown that visual recognition networks can be fooled by placing objects in inconsistent contexts (e.g., a pig floating in the sky). This lecture covers two representative works modeling the role of contextual information in visual recognition. We systematically investigated critical properties of where, when, and how context modulates recognition.
In the first work, we focused on the study of the amount of context, context and object resolution, geometrical structure of context, context congruence, and temporal dynamics of contextual modulation on real-world images.
In the second work, we explored more challenging properties of contextual modulation including gravity, object co-occurrences and relative sizes in synthetic environments.
In both works, we conducted a series of experiments to gain insights into the impact of contextual cues on both human and machine vision:
Psycho-physics experiments to establish a human benchmark for out-of-context recognition and then compare it with state-of-the-art computer vision models to quantify the gap between the two.
We proposed new context-aware recognition models. The models captured useful information for contextual reasoning, enabling human-level performance and significantly better robustness in out-of-context conditions compared to baseline models across both synthetic and other existing out-of-context natural image datasets.
Presenters BIO:
Philipp Bomatter is a master student for Computational Science and Engineering at ETH Zurich.
He is interested in artificial intelligence and neuroscience and currently works on a project concerning contextual reasoning in vision at the Kreiman Lab at Harvard University.
Mengmi Zhang completed her PhD in the Graduate School for Integrative Sciences and Engineering, NUS in 2019. She is now a postdoc in KreimanLab in Children's Hospital, Harvard Medical School.
Her research interests include computer vision, machine learning, and cognitive neuroscience. In particular, she studies high-level cognitive functions in humans including attention, memory, learning and reasoning from psychophysics experiments, machine learning approaches and neuroscience.
(Talk will be recorded and uploaded to youtube, you can see all past lectures and recordings in /r/2D3DAI)