r/deeplearning • u/LK_Lucascc • 7d ago
r/deeplearning • u/Flashy-Fisherman-503 • 7d ago
How can a depth image find its matching thermal frame?
Give a model a depth image of a street and ask it to find the thermal frame from the same instant. Several consecutive frames can show almost exactly the same street. Recognizing the street alone won't tell the model which frame to choose. A depth image records distance and a thermal camera records heat, so the same object can look quite different. Could the model learn to match the two using separate training collections, one pairing depth images with RGB photos and the other pairing thermal images with RGB photos?
We released PRAM to use ordinary RGB photos as the common reference. It learns how regions of a depth image relate to regions in an RGB photo, and separately learns those relationships for thermal images. It brings the two sets of relationships together. When ranking candidate frames, it can use both the overall scene and the small differences in shape and position that distinguish adjacent frames.
On TartanRGBT, we used the same frozen ImageBind features to retrieve thermal frames from depth images and depth frames from thermal images. Averaged over both directions, MMBind put the correct frame in the top ten 17.5% of the time. PRAM did so 75.1% of the time. We then kept all the regional features in the reference images but shuffled which positions they corresponded to. PRAM fell from 75.1% to 23.5%. Even with the same set of visual clues, knowing where each one belonged made a difference to finding the right frame.

r/deeplearning • u/Flashy-Fisherman-503 • 7d ago
After we masked half the image, CLIP picked the wrong caption for 155 photos. We could still read the object category from its features.
Look at the photo in Figure 4. A man is driving a truck loaded with bananas. With the center of the photo covered, CLIP put a caption about someone standing beside a banana-laden truck first. A caption about a man transporting bananas in his truck came third. Both captions get the bananas and the truck right. What separates them is what the man is doing.

