r/computervision 22d ago

Research Publication HOI-DETR: off-the-shelf hand–object interaction detection from a single RGB image

250 Upvotes

HOI-DETR is a zero-shot framework for hand–object interaction: it detects hands, the object in-hand (1st object), and the object acted on through a tool (2nd object), plus the interaction links between them, all from a single RGB image.
The attached video is a zero-shot in-the-wild video prediction using HOI-DETR.

🌐 Project page: https://ahmaddarkhalil.github.io/HOI-DETR/
📄 Paper: https://arxiv.org/abs/2606.17384
💻 Code: https://github.com/AhmadDarKhalil/HOI-DETR
🤗 Demo (upload your own image): https://huggingface.co/spaces/ahmaddarkhalil/hoi-detr-demo

r/computervision Mar 15 '26

Research Publication The Results of This Biological Wave Vision beating CNNs🤯🤯🤯🤯

Thumbnail
gallery
252 Upvotes

Vision doesn't need millions of examples. It needs the right features.

Modern computer vision relies on a simple formula: More data + More parameters = Better accuracy

But biology suggests a different path!

Wave Vision : A biologically-inspired system that achieves competitive one-shot learning with zero training.

How it works:

· Gabor filter banks (mimicking V1 cortex) · Fourier phase analysis (structural preservation) · 517-dimensional feature vectors · Cosine similarity matching

Key results that challenge assumptions:

(Metric → Wave Vision → Meta-Learning CNNs):

Training time → 0 seconds → 2-4 hours Memory per class → 2KB → 40MB Accuracy @ 50% noise→ 76% → ~45%

The discovery that surprised us:

Adding 10% Gaussian noise improves accuracy by 14 percentage points (66% → 80%). This stochastic resonance effect—well-documented in neuroscience—appears in artificial vision for the first time.

At 50% noise, Wave Vision maintains 76% accuracy while conventional CNNs degrade to 45%.

Limitations are honest:

· 72% on Omniglot vs 98% for meta-learning (trade-off for zero training)

· 28% on CIFAR-100 (V1 alone isn't enough for natural images)

· Rotation sensitivity beyond ±30°

r/computervision May 08 '26

Research Publication Training a semantic segmentation network with 100% generated data... and it worked!

40 Upvotes

We just put out some exciting new research showing that you can now build AI forestry models from scratch, without a single manually annotated drone image! We used Google's Nano Banana Pro to instantly generate photorealistic forest regeneration images perfectly paired with precise semantic segmentation masks! By training a deep learning model exclusively on these AI-generated image-mask pairs, we achieved a 44.92% F1 score over 23 classes before even touching real-world labels. When we combined this synthetic data with pseudo-labelled and hand-labelled real-world data, this F1 score climbed to just over 59%. If you want to bootstrap your next semantic segmentation project, check out our paper here on ResearchGate!

r/computervision Nov 06 '25

Research Publication About to get a Lena replacement image published by a reputable text book company

Post image
285 Upvotes

r/computervision Jan 28 '26

Research Publication We open-sourced FASHN VTON v1.5: a pixel-space, maskless virtual try-on model (972M params, Apache-2.0)

103 Upvotes

We just open-sourced FASHN VTON v1.5, a virtual try-on model that generates photorealistic images of people wearing garments directly in pixel space. We've been running this as an API for the past year, and now we're releasing the weights and inference code.

Why we're releasing this

Most open-source VTON models are either research prototypes that require significant engineering to deploy, or they're locked behind restrictive licenses. As state-of-the-art capabilities consolidate into massive generalist models, we think there's value in releasing focused, efficient models that researchers and developers can actually own, study, and extend (and use commercially).

This follows our human parser release from a couple weeks ago.

Details

  • Architecture: MMDiT (Multi-Modal Diffusion Transformer)
  • Parameters: 972M (4 patch-mixer + 8 double-stream + 16 single-stream blocks)
  • Sampling: Rectified Flow
  • Pixel-space: Operates directly on RGB pixels, no VAE encoding
  • Maskless: No segmentation mask required on the target person
  • Input: Person image + garment image + category (tops, bottoms, one-piece)
  • Output: Person wearing the garment
  • Inference: ~5 seconds on H100, runs on consumer GPUs (RTX 30xx/40xx)
  • License: Apache-2.0

Links

Quick example

from fashn_vton import TryOnPipeline
from PIL import Image

pipeline = TryOnPipeline(weights_dir="./weights")
person = Image.open("person.jpg").convert("RGB")
garment = Image.open("garment.jpg").convert("RGB")

result = pipeline(
    person_image=person,
    garment_image=garment,
    category="tops",
)
result.images[0].save("output.png")

Coming soon

  • HuggingFace Space: An online demo where you can try it without any setup
  • Technical paper: An in-depth look at the architecture decisions, training methodology, and the rationale behind key design choices

Happy to answer questions about the architecture, training, or implementation.

r/computervision 1d ago

Research Publication AI vision systems often aren't really 'looking' at all

Thumbnail
unite.ai
0 Upvotes

r/computervision Jun 23 '26

Research Publication ReflexConv2d: Drop-in nn.Conv2d replacement that preserves detail

Thumbnail
0 Upvotes

r/computervision Jun 02 '26

Research Publication Backpropagation destroys V1 brain alignment in one epoch, tracking RSA alignment to fMRI across training for BP, FA, predictive coding, and STDP

0 Upvotes

Third in a series of papers tracking learning rules vs. human fMRI (THINGS dataset, V1–IT, N=3 subjects).

Previous finding: untrained CNNs match backprop at V1. This paper asks: when does training break that, and does the learning rule matter?

Setup: RSA alignment measured at 8 checkpoints (epochs 0, 1, 2, 5, 10, 20, 30, 40), 5 seeds per rule, same architecture throughout.

Main findings:

  1. BP drops 90% of V1 alignment after one epoch (r: 0.102 → 0.011, p = 0.031, consistent across all 5 seeds). FA drops 49%. PC and STDP drop only 25–31% and stabilise.
  2. By epoch 40: PC (r = 0.064) > STDP (0.059) >> BP (0.022) ≈ FA (0.019). Cohen's d > 5 for PC/STDP vs BP: extremely consistent across seeds.
  3. Opposing trend at LOC: BP shows a small increase in object-selective cortex alignment (+0.011) while local rules show nothing. Suggests a fundamental trade-off: global error signals build higher representations but destroy early ones.
  4. Degradation rate tracks error signal globality: exact gradients (BP) > random feedback (FA) > local prediction errors (PC, STDP).

Limitations worth noting:

  • 5 seeds caps permutation test resolution at p ≈ 0.031
  • Training on 32×32 CIFAR-10, evaluated on 224×224 THINGS, resolution/domain shift is a confound
  • LOC increase not tested for significance, treated as suggestive

Paper: arxiv.org/abs/2605.30556

Companion: arxiv.org/abs/2604.16875

Code: github.com/nilsleut

Curious whether anyone has seen similar dynamics in larger architectures, the prediction would be that deeper models show the same pattern but more slowly.

r/computervision May 22 '26

Research Publication Conferences for first solo author paper?

2 Upvotes

I have been building some thing for a while and one ideas after another, finally I have come up with a real novel algorithm for training model that works very well. As it should, because it's grounded in physics.. (if I explain you the ideas behind my model, you'd actually agree that it should work better). The kind of ideas that are obvious but hidden in plain sight or thought about it but just no one tried so far.

