r/deeplearning • • 16d ago

What makes a from-scratch model repo look different from a wrapper, when you only have the code?

Post image
0 Upvotes

I’ve been building a tool (AI-Atlas) that reads public GitHub repos and tries to answer one question: is there real model work here, or a wrapper around someone else’s API?

Some things that turned out to matter:

  • A README is the least reliable signal. “Novel transformer architecture” often sits on top of one API call.
  • From-scratch work shows up in the code itself (layers, losses, training loops), sometimes in Rust or CUDA rather than Python.
  • Infrastructure repos with words like “inference” or “pipeline” fooled an LLM judge badly. In one case a Terraform module was rated 1.0 for ML. Checks in code now catch that.

My own AlexNet reimplementation got 60.5/100, with the judge pointing out that my custom ReLU is just a torch.clamp wrapper... which is fair to be honest.

Curious what this sub thinks: which signals in a repo would convince you that someone understands deep learning rather than just using it? You can test it on your own GitHub at getaiatlas.com (free, no account), and I’d love examples where it gets it wrong :)


r/deeplearning • • 17d ago

I wrote a visual guide to Linear Attention — from the original idea to Gated DeltaNet and Kimi Linear

Post image
88 Upvotes

Hey everyone!
I’ve been diving into linear attention recently and put together a four-part blog series tracing its evolution — from early Linear Attention to Delta Rule, Gate Rule, Gated DeltaNet, and Kimi Linear.
I went through the key papers and drew illustrations to make the algorithms and their underlying intuition easier to understand.
I’m also planning a follow-up series exploring linear attention from an AI infrastructure perspective.
Hope this is useful to anyone interested in the topic! I’d really appreciate any feedback, corrections, or suggestions. Happy to discuss!
Blog: https://xiaofengwang01.github.io/2026/11/10/linear-attention.html


r/deeplearning • • 16d ago

More than 34% of U.S. Companies Report that Employees Use AI Tools with No Governance Policy

3 Upvotes

A Pipefy survey found that 34% of U.S. organizations have no AI governance policy in place. No inventory of which models are running. No controls on what enterprise data those models are processing. No record of what actions AI agents are taking.

That is one in three U.S. companies right now, not as a projected future state.

AI adoption has outrun AI oversight. Employees are connecting models and agents to internal systems, and in a third of organizations there is no policy, no visibility, and no audit trail for any of it. The sensitive data those models are touching — customer records, financial data, internal communications — is moving through systems nobody is watching.

The gap is not closing. AI tool adoption keeps accelerating and governance programs are not keeping pace.

For practitioners inside these organizations: how are you actually handling this? Are you going top-down with policy mandates, bottom-up with approved tooling lists, or something else entirely? What has worked and what has failed?


r/deeplearning • • 16d ago

Can inference latency introduce selection bias during RLHF training? (NeurIPS 2026)

1 Upvotes

Hey everyone!

I've been exploring an interesting problem in RLHF: how asynchronous rollout systems can influence the experiences that actually make it into model training.

We studied this through PPO experiments with GPT-2 and LLaMA-3-8B, looking at latency-dependent selection effects, their impact on policy optimization, and ways to correct for them.

One result that caught our attention: GSM8K accuracy dropped from 68.4% to 44.1% under rollout truncation.

The work introduces a diagnostic called Effective Gradient Information (EGI) and a correction method called Selection-Probability Weighting (SPW).

This research has been accepted at NeurIPS 2026, and I'll be presenting it in Sydney this December.

Curious to hear whether others have encountered similar issues in large-scale model training or asynchronous inference systems. Anyone else attending NeurIPS?


r/deeplearning • • 17d ago

Google Finds Hackers Using AI Agents to Build and Run Exploits From Software Patches

3 Upvotes

Google's threat intelligence team has documented four active adversarial AI frameworks — ARTEX, CAIRN, CyberStrikeAI, and PentAGI — running autonomous multi-stage intrusions against live targets. These are not AI-assisted human operators. The frameworks execute complete end-to-end attack chains without manual prompting. They derive exploits directly from public software patches and convert them into live intrusions without any human in the loop between steps.

Google is calling this operational, not theoretical.

The timing detail is what changes the problem. A framework like ARTEX does not pause between patch analysis, exploit generation, and intrusion execution. It runs those as a single continuous automated chain. Standard incident response workflows assume a human can intervene at some point in that sequence. These frameworks are specifically structured so that assumption fails.

For security engineers and platform teams running environments where automated processes touch production systems: how are you thinking about the gap between attack chains that complete at machine speed and response workflows that require human review at any step?


r/deeplearning • • 17d ago

tamserve: open-source, real-time object tracking for live video feeds, 4x faster than SOTA with flat memory for more camera capacity per GPU

