r/neuralnetworks • • 15h ago

Mnist CNN trained in Swift and Metal whose weights are a scannable QR code

Thumbnail
codetiger.in
10 Upvotes

I built a tiny 3,663-parameter CNN classifier on the MNIST dataset to recognize handwritten digits and reached 97.25% accuracy. Engineers were already hitting 99+% when I was in middle school, so there is nothing exciting about the accuracy here. What got me curious was hiding useful data inside the model’s weights. Image steganography used to be very popular two decades ago, and I always loved seeing how engineers hid one image inside another. Inspired by that, I wanted to see if I could embed a working, scannable QR code pointing to my website inside a small CNN without hurting its accuracy.


r/neuralnetworks • • 17h ago

I've been building Rill - Rust-powered graph ML infrastructure for PyTorch

3 Upvotes

Hey everyone!

I've been spending quite some time building an open-source project called Rill, and I wanted to share what I'm working on.

GitHub: https://github.com/Joy-Majumder/Rill

PyPI: https://pypi.org/project/rill-gnn/

What's Rill?

Rill is an attempt to build high-performance graph machine learning infrastructure with Rust at its core and Python as the interface.

The initial focus is graph data loading and sampling for Graph Neural Networks (GNNs).

If you've worked with GNNs, you probably know that handling graph data isn't always straightforward. Neighborhood sampling, moving graph features around, memory overhead, and preparing batches can become significant parts of the training pipeline.

I became interested in exploring whether Rust could help make some of these operations more efficient without making the experience difficult for Python and PyTorch users.

What's powering it?

Some of the technologies and concepts I'm exploring:

* Rust — performance-oriented core implementation

* PyO3 — Rust and Python interoperability

* Rayon — parallel execution

* PyTorch — integration with the ML ecosystem

* Zero-copy — reducing unnecessary data movement

* Graph data loading and sampling — the initial workload focus

The project also aims to fit into the existing PyTorch Geometric ecosystem rather than reinventing the entire GNN framework.

What I want Rill to become

I don't want Rill to be just another GNN framework.

My bigger goal is to build useful infrastructure underneath graph ML workflows: efficient graph storage, sampling, feature access, and data-loading primitives.

There is still a lot to improve, and I'm treating this as a long-term engineering project rather than something that's already finished.

I'm especially interested in feedback about architecture, memory management, Rust/Python interoperability, benchmarking methodology, and what researchers actually need from graph infrastructure.

A note about AI assistance

I want to be transparent: Rill was developed with significant assistance from AI coding tools. Architecture, design decisions, and research direction are human-driven, while implementation, testing, benchmarking, and documentation involved collaborative AI-assisted development.

I remain responsible for reviewing the code, validating results, and maintaining the project.

I'd love to hear your thoughts

If you've worked with Rust, PyTorch, graph neural networks, or performance-critical data pipelines:

* What would you improve in this approach?

* What problems do you face with existing graph data-loading tools?

* What features would make infrastructure like this genuinely useful?

And if you find the project interesting, feel free to check out the repository. If you like what I'm building, a GitHub star would mean a lot. It helps other developers discover the project and motivates me to keep improving it.

Thanks for reading! <3

GitHub: https://github.com/Joy-Majumder/Rill


r/neuralnetworks • • 6h ago

Do you guys recomend any resources for neural network architecture?

1 Upvotes

I'm doing my final project on a human pose extracting using an artificially generated dataset. Im looking for some resources on how to designe the architecture of the neural network, but I haven't found anything that goes in depth on the reason for any of the design choices they make.

If you guys have any recommendations I would appreciate it a lot :)


r/neuralnetworks • • 9h ago

data from my training run

Thumbnail
gallery
1 Upvotes

i'm training on colab, kaggle, modal so i had claude get the logs i saved and make a visualization.

this is the project https://www.reddit.com/r/neuralnetworks/comments/1y4c1jp/im_surprised_a_model_is_training_at_all/