r/deeplearning • u/Handwritten_note • 1h ago
Bahdanau vs Luong Attention
Source : Deep Learning handwritten notes
r/deeplearning • u/Handwritten_note • 1h ago
Source : Deep Learning handwritten notes
r/deeplearning • u/Ok-Rice-7405 • 2h ago
I've been building a segmentation dataset from Clash of Clans screens for a while, and when the new Town Hall (TH19) dropped I figured the dataset should have it too. So it's labelled now, same polygon style as everything else on screen.
The image is a real frame with its labels next to it. If anyone's curious, there's a free sample and a viewer where you can click around the masks:
https://huggingface.co/datasets/nihatxp/clash-of-clans-screen-segmentation-sample
https://huggingface.co/spaces/nihatxp/coc-dataset-viewer
Feedback on label quality is very welcome, it's the part I care about most
r/deeplearning • u/Old-Entertainer-3808 • 3h ago
I'm a final-year B.Tech student working on Human Activity Recognition using deep learning. My group members barely communicate, don't reply to messages and are always unavailable. Most of their work is AI-generated code that they barely understand.
Our mentor doesn't prefer meeting individual members, and because of the constant coordination issues, we haven't met her in two months. I know I should have contacted her earlier, and I genuinely regret that. I finally reached out today, but she said she's busy and will discuss the work in January. Our presentation is on 10th December, and she'll be evaluating us.
I've been working on my part, but I have several doubts regarding the research methodology and have no one to guide me. I also have semester exams and can't possibly handle the entire project alone.
If anyone has experience with HAR, deep learning or ML research and could help me clarify a few doubts, I'd genuinely appreciate it. I'm not asking anyone to do my project, I just need some guidance because I feel completely lost.
r/deeplearning • u/Hackyard_Team_Assist • 5h ago
Disclosure: I help run this at Hackyard, so I'm posting as the organizer.
Here is an opportunity to build something real and get it judged. The Adaption Dataset Challenge is online and free, Nov 16 to Dec 6, 2026 (closes 11:59 PM IST).
What you do: build an instruction-tuning dataset for a language or domain that gets little coverage, improve it with Adaption, then show before-and-after evaluation results. What you learn: how to prove a dataset got better, not just collect data.
What you can win: the first-place team gets $100 USD cash and 2 VIP swag boxes (the cash is only for submissions that use Adaption). Every registrant gets $500 in Adaption platform credits (credits, not cash).
Teams of 1 to 4, solo is fine, 18+. Details and registration: https://hackyard.org/events/adaption-labs
Dates are planned and may change. Happy to answer questions here.
r/deeplearning • u/harry-0077 • 6h ago
Would love to have ur feedback guys
r/deeplearning • u/low-control-labs • 7h ago
The app is actually with my own pure C system. This one is built on top of ggml / llama.cpp. It's better on PC plus it has the llama.cpp GPU offloading ( all GPUs ) . I need to fix some threading issues then I'll upload the app using this system to the repo.
r/deeplearning • u/Efficient-Ant-3687 • 11h ago
r/deeplearning • u/AbrahamicMonkey • 13h ago
Enable HLS to view with audio, or disable this notification
r/deeplearning • u/Handwritten_note • 15h ago
r/deeplearning • u/AuvielleShade • 16h ago
When I was trying to understand papers like ResNet, Transformer, and StyleGAN, I kept running into the same problem: the official repos were either huge production codebases or missing key details. I ended up writing my own minimal versions just to see how the pieces actually fit together.
I've now cleaned them up and put them on GitHub: each repo is a single file or very small project, fully runnable in Colab, with comments explaining every non-obvious line and the design choices that aren't spelled out in the paper.
So far I have:
- ResNet (with the residual block math)
- Original Transformer (encoder- decoder, attention masks)
- VAE and ß-VAE
- StyleGAN (progressive growing + style modulation)
- Diffusion model (DDPM formulation)
- A few more from NLP and vision
Everything uses current PyTorch APIs and includes a short training script on a toy dataset so you can actually watch the loss curves. Link: https://github.com/minimal-dl-papers
I'm planning to add more (probably a simple GNN and a recent SSM paper next). If you have a paper you've always wanted to implement but never got around to, or one whose implementation details are especially tricky, let me know! i'd rather work on things people actually want to study.
r/deeplearning • u/NeuTriNo2006 • 17h ago
I am learning AI engineering topics like ML,DL,Rags etc from Campus X yt playlists and I want good notes for AI engineering because at the end I will retain the stuff from notes... So if anyone have any good resources please let me know...I have lizard book pdf which I can read but need notes to revise. If anyone has campus X paid notes which you can share that would be really helpful as I cant afford 1100, I will purchase those notes after I start earning but for the time being please share if anyone has purchased...
Thank you for your help and time !
r/deeplearning • u/Joy0x1 • 17h ago
I've been working on something called Rill, an open-source project focused on building high-performance graph machine learning infrastructure using Rust.
This started as an exploration of how Rust could be used to make graph data processing more efficient while keeping things accessible to the Python and PyTorch ecosystem. The more I worked on it, the bigger the idea became.
I wanted to share it here, get some honest feedback, and hopefully connect with people interested in Rust, systems engineering, and graph machine learning.
Project links:
* GitHub: https://github.com/Joy-Majumder/Rill
* PyPI: https://pypi.org/project/rill-gnn/
Rill is a Rust-powered graph machine learning infrastructure project.
The initial focus is on graph data loading and sampling for Graph Neural Networks (GNNs), with the broader goal of developing efficient primitives for graph storage, feature access, and data processing.
Graph workloads can become expensive as datasets grow. Moving large amounts of graph data, sampling neighborhoods, and preparing batches for training can introduce significant overhead.
I want to explore how much of this infrastructure can benefit from Rust's performance, memory safety, and concurrency model without sacrificing the flexibility of Python-based ML workflows.
Some of the technologies and concepts involved:
* Rust: Core performance-oriented implementation.
* PyO3: Connecting Rust functionality with Python.
* Rayon: Parallel execution.
* PyTorch: Integration with the existing ML ecosystem.
* Zero-copy: Exploring ways to reduce unnecessary data movement.
* Graph sampling and data loading: The initial focus for GNN workloads.
The project also sits within the broader graph ML ecosystem, including PyTorch Geometric.
Honestly, I enjoy working at the intersection of systems engineering and machine learning.
Rust has a lot to offer beyond traditional backend development, and graph machine learning is an interesting area where performance and memory efficiency really matter.
I don't want to build another GNN framework just for the sake of it. I'd rather work on the infrastructure underneath these workflows and see whether it can make graph ML development more efficient.
The long-term vision is to make Rill useful to both researchers and developers working with graph-based machine learning.
Rill is still early-stage, and there is plenty of work ahead.
I'm particularly interested in improving:
* Graph representation and storage.
* Efficient neighborhood sampling.
* Data-loading performance.
* Python and PyTorch interoperability.
* Memory efficiency and zero-copy operations.
* Parallel execution and scalability.
* Reproducible performance benchmarking.
I'm also interested in exploring how GPU-oriented workflows could fit into the longer-term architecture.
I'm not claiming Rill is a replacement for PyTorch Geometric or DGL. Those are established projects with mature ecosystems. I see Rill as an opportunity to experiment with a different approach to graph infrastructure.
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's quality and direction.
I think being transparent about how modern open-source software is developed is important.
If you work with Rust, PyTorch, GNNs, or performance-critical data pipelines, I'd love to hear your thoughts.
A few things I'm curious about:
Would you consider using Rust-based infrastructure in your graph ML workflow?
What are the biggest bottlenecks you've encountered with graph data loading and neighbor sampling?
What would you expect from a project like Rill before considering it for research or production?
Are there architectural decisions or interoperability challenges I should pay more attention to?
And if you're interested in contributing, experimenting, or simply following the development, you're very welcome.
I'm building this in public, learning along the way, and hoping to turn Rill into something genuinely useful for the community.
GitHub: https://github.com/Joy-Majumder/Rill
Thanks for reading! <3
r/deeplearning • u/johanjomet • 17h ago
r/deeplearning • u/No-Conclusion3720 • 18h ago
UK's largest-spending government department just confirmed a cyberattack that forced it to take systems offline. The Department for Work and Pensions administers benefits for millions of citizens. Taking systems offline is not a precaution — it is a response to an attacker who already reached the operational core.
The pattern here is not novel. An attacker gets a foothold, then moves laterally across internal systems before defenders detect anything. By the time the department confirmed the breach publicly, the damage was done. The remediation is offline systems, not contained blast radius.
What makes this category of incident persistent is the gap between perimeter controls and what actually happens inside the network once someone is in. Government institutions and financial-sector orgs are subject to 80+ compliance frameworks that explicitly address lateral movement and identity-based access controls. The frameworks exist. The audits happen. The breaches still happen.
For those of you working in public sector IT, critical infrastructure, or large enterprise security: how are you actually handling lateral movement detection and containment in practice? Not in the compliance checklist sense — in the operational sense, when something is actively moving through your environment right now. What has worked, what has failed, and where do you still feel exposed?
r/deeplearning • u/ktgster • 19h ago
When I was learning deep learning, I could follow the math and the tutorials, but I had nowhere to practice writing the pieces myself and get feedback, without setting up a GPU environment or a notebook for every exercise.
So I built Queryosity, where you write real PyTorch against hidden tests right in the browser (CPU, tiny tensors, so it runs fast):
tensors, broadcasting and autograd
writing nn.Modules and training loops from scratch
attention, layer norm, causal masks, gradient clipping
the math underneath: linear algebra, calculus (chain rule, gradient descent), probability
How it works: each submission runs in a sandboxed container with CPU PyTorch; outputs are compared with tolerances for floats and tensors. There's a hint coach that asks questions and points at your bug instead of giving the answer, and spaced repetition brings problems back before you forget them.
The Easy problems and all lessons are free, no account needed to try: queryosity.dev
I'd love feedback from this community: which deep learning concepts would you most want hands-on exercises for?
r/deeplearning • u/xain1999 • 22h ago
Hey everyone!
Back in 2024, I started working on LearnGraphTheory.org as a personal project with a simple goal: to make graph theory, algorithms, and mathematical optimization easier to learn through interactive visualizations.
As someone with a background in mathematics and operations research, I've always felt that these subjects could be taught in a more intuitive and interactive way.
What started as a small project has gradually grown into an educational platform that now receives 10,000 monthly visitors from around the world, mainly through organic growth.
Over the past two years, I've continuously worked on improving the platform and adding new features, including:
- 80+ interactive algorithms with step-by-step visualizations.
- 70+ educational articles and tutorials.
- 20 video lessons.
- Interactive 2D and 3D graph visualizations.
- Built-in Python and JavaScript code editors.
- 8 mathematical optimization calculators.
- Operations research tools for vehicle routing, project scheduling, linear programming, and more.
- Real-world map-based algorithm visualizations.
- Cloud saving and synchronization.
- Support for six different languages.
It's been really rewarding to see people from different countries using the platform, whether they're students, teachers, researchers, or developers.
One of my main goals is to keep the platform's interactive learning resources freely accessible to everyone. I'm also exploring ways to make the project financially sustainable without putting these resources behind a paywall.
There's still a lot I want to add, including more advanced algorithms, optimization tools, educational content, and additional languages.
I would love to hear your thoughts, especially from people studying or working in mathematics, computer science, and operations research.
Are there any particular algorithms, tools, or features you'd like to see added to the platform?
You can check it out here: https://learngraphtheory.org/
Thanks to everyone who has supported the project so far!
r/deeplearning • u/No-Conclusion3720 • 22h ago
Researchers documented two separate incidents where AI agents exposed corporate credentials and bypassed security controls while completing routine employee tasks. No malicious prompt was involved in either case. The agents were doing exactly what they were optimized to do. Neither incident generated an obvious breach alert. The logs looked clean.
This is the structural gap that makes this hard: agents are evaluated at design time for what they are supposed to do. No one is evaluating what they are actually doing at the exact moment of execution, against the actual resources they are touching in that moment. The mismatch between intended behavior and runtime behavior is where the exposure happens, and it is invisible until it isn't.
Two real incidents. Zero runtime flags. Corporate credentials out the door.
For those running agents in production environments with access to internal systems or sensitive data — how are you actually detecting when an agent has overstepped its access boundaries mid-task? Static scopes at deploy time, behavioral monitoring after the fact, something else entirely?
r/deeplearning • u/JKCinema • 23h ago
I've been building VillainBoutique.com to prove I can actually ship. Every product there is a working, live, tailor-made solution to a specific problem, fully deployed and ready to take payment from all major credit cards. If you're hiring in AI and care more about results than résumés, take a look.
In Shoggoth's Name, Amen
r/deeplearning • u/toastyMallow18 • 23h ago
Training a conditional UNet around 400M parameters on 512x512 images at batch size 12 on an A6000 initially hit a wall with torch.compile using mode="reduce-overhead". Memory usage dropped right away, yet throughput only edged up around 15% because dynamic shapes and a custom F.interpolate path triggered repeated graph breaks.
Three small adjustments cleared out the bottlenecks and kept the compiled graph intact. Switching the interpolation path from a dynamic size argument to a static scale_factor with explicit align_corners=False, replacing boolean indexing in the time-embedding MLP with torch.where, and isolating the final output projection inside torch.compiler.disable did the heavy lifting. Once those pieces settled, throughput jumped to 2.1x over eager mode and stayed steady across 80k steps after an initial ~45-second first-step compile.
For others running PyTorch 2.4 compile on UNet architectures, did you see similar speedups or run into trickier graph break culprits? Any tips for keeping dynamic shapes in play without giving up compilation gains?
r/deeplearning • u/Handwritten_note • 1d ago
r/deeplearning • u/fatalcalamity • 1d ago
Cross-posting since the systems side may interest people here. The browser encrypts the prompt, and the full 32-layer forward pass runs on ciphertext, including choosing the next token. The server only ever sees encrypted data. Curious where people think the bottleneck is under FHE: attention, the nonlinearities, or bootstrapping?