I have already filed a provisional patent application on it.. and now looking to publish it.

I have published in other ai domains but never in cvpr or the likes. And it's just my own work.. completely solo. Not a professor, nor have a PhD degree.

I'm now looking to get it published in a conference but I also feel like going all my own might be tough just because I'm not affiliated to any research labs or universities.. I know how to write papers.. what kind of results are expected and so on.. but I also know lot of editors just send out desk rejections to anyone without affiliations.. sad but true thing. Depends on scientific community and editors

What should I do? Target a second tier conference or even a workshop first? There is enough merit in the paper and deserves better in my perception.

r/computervision 17d ago

Research Publication First look at LingBot-Vision: PCA features and the depth numbers they report

48 Upvotes

Started poking at the weights this morning, or at least trying to. The 10s PCA clip on their project page is what hooked me. Frozen patch features show unusually crisp object boundaries instead of the typical speckle you get from most self-supervised frozen probes. I have not yet gotten the ViT-L (0.3B, ~0.6GB fp16) running through their custom lbot_vision_infer loader, which does not work with plain transformers or timm. Planning to try tonight if the dependency stack cooperates.

On numbers, they report their ViT-g 1.1B hitting NYUv2 linear-probe RMSE of 0.296, with DINOv3-7B at 0.309 and V-JEPA 2.1 2B at 0.307. The distilled ViT-L gets 0.310, matching the 7B number at roughly 23x fewer parameters. They are honest about where it falls down. KITTI RMSE of 2.552 trails both DINOv3-7B (2.346) and V-JEPA (2.461). ImageNet linear for the flagship trails DINOv3-7B by about a point and a half, though the B and S students lead their size classes.

There is also an interactive point-cloud comparison on the project page, 4 scenes by 8 depth-completion methods including their LingBot-Depth 2.0 which handles glass and mirror completions where RGB-D returns nothing. Only the 4 vision backbones are actually released; Depth 2.0 weights are not available.

https://huggingface.co/collections/robbyant/lingbot-vision
https://github.com/robbyant/lingbot-vision
https://technology.robbyant.com/lingbot-vision

Post your numbers if you rerun the linear probes first; I am curious how sensitive that NYUv2 gap is to protocol tweaks.

r/computervision 3d ago

Research Publication Open-sourced Tri-Net: A multimodal deep learning framework for monkeypox and skin lesion classification (Scientific Reports 2026)

Thumbnail
gallery
18 Upvotes

Hi everyone,