We wanted to know how much information CLIP still had when it picked the wrong caption. We selected 700 Flickr30K photos for which CLIP ranked a correct caption first and a classifier could read the correct object category from its image features. Then we masked the central 50% of each photo. For 155 of them, CLIP now put the wrong caption first. The same classifier could still read the correct object category from the features of those 155 photos.
That finding led us to build SPARC. Could the remaining clues help CLIP choose between two plausible captions? During training, we used complete photos and their captions as references to teach a small module to adjust the features of a masked photo. The aim was to move correct captions up while preserving the matches CLIP already ranked correctly. At search time, only the incoming query goes through the module, so the collection can reuse its existing embeddings.
In a separate Flickr30K test, we masked the central 25% of each photo. A correct caption came first 54.1% of the time with the original CLIP ViT-B/32, 66.0% after standard fine-tuning, and 70.9% with SPARC. Back in the truck example, the caption SPARC ranked first describes a man driving a truck loaded with bananas.
r/deeplearning • u/No-Conclusion3720 • 7d ago
Critical Juniper Session Smart Conductor Flaw Exploited in Attacks
CVE-2026-103406 in Juniper's Session Smart Conductor allows remote attackers to execute arbitrary commands as root with no authentication required. CISA has confirmed active exploitation in the wild.
What makes this category of vulnerability different from a typical endpoint compromise: Session Smart Conductor sits at the traffic-routing layer. Root access there means an attacker controls flows across the entire network, not just the node they landed on. The blast radius is structural, not incidental.
Patching cadence rarely matches exploitation speed on CISA's KEV list. The gap between public disclosure and patch deployment is measured in days to weeks. Active exploitation means that gap is already being used.
For those running critical routing infrastructure: what does your actual containment posture look like when a core conductor process is compromised before a patch is available? Not asking about patching — asking about what limits propagation in the window before you can patch. Curious what practitioners are actually doing here, not what the frameworks say to do.
r/deeplearning • u/sovit-123 • 7d ago
[Tutorial] Adding vLLM and Modal Support to gpt-oss-chat
debuggercafe.comUp until now, the gpt-oss-chat backend was primarily powered by llama.cpp. Although this works well for local setup, there were major limitations when trying to tap into the benefits of other high performance inference engines, like vLLM or Modal endpoints. This is exactly what the latest update brings to gpt-oss-chat. We are adding vLLM and Modal endpoint support to gpt-oss-chat, which are OpenAI-compatible, complete with tool use and streaming.
r/deeplearning • u/SyntheticMindsLab • 8d ago
A community RTX 4090 port of Astral Inference Server: 143.1 vs 74.7 tok/s decode against llama.cpp on the same GGUF
We're Synthetic Minds, we build Astral Inference Server, an open-source OpenAI-compatible LLM server (Rust host, hand-written CUDA kernels, one binary, no Python). Sharing a contributor's work here because the method is clean.
GitHub user lkyprogramer maintains inkling-4090-engine, an unofficial community fork of Astral Inference Server, ported to and validated on a single GeForce RTX 4090 (sm_89) for Inkling 2 Mini. The fork is not affiliated with us and the numbers are theirs, not ours.
Their setup: one RTX 4090, the unsloth UD-Q4_K_XL GGUF, compared with llama.cpp on the same file.
Decode with no draft: 143.1 tok/s against 74.7 tok/s for llama.cpp, which is 1.92x.
Decode with the DSpark draft: 173.9 tok/s against 90.5 tok/s for llama.cpp at k = 3, which is 1.91x.
KL divergence against llama.cpp on the decode path: mean 0.0018, p99 0.023. llama.cpp compared against itself at -ub 512 and -ub 1 gives 0.0020 and 0.028, which is a useful sense check on that spread.
So nearly 2x on that setup only. We make no claim for other GPUs or other models.
The same work found and fixed a stream-ordering bug that affects all GPUs: synchronous uploads and fills now finish on the legacy stream before Astral's non-blocking streams start work. We are looking at bringing that fix upstream.
Community fork: https://github.com/lkyprogramer/inkling-4090-engine
Upstream: https://github.com/syntheticminds-lab/Astral-Inference-Server
Happy to answer questions on the method.
Written with AI help, edited and checked by us.
r/deeplearning • u/xixikong • 7d ago
From traditional machine learning to modern artificial intelligence, what is the essential logic behind the technological evolution?
Recently I have been thinking about a question: from traditional machine learning and deep learning to today's large language models and generative artificial intelligence, what exactly is the core thread that runs through the entire course of technological development?
At present, I try to understand this development process from two levels:
- The surface level—the evolution of technical methods
From linear regression, decision trees, and SVM to CNN, RNN, and Transformer, and then to today's large models. We can intuitively see the continuous changes in model architectures, mathematical tools, learning algorithms, training paradigms, and model capabilities.
But these seem to be more the external manifestations of technological change.
2. The essential level—the intellectual and theoretical logic behind technological change
My current understanding is that different technical methods often implicitly embody researchers' different assumptions about the nature and laws of the objective object, and translate these assumptions into concrete technical methods through mathematical representations, model structures, and inductive biases.
For example, from linear relationships to nonlinear relationships, from locality to global interaction, from manual feature design to automatic representation learning—do these technological changes reflect changes in humanity's understanding of the research object and in modeling ideas?
But as I studied further, I found that this explanatory framework does not seem sufficient to cover all research in the field of artificial intelligence.
r/deeplearning • u/No-Conclusion3720 • 7d ago
FIFA Says It Has Been Victim of a Cyberattack Accessing 'Personal and Business Information'
FIFA disclosed it was the victim of a cyberattack that accessed personal and business information. The organization has not stated the volume or nature of records affected. For a global governing body that holds contracts, payment data, and identity records for millions of people across dozens of jurisdictions, that silence signals the exposure is wide.
The breach pattern here is not unusual. The attacker gains access, reaches a data store, and exits with real records. The organization discovers this after the fact. Affected individuals and counterparties absorb the consequences with no warning and no recourse at the moment it happened.
What makes this scale of exposure particularly damaging is not just that someone got in. It is what was sitting in those stores in a form that was immediately useful once retrieved. Payment data, identity records, and contract details for a global operation covering dozens of jurisdictions represent an enormous surface area of live, actionable information.
For those working on data infrastructure at organizations with similar scale and jurisdictional spread: how are you thinking about the gap between stopping an attacker from reaching your data stores versus controlling what they actually walk away with if they do?
r/deeplearning • u/Abject_League6170 • 8d ago
help with ideas on how to improve small coding model i am building
hey guys so i have been working on training a small 63 milllion parameter python function completer model
steps i have taken are:
use code parrot dataset which comes from scrapped python github files
use BPE tokenixer (deepseek v1 tokenizer with vocab size of 32000)
context window is 2048
i have 15 decoder transformer layers
embedding size of 512
implemeted cosine decay and gradient clipping
activation function is relu and optimizer is adamw
using weight tying as well (mainly cause of compute cost)
task i trained on was: autoreggressive task and fill in the middle section task shuffled in equal proportion
so after training the model it could produce plausible and correct functions(rarely) given a docstring but never knew to produce a return cause i was training over the whole file
so i did continued pretraining at function level with a conservative laerning rate and it can now produce actual return statements that are still plausible but mostly wrong logic
i was thinking of dabbling into a bit of post training but i feel out of my depth and wanted advice on things i am missing or could have imporved on and also how to go about learning and implementing post training strategies as well as coding model evals if any of you have dabbled in that as well
r/deeplearning • u/Muhammad-Essa • 8d ago
CNN Architecture and Hyperparameter Recommendations for Google Quick, Draw! (20 Classes)
I'm training a CNN on the Google Quick, Draw! dataset with 20 classes, approximately 2,000 samples per class (40,000 images total), resized to 28×28 grayscale images.
I'm aiming for around 90–93% test accuracy, but I'm struggling to find a suitable architecture. I've tried different numbers of convolutional layers, filters, fully connected layers, and neurons, but training takes quite a long time on my laptop, and the accuracy sometimes plateaus or even decreases after a few epochs.
I'd appreciate some practical recommendations regarding:
What is the minimum reasonable number of convolutional layers?
How many filters should I use in each convolutional layer (e.g., 16, 32, 64)?
How many fully connected layers should I have, and how many neurons in each?
Would max pooling after each convolutional layer be beneficial?
What optimizer, learning rate, batch size, and number of epochs would you recommend?
Any tips to achieve 90–93% accuracy without making the model unnecessarily large or computationally expensive?
I'm training on a laptop without a dedicated GPU, so computational efficiency is important.
If anyone has experience training CNNs on Quick, Draw!, I'd really appreciate suggestions for a good starting architecture and hyperparameters.
Thanks!
r/deeplearning • u/Rajucg • 9d ago
I collected all 24 of Hugging Face's free, book-length interactive guides (Ultra-Scale Playbook, MoE Handbook, Smol Training Playbook...) in one place
If you've read the Ultra-Scale Playbook, you know how good these are: long-form, interactive, with real numbers from real training runs. Hugging Face has published a whole series of them, but they're spread across different orgs and Spaces, so they're easy to miss.
I put them all in one Hugging Face collection: https://huggingface.co/collections/justjuu/hf-playbooks-and-interactive-explainers
The core series
- The Ultra-Scale Playbook: data, tensor, pipeline and context parallelism, ZeRO, and training on large GPU clusters
- The Ultimate MoE Training Handbook (new): ~70k words and 55 interactive figures on training Mixture-of-Experts models
- The Smol Training Playbook: the end-to-end story of training SmolLM3, from ablations to post-training to infrastructure
- FineWeb: how to build a pretraining dataset at scale
- The Evaluation Guidebook: how to evaluate LLMs properly
Data: FineTasks, FinePDFs, FinePhrase (synthetic data), FineVision
Post-training & RL: on-policy distillation, the TRL distillation trainer, RL environments for agents, async GRPO, chat templates and tokenization for agentic RL
Architecture & concepts: flow matching, looped transformers, encoder-free VLMs, NLP before LLMs, how the transformers library is engineered
Robotics: LeRobot's robot learning tutorial, robot folding
Bonus: the companion GPU memory predictor for the Ultra-Scale Playbook, and the open-source template these guides are built with, in case you want to write your own.
If I missed any good ones, drop them in the comments and I'll add them.
r/deeplearning • u/moucha10 • 8d ago
Time Series Lag Problems
galleryHi everyone, I'm having an issue with lags on time series models predicting U.S. housing prices (FHFA HPI as the target) and I can't figure out where they're coming from (I'm no expert by any means). I've hand-built simpler models, but I'm using Claude Code for this project because it's larger. I've collected over 600 features: global, national (40 countries), and metro (393 U.S. metros). The attached table shows the different models we've tried - starting simple'ish and moving to building our own hierarchical transformer. The problem (the attached charts show an example) is that all the forecasts significantly lag the actual observations - ON ALL THE DIFFERENT MODELS by roughly the same amount. A 1-year forecast lags actuals by about 4-5 quarters. A 2-year forecast lags actuals by about 8-9 quarters. Same with 3- and 5-year (charts attached). On all runs. So the lag is pretty much the exact forecast horizon. I've experienced late calls on turns before, but nothing so consistent across all model types. So I'm pretty sure I'm doing something wrong, but don't know what. Any ideas or help would be appreciated.
r/deeplearning • u/Convincing_Convo • 8d ago
17 million lines of Lean proved Riemann. Here's why everyone expected it
youtu.ber/deeplearning • u/Vegetable-Lie4932 • 8d ago
stabilizing neural codecs
i have been training and fiddling with different neural codecs and training my own architectures as well, from what i have observed most of these have a final refinement phase where they use adversarial techniques or mostly GANs. have people been using non GANish approaches to refine the audio reconstruction quality ? would love to know everyone's thoughts.
r/deeplearning • u/CapitalCut441 • 9d ago
Why is LLM inference hard?
When I first heard about inference engines, like vLLM, I wondered what makes inference so challenging. That’s why I decided to learn more about LLM inference from a systems perspective. If you already know how transformers work, then this is a fun topic to explore next.
https://mehrdadmahabadi.com/blog/why-is-llm-inference-hard.html
r/deeplearning • u/Expensive-Compote248 • 8d ago
Seed: an experiment in building a small modular AI from scratch on a GTX 1660 Ti, looking for feedback
reddit.comr/deeplearning • u/No-Conclusion3720 • 8d ago
Drupal Flaw Found by Anthropic Scanner Exploited in Attacks
An Anthropic-built scanner identified a vulnerability in Drupal. Then that vulnerability was exploited in live attacks anyway.
The discovery-to-exploitation gap is a known problem. What gets less attention is what AI scanning agents actually do while they run. These tools need broad access to find what they're looking for. Some need to touch production systems to confirm exploitability. The scanner that found this flaw had enough access to identify it — which means it had enough access to interact with the affected surface in ways the organization may not have fully inventoried.
Security teams are deploying AI agents faster than they're defining what those agents are permitted to do. Credentials scope the account. Nothing scopes the agent's actions within that account. When a scan runs, there is often no durable, independent record of exactly what the agent touched, in what order, and what it attempted beyond its logged output.
The flaw was found. The flaw was later exploited. Everything in between — what the agent did, what it accessed, what it left behind — is the part of this story that isn't in the headline.
How are you handling this in practice? Do your AI security tooling operate under any defined per-action scope, or is access control handled entirely at the credential layer — and has that been enough?
r/deeplearning • u/No-Conclusion3720 • 8d ago
Hackers Exploited CVSS 10.0 Hex.pm RCE Flaw to Compromise 6 Package Registry Servers
A CVSS 10.0 RCE flaw in Hex.pm was exploited to compromise 6 package registry servers. The build pipelines themselves were not the entry point. The attack moved through dependencies that executed at runtime — after the artifact was already signed, scanned, and deployed.
This is the part static analysis does not reach. The build is clean. The signature checks pass. The malicious behavior shows up later, in what the running process actually calls and touches. Six servers is the confirmed count from this incident. The exploited surface was not in the code that shipped — it was in what that code pulled in and ran.
Security teams are getting better at hardening the build side. The runtime side — what actually executes, what it calls, what it writes, what it reaches out to — is where the gap keeps showing up.
For those working on this: what does your current approach look like for controlling what executes at runtime versus what was verified at build time? Are you treating them as the same problem or separate ones?
r/deeplearning • u/ScarcityMuch4701 • 9d ago
[Article]: UGLF: Uncertainty-Gated Global-Local Fusion for Generalizable Face Forgery Detection
reddit.comr/deeplearning • u/Independent-Hair-694 • 9d ago
Can a system learn from experience without backprop or Transformers? I built one to find out, and the results confused me
github.comr/deeplearning • u/Historical_Syrup_461 • 10d ago
I made a library that combines your devices' memory to train or fine-tune large models (open source)
most machines cant train or fine-tune the bigger models on their own, but a few of them together usually have enough memory. it splits the model by layers across them and trains it like its one model.
works for LoRA, QLoRA, full fine-tuning and training from scratch, and your training code stays the same.
they connect over the internet, and if one drops out the others take over its layers and training goes on.
https://github.com/abdallah-swe/layerpool
feedback welcome
r/deeplearning • u/Neurosymbolic • 9d ago
Alternative Approaches to Symbolic Regularization of Neural Training
youtube.comr/deeplearning • u/Necessary_Guest_4412 • 10d ago
I built a neural network from scratch using only NumPy.
I wanted to know what actually happens inside loss.backward().
So I built a neural network with nothing but NumPy. Every gradient derived on paper, every layer written by hand, every derivative checked numerically.
98.05% on MNIST.
Code and derivations: https://github.com/Meckmin/mnist-numpy-from-scratch
r/deeplearning • u/No-Conclusion3720 • 9d ago
VMware vCenter Hit by Another Critical 9.8-Rated Auth Bypass Flaw After Zero-Day Exploitation
VMware vCenter just received another CVSS 9.8 auth bypass patch — the second critical authentication flaw in the platform in a short window, with the previous one already confirmed exploited in the wild before a fix shipped.
The number that matters: 9.8. That is not a 'patch when convenient' score. That is full unauthenticated remote code execution territory on the management layer that sits above every VM in the environment. Every workload, every stored credential, every network segment those VMs touch is exposed to whoever got there first.
What makes this pattern worth talking about is not the specific CVE. It is that critical infrastructure management software — the layer humans and increasingly automated systems use to provision, move, and modify production workloads — keeps producing exploitable authentication gaps at the highest severity tier. The gap is not just 'patch faster.' The underlying question is what an attacker or compromised process can actually do once it is past the authentication check, and how quickly anyone finds out.
For teams running vCenter at scale: how are you handling the window between public CVE disclosure and confirmed patch deployment across your fleet? And beyond patching cadence, what controls do you have on what authenticated sessions — legitimate or not — are allowed to touch?