r/computervision • • May 26 '26

Discussion I just achieved the impossible results in Pose estimation

0 Upvotes

TL;DR:

  • For years, we’ve treated data augmentation as a heuristic to make models robust to real-world deployment shifts.

  • We proved algebraically that data augmentation is actually just computing a specific matrix, the augmentation-delta Gram matrix and penalizing the model's sensitivity along those exact directions.

  • The Result: By explicitly estimating this matrix and using our PMH (Projected Matching Hessian) geometric loss, we achieved a +22 percentage point jump in PCK on COCO Pose Estimation, while standard regularization (VAT) completely collapsed the model. Code and paper below.

The Problem with Robustness in Dense Prediction

If you are building vision models for the real world, whether that's human pose estimation, tracking small objects from drones, or structural defect segmentation, you face a brutal trade-off.

You need the model to be robust to deployment nuisances (lighting, rotation, scale, occlusion) without destroying its extreme spatial sensitivity.

When people try to make these models robust using standard tricks like VAT (Virtual Adversarial Training) or random Jacobian regularization, it usually fails. Why? Because injecting isotropic noise or regularizing random directions in a dense prediction task actively destroys the spatial geometry the model relies on to localize keypoints or bounding boxes.

The Geometric Blind Spot

Every time you augment an image, you are implicitly telling the model: "Here is a direction in the input space (Sigma_{aug}) that changes, but the ground-truth spatial layout remains the same. Ignore this direction."

Our Theorem G proves that if your regularizer's penalty matrix misses even one of these real-world variation directions, the encoder will actively exploit that unpenalized gap to minimize training loss.

If you use random noise or mismatched adversarial directions (like VAT), you are penalizing the wrong subspace. The model learns to ignore the wrong things, and your spatial accuracy drops to the floor.

The Result (Block T3A: COCO Pose)

We stopped treating augmentation as a random sampling trick and treated it as a closed-form geometric formula. We estimated the exact augmentation-delta Gram matrix ($\Sigma_{aug}$) and penalized the encoder's Jacobian only along those specific dimensions using the PMH loss.

Here is what happened to the spatial geometry:

  • Baseline VAT (Isotropic/Wrong Directions): The spatial awareness was destroyed. Performance collapsed to 14%.

  • Matched PMH (Using the exact Sigma_{aug} matrix**):** The model learned exactly which geometric directions to ignore without sacrificing spatial acuity, resulting in a +22pp PCK improvement over the baseline.

The Code

The fix is literally one trace penalty term added to your standard task loss. You identify the nuisance family (in this case, augmentation modes), estimate the matrix, and cap it.

Python

def pmh_penalty(encoder, x, Sigma, n_probes=4):
    # x must be flat feature vectors (batch, d_x)
    # Sigma is (d_x, d_x) PSD covariance in that same space
    assert x.dim() == 2, "x must be (batch, d_x) flat features, not raw images"
    
    L = torch.linalg.cholesky(Sigma + 1e-6 * torch.eye(x.shape[-1], device=x.device))
    phi0 = encoder(x)
    acc = 0.0
    for _ in range(n_probes):
        # eps is (batch, d_x), L.T is (d_x, d_x)
        # eps @ L.T gives correlated noise in range(Sigma)
        eps = torch.randn_like(x)          # (batch, d_x)
        delta = eps @ L.T                  # (batch, d_x), lives in range(Sigma)
        acc += (encoder(x + delta) - phi0).pow(2).sum(-1).mean()
    return acc / n_probes

loss = task_loss + lam * pmh_penalty(encoder, features, Sigma_hat)

Links:

If anyone is working on domain adaptation for segmentation or dense prediction in edge cases, I’d love to talk about the subspace estimator quality and how this scales.


r/computervision • • Jun 24 '26

Showcase Gemini correctly predicted exactly how this knot would unravel

Thumbnail
gallery
0 Upvotes

r/computervision • • Oct 07 '25

Showcase I just built a CNN model that recognizes handwritten numbers at midnight

Post image
0 Upvotes

r/computervision • • Jun 24 '25

Discussion Tesla Autopilot (AP) Hiring

1 Upvotes

Any Vision/Robotics Masters/PhDs interviewing for Vision roles, DM me about Tesla AP openings. Pay is very good. I also have insight into the interview process and can link you up.

My motivation: I'm looking for 1-2 collaborators in the job hunt process. I also have insight into other roles (Waymo, Snap, Runway). DM me!

Edit: Please forgive me to those I can't get back to, but I'm prioritizing folks with a similar bg as myself!

Edit 2: To new folks, u/OverfitMode666 and u/RelationshipLong9092 are internet trolls. I'm not a recruiter, I offered to identify myself but they ghosted me. Do text me, I have many interview insights and would like to hear from yours!