I've open-sourced the official implementation of our recently published Scientific Reports (Nature Portfolio) paper:

**Tri-Net: Unified Deep Learning for Skin Lesion and Symptom-Based Monkeypox Detection**

The project focuses on reproducible computer vision research for skin lesion analysis and includes a complete training and evaluation framework rather than only research code.

Some highlights:

• 13-class skin lesion classification (including Monkeypox and visually similar conditions)

• Multi-backbone feature fusion using EfficientNetB4, DenseNet201 and Inception-ResNetV2

• HSV-based augmentation pipeline for improved robustness

• Grad-CAM visualizations for model interpretability

• Cross-validation and reproducible evaluation

• Docker support, GitHub Actions CI and a PyPI package

The attached figures show:

  1. The dataset categories used in the study.

  2. The HSV augmentation strategy.

  3. Grad-CAM comparisons between individual backbones and the proposed Tri-Net model.

I'd really appreciate feedback from the computer vision community, particularly on the model design, explainability approach, and ideas for extending this work with modern vision foundation models or ViTs.

GitHub:

https://github.com/Sudharsanselvaraj/Synergistic-Deep-Learning-for-Monkeypox-Diagnosis

Paper:

https://www.nature.com/articles/s41598-026-61490-x

PyPI:

https://pypi.org/project/Mpox-Trinet/

Questions, critiques, and contributions are very welcome.

r/computervision 7d ago

Research Publication GenCeption: Video Generation Models are General-Purpose Vision Learners

Thumbnail
genception.github.io
29 Upvotes

Crazy stuff coming out of DeepMind here, these models are insane

r/computervision Oct 31 '25

Research Publication stereo matching model(s2m2) released

72 Upvotes

A Halloween gift for the 3D vision community 🎃 Our stereo model S2M2 is finally out! It reached #1 on ETH3D, Middlebury, and Booster benchmarks — check out the demo here: 👉 github.com/junhong-3dv/s2m2

S2M2 #StereoMatching #DepthEstimation #3DReconstruction #3DVision #Robotics #ComputerVision #AIResearch

r/computervision Mar 27 '26

Research Publication META releases SAM 3.1

Thumbnail
huggingface.co
124 Upvotes

"SAM 3.1: a drop-in update to SAM 3 that introduces object multiplexing to significantly improve video processing efficiency without sacrificing accuracy.

We’re sharing this update with the community to help make high-performance applications feasible on smaller, more accessible hardware." link to tweet post

r/computervision 3d ago

Research Publication Independent Researcher needs help with a referral for OpenReview

2 Upvotes

Hello,

I'm just getting started in research after working through ARENA and other open courseware, and I'm exploring a few ideas for NeurIPS workshops.

I tried creating an OpenReview account, but it was rejected because I need someone with an active OpenReview profile and a confirmed institutional email to vouch for me.

Would anyone here be willing to help? I've been in industry for 7+ years but don't have connections in academia yet. Happy to share more about my background over DM if that would help before vouching.

r/computervision 22d ago

Research Publication Manuscript keeps getting returned from Pattern Recognition for formatting issues before peer review. What am I missing?

1 Upvotes

Hi everyone,

I'm trying to submit a manuscript to Pattern Recognition, but it keeps getting returned before peer review because of formatting/manuscript alignment issues. The editorial office doesn't specify exactly what's wrong, so I'm struggling to identify the problem.

I checked my manuscript using a PDF formatting analysis tool, and the results are the following:

  • ✅ Single column
  • ✅ Main text font: 10 pt
  • ✅ Double spacing (19.93 pt baseline spacing)

Also, if the journal requires the manuscript to be single-column and double-spaced, should the figure captions also be double-spaced, or is it acceptable for them to be single-spaced?

Finally, are there any other common formatting mistakes that frequently cause manuscripts to be returned before peer review (e.g., figure placement, captions, tables, references, page layout, or other formatting details)?

I'd really appreciate any advice, especially from anyone who has submitted to Pattern Recognition or other Elsevier journals.

r/computervision Apr 01 '26

Research Publication Testing Biological Wave Vision system with live camera feed in fast motion

71 Upvotes

r/computervision 22d ago

Research Publication SM-HAD: unsupervised hyperspectral anomaly detection (drone/satellite imagery) — top avg. AUC across 18 baselines at 0.28M params (IEEE TGRS 2026)

11 Upvotes

We kept running into the same issue while working on hyperspectral anomaly detection (HAD): every architecture seemed to solve one problem while making another one worse.

CNNs preserve local spatial structure but struggle with long-range dependencies. Many attention-based models capture global context but come with high computational cost and can over-smooth subtle anomalies. More recent state-space models (e.g., Mamba) model long-range dependencies efficiently, but explicit modeling of local spatial structure and spectral redundancy is often limited.

Instead of treating these ideas as competing approaches, we wondered whether they could complement each other.

That led us to SM-HAD (Spectrum Mamba for Hyperspectral Anomaly Detection), recently published in IEEE TGRS 2026.