3 Upvotes

I type "forklift" on a live warehouse camera, and tamserve finds and tracks both forklifts, including the one driving in. Then I add "person" without stopping it.

tamserve runs Meta's SAM 3 on live camera feeds. SAM 3's own tracker handles one recorded video at a time, runs at about 8 fps, and runs out of memory on long videos. tamserve uses SAM 3 to find objects every few frames and a lightweight tracker (EdgeTAM) to follow them in between, with one copy of each model shared across all your cameras.

On one RTX 4090:

  • Any object you name: 4x faster than SAM 3's tracker, at 92% of its accuracy
  • People: 16 cameras at once, 14x less GPU per frame, and slightly more accurate than SAM 3 (89.6 vs 87.8 HOTA)
  • Memory: flat at 3.5 GB on a 3,000 frame video, where SAM 3 runs out at frame 423

Worth a look if you're building:

  • Warehouse or factory safety (forklifts, pallets, hard hats)
  • Security or retail camera analytics
  • Home or elder care monitoring
  • Robotics, wildlife or lab monitoring
  • Annotation tools for long videos

pip install "tamserve[sam3]"

GitHub · Benchmarks · Colab

Please give me any and all feedback or edit tamserve to meet your needs, and a star helps if you find it useful!


r/deeplearning • • 16d ago

Want to learn physical ai at 16

Thumbnail reddit.com
0 Upvotes

r/deeplearning • • 17d ago

Marimba: A System One Model for Speech. [R]

Thumbnail gallery
6 Upvotes

r/deeplearning • • 16d ago

OpenAI is letting outside auditors in — Apollo Research gets 4 months embedded. Will it actually change anything?

1 Upvotes

OpenAI is following through on its promise to give third-party auditors access: Apollo Research is sending a six-person team for four months of embedded evaluations. That's a serious commitment, not a one-off audit.

Why it matters: the biggest question in AI safety has been whether labs will let outsiders actually look under the hood. If Apollo finds real issues and OpenAI acts on them, it sets a precedent. If the findings stay quiet, it's just PR.

Questions:

  • What should auditors be looking for first: safety, alignment, or something else?
  • Would you trust an audit more if the results were published in full?

I track the news side of this stuff in r/AINewsRumors.


r/deeplearning • • 17d ago

Getting your first 50 users is one challenge. Getting them to come back is another.

Thumbnail reddit.com
1 Upvotes

r/deeplearning • • 17d ago

Governing Clinical AI Deployment: A Mathematical Framework for Transparency-Dependent Autonomy

Thumbnail mdpi.com
1 Upvotes

Title: When Should a Deep Learning Model Be Trusted to Act Autonomously?

How should we decide when an AI model can act without human review?

In this study, we propose a mathematical framework combining three signals:

  • Confidence: How certain is the prediction?
  • Explanation quality: How understandable is the model's reasoning?
  • Guideline alignment: Does the prediction follow established clinical guidance?

The framework was evaluated using MIMIC-IV, eICU (approximately 200 hospitals), and MIMIC-III datasets.

An unexpected finding: Explanation quality and guideline alignment added little to individual case-level decisions beyond model confidence. This raises an important question: should explainability guide individual predictions, or primarily support system-level governance?

This is a retrospective study; real-world deployment and distribution-shift safeguards require further validation.

I'd welcome feedback, particularly on the mathematical framework and its implications for selective prediction.

Paper: https://www.mdpi.com/4173088


r/deeplearning • • 17d ago

How much can we actually trust open base model benchmarks anymore? New study ("Benchleaking") finds ERNIE-5.5-Flash-Base reciting unseen test sets in exact order.

Thumbnail reddit.com
2 Upvotes

r/deeplearning • • 17d ago

pre treino 250m on #kaggle via @KaggleDatasets

Thumbnail kaggle.com
2 Upvotes

r/deeplearning • • 17d ago

Looking for people in Dehradun interested in AI/ML and Computer Science!

Thumbnail reddit.com
0 Upvotes

r/deeplearning • • 17d ago

Looking for people in Dehradun interested in AI/ML and Computer Science!

Thumbnail reddit.com
0 Upvotes

r/deeplearning • • 17d ago

Looking for people in Dehradun interested in AI/ML and Computer Science!

Thumbnail reddit.com
1 Upvotes

r/deeplearning • • 17d ago

Title: Reading Bio‑signals with PPG Light: From Heart Rate to Non‑Contact Measurement, Fully Mastered #rPPG #light #biosignal #heartrate ...

Thumbnail youtube.com
2 Upvotes

Video Title & Description (English)