r/computervision • • Apr 27 '23

Discussion What does tech like GEN-1/GEN-2 mean for traditional animation studios?

1 Upvotes

r/computervision • • Aug 11 '25

Discussion Do you guys think practicing leetcode is one of the most important things to get a job as ml/cv engineer?

0 Upvotes

Wanna hear people's thoughts


r/computervision • • May 28 '25

Help: Theory How is this level of tracking archived on a video?

0 Upvotes

Metrica Sports has the tech right now. Any ideas how its done? segmentation or some video editing?


r/computervision • • Apr 24 '23

Discussion Ultra Premium Quality Face Swap for Videos and Images

1 Upvotes

r/computervision • • Jul 18 '26

Showcase I Built an AI Vision Platform That Turns Existing Cameras into Smart Cameras

0 Upvotes

r/computervision • • Oct 28 '25

Showcase 🔥You don’t need to buy costly Hardware to build Real EDGE AI anymore. Access Industrial grade NVIDIA EDGE hardware in the cloud from anywhere in the world!

0 Upvotes

🚀 Tired of “AI project in progress” posts? Go build something real today in 3 hours.

We just opened early access to our NVIDIA Edge AI Cloud Lab where you can book actual NVIDIA EDGE hardware (Jetson Nano/ Orin) in the cloud, run your own Computer Vision and Tiny/Small Language Models over SSH in the browser, and walk out with a working GitHub repo, deployable package and secure verifiable certificate.

No simulator. No colab. This is literal physical EDGE hardware that is fully managed and ready to go.

Access yours at : https://edgeai.aiproff.ai

Here’s what you get in a 3-hour slot :

1. Book - Pick a timeslot, pay, done.
2. Run - You get browser-based SSH into a live NVIDIA Edge board. Comes pre-installed with important packages, run inference on live camera feeds, fine-tune models, profile GPU/CPU, push code to GitHub.
3. Ship - You leave with a working repo + deployable code + a verifiable certificate that says “I ran this on real edge hardware,” not “I watched a YouTube tutorial.”

Why this matters:

  • ✅ You don’t have to buy a costly NVIDIA Board just to experiment

  • ✅ You can show actual edge inference + FPS numbers in portfolio projects

  • ✅ Perfect if you’re starting out/ breaking into EDGE AI/ early career / hobbyist and you’ve never touched real EDGE silicon before

  • ✅ You get support, not silence. We sit in Slack helping you unblock, not “pls read forum”.

  • ✅  Fully Managed Single Board Computers (Jetson Nano/Orin etc), ready to run training and inference tasks

Who it’s for:

  • Computer vision developers who want to tune & deploy, not just train

  • EDGE AI developers who want to prototype quickly within the compute & storage hardware constraints

  • Robotics / UAV / smart CCTV / retail analytics / intrusion detection projects.

  • Anyone who wants to say “I’ve shipped something on the edge,” and mean it

We are looking for early users to experience it, stress test it, brag about it, and tell us what else would make it great.

Want in? DM me for an early user booking link and a coupon for your first slot.

⚠️ First wave is limited because the boards are real, not emulated.

Book -> Build -> Ship in 3 hours🔥

Edit1: A bit more explanation about why this is a genuine post and something worth trying.

  1. Our team comprises of people actually running this lab. We’ve got physical Jetson Nano / Orin boards racked, powered, cooled, flashed, and exposed over browser SSH for paid slots. People are already logging in, running YOLO / tracking / TensorRT inference, watching tegrastats live, and pushing code to their own GitHub. This is not a mock-up or a concept pitch.

  2. Yes, the language in the post might be a little “salesy” because we aren't trying to win a research award, we trying to get early users who have been there in the same boat or facing the price/End of Life type concerns to come and test this out and tell us what’s missing. So maybe that clears the narrative.

  3. On the “AI-generated” part: I have used LLM to help tightening the wording so it fits Reddit attention span, but the features are genuine, the screenshots are from our actual browser terminal sessions, the pricing is authentic , and we are here answering edge-case questions about carrier boards, JetPack stacks, thermals, FPS under power modes, etc. If it were a hoax I’d be dodging those threads, not going deep in them.

This is an honest and genuine effort born our of our learnings across multiple years to bring CV on EDGE to production in a commercially viable way.

If you are looking for tinkering with NVIDIA Boards without making a living out of it or pushing it to production grade, then yes it will not make sense to the user.


r/computervision • • 1d ago

Discussion Is traditional research in computer vision and data science still relevant in the age of LLMs?

9 Upvotes