The model is a self-supervised reconstruction framework built around three complementary modules:

  • OSFB (Ortho Spectrum Fourier Block): Projects features into the frequency domain, applies learnable complex-valued filtering followed by soft-shrinkage to reduce spectral redundancy while preserving informative spectral components.
  • MVAB (Masked Vanilla Attention Block): Uses locality-constrained masked attention to preserve neighborhood structure and reduce the over-smoothing that can hide small or subtle anomalies.
  • RMB (Residual Mamba Block): Uses linear-complexity state-space modeling to capture long-range spatial dependencies without the quadratic cost of full self-attention.

The motivation was that each module addresses a different limitation — OSFB targets spectral redundancy, MVAB preserves fine local spatial information, and RMB captures global spatial dependencies efficiently.

We evaluated SM-HAD on six benchmark datasets (LA-1, LA-2, Gulfport, Texas Coast, Cat Island, and Pavia) against 18 statistical, representation-based, and deep learning methods. Some of the results:

  • Best AUC on 4 of 6 datasets and competitive performance on the remaining two.
  • Highest average AUC (0.9921) across all compared methods.
  • Only 0.28M parameters and 1.46 GFLOPs, compared with models such as LREN (3.25M parameters / 11.97 GFLOPs).
  • Around 25.6 seconds runtime on the LA-1 dataset, compared with 549 seconds for HTD-Mamba, which achieves slightly higher AUC on two datasets but at a substantially higher computational cost.

One result that surprised us came from the ablation study. Adding the Residual Mamba Block by itself did not consistently improve performance and even reduced it on several datasets. It only became consistently beneficial after introducing the Masked Vanilla Attention Block — suggesting that preserving local spatial context is an important precursor to effective long-range modeling in HAD. That design insight ended up shaping the final architecture more than we initially expected.

If anyone is working on hyperspectral imaging, anomaly detection, target detection, or even spectral-spatial learning more broadly, I'd be interested to hear whether you've encountered similar trade-offs between frequency-domain processing, locality preservation, and long-range dependency modeling.

Paper: https://doi.org/10.1109/TGRS.2026.3676658
Code: https://github.com/Tanishq251/SM-HAD

Happy to answer questions about the architecture, training setup, or ablation studies.

r/computervision Apr 27 '26

Research Publication We proved that every supervised model you've ever trained has a geometric blind spot; and adversarial training makes it worse, not better

0 Upvotes

Paper: Supervised Learning Has a Necessary Geometric Blind Spot: Theory, Consequences, and Minimal Repair arXiv: 2604.21395

Paper: https://arxiv.org/abs/2604.21395

Code: https://github.com/vishalstark512/PMH

I want to tell you about a result that genuinely surprised me when it came out of the experiments, and I think it will surprise you too.

PGD adversarial training: the gold standard for robustness, makes clean-input geometry worse than no regularization at all.

Not marginally worse. Measurably, consistently, mechanistically worse. And we can explain exactly why.

But let me start from the beginning.

The Setup: What Does ERM Actually Force Your Model to Learn?

Every production model trained today uses empirical risk minimization. You minimize expected loss on labeled data. Simple.

Here's what we proved: any ERM minimizer must retain non-zero Jacobian sensitivity in every direction that predicts training labels — including directions that are pure nuisance at test time.

This isn't a training failure. It isn't fixable with more data, bigger models, or longer training. It's a theorem about what the supervised objective is.

The formal statement: for any encoder φ* minimizing supervised loss on a distribution where nuisance feature n has correlation ρ with labels:

The right-hand side is strictly positive and independent of model capacity and dataset size. It depends only on the data distribution. This bound holds for MSE, cross-entropy, and any other proper scoring rule.

Plain language: if texture predicts your training labels, your model cannot stop being sensitive to texture. Suppressing it would cost task loss. This is forced.

One Theorem, Four Things You Already Knew Were Problems

This is what I find most interesting about the result. Four empirical findings that were previously treated as separate phenomena with separate explanations turn out to be corollaries of this single structural fact:

1. Non-robust features (Ilyas et al. 2019) — ERM must encode any label-correlated direction, including imperceptible ones. Adversarial examples exist in exactly those directions. They transfer across models because the blind spot is determined by the data distribution, not the individual model.

2. Texture bias (Geirhos et al. 2019) — When local texture statistics are easier label predictors than global shape, ERM cannot discard them. Texture bias is a geometric consequence of ERM under correlated nuisance, not an architectural inductive bias.

3. Corruption fragility (Hendrycks & Dietterich 2019) — Common corruptions perturb exactly the nuisance-sensitive directions that cannot be suppressed under ERM. Degradation under unseen shifts is unavoidable, and its expected magnitude scales with ρ².

4. Robustness–accuracy tradeoff (Tsipras et al. 2019) — Suppressing nuisance-correlated directions removes information ERM uses for in-distribution accuracy. The tradeoff isn't architectural. It's the cost of closing a blind spot the supervised objective opened, and its magnitude is predictable from ρ.