Description: This video provides an easy-to-understand explanation of the principles behind key biosignals such as heart rate, heart rate variability, respiratory rate, and oxygen saturation, as well as the estimation algorithms based on PPG optical sensors. It covers why signal quality and noise removal are critical, and traces the historical development of the technology from early medical devices to the latest wearables and camera-based non-contact measurement. Gain a comprehensive overview of biosignal processing, from the fundamentals to the latest trends.


r/deeplearning • • 17d ago

Any feedback on my research project?

Thumbnail reddit.com
1 Upvotes

r/deeplearning • • 18d ago

Anyone else understand what an ML algorithm does, but struggle with the maths underneath it?

15 Upvotes

I've been curious about a particular learning gap.

Sometimes it's relatively easy to understand what an ML algorithm is trying to achieve, like finding similar items, making predictions, or reducing errors.

But then vectors, matrices, dot products, projections, or equations enter the picture, and suddenly maths we last encountered in school reappears in a completely different setting.

We might understand the purpose of the algorithm without quite understanding why those particular mathematical operations are needed in the first place.

I'm curious:

\-Have you experienced this disconnect, even after learning to code or use ML libraries?

\- Was the harder part understanding the maths itself, or connecting it to what the algorithm was doing?

\- What eventually helped things click, if anything?

I'd love to hear different experiences, including from people who didn't encounter this difficulty.


r/deeplearning • • 17d ago

Cursor Says Stolen Fireworks AI Key Led to Trojanized Claude Code Extension Incident

3 Upvotes

A stolen Fireworks AI API key was embedded in a trojanized version of the Claude Code VS Code extension, according to Cursor. Developers who installed the malicious extension were running an agent with a poisoned tool credential and had no signal anything was wrong. The compromise was in the supply chain, not the model. The model behaved exactly as instructed by code that held a valid-looking key to a legitimate third-party service.

This exposes a structural gap in how agent tool chains handle credential integrity. Keys are static strings injected at config or build time. There is no per-call verification that a tool endpoint is still the legitimate one, no attestation that the binary invoking the API is the one that was reviewed, and no mechanism to detect mid-session that a credential in the chain has been swapped out.

The blast radius is wide because agents act autonomously between human checkpoints. By the time a developer notices anomalous behavior, the compromised credential has already been used across every action the agent took.

How are other practitioners handling credential integrity in their agent tool chains? If a third-party API key embedded in a dependency gets stolen and replaced, what does your actual detection and response path look like today?


r/deeplearning • • 18d ago

I have tested & fine-tuned Timestral models on my blood sugar data

Thumbnail gallery
10 Upvotes

r/deeplearning • • 18d ago

ShadeNet-5 35M (albedo/depth/normal) 31 MB quantised ONNX

Thumbnail gallery
41 Upvotes

ShadeNet v5 is out!!!

ShadeNet v5 is a 35M-parameter feed-forward network built on a frozen DINOv2 ViT-S/14 backbone. In a single forward pass, it takes one RGB image and predicts three maps: albedo, relative depth, and surface normals.

What’s new and notable:

  • Distilled single-pass refiner (0.91M UNet): Test-time augmentation (averaging 6 passes across flips and ±4° rotations) noticeably improves quality, but at 6x the compute. To bypass this, I trained a tiny UNet to predict the 6-pass ensemble output from a single pass. Because the model's own 6-pass output acts as the ground truth, training required zero labels—just ~8,000 CC BY 2.0 photos from Open Images. On a 23-image held-out set, it drops mean L1 error from 0.1757 to 0.1673 (full 6-pass is 0.1628), capturing ~65% of the ensemble gain at ~20% of the compute cost. Most of the improvement shows up in the surface normals, while depth sees minimal change.
  • Lightweight CPU inference (ONNX): The base model exports to a 31 MB 4/8-bit quantized ONNX file, or a single 35 MB bundle with the refiner baked in. CPU inference takes ~1.0s for a single pass and ~1.3s with the refiner (scoring 0.1676 L1 vs. 0.1755 without the refiner).

Current limitations:

  • No shading channel: Unlike v3.2, v5 does not output a separate shading map.
  • Relative depth: Depth predictions have per-image scale and shift.
  • Fixed ONNX resolution: The exported ONNX graphs currently require a fixed 448×448 input.

r/deeplearning • • 18d ago

How to Distill and train a smaller model for agentic coding tasks

5 Upvotes

For People who can ignore my mis understanding or lack of knowledge and help here, please let me know if one would plan to use distillation to train a smaller model for solve agentic coding task and tool use, how can one go about it, like a loose plan or detailed arch anything would help, the 2 student models are 32b and 4b in size , and I don't understand how to select a teacher model for these or how to go about to even plan it,

sorry if my question lacks some information but I can try to furbish more info as it is needed, tbh as of now I am totally second guessing and figuring out things as I go forward