r/deeplearning • • 11h ago

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

Thumbnail
gallery
19 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 • • 3h ago

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

Thumbnail gallery
3 Upvotes

r/deeplearning • • 3h ago

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

2 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 • • 24m ago

Building an AI platform with a small team has been quite a journey.

Thumbnail
reddit.com
1 Upvotes

r/deeplearning • • 4h ago

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

2 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


r/deeplearning • • 1d ago

[Meta, NYU] Unbundling Multimodal Vision Encoding: 200+ MLLMs trained from scratch show you don't need a pretrained vision encoder, just vision-only parameters

Post image
81 Upvotes

Paper: https://www.alphaxiv.org/abs/2611.17334

X threads (with videos):

Blog and FAQ: https://unbundling.github.io

New paper from Meta FAIR and NYU! Labs disagree on vision encoders right now: Gemma 4 12B scrapped the encoder, Kimi K3 dropped encoder pretraining, and Inkling 2 Small brought the encoder back. Published models differ in data, compute and whether encoder pretraining is counted at all, so they can't settle it.

This paper runs a large controlled study to help shed light on the debate, with 200+ models trained from scratch, LLM included, on the same data, with encoder pretraining charged to the same lifetime compute budget, changing one design choice at a time. Findings (VQA after instruction tuning, 1B to 6.4B models):

  1. Encoder pretraining is optional. Four pretrained encoders (contrastive, self-supervised, captioning) at best tie an encoder trained from scratch with the LLM at matched compute. Even with pretraining compute not counted, longer MetaCLIP pretraining raised ImageNet linear-probe accuracy from 80.4% to 84.4% and didn't improve VQA.

  2. Vision-only parameters are not optional. Encoder-free models trail at every size and need about 3x the compute to match the encoder. Giving the encoder's parameters to the LLM instead improves text benchmarks but not VQA.

  3. Those parameters don't have to be an encoder. Vision-only weights added to the LLM's early layers ("in-fusion") are on par with a separate encoder from 1.7B to 6.4B, with about 13% lower time to first token.

  4. The conclusions hold when adding vision to a pretrained 1.7B LLM.

Disclosure: I'm one of the authors. Happy to answer questions!


r/deeplearning • • 6h ago

My AI agents worked locally. Turning them into a cloud app was the real lesson.

Thumbnail
reddit.com
0 Upvotes

r/deeplearning • • 15h ago

IA neuro-symbolique pour ARC AGI 2

4 Upvotes

J'ai développé une IA neuro-symbolique appliquée à ARC AGI 2, basée sur le DSL de Hodel en Python : https://github.com/Julien-Livet/arc-dsl. . La méthode est expliquée ici : https://julien-livet.github.io/aicpp/. . Je ne suis pas expert en réseaux de neurones et je n'ai reçu aucun retour technique ou scientifique sur mon travail. Auriez-vous des observations ou des idées à me faire part ?


r/deeplearning • • 7h ago

Seeking collaborators for representation learning research with funded compute

1 Upvotes

I am a published AI/ML researcher and engineer looking to collaborate on representation learning or agent research with a team that can support GPU compute and LLM API benchmarking.

My experience spans neural networks, privacy-focused machine learning, model fine-tuning and reproducible experiments. I have also built tool-using agents and evaluation workflows. I can contribute research design, implementation, baselines, experimental analysis and writing.

A question I would enjoy exploring is how different learned or structured representations influence generalization under distribution shift, with matched baselines and careful ablations. I am also interested in agent planning and tool-use reliability, and open to an existing research direction.

If you are part of a lab or team with the resources to benchmark, please comment or message me with your topic and available resources. I can share relevant work privately.


r/deeplearning • • 8h ago

Introducing "Arborformer": Replaced the Transformer with a 100% Decision Tree Language Model (Looking for feedback)

Thumbnail reddit.com
1 Upvotes

r/deeplearning • • 8h ago

Turing test’s limitation and framing

Thumbnail reddit.com
1 Upvotes

r/deeplearning • • 11h ago

Learning Heterogeneous Tactile Representation for General Dexterous Manipulation