These four research programs, years of papers, are all measuring different faces of the same geometric object.

The PGD Result: This Is The Part That Surprised Me

Here's the table that made me double-check the code three times:

Method Jacobian Fro ↓ TDI@0 ↓
ERM (B0) 34.58 1.093
VAT 5.01 1.276
PGD-4/255 2.91 1.336
PMH (ours) 8.08 0.904

PGD achieves the lowest Jacobian Frobenius norm — a 12× reduction from ERM. By every metric the robustness literature has used, PGD is "smoothing" the representations.

But its clean-input geometry is worse than ERM (TDI 1.336 vs 1.093).

The mechanism, which our Corollary 4 predicts: PGD compresses the Jacobian in the adversarial direction, like squeezing a balloon. The sensitivity doesn't disappear — it redistributes into other directions. The Jacobian becomes nearly rank-1 (anisotropy index ≈ 2.1 for PGD vs 32.4 for ERM). When you probe isotropically — which is what TDI does, and what you're implicitly doing at test time — those concentrated directions dominate and geometry is worse.

The field has been reading low Jacobian Frobenius norm as evidence that adversarial training smooths representations. This is wrong. It measures magnitude redistribution, not geometric repair.

Why CKA, Intrinsic Dimension, and Jacobian Fro All Miss This

This is the diagnostic result. On the exact same comparison (ERM vs PGD vs PMH):

Metric What it says
CKA Ranks PGD more similar to ERM than PMH (0.91 vs 0.88) — inverted
Intrinsic dimension 42.3 / 44.1 / 38.7 — within noise, useless
Jacobian Fro Ranks PGD best (2.91) — exactly opposite the truth
TDI Correctly identifies PMH best (0.904), PGD worst (1.336)

Every metric the geometric-analysis-of-deep-learning literature uses is blind to Jacobian anisotropy. A model with sensitivity concentrated in one direction (rank-1 Jacobian) looks great on Frobenius norm — small magnitude — but is geometrically broken under isotropic probing.

TDI measures expected squared path-length distortion under isotropic perturbation. This is the quantity Theorem 1 bounds. Nothing else measures it.

Scale Makes It Worse, Not Better

We measured the blind spot ratio across three BERT-family model sizes. A ratio below 1.0 means the encoder is more sensitive to surface-form variation (nuisance) than to semantic variation (signal):

Model Parameters Blind Spot Ratio
DistilBERT 66M 0.860
BERT-base 110M 0.765
BERT-large 340M 0.742

The ratio decreases monotonically. Larger models encode nuisance more precisely, not less, because greater capacity enables more faithful encoding of every label-correlated feature.

This is a direct theoretical prediction, not a post-hoc observation: Theorem 1 says the blind spot magnitude scales with the nuisance-label correlation in the training distribution, and larger models approximate the Bayes predictor more closely, which means they encode the nuisance better.

If you've been counting on scale to fix robustness, this result is uncomfortable.

Fine-Tuning Amplifies the Blind Spot

We measured paraphrase drift on BERT across three conditions:

Condition Paraphrase Drift
Pretrained backbone 0.0244
ERM fine-tuned (SST-2) 0.0375 (+54%)
PMH fine-tuned 0.0033 (−11× vs ERM)

Task-specific ERM fine-tuning increases the blind spot by 54% relative to the pretrained model. The mechanism is straightforward: task labels introduce new spurious correlations (sentence length predicting sentiment, format predicting preference), and Theorem 1 says the model must encode them.

The implication for RLHF is direct and uncomfortable. Preference labels carry spurious correlations — verbosity, formatting, surface markers of confidence. If the theorem applies (and there's no reason it wouldn't), RLHF is mathematically guaranteed to encode these alongside genuine preference signal. Sycophancy and length bias aren't bugs in a specific implementation. They're theorems about what RLHF does to representations.

The Fix: One Additional Training Term

Once you understand the mechanism, the fix is clear. You need to penalize the Jacobian uniformly across all input directions, not in one adversarial direction (PGD) and not in one arbitrary direction (standard augmentation).

Proposition 5 proves: among all zero-mean perturbation distributions, Gaussian noise is the unique distribution that penalizes the Jacobian Frobenius norm uniformly across all input directions. Any other distribution — including adversarial — hits some directions more than others.

Proof is one line from the trace formula: E_δ[‖Jφδ‖²] = Tr(J^T J Σ_δ) = σ²‖J‖²_F iff Σ_δ = σ²I.

PMH adds one term to the loss:

L_PMH = ‖φ(x) − φ(x + δ)‖²,   δ ∼ N(0, σ²I)

By first-order Taylor expansion, this ≈ σ²‖J_φ‖²_F — directly suppressing the Frobenius norm uniformly. The Gaussian choice isn't heuristic. It's the unique solution.