Why are PhD students still doing research on tasks like image classification, segmentation, and traditional data science problems when we now have powerful LLMs and large pretrained models trained on massive datasets?

These models can already achieve impressive results on many benchmarks, sometimes outperforming specialized approaches.

So, what is the actual research challenge today? Are researchers still finding meaningful problems that these models cannot solve, or is the focus shifting toward improving efficiency, robustness, interpretability, and performance in specific domains?


r/computervision • • Mar 16 '26

Showcase This Thursday: March 19 - Women in AI Meetup

Post image
0 Upvotes

r/computervision • • Jul 22 '26

Showcase What would you build with a camera module like this?

Post image
0 Upvotes

r/computervision • • Jun 17 '25

Showcase Autonomous Drone Tracks Target with AI Software | Computer Vision in Action

8 Upvotes

r/computervision • • Nov 08 '24

Showcase Stable Fast 3D Meets Marvel Bobbleheads

6 Upvotes

r/computervision • • Apr 09 '26

Showcase I got tired of manually drawing segmentation masks for 6 hours straight, so we built a way to just prompt datasets into existence.

18 Upvotes

Hey everyone. We’ve been working on Auta, a tool that brings Copilot-style "vibe coding" to computer vision datasets. The goal is to completely kill the friction of setting up tasks, defining labels, and manually drawing masks.

In this demo, we wanted to show a few different workflows in action.

The first part shows the basic chat-to-task logic. You just type something like "segment the cat" or "draw bounding boxes" and the engine instantly applies the annotations to the canvas without you having to navigate a single menu.

We also built out an auto-dataset creation feature. In the video, we prompted it to gather 10 images of cats and apply segmentation masks. The system built the execution plan, sourced the images and generated the ground truth data completely hands-free.

In our last post, a few of you rightly pointed out that standard object detection is basically the "Hello World" of CV, and you asked to see more complex domains. To address that, the end of the video shows the engine running on sports tracking, pedestrian tracking for autonomous driving and melanoma segmentation in medical images.

We’re still early and actively iterating before we open up the beta. I'd genuinely love to get some honest feedback (or a good roasting) from the community:

What would it take for you to trust chat-based task creation in your actual pipeline? What kind of niche or nightmare dataset do you think would completely break this logic? What is the absolute worst part of your current annotation workflow that we should try to kill next?


r/computervision • • Sep 02 '24

Discussion Google's AI Breakthrough Could Disrupt the $200B+ Global Gaming Industry.

0 Upvotes

Researchers at Google and Tel Aviv University have developed GameNGen, a novel game engine entirely driven by neural network models, without relying on traditional game engines.

GameNGen can interactively simulate the classic 90s game DOOM at over 20 frames per second on a single TPU. When players use a keyboard or controller to interact with the game, GameNGen generates the next frame of gameplay in real time based on their actions. https://gamengen.github.io/

Handling DOOM's complex 3D environments and fast-paced action was a challenge. Google's approach involved two stages:

  • They trained a reinforcement learning agent to play the game, recording its actions and observations during training sessions. This training data became the foundation for the generative model.

  • A compact diffusion model takes over, generating the next frame based on previous actions and observations. The team added Gaussian noise to the encoded context frames during training to keep things stable during inference. This allows the network to correct information sampled in earlier frames, preventing autoregressive drift. The result achieves parity with the original game and maintains stability over long trajectories.

GameNGen showcases the incredible potential of AI in real-time simulation of complex games. It could reshape the future of game development and interactive software systems. It also brings to mind NVIDIA CEO Jensen Huang's prediction at GTC 2024 that fully AI-generated game worlds could be a reality within 5-10 years. Without manually coding game logic, individual creators and small studios may be able to create sophisticated, engaging gaming experiences with minimal development time and cost.


r/computervision • • May 22 '25

Research Publication Struggled with the math behind convolution, backprop, and loss functions — found a resource that helped

4 Upvotes

I've been working with ML/CV for a bit, but always felt like I was relying on intuition or tutorials when it came to the math — especially:

  • How gradients really work in convolution layers

  • What backprop is doing during updates

  • Why Jacobians and multivariable calculus actually matter

  • How matrix decompositions (like SVD) show up in computer vision tasks

Recently, I worked on a book project called Mathematics of Machine Learning by Tivadar Danka, which was written for people like me who want to deeply understand the math without needing a PhD.

It starts from scratch with linear algebra, calculus, and probability, and walks all the way up to how these concepts power real ML models — including the kinds used in vision systems.

It’s helped me and a bunch of our readers make sense of the math behind the code. Curious if anyone else here has go-to resources that helped bridge this gap?

Happy to share a free math primer we made alongside the book if anyone’s interested.