1 Upvotes

LingBot-Touch targets a representation-learning problem that is specific to tactile robotics: piezoresistive, magnetic, and visuotactile sensors encode contact through different physical signals, making it difficult to reuse tactile understanding across hardware. The paper presents a shared tactile representation, emitted as tokens that can be supplied to downstream manipulation policies.

The authors report integrating these tokens with both diffusion policies and vision-language-action models, including π0.5 and LingBot-VLA. They describe evaluations in simulation and on real robots across multiple hardware platforms, with improvements in dexterity and computational efficiency. That breadth makes cross-sensor transfer more central here than simply adding another tactile input to one controller.

The abstract does not give task-level scores, baselines, or details of how a new sensor type is incorporated, so it is hard to judge the magnitude and generality of the gains from the available information. Still, the idea of treating touch as a reusable learned modality across sensor physics and policy families is a useful representation-learning direction for embodied systems.

Full summary on AIModels.fyi

Original paper

Disclosure: AIModels.fyi is my site.


r/deeplearning • • 11h ago

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

Thumbnail reddit.com
1 Upvotes

r/deeplearning • • 1d ago

Am I actually learning deep learning, or just letting ChatGPT do the work?

12 Upvotes

This year I started focusing on developing my skills in deep learning. I've been taking online courses, studying the fundamentals, and working on small projects to put what I've learned into practice.

I'm also in my final year of Software Engineering, and I decided to challenge myself by choosing a graduation project that's heavily focused on deep learning.

The problem is that I don't really know anyone who specialises in this field. I even asked around among my classmates, but couldn't find anyone interested in working on a deep learning project. So I've ended up doing the whole project on my own. I don't really have a mentor either, since my supervisor's background is in computer science rather than AI.

Because of that, I've been relying quite a lot on ChatGPT to help me write code and figure out how to approach different parts of the project.

And this is where I'm struggling. Sometimes I reach a point where I genuinely don't know what to do next, and I feel like ChatGPT is doing most of the work instead of me. I try not to blindly copy the code. I constantly ask why it chose a particular approach, what each function does, and what concepts I should review before moving forward.

I've even started watching Stanford's deep learning lectures to strengthen my understanding, but a lot of the material is theoretical, and I still struggle to connect what I'm learning to actually building something.

Then I open LinkedIn and see people constantly saying that you need to learn how to code from scratch, that AI is making people dependent on tools, and that the developers who will survive in the future are the ones who truly understand how to write code themselves.

I genuinely enjoy deep learning and I want to understand what I'm building.

So, for those of you who work in deep learning or have been through something similar, how did you learn to build projects independently?

How do you balance using AI tools to help you learn without becoming too dependent on them? And how do you bridge the gap between understanding the theory and actually knowing what to implement next?

I'd really appreciate some advice, especially from people who had to learn without much guidance or mentorship.


r/deeplearning • • 19h ago

Experimenting with ideas to make xLSTM's sLSTM run faster.

2 Upvotes

Title: Trying to make xLSTM's sLSTM run in parallel — my PPLSTM prototype

I've been spending today exploring different mathematical ideas to see if it's possible to make xLSTM's sLSTM run in parallel without losing what makes it useful.

One of my more interesting experiments is PPLSTM , a prototype that explores a different way of handling the sequential memory calculations.

It's still early days, and I'm not claiming to have solved anything yet. I'm mainly experimenting to see which ideas actually work.

Some early results:

GPU speed test (batch 2, sequence length 1,024):

mLSTM + standard sLSTM reference: 1,200.31 ms

mLSTM + PPLSTM: 43.59 ms

Transformer: 10.50 ms

That's around 27.5× faster than the unoptimized Python-loop sLSTM reference. It's not a comparison against the official optimized xLSTM kernels.

5M-token language-model experiment (small models, one seed):

sLSTM: 51.43 test perplexity

PPLSTM: 54.50 test perplexity

Transformer: 58.90 test perplexity

So PPLSTM is showing some promise, although standard sLSTM still performed better on the test set.