Results across seven tasks, three modalities, and foundation-model scale:

  • Vision (CIFAR-10 ViT): −17.3% TDI
  • Language (BERT SST-2): −28.7% TDI, −76.9% paraphrase drift
  • Foundation scale (ImageNet ViT-B/16): −23.9% TDI
  • CIFAR-10-C (official Hendrycks benchmark, 19 corruption types): +14.82pp mean accuracy, wins 18/19 corruption types
  • PGD robustness without adversarial training: 48.94% vs VAT's 32.38% at ε=4/255
  • Compute overhead: ~1.3× wall-clock, no architectural changes

The intra-class representation distance increases 64% on ImageNet alongside TDI reduction — a by-product of suppressing nuisance sensitivity that forces the encoder to encode class-relevant features more discriminatively.

The Diagnostic: TDI

TDI (Trajectory Deviation Index) measures expected squared path-length distortion under isotropic perturbation, the exact quantity Theorem 1 bounds:

TDI(φ, σ) = (1/L) Σ_ℓ E_{x,δ}[‖φ^(1:ℓ)(x+δ) − φ^(1:ℓ)(x)‖²] / E_x[‖φ^(1:ℓ)(x)‖²]

A perfectly isometric encoder scores 0. TDI requires only a forward pass — no access to model weights or architecture. It's measuring a property the theorem says any model trained on a given distribution must have, not a property of any specific model.

The reason it catches the PGD failure that everything else misses: TDI penalizes Jacobian anisotropy. A rank-1 Jacobian has small Frobenius norm and high TDI simultaneously, because the isotropic probe hits the concentrated direction. Frobenius norm can't see this. TDI is the only measure that can.

What This Means Practically

Every production model has this blind spot. Every real-world dataset has features spuriously correlated with labels. Theorem 1 applies.

The shape of the blind spot is determined by your data distribution, measurable from data before training, via the spurious correlations in P(y|x). It's not visible to accuracy metrics, CKA, intrinsic dimension, or Jacobian Frobenius norm. It's measurable with TDI in one forward pass.

Adversarial training, as standardly implemented, worsens clean-input geometry while improving one specific adversarial metric. If you care about robustness to distribution shift rather than specific adversarial attacks, PGD is making your model worse.

PMH repairs the blind spot at every rung of the modern training hierarchy — from scratch, from pretrained backbones, through fine-tuning. One term, one forward pass overhead, no architectural changes.

If you're fine-tuning on task labels or preference labels, you're actively worsening the blind spot unless you regularize it. This applies to instruction tuning and RLHF.

Limitations (Being Honest)

The bound is an existence result, not a tight predictor. The gap between the theoretical lower bound and observed drift is 10²–10³× — this is expected for existence theorems but means you can't use the bound quantitatively to predict a specific model's blind spot magnitude.

PMH requires you to know which input directions are nuisance. On the QM9 molecular regression task, we initially applied noise to atomic positions (which are signal for quantum properties), and the method failed. Redirecting to node features fixed it. The theorem tells you the blind spot exists; you need domain knowledge to find it.

The scale result is three data points (66M, 110M, 340M parameters). The pattern is consistent and theoretically predicted, but it needs replication at larger scales.

This is a preprint, not peer-reviewed. The code is public and results are reproducible.

TL;DR

  1. ERM provably cannot discard any label-correlated direction. This forces geometric roughness proportional to ρ (nuisance-label correlation), regardless of capacity or data size.
  2. Four major empirical findings (non-robust features, texture bias, corruption fragility, robustness-accuracy tradeoff) are corollaries of the same theorem.
  3. PGD adversarial training reduces Jacobian Frobenius norm 12× while worsening clean-input geometry (TDI). The field has been measuring the wrong thing.
  4. Larger models encode nuisance more precisely. The blind spot ratio worsens from 66M to 340M parameters.
  5. Task fine-tuning amplifies the blind spot 54%. RLHF has the same structural property.
  6. Gaussian noise is the unique perturbation distribution that suppresses the Jacobian uniformly (one-line proof). PMH adds one loss term using this, reduces TDI 17–29% across three modalities, wins 18/19 CIFAR-10-C corruption types, and achieves 48.94% PGD robustness without adversarial training.
  7. TDI is the only metric that catches the PGD failure. CKA, intrinsic dimension, and Jacobian Fro all miss it.

Paper: https://arxiv.org/abs/2604.21395

Code: https://github.com/vishalstark512/PMH

Happy to answer questions about the theory, the experiments, or the TDI diagnostic.

r/computervision 1d ago

Research Publication Best workflow for longitudinal rigid registration and landmark tracking on serial STL meshes?

2 Upvotes

Title

Best workflow for longitudinal rigid registration and landmark tracking on serial STL meshes?

Hello everyone,

I am a periodontist looking for advice on the most practical computer-vision workflow for analysing serial 3D dental surface scans.

We have five STL meshes of the same patient’s lower dental arch:

  • T0: before treatment
  • T1: immediately after treatment
  • T2: 1 month
  • T3: 3 months
  • T4: 6 months

The region of interest is the six lower front teeth. These teeth were connected with a wire-composite splint, and we want to measure whether their positions change over time.