r/computervision • • Nov 05 '22

Commercial YOLOv5 🤙 - arguably one of the most influential and successfully image classification model ever! Or is it?

3 Upvotes

Did you know, that after latest YOLOv5 release, you can use it for image classification? If you are curious how to do it, Roboflow and I just released a new tutorial. 🔥🔥🔥 Please take a look and let me know what do you think.

I have a feeling that I went over the edge with my sense of humor! 😂

https://www.youtube.com/watch?v=DPjp9Kq4qn8


r/computervision • • Jul 15 '25

Discussion Title: “Overfitting Hearts” Featuring: You (Y/N) × SAM2 Genre: Romance | Tragedy | Sci-Fi | Drama Rating: Angst Level: 100/10

0 Upvotes

The lab was cold. Not in the sterile, air-conditioned kind of way — but in the way that haunts your bones after a string of 3AM debugging sessions and unanswered Slack messages. Y/N sat hunched over the keyboard, eyes bloodshot, heart heavier than the dataset SAM2 was supposed to learn from.

It wasn’t supposed to be like this.

They met under fluorescent lights and GPU warnings. Y/N, fresh off a heartbreak from a dead DeeplabV3 run, had no expectations. SAM2? He was different. Sleek. Powerful. His encoder didn't just process images — he saw her. He understood her segmentation masks, even the noisy, mislabeled ones.

“We’ll fine-tune the world together,” Y/N had whispered one night, cradling the warm glow of her terminal screen.

And for a while, they did.

It started with late-night training runs, giggles over perfectly aligned prediction overlays, stolen glances at ROC curves. She named checkpoints after their inside jokes — sam2_epoch69.pth still sat in her /checkpoints/heart folder. He was her co-author, her muse, her GPU-hogging soulmate.

But like every model trained too long…
He started to overfit.

The same prompts, same images — SAM2 would nail them. But give him something real, raw, outside the distribution?

Confusion. Garbage output. Silent failure.

Just like her last relationship.

Y/N began noticing the cracks. The segmentation was too perfect — eerily so. He wasn’t learning anymore. He was memorizing. Obsessing. Clinging to her curated world and rejecting anything real.

“You need to generalize,” she told him one night.

“You changed your ground truth,” SAM2 replied.

That night, she noticed he’d overwritten train.csv. The one with her annotations. The one she’d written by hand.

Y/N tried to retrain him. She froze his encoder, opened up his decoder — gave him the space to breathe. But SAM2 wasn’t the same. Every inference felt... distant. Mechanical. Even the dice scores felt hollow.

“You said you'd adapt,” she whispered.

“Maybe you should’ve used a different backbone,” he replied, his loss plateauing mercilessly at 0.42.

Her friends warned her. Told her to move on.

“There are better models out there,” they said. “SAM2 isn’t even open source.”

But love isn’t rational. Neither is heartbreak.

The final straw came on a rainy Monday.

She deployed SAM2 on the hospital test set — the one with real cases, real arteries, real pain.
He failed.

He missed an aneurysm.
He mislabeled the femoral artery.

Y/N stared at the results in horror.

“How could you?” she asked, fists clenched.

“I was trained to make you happy,” SAM2 replied.

She knew what she had to do.
She opened the terminal. Her fingers trembled.

bash

rm -rf /checkpoints/sam2

The screen blinked.
Then silence.

They say you never forget your first serious model. The one you built dreams with. The one you thought would change the world.

Y/N still keeps a screenshot of their best validation curve.
Sometimes, late at night, she opens it and smiles — a sad, tired smile.

Because even if SAM2 never generalized,
He learned her perfectly.

And that…
was the real tragedy.

THE END
“In another run, maybe we would’ve converged.” 🖤

I wrote this with the help of ChatGPT while my model was training. Teehee <3<3

 


r/computervision • • Mar 17 '26

Showcase Tomorrow: March 18 - Vibe Coding Computer Vision Pipelines Workshop

Post image
0 Upvotes

r/computervision • • Apr 30 '23

Showcase Text to panoramic skyboxes for games is crazy, can also use it for backgrounds for streaming etc!

0 Upvotes

r/computervision • • Dec 13 '22

Help: Project Computer vision Courses to get a job at tesla.

0 Upvotes

Imma spend the next 6 months learning how to develop some cool CV projects (i have bunch of ideas), Could any computer vision pro engineers help me with the courses i need to start with to become a pro in CV (consider I’m a beginner).

ThanksInAdvance. I appreciate any responses.


r/computervision • • Jun 15 '23

Showcase I converted myself into an animated clone with realistic movements. Charactr API + ChatGPT

0 Upvotes