An important detail: PPLSTM currently uses ordinary PyTorch. There are no custom CUDA kernels, Triton kernels or CUDA Graphs in the implementation yet. PyTorch still uses GPU kernels internally when running on CUDA.

PPLSTM GitHub: https://github.com/rickey1990/PPLSTM

I've also made some of my other repositories private for now, as I'm working on new ideas that combine different areas of maths I've explored across my projects.

Currently waiting for my free Kaggle GPU allowance to reset so I can run some proper tests. Fingers crossed! 🤞

Footnote: I've also been experimenting with PHSMLP (Pooled Head MLP), which explores sharing MLP weights and pooling attention heads to reduce model parameters.

PHSMLP: https://github.com/rickey1990/PHSMLP---Pooled-Head-MLP

Other projects: https://github.com/rickey1990


r/deeplearning • • 1d ago

[P] I trained a single Graph HyperNetwork that generates zero-shot weights for unseen ResNets, MLP-Mixers, MobileNets, and Transformers for Vision, Text, and Waveforms. (Open source)

14 Upvotes

Disclaimer: I used AI for bug fixes, to make the plots better and to simplify the code and make it more readable.

I built a Graph HyperNetwork (GHN) that has the computational graph of an target architecture and a dataset embedding as input and predicts all weights in a single forward pass. It is meant to serve as a head start to reduce number of steps required for training.

Zero-Shot Results:

ModelResMLPResNet2DMLP-MixerMobileNet2DMLPCNN1DTransformer
MNIST93.96%93.66%89.58%74.53%///
FashionMNIST83.99%75.88%78.59%////
KMNIST78.10%62.15%//62.15%//
Waveforms1D/////99.84%89.38%
20Newsgroups/////71.30%48.34%

My next objectives:

  1. Using a encoder to encode a random dataset and to replace the dataset embedding with it. So it can handle most unseen datasets.

  2. I want to scale it up, but I don't really have the recources for it (free kaggle for now).

I will paste my kaggle link in the comments.


r/deeplearning • • 20h ago

A virtual model is helping Wi-Fi 7 make decisions in crowded networks — is ML the future of wireless?

2 Upvotes

New research highlighted today describes a virtual model that assists Wi-Fi 7 in making decisions in crowded networks, learning how to allocate resources where traditional rules struggle. It is a small example of a bigger shift: machine learning moving from the application layer into the infrastructure underneath it.

Why it matters: wireless networks are getting denser and more complex, and hand-tuned rules do not scale with that complexity. If learned models can manage spectrum and congestion better than fixed heuristics, the same approach could spread to other infrastructure, from power grids to traffic systems.

What infrastructure problem do you think learned models will take over next, and where should the line be between a model that assists and one that decides?

For more AI news and rumors, check out r/AINewsRumors.


r/deeplearning • • 20h ago

Denver Audit Exposes Major Gaps In AI Security At City Hall And Denver International Airport

0 Upvotes

A Denver city audit found employees at City Hall and Denver International Airport actively using AI tools the organization had never approved. There was no policy enforcement in place. There was no enterprise-level visibility into what was running. No one at the organization knew until the auditors showed up.

This is not a scrappy startup. This is a municipal government and a major international airport handling sensitive passenger data, infrastructure systems, and city records.

The audit found no formal process for evaluating or approving AI tools before deployment. The gap was structural, not a one-off lapse. The organization could not tell you which tools were active, who was using them, or what data they had touched.

For those working in regulated or high-stakes environments: how are you actually getting ahead of this before an external audit surfaces it? Not policy documents, but what has worked operationally at scale?


r/deeplearning • • 21h ago

Project Genesis

Thumbnail
zenodo.org
0 Upvotes

r/deeplearning • • 1d ago

Tigran83/russian-university-math-handwriting · Datasets at Hugging Face

Thumbnail
huggingface.co
4 Upvotes
## Dataset overview


| Property | Value |
|---|---:|
| Problems | 50 |
| Mathematical branches | 19 |
| Different topics | 49 |
| Original handwritten pages | 117 |
| Problems containing figures | 29 |
| Mathematical formulas | Approximately 1,600 |
| Language | Russian |
| Handwriting author | One human expert |
| Creation period | 2010–2020 |


