frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: BNNR – a closed-loop pipeline for improving vision models

1•dominka•1h ago
Hi HN,

we’ve been working on computer vision models for a while, and one thing kept coming up: improving them is surprisingly unstructured.

You train a model, try a few augmentations, tweak some hyperparameters, run it again - and if the metric goes up, you keep it. But it’s often unclear why it improved, or whether the model is actually learning something better.

We kept running into questions like:

- Did this change actually help, or is it just noise?

- Is the model focusing on the right features?

- Are we improving generalization, or just overfitting differently?

So we built BNNR (Bulletproof Neural Network Recipe) - an open-source PyTorch toolkit that turns model improvement into a closed loop:

- Train a controlled baseline

- Explain what the model actually learned (via XAI methods like OptiCAM / GradCAM)

- Improve by testing candidate strategies in parallel

- Prove the result with structured comparisons

One thing we focused on is avoiding “blind” changes. Instead of committing to a single idea (e.g. an augmentation), BNNR evaluates multiple candidates and only keeps those that measurably improve a selected metric. The goal is to reduce manual trial-and-error, not replace control.

We also use explainability as part of the loop, not just for visualization.

For example, in one experiment a model classifying airplanes was mostly focusing on the sky background rather than the object itself. This kind of behavior is hard to spot from metrics alone. After applying a targeted modification based on the model’s attention, the focus shifted toward the airplane, and performance improved on held-out data.

Under the hood, some of the improvements are driven by XAI-based transformations:

- ICD (Intelligent Coarse Dropout) masks the most salient regions (what the model relies on too much), forcing it to learn from broader context

- AICD (Anti-ICD) does the opposite - it masks less relevant regions and keeps only what the model considers important

We don’t treat these as “magic augmentations”, but as ways to test hypotheses about what the model is actually using. BNNR works with its own augmentations as well as external libraries (e.g. Albumentations)

Each run is tracked and visualised in a live dashboard, where you can see:

- baseline vs improved metrics

- per-class performance

- attention maps before/after

- candidate branches being explored in parallel and which ones were selected or discarded

There is a trade-off: evaluating multiple candidates in parallel adds compute cost. In practice, we’ve found it comparable (or better) than manually running multiple experiments and tuning setups - but with much more structured results.

It’s still early, but currently supports:

- image classification

- multi-label classification

- object detection (just added today)

Would really appreciate feedback - especially from people experimenting with vision models or training pipelines.

You can try it here:

GitHub: <https://github.com/bnnr-team/bnnr>

Website: <https://www.bnnr.dev/>

Colab: <https://colab.research.google.com/github/bnnr-team/bnnr/blob...>

OpenAI's Genius Plan [to Cure Cancer] Can't Possibly Fail [video]

https://www.youtube.com/watch?v=ijTxAfFUHkY
1•mentalgear•19s ago•1 comments

U.S. faces an air traffic controller shortage. It's turning to gamers for help

https://www.cbsnews.com/news/faa-video-gamers-increase-air-traffic-controllers/
1•cdrnsf•1m ago•0 comments

The Ones: Actron AM1608 16-Bit CPU. – The CPU Shack Museum

https://www.cpushack.com/2026/04/01/the-forgotten-ones-actron-am1608-16-bit-cpu/
1•rbanffy•1m ago•0 comments

Securing Vapor for the Future: Our Experience in GitHubs Secure Open Source Fund

https://blog.vapor.codes/posts/securing-vapor-for-the-future/
1•frizlab•2m ago•0 comments

An Atari 8-Bit Computer Timeline – By Paul Lefebvre

https://www.goto10retro.com/p/an-atari-8-bit-computer-timeline
1•rbanffy•3m ago•0 comments

Understanding Clojure's Persistent Vectors, pt. 1 (2013)

https://hypirion.com/musings/understanding-persistent-vector-pt-1
1•mirzap•4m ago•0 comments

Fixing AMDGPU's VRAM management for low-end GPUs