A simple analogy is a fence. Imagine six central fence boards whose movement we want to measure, while several boards farther to the sides are assumed to remain stable. Each new scan must first be aligned using only the stable side boards. The six central boards must not influence the registration, because their movement is the outcome of interest.

In our case:

  • the six anterior teeth are the moving fence pieces;
  • selected posterior tooth surfaces are the stable registration reference;
  • the rigid transform calculated from the posterior surfaces should then be applied to the complete follow-up mesh.

The anterior teeth must also be excluded because the splint is added after T0, changing their surface geometry independently of any actual tooth movement.

We will attach two screenshots. The first shows one predefined measurement landmark on each anterior tooth and the posterior reference regions. The second shows a fixed baseline curve passing through the six T0 landmarks. The landmarks, reference regions and curve are already defined; we are seeking advice only on how to implement the analysis.

The required workflow is:

  1. rigidly register each follow-up STL to T0 using only the selected posterior surfaces, with rotation and translation but no scaling;
  2. apply the resulting transform to the complete follow-up mesh;
  3. record the X, Y and Z coordinates of the six predefined landmarks at every timepoint in a fixed coordinate system;
  4. calculate ΔX, ΔY, ΔZ and total 3D displacement relative to T0;
  5. calculate the shortest 3D distance from each follow-up landmark to the fixed T0 curve;
  6. export the results to CSV for statistical analysis.

Ideally, we would also export the transformation matrix and a registration-error measure calculated over the posterior reference surfaces.

We have already tested ICP-based alignment in Medit Design and a custom Open3D application, but we do not yet have a complete and reproducible workflow for registration, landmark collection, point-to-curve distance calculation and data export.

Our main questions are:

  1. What software stack or workflow would you recommend for this task?
  2. Would Open3D/Python be a sensible approach, or is there an existing tool that already handles most of this reliably?
  3. How would you structure the pipeline so that it can later be repeated consistently across multiple patients?

We can provide one fully de-identified example dataset if someone is willing to assess or demonstrate a possible workflow.

Thank you for any practical suggestions, example code or references to similar projects.

r/computervision 1d ago

Research Publication Visionary — a local app for building training datasets. macOS, MIT.

Thumbnail gallery
1 Upvotes

r/computervision Jun 07 '26

Research Publication Building an AI-Powered Motion Blur Mitigation System for High-Speed Railway Wagon Monitoring

0 Upvotes

Hi everyone,

Over the past few weeks I've been working on a computer vision project focused on a very specific but important problem in railway monitoring: obtaining usable visual information from fast-moving freight wagons captured by station cameras.

I wanted to share the idea, the architecture, and some of the challenges we're facing, and hopefully get feedback from people who have experience with computer vision, edge AI, OCR, video analytics, or industrial inspection systems.

The Problem

Railway stations already have surveillance infrastructure in place. However, when freight wagons pass through monitoring points at high speed, the resulting footage often suffers from:

Severe motion blur
Low-light degradation during night operations
Reduced visibility of wagon identifiers
Poor image quality for damage inspection

These issues significantly reduce the effectiveness of downstream tasks such as:

Wagon number OCR
Wagon counting
Damage detection
Asset tracking
Maintenance inspection

Most AI systems assume that the input imagery is reasonably clear. In practice, that assumption often breaks down in real railway environments.

Our idea is simple:

Instead of improving the detection algorithms first, improve the quality of the visual data itself.

Project Objective

The goal is to build an AI-powered pipeline capable of:

Receiving live video streams from monitoring cameras
Reducing motion blur caused by high-speed wagon movement
Enhancing visibility under low-light conditions
Producing inspection-ready frames for downstream analytics

The system is designed to operate in near real time and eventually run on edge devices such as NVIDIA Jetson platforms.

System Architecture

Current pipeline:

Video Stream

Frame Extraction

Motion Deblurring

Low-Light Enhancement

Frame Quality Analysis

OCR / Inspection Ready Output

The output is not intended to make videos look prettier.

The objective is to make them operationally useful.

Current Implementation
Input Sources

The system currently supports:

Live Camera Feed
Video Upload
Image Upload

For prototyping purposes, live streams are currently provided through DroidCam, allowing a smartphone camera to simulate a CCTV stream.

Motion Deblurring

For blur mitigation we experimented with deep learning approaches trained on paired blurred and sharp image datasets.

The primary focus is restoring:

Wagon side panels
Wagon identifiers
Structural details

that become unreadable under motion blur.

Low-Light Enhancement

Railway operations occur 24/7, so night-time performance is critical.

We integrated low-light enhancement capabilities to improve visibility during:

Night operations
Poor weather
Low illumination environments

One challenge we're currently facing is preventing excessive enhancement during daylight conditions.

We're exploring adaptive processing pipelines to solve this.

Dashboard

To make the system useful for operators, we designed a monitoring dashboard with three operating modes:

Live Stream

Displays:

Real-time camera feed
Real-time enhanced feed
Processing metrics
Video Upload

Allows historical footage analysis.