## What is included?


Each problem folder contains the available source materials:


- Original handwritten solution pages (JPEG/PNG)
- Typed solution in Microsoft Word (DOCX)
- Typed solution in PDF
- Markdown solution with LaTeX mathematical formulas
- Standalone LaTeX document
- Mathematical figures and diagrams
- Problem statement and plain-text summary


The handwritten solutions and typed solutions correspond to the same problem. They are aligned at the problem level, not necessarily line by line.


## Mathematical coverage


The sample covers 19 mathematical branches:


1. Algebra and Linear Algebra
2. Mathematical Analysis
3. Analytic Geometry
4. Calculus of Variations
5. Geometry
6. Discrete Mathematics
7. Differential Geometry
8. Differential Equations
9. Integrals and Field Theory
10. Complex Analysis
11. Mathematical Physics and PDEs
12. Mathematical Olympiad Problems
13. Numerical Methods
14. Probability Theory
15. Topology
16. Russian State Examination (ЕГЭ)
17. Mathematical Economics
18. Functional Analysis
19. Mathematical Statistics


## Intended applications


### Handwritten mathematical OCR
Training and evaluating models that recognize handwritten mathematical documents containing Cyrillic text, formulas and mathematical notation.


### Image-to-LaTeX
Developing and evaluating systems that convert complete handwritten mathematical solutions into structured LaTeX.


### LLM mathematical reasoning
Research into supervised fine-tuning and evaluation of models on multi-step mathematical problems.


### Multimodal document understanding
Connecting handwritten pages, mathematical figures, problem statements and corresponding typed solutions.


## Data creation and provenance


All solutions were originally handwritten and subsequently typed by the same mathematics expert, Tigran Grigoryan, between 2010 and 2020.


The typed versions were prepared in Microsoft Word with native mathematical equations. Markdown and LaTeX versions were subsequently generated from the Word documents and checked.


The problem statements originate from standard educational sources, including textbooks, problem collections, coursework and examination materials. No ownership of the original problem statement texts is claimed.


The handwriting belongs to the dataset author. No third-party customer documents or third-party personal data are included.


## Dataset structure


Each mathematical problem has its own directory organized by mathematical branch and topic.


Files include DOCX, PDF, Markdown, TEX, JPEG and PNG formats.


The sample includes `manifest.csv` and `manifest.jsonl` describing its contents.


## Important limitations


- The dataset is Russian-language only.
- The handwritten and typed versions are paired by problem, not line by line.
- Handwriting page resolution and writing styles may vary.
- The sample is intended for evaluation and research, not redistribution.
- Some mathematical problem statements originate from third-party educational sources.


## Licensing and access


**This repository provides a free 50-problem evaluation sample only.**


Access is subject to the terms in [SAMPLE_LICENSE.md](SAMPLE_LICENSE.md).


The sample is not licensed for unrestricted redistribution or commercial training.


### Full commercial dataset available


The complete collection contains:


- 1,740 mathematical problems
- 3,450 handwritten solution pages
- 50,603 mathematical formulas
- 927 mathematical figures
- 19 branches and 127 topics
- Approximately 2.2 GB of data


Available formats include DOCX, PDF, Markdown, LaTeX, JPEG and PNG.


**Full dataset price: USD 45,000**


Selected mathematical branches are also available.


A non-exclusive commercial AI training and evaluation licence is offered for the full dataset. Commercial model deployment and publication of trained model weights are permitted under the commercial licence. Redistribution of raw data is not permitted.


## Contact and commercial inquiries


**Tigran Grigoryan**
  
Individual Entrepreneur — Armenia


Email: [email protected]


For commercial licensing, larger dataset access, custom subsets or further information, please contact me directly.


Serious inquiries from AI companies, OCR developers, research laboratories and universities are welcome.

r/deeplearning • • 1d ago

A user tested my AI platform and caught an interesting problem.

Thumbnail
reddit.com
1 Upvotes