https://pixelcluster.github.io/VRAM-Mgmt-fixed/
1•haunter•5m ago•0 comments

OpenJDK Interim Policy on Generative AI

https://openjdk.org/legal/ai
2•owlstuffing•5m ago•1 comments

Hitachi Ltd, Part I – By Bradford Morgan White

https://www.abortretry.fail/p/hitachi-ltd-part-i
1•rbanffy•6m ago•0 comments

Building a Microkernel in Rust: A 5-Part Series on Boot, IPC, Preemption, VM

https://blog.desigeek.com/post/2026/02/building-microkernel-part0-why-build-an-os
2•birdculture•6m ago•0 comments

For the First Time, a Denuvo Game from 2026 Has Been Cracked

https://www.thegamer.com/resident-evil-requiem-cracked/
1•haunter•7m ago•0 comments

How the AI boom derailed clean‑air efforts in one of the most polluted US cities

https://www.reuters.com/sustainability/climate-energy/how-ai-boom-derailed-cleanair-efforts-one-a...
1•1vuio0pswjnm7•8m ago•0 comments

Messing Around with Linux

https://disorientation.bearblog.dev/messing-around-with-linux/
1•speckx•8m ago•0 comments

How Social Media Feminised Us All

https://www.freyaindia.co.uk/p/how-social-media-feminised-us-all
2•rzk•9m ago•0 comments

Understanding Partial Reachability

https://pulse.internetsociety.org/en/blog/2026/04/understanding-partial-reachability/
1•jruohonen•13m ago•0 comments

The Download: an exclusive Jeff VanderMeer story and AI models too scary to rel

https://www.technologyreview.com/2026/04/10/1135618/the-download-jeff-vandermeer-short-story-and-...
1•joozio•14m ago•0 comments

The Deadly Civil War That Tore Apart a Group of Chimpanzees in Uganda

https://www.wsj.com/us-news/ngogo-uganda-chimpanzee-civil-war-99f04332
1•rsecora•14m ago•0 comments

"Constellations: A story about seeking" by Jeff VanderMeer

https://www.technologyreview.com/2026/04/10/1135106/jeff-vandermeer-constellations-science-fiction/
1•doctoboggan•16m ago•0 comments

Ask HN: Improving as mid-level dev with forced use of LLMs

1•quantum_magpie•16m ago•0 comments

A Mercury Rover Could Explore the Planet by Sticking to the Terminator

https://www.universetoday.com/articles/a-mercury-rover-could-explore-the-planet-by-sticking-to-th...
2•bookofjoe•16m ago•1 comments

EU airline industry warns of fuel shortages if Strait of Hormuz stays closed

https://www.bbc.com/news/articles/c3w37ggp011o
2•geox•17m ago•0 comments

State of the art PBR maps generation

https://blog.fal.ai/introducing-patina/
1•amrrs•17m ago•0 comments

Forcing an Inversion of Control on the SaaS Stack

https://www.100x.bot/a/client-side-injection-inversion-of-control-saas
3•shardullavekar•17m ago•0 comments

SF researcher explores large-scale survey of sexual preferences

https://bigkinksurvey.com/
1•gscott•20m ago•0 comments

Cerebras Is Back

https://openrouter.ai/provider/cerebras
1•sysmax•20m ago•1 comments

Awesome-cursor-skills: A list of must-have skills for Cursor

https://github.com/spencerpauly/awesome-cursor-skills
1•dispencer•20m ago•0 comments

Show HN: mmcheck -- Check if a model supports multimodal inputs.

https://pypi.org/project/mmcheck/
1•init0•21m ago•0 comments

Show HN: EvoCat – a strict iOS app blocker with "cat"-based enforcement

https://evocat.app/
1•anzerarkin•22m ago•0 comments

Neural Computer: A New Machine Form Is Emerging

https://metauto.ai/neuralcomputer/
1•plainOldText•23m ago•0 comments

Show HN: Unlegacy – document everything, from COBOL to AI generated code

https://www.unlegacy.ai/
2•Absonsonson•23m ago•0 comments