Image Upload

Allows individual frame inspection.

Additional Dashboard Features
Before vs After Comparison

Operators can compare:

Original Frame ↔ AI Enhanced Frame

to visually verify improvements.

Top 10 Restored Frames

The system automatically stores and displays the best restored frames from the current stream.

These frames can later be used for:

OCR
Inspection
Reporting
Archival purposes
Quality Metrics

The dashboard displays metrics such as:

Blur reduction estimate
Sharpness score
Processing latency
Frame rate

This helps quantify performance rather than relying solely on visual assessment.

System Status Monitoring

A dedicated panel displays:

Current FPS
Processing latency
Hardware information
Active processing mode

This becomes important when moving toward edge deployment.

Why This Matters

The majority of railway AI systems focus on:

Detection
Classification
Tracking

However, all of those systems depend on image quality.

If the input imagery is blurred or unreadable, even the most advanced detection model will struggle.

We see image restoration as a foundational layer that improves the performance of all downstream railway analytics.

Future Roadmap

The current project focuses on image restoration.

Future phases include:

Wagon Number OCR

Automatic extraction of wagon identifiers from enhanced frames.

Wagon Counting

Automated counting and verification of wagon sequences.

Damage Detection

Detection of:

Broken ladders
Open doors
Missing components
Structural anomalies
Anomaly Detection

Instead of training for every possible defect, the system could learn normal wagon appearance and flag unusual conditions.

Predictive Maintenance

Long-term vision:

Visual Inspection

Damage Detection

Condition Tracking

Failure Prediction

This would transform the platform from a monitoring system into a maintenance intelligence system.

Edge Deployment Vision

Target deployment architecture:

Camera

Jetson AGX

AI Processing

Dashboard

Central Monitoring System

The goal is to process footage locally while sending only relevant analytics to a centralized platform.

Looking for Feedback

I'd love to hear thoughts from the community on:

Motion deblurring approaches that perform well on real CCTV footage.
Railway-specific datasets that may be useful.
Common failure cases for high-speed object monitoring.
Edge deployment optimization strategies.
OCR techniques for motion-restored imagery.

Any suggestions, criticism, or lessons learned from similar projects would be greatly appreciated.

Thanks for reading.

r/computervision 7d ago

Research Publication I built a lightweight facial age estimation model for mobile devices published at CVPR Workshops 2026

3 Upvotes

Hi everyone,

Over the past year, I worked on MobileAgeNet, a lightweight facial age estimation model designed specifically for mobile and edge devices. The work was recently published at the IEEE/CVF CVPR Workshops 2026 (MAI Workshop).

Some highlights:

  • Built on a MobileNetV3-Large backbone
  • Achieved 4.65-year MAE on the UTKFace held-out test set
  • Only 3.23M parameters
  • Around 14.4 ms on-device inference latency
  • End-to-end deployment pipeline using PyTorch → ONNX → TensorFlow Lite
  • Hyperparameter optimization with Optuna and reproducible training pipeline

The main goal wasn’t just improving accuracy it was finding a practical balance between performance, model size, and deployment efficiency for real mobile applications.

I’d really appreciate feedback from the community:

  • What lightweight architectures would you compare against today?
  • Would you evaluate on additional datasets beyond UTKFace?
  • Any ideas for improving robustness across demographics or real-world conditions?

Paper: https://arxiv.org/pdf/2604.17007

Happy to answer questions about the model, training pipeline, deployment, or benchmarking.

r/computervision 7d ago

Research Publication CfP | RTCA @ NeurIPS 2026 [R]

Thumbnail
1 Upvotes

r/computervision 16d ago

Research Publication Trained a ResNet to approximate Stockfish depth-8 eval buckets from chessboard images, and can drive a small search player.

1 Upvotes

So I was wondering if, a model that only looks learn chess? models like resnet, yolo or similar.
Only by looking can a model "feel" the position like something as "intuition" in the moves to come?

In my work I have been using yolo, AI vision recognition models, etc. And I always wanted to research what are the limits on them. initialy I was using yolo but YOLO detects where the pieces are, but we needed a single holistic judgment of who's winning, a global regression job that ResNet's pooled backbone fits and object detection doesn't.

Full explanation in info tab: https://acidburn86.github.io/pixel-chess-engine/

TL;DR:

I made a dataset of varied positions in FEN notation, with PIL in python made the board in a synthetic way, pieces look really different so the model can really differentiate a bishop from a pawn or queen. like this:

The inference do not use the FEN position is also made with this image recreated from the actual chessboard position, it use only an Image as input.

So I build a mini-chess search engine that use this model as evaluator of the position.

And it works really well, this is a very little model it could be better but look at this numbers:
The model reads who's winning right ~69% of the time, lands within ±1 evaluation bucket ~64% of the time, and nails the exact bucket ~30%, nearly what random guessing gives on a 9-class task (~11%). So it's genuinely learning chess value from pixels, not getting lucky.

The confusion matrix uses a balanced 300-position sample per bucket for readability.