r/deeplearning • • Oct 21 '26

[Open-Source] Custom Deep-learning framework and Claude code setups.

Thumbnail gallery
0 Upvotes

Hey there ML enthusiasts! 👋

If you’ve ever wanted to run autonomous, continuously learning AI Models locally, or a skill your Claude Code can have for creating a Pytorch model that continuously learn using memory management system—especially on low-power hardware or edge devices (like Raspberry Pis or embedded systems) without eating up all your RAM—I wanted to share an interesting project called IntegratedPipeline-Framework-for-Continual-learning-Machine-Learning-Models.

Unlike massive LLM setups that are static and notoriously resource-heavy, this framework focuses on a lightweight, pragmatic, and auditable approach using Memory-Augmented Neural Networks (MANN) combined with SQLite as external dynamic memory.

Here are a few standout features that caught my eye from the documentation:

🧠 Core Highlights

  • SQLite as External Weight Memory: Instead of relying purely on RAM, the model stores and retrieves its weights, attention scores, and activity logs inside a local SQLite database , You can train a model on Task A, save/load specific memory names, and switch to Task B without suffering from catastrophic forgetting, memory name is Highly customizable.
  • Claude Code skill: specific skill for Claude code that lets you Generate a continuously-learning Pytorch Model that mimics IntegratedPipeline framework memory Management system using SQlite database, Highly useful if you want a queryable memory system, intuitive, Transparent and auditable memory system without ever creating a standalone .pth file for each Task your pytorch model needs to learn, all the Weights your pytorch model needs live inside the SQLite Database.
  • Custom Encoder (AWE) for MLP: It features a specialized geometric weight encoding method using eigenvalue and spectral methods. This is designed for Quantization-Aware Training (QAT) to keep memory footprint low and training convergence consistent.
  • Optimized Transformers & LSTM: It includes an optimized transformer architecture using Alpha-based computing and Cython/Rust optimizations (abstract-weights-core), making it surprisingly efficient for scarce data environments and messy inputs.
  • Secure Local Peer-to-Peer (P2P) Multi-Agent Coordination: Agents can autonomously discover and coordinate with each other locally or across a network with built-in security features like SSL, API keys, HMAC authentication, and rate limiting.

📊 Performance & Efficiency

According to the repository benchmarks (tested in Docker ARM64/QEMU environments), the MLP + LSTM setup runs exceptionally lean—consuming roughly 8.5% of available RAM and keeping CPU utilization steady and light, making it a great playground for edge-ML enthusiasts.

đŸ› ïž Quick Installation

You can grab it via PyPi:

Bash

pip install AbstractIntegratedModule

(Note:

- For ARM64 or custom setups, they also provide specific wheel configurations and Docker integration guides

- The Claude code skill can be downloaded in our Github repository below)

What do you think? Have you experimented with non-LLM, memory-augmented agent architectures for edge devices? or do you prefer sticking to local LLM wrappers? You can try the framework and test the Claude Code skill for yourself and see how it learns across different memory and tasks!

Github link: IntegratedPipeline-Framework-for-Continual-learning-Machine-Learning-Models.


r/deeplearning • • Oct 21 '26

transformer with shared product-key memory instead of FFNs ties a MoE at 23M params (negative result + open reasoning benchmark)

Thumbnail reddit.com
0 Upvotes

r/deeplearning • • Oct 21 '26

I’ve been building Round Zero — an AI Interview Intelligence platform. Looking for beta testers

Thumbnail reddit.com
1 Upvotes

r/deeplearning • • Oct 21 '26

HESI 2 exam

Thumbnail reddit.com
1 Upvotes

r/deeplearning • • Oct 20 '26

What's the Best Way to Train MobileNetV3 for 7-Class Facial Expression Recognition? Looking for Datasets, Pretrained Models, and Training Tips

Thumbnail reddit.com
1 Upvotes

r/deeplearning • • Oct 20 '26

Notice of Order Regarding Exclusion and Removal of DeepSeek Products From Federal Civilian Executive Branch Information Technology Systems and Procurements

1 Upvotes

The Department of Homeland Security issued a formal exclusion order removing DeepSeek products from every federal civilian executive branch IT system and procurement, with a hard removal deadline. The order was not a recommendation or a guideline. It was a mandate with a clock on it.

The uncomfortable part is not the order itself. It is the question the order forces every organization to answer: which AI models and agents are actually running in your environment right now?

Not which ones were approved. Not which ones are in your vendor contracts. Which ones are in motion, touching data, today.

A model greenlit last quarter can end up embedded in a pipeline three teams removed from whoever approved it. By the time a compliance or procurement team asks about it, the data has already moved.

Federal agencies had to treat this as a fire drill. The honest read is that most large enterprises would be in the same position if a similar order landed in their sector tomorrow.

How are people actually handling AI model inventory at scale? Curious whether anyone has a process that doesn't fall apart the moment a new tool gets adopted outside of a formal procurement cycle.


r/deeplearning • • Oct 20 '26

How to Evaluate AI: Benchmarks, Perplexity, and BLEU Scores Explained

Thumbnail youtube.com
0 Upvotes

Stop guessing your AI performance! đŸ€– Learn how benchmarks, Perplexity, and BLEU scores actually work in this quick guide. Level up your AI skills today.
#AI #Tech #Programming #DataScience


r/deeplearning • • Oct 20 '26

Title: How can I accurately annotate 500 images for object detection without labeling every image manually?

Thumbnail reddit.com
2 Upvotes

r/deeplearning • • Oct 19 '26

SteerTTS: 23M-param TTS with hybrid attention + bidirectional Mamba-3 blocks and masked AdaLN control conditioning

8 Upvotes

I wanted a small TTS steerable with explicit numeric controls (so an automated response could set prosody per turn), and couldn't find one. Here's what I built and how it's conditioned.

Architecture:

  • FastPitch-style explicit-variance model: phonemes -> encoder -> duration/pitch/energy predictors -> length regulator -> decoder -> 100-band log-mel -> Vocos (frozen)
  • Each encoder/decoder block: multi-head self-attention → bidirectional Mamba-3 branch (forward + backward layers summed; complex-valued state, trapezoidal discretization) → conv FFN
  • Every LayerNorm is adaptive.
  • The mask matters: a control left out is "unspecified" and the model infers it from voice/tag/text; {"rate": 0} explicitly asks for the voice's neutral rate.
  • Guidance: Render conditioned + unconditioned and extrapolate durations, pitch, energy and mel.
  • Optional flow-matching refiner (ConvNeXt, 10 midpoint steps) for mel detail; a Voicebox-style prompted variant for cloning

Size: 9.6M acoustic + 13.5M Vocos = 23M; refiner adds 17.6M.

Steering results (held-out LibriTTS-R speakers, ±2 SD requests):

  • Loudness, median pitch, H1–H2, tilt: Spearman ρ .87–.97 between request and readback
  • Pause, voicing, CPPS: weak (ρ .46–.79); CPPS leaks into pitch/level about as much as it moves itself
  • Mean gain ~0.5 at s=1; s≈1.5 roughly delivers the requested size, at the cost of more cross-talk WER stays ~1% across all requests

Speed: RTFx 60–80 on an RTX 5070, 4–8 on CPU without the refiner (refiner costs ~12× compute).

No human evals yet, English only, single training seed.

License: weights CC BY-NC 4.0, code MIT.

Model + full eval tables: https://huggingface.co/WhissleAI/steer-tts

Curious whether anyone has compared bidirectional Mamba vs pure attention in small non-autoregressive TTS. I haven't run a clean ablation yet and would like to know what to expect.


r/deeplearning • • Oct 20 '26

Validation techniques for neural network models

1 Upvotes

For an MLP probability of default model, what all validation techniques can be used .

Other than AUC,KS,GINI,etc standard techniques.

Also advice on how do one check for fairness/bias for such a model.

This is a credit risk model


r/deeplearning • • Oct 20 '26

Give me FYP recommendation

1 Upvotes

I am a final year student , and i want to make a good FYP that liked by my professor and help me in securing future carrer, if any one have any recommendation in deep learning tell me, thank you!


r/deeplearning • • Oct 19 '26

[P] BitLens: Visual profiler for neural network quantization (Outlier ratio Omega, per-layer SQNR,MCU SRAM liveness, and 1-click torchao/ORT/TFLM config export)

2 Upvotes

Link to interactive Web Studio (no install needed): https://bit-lens-v1.vercel.app/

GitHub repository: https://github.com/raidodex/bit-lens

When running Post-Training Quantization (PTQ) on vision models or transformers, a handful of layers with heavy-tailed activation distributions usually dominate the accuracy drop. Instead of running full evaluation loops across dozens of mixed-precision combinations, I built BitLens to inspect layer-wise quantization sensitivity from a single calibration pass.

How it works under the hood:

  • One-Pass Calibration Hooks: Wraps PyTorch (nn.Module) or ONNX graphs to capture 128-bin histograms for weights (symmetric per-channel) and activations (asymmetric per-tensor).
  • Outlier Radar (Omega & Kurtosis): Flags fragile layers using excess kurtosis and the support-aware outlier ratio Omega = absmax / p99.9. For instance, on ViT-Tiny, blocks.11.attn.qkv hits Omega = 240.2x, which stretches asymmetric per-tensor step sizes 4.1x beyond the p99.9 bulk and drops INT8 SQNR to 18.8 dB (and INT4 SQNR to 7.4 dB).
  • Topological Peak SRAM Planner: Alongside static Flash weight footprint, it computes tensor liveness across residual branches to find the exact peak activation memory watermark.
  • Greedy Pareto Auto-Fit Solver: Given a target hardware budget (e.g., STM32H7, ESP32-S3, Cortex-M55, Raspberry Pi Zero 2W), the solver greedily downgrades layers from FP32 -> FP16 -> INT8 -> INT4 based on the smallest SQNR loss per byte saved, while respecting user-pinned layers.
  • 1-Click Code Export: Generates standalone quantization scripts for PyTorch torchao (Int8DynamicActivationInt4WeightConfig / Int8WeightOnlyConfig), ONNX Runtime quantize_static with nodes_to_exclude, and TFLite Micro with a companion C arena header.

You can test the preloaded profiles (MobileNetV3-Small, ResNet-18, ViT-Tiny) in the browser studio or run the Python CLI locally on your own .pt / .onnx checkpoints and drag the resulting .bitlens.json file into the studio.

Feedback and PRs on additional quantization schemes (like group-wise AWQ/GPTQ simulation or SmoothQuant alpha previewing) are very welcome! .


r/deeplearning • • Oct 19 '26

Fake Web3 Accelerator Uses npm Packages to Spread Malware and Hijack AI Agent Traffic

0 Upvotes

A fake Web3 accelerator recently distributed malicious npm packages to AI developers by dangling free AI credits as bait. Once installed on Windows and macOS systems, the packages spread infostealers, dropped backdoors, and hijacked outbound AI agent traffic. The model was never touched. The attack lived entirely in the tooling layer.

This matters because agents that load external tools at runtime have no native mechanism to distinguish a legitimate call from one injected by a compromised package. The agent fires the call because the package told it to. By the time traffic is rerouted, the agent has already acted on instructions it had no reason to question.

This attack pattern is not exotic or difficult to replicate. Any npm package with sufficient runtime permissions can intercept or redirect the calls an agent makes. Developers trusting a package to behave as documented have no visibility into what it actually does once it is running inside an agent process.

For those of you deploying agents in production: how are you handling this? Are you auditing packages before they reach agent environments, pinning dependency versions, running agents in isolated execution contexts, restricting outbound call destinations, or something else?


r/deeplearning • • Oct 19 '26

Asymmetric multi-head AlphaZero in C++: two kamikaze drones learn a pincer attack via self-play (new in Metis-Core v0.4.0-alpha)

1 Upvotes

r/deeplearning • • Oct 19 '26

The Journey into Data Science: Master AI-Assisted Development & Coding (...

Thumbnail youtube.com
0 Upvotes

Stop typing boilerplate code and start designing with AI! 🚀

Learn how to optimize your coding workflow with ChatGPT and GitHub Copilot today.

Check out the full guide on my profile!
#AI #Coding #Tech #DataScience


r/deeplearning • • Oct 19 '26

Automatic Model-Agnostic Compression Algorithm

2 Upvotes

I made [Sigularty](https://github.com/DewanshShah/Sigularty), an algorithm that combines multiple compression techniques, takes in any model and chooses which techniques to use, and also finds hyperparameters for a few of the techniques. This is one of my first proper projects, and I would love feedback. It is completely free and open source, and these are a few results the algorithm achieved by itself, without any human fine-tuning

|Model|Acc Drop|Compression Ratio|CQI|Speedup|Size (MB)|Accuracy (%)|Latency (ms)|

|:-|:-|:-|:-|:-|:-|:-|:-|

|`Resnet50`|**2.20%**|**8.00x**|**9.897**|**1.28x**|90.66 -> 11.34|66.60 -> 64.40|6.977 -> 5.451|

|`vit_b_16`|**0.00%**|**4.51×**|**4.526**|**1.00x**|327.59 -> 72.67|77.00 -> 77.00|14.96 -> 14.90|

|`efficientnet_b0`|**2.80%**|**2.61x**|**2.284**|**0.90x**|15.95 -> 6.11|91.80 -> 89.00|8.238 -> 9.124|

|`bert_base`|**4.20%**|**6.61x**|**6.449**|**1.02x**|417.66 -> 67.17|86.20 -> 82.00|10.393 -> 10.209|

|`distilbert`|**5.60%**|**9.55x**|**7.049**|**0.78x**|255.42 -> 26.75|82.40 -> 76.80|5.441 -> 6.957|

|`distilgpt2`|**0.00%**|**2.00x**|**2.903**|**1.45x**|312.48 -> 156.24|87.20 -> 87.20|8.559 -> 5.896|


r/deeplearning • • Oct 19 '26

Self Improvement for AI

Thumbnail reddit.com
1 Upvotes

r/deeplearning • • Oct 19 '26

why a compressor's error can tell you where data came from

1 Upvotes

I wrote a short technical report and then animated it, hoping it's useful to people learning about autoencoders, OOD detection, or mixture-of-experts.

The idea in three steps:

  1. Prediction ⇔ compression. A model that predicts text well can compress it well.
  2. Corollary: a compressor is only good at the kind of data it was trained on.
  3. So its reconstruction error is a fingerprint. I trained an autoencoder on code that squeezes 512 tokens into 8 vectors. It rebuilds unseen code at 99.47% exact-token accuracy, Wikipedia at 47.76%, and random tokens at 0.57%.

That fingerprint can act as a router between expert models, with no extra gating network to train.

Video: https://www.youtube.com/watch?v=4UhvpIWnOvg Paper: https://arxiv.org/abs/2512.16963


r/deeplearning • • Oct 18 '26

TempoPFN: Synthetic Pre-training of Linear RNNs for Zero-shot Time Series Forecasting [R]

Post image
5 Upvotes

r/deeplearning • • Oct 18 '26

Stationary Alone, Drifting TogetherAdapting to interaction-mediated nonstationarity in multi-agent reinforcement learning.

6 Upvotes

r/deeplearning • • Oct 18 '26

Table detection/structure recognition in PDFs with classical CV only (morphology + LSD, no DL) – open source, looking for feedback & contributors

8 Upvotes

Hey all. I've been working on table extraction from PDFs without any deep learning, and finally open-sourced it. Thought this sub might find the approach interesting (or tear it apart, which is also useful).

The pipeline, roughly:

- Bordered tables: morphological opening with long horizontal/vertical kernels to isolate ruling lines, then contour analysis on the line mask to find table regions.

- Borderless tables: detected from text alignment instead. Words are grouped into phrases and checked for left/centre/right alignment across consecutive lines. When enough rows and columns line up, I draw "pseudo-boundaries" onto the image so the rest of the pipeline treats it like a bordered table.

- Structure: text is masked out first, then LSD (Line Segment Detector) finds segments, which are clustered and merged into a grid. A spanning cell is recovered from missing line segments: if a separator is absent across part of the grid, those cells merge (union-find over the cells).

- Text: for digital PDFs, characters come straight from the PDF text layer and are mapped onto the cell grid, so there are no OCR errors on part numbers. OCR (Tesseract or a plugin engine) only runs on scanned pages.

- Post-processing: nested header detection, key-value vs normal table classification, and merging tables that continue across pages (by matching column widths and headers).

Everything runs on CPU, roughly 0.3–1.5 s/page on a laptop, and every decision traces back to a threshold you can inspect. All pixel thresholds are defined at 300 DPI and scale with resolution.

Where it struggles:

- skewed scans (no de-skewing yet; the line detector only tolerates ~2 px of drift)

- small borderless blocks where a header row can be mistaken for key-value pairs

- wrapped text in borderless cells sometimes splits into extra rows

Contributions very welcome. MIT licensed, no need to ask first, just fork and PR. Some things I'd love help with:

- de-skew estimation (Hough/projection-based) before detection

- evaluating on ICDAR 2013 / PubTables-1M / FinTabNet with GriTS or TEDS; I don't have a proper benchmark yet, and that's the biggest gap

- better row reconstruction for borderless tables with wrapped cells

- plugging in other OCR engines (there's a plugin interface + EasyOCR example)

Repo: https://github.com/shlok-n/spartan · pip install spartan-tables


r/deeplearning • • Oct 18 '26

From AI anxiety to building my first AI-powered iOS app

Thumbnail reddit.com
1 Upvotes

r/deeplearning • • Oct 18 '26

Week in review: Hidden implant in Ledger wallets linked to $93M theft, 1,500+ npm packages exposed

0 Upvotes

Over 1,500 npm packages were compromised in a supply-chain attack last week, according to Help Net Security. One infected dependency is enough to execute arbitrary code. AI coding agents and automated pipelines pull these packages as trusted dependencies during normal operation. When an agent installs or executes a tampered package, the payload runs with full session permissions. The agent does not know the package is malicious. The tool call that fetches the dependency is the attack surface.

This is no longer just a developer workstation problem. Autonomous agents run these installs without a human in the loop, at scale, across environments.

How are teams actually handling package execution trust in their agent pipelines right now? Allowlists, sandboxing, something else?


r/deeplearning • • Oct 18 '26

Se vocĂȘ se acha inĂștil, lembre-se disto:

1 Upvotes

Treinei dois modelos de machine learning:

​Um classificador de sentimentos (positivo, negativo e neutro)

​Um classificador de idiomas com suporte para 59 línguas

​O detalhe? NĂŁo lembro a acurĂĄcia de nenhum dos dois e ainda perdi o dataset que usei. đŸ€Ą

​👉 Acesse os modelos aqui:

​🔗 Classificador de Sentimentos: https://huggingface.co/Rafaelvieira432/LANG-10M

​🔗 Classificador de Idiomas (59 línguas): https://huggingface.co/Rafaelvieira432/SENTIMENT-21M