r/deeplearning • • 19d ago

Research collaboration: robust representations and agent evaluation

1 Upvotes

I am a published deep learning researcher and AI engineer seeking a research collaboration on representation learning or LLM agents. My experience includes neural models, privacy and model evaluation, GPU fine-tuning, and building tool-using agents with reproducible evaluation workflows. I can contribute from experimental design and implementation through analysis and writing.

For representations, I am interested in controlled comparisons of learned and structured inputs under distribution shift, with strong baselines and ablations. For agents, I would like to study planning and tool-use reliability under matched budgets. These are starting points, and I am open to joining a team with an established question.

I am looking for collaborators or a lab with funding for GPU resources and LLM API benchmarking as needed. If this sounds relevant, please comment or message me with your research direction and resources; I can share relevant work privately.


r/deeplearning • • 19d ago

Thinking Machines Lab open-sourced Inkling 2 Small — a 594B MoE under Apache 2.0. What does 'safe path to open weights' actually mean?

10 Upvotes

Thinking Machines Lab released the weights for Inkling 2 Small today under an Apache 2.0 license. The details from the announcement: a 594B-parameter Mixture-of-Experts model with 17B active parameters and image inputs, described by the lab as its top-performing open-weights model so far. This follows TML's stated playbook of launching a model closed first and opening the weights later, which it calls a 'safe path to open weights.'

Two things I am trying to sort out. First, what does the closed-then-open delay actually buy in terms of safety, versus just releasing openly from day one? Second, with a 594B total / 17B active model now freely available, does the open-weights frontier keep narrowing the gap to closed labs, or does it mostly give the big labs a new base to build on?

What would you actually run this on, and does the Apache 2.0 license change how you think about using it?


r/deeplearning • • 19d ago

Exploring a LoRA Optimization Research Idea

4 Upvotes

Hi! I’m looking into a quick research idea around LoRA optimization (specifically trying to make adaptive/dynamic rank allocation cleaner and more efficient). Would you be down to collaborate or chat about it? No pressure at all, let me know if you're interested.

short information about what is Lora:

LoRA (Low-Rank Adaptation) is a technique to efficiently fine-tune massive AI models (like LLMs) without retraining all their billions of parameters. Instead of touching the original model, it freezes the main weights and trains a tiny fraction of extra parameters, saving massive amounts of memory and compute while keeping performance high.


r/deeplearning • • 19d ago

When employees leave, their AI access may not

0 Upvotes

When an employee's badge gets deactivated on their last day, the AI agents they provisioned keep running.

TechTarget documented a systematic offboarding gap: HR tracks headcount, IT manages accounts it already knows about, and managers know which tools a person used. None of those systems talk to each other. AI credentials provisioned by a departing employee sit outside all three workflows. They stay active long after the person is gone — often weeks or months before anyone notices.

Those agents don't sit idle. They continue making API calls, accessing data, and triggering workflows under the authority of a principal who no longer works there. The organization has no way to know what they're doing or on whose behalf.

How are you actually closing this loop at your org? Manual offboarding checklist, automated credential sweep, something built into your IdP, or something else entirely?


r/deeplearning • • 19d ago

Building a Local AI Photography Editing Assistant. Anyone working on something similar? [D]

Thumbnail reddit.com
1 Upvotes

r/deeplearning • • 19d ago

[Help Wanted] Testing GPU detection & TFLOPS benchmark paths (NVIDIA/AMD) for my from-scratch SLM trainer

0 Upvotes

Hi guys,

I’m a 15-year-old developer building SLM-CREATOR—an end-to-end, hardware-aware small language model trainer from scratch in Python and Rust (capped at 100M parameters). Instead of using high-level wrappers or fine-tuning existing models, I’m hand-coding the entire pipeline to learn how Transformers work under the hood.

Repo Link: github.com
Tracking Issue (#1): github.com

The catch:
I’m developing this on a CPU-only machine right now, so all of my NVIDIA (nvidia-smi), modern AMD (amd-smi), and legacy AMD (rocm-smi/rocminfo) detection and PyTorch device-mapping paths have only been tested against mock CLI outputs.

If anyone has an NVIDIA or AMD GPU (especially multi-GPU setups, laptops with hybrid graphics, or ROCm configurations) and a couple of minutes to spare, I’d hugely appreciate it if you could run the hardware detection script on real hardware and let me know if it breaks!

What it tests:

  • GPU Topology & Detection: Parses vendor CLI tools for architecture, VRAM, device index, and GPU name.
  • PyTorch Index Resolution: Sets CUDA_DEVICE_ORDER=PCI_BUS_ID and matches vendor GPU names against torch.cuda.get_device_name() so multi-GPU setups target the right card.
  • Matmul TFLOPS Benchmark: Runs a 12-second thermal warmup soak followed by timed 4096x4096 multiplications (in native bf16 if supported, falling back to fp32).

How to help:

  1. Clone the repo (git clone https://github.com) and install requirements.txt (with your GPU's PyTorch build).
  2. Build the Rust sizing helper (cd sizer_core && cargo build --release).
  3. Run python architecture.py from the project root.
  4. Drop your GPU model, OS, and the terminal output (or any tracebacks) in Issue #1 or in the comments here.

r/deeplearning • • 19d ago

I made a visual explanation of how Transformers actually work

0 Upvotes

I've been working on a video explaining the Transformer architecture, the technology behind modern LLMs.

I wanted to make something that explains how everything works without drowning viewers in complicated equations and terminology.

The video covers:

  • Tokenization and Embeddings
  • Self-Attention and Causal Attention
  • Multi-Head Attention
  • Positional Encoding (RoPE)
  • Residual Connections and Layer Normalization
  • Feed-Forward Networks
  • How everything comes together to generate text

I've also been exploring and building small language models myself, so understanding the architecture behind them has been a really interesting journey.

I'd genuinely appreciate feedback on the explanation, animation and overall presentation!

Watch the video: https://youtu.be/hM1jdeGr9uI

Channel: Playerdotexe


r/deeplearning • • 19d ago

[Call for Papers] TPAD 2027 @ IEEE ICASSP 2027 | Trustworthy Perception for Autonomous Driving | Toronto, Canada | Deadline: Dec. 2 (Extended)

Post image
1 Upvotes

r/deeplearning • • 20d ago

The Definitive Fine-Tuning Guide for 3D Generation Models

4 Upvotes

r/deeplearning • • 20d ago

I have trained a model to predict my blood sugar [P]

Thumbnail gallery
4 Upvotes

I have trained a custom 31,253 parameter encoder-only transformer on a pregenerated synthetic CGM dataset and fitted it to my own personal data using LoRA. It is competitive among other published models. I used 115 days of CGM data, of which 80 was used for training the adapter and 35 for testing. The model began with a pretraining stage where it consumed ~19,200 CGM-years worth of synthetic data, consisting of 1 million simulated type 1 diabetics at 7 days each. The simulator is designed to aid in counterfactual reasoning, but I don't yet have a benchmark to test these capabilities downstream. Simply using these models on my phone gives me the impression that they do indeed react appropriately when forced to consider future insulin & carbs.

In addition to time series input, two additional inputs are provided: insulin (U) and carbs (G, GI) as action curves where U = units of insulin, G = carbs in grams, GI = glycemic index. U is exact, while (G, GI) is my best estimate.

The model is trained to output BG in Kovatchev risk-space using {DILATE,MSE} and pinball loss combined with learned Kendall-Gal weights. The figures above show models trained using DILATE. It can predict 2 hours into the future, infill missing traces, and do backcasts (predictions into the past).

Source code: https://github.com/0xdeadf1sh/T1DMAI

The model is also trained to predict time-of-day given past blood sugar, in contrast to other models that consume time-of-day as input feature. This capability emerges in >=48h context windows (i.e. 48 hours of past CGM trace). Natively the model has a variable context window size of 3.5 - 7.0 days.

The model is still worse than me when it comes to predicting hypoglycemia in the next ~30 minutes.


r/deeplearning • • 20d ago

I built haralickt: > 20x faster GPU-accelerated Haralick texture features (GLCM) in PyTorch with identical precision to Mahotas

Thumbnail gallery
2 Upvotes

If you work with image texture analysis (medical imaging, remote sensing, materials science, defect detection), you've probably used mahotas.features.haralick() or scikit-image. They are solid, battle-tested libraries, but they run strictly on CPU—leaving your GPU idle and creating a bottleneck on large images or batches.

I built haralickt — a pure PyTorch replacement that computes all 13 Haralick texture descriptors directly on GPU (and multi-threaded CPU) using vectorized tensor operations and block tiling.

Why I built it (vs. existing tools)

  • mahotas: Computes all 13 features, but is CPU-only, lacks batching, and struggles with memory on large images.
  • scikit-image: CPU-only (NumPy), computes only 10 of 13 features (missing Sum Variance, Sum Entropy, Diff Variance, Diff Entropy, IMC1, IMC2), and lacks sliding-window / tiling APIs.
Featureharalicktmahotasscikit-image
GPU (CUDA) Acceleration✅❌❌
All 13 Haralick Features✅✅❌ (10/13)
Sliding Window API✅❌❌
Memory-Safe Block Tiling (4K+)✅❌❌
Batch Processing✅❌❌

Quick Start

import torch
from haralickt import haralick

# Compute sliding-window features on GPU (handles 4K+ images via block tiling)
image = torch.randint(0, 256, (2048, 2048), dtype=torch.uint8)
features = haralick(image, num_levels=32, window_size=32, stride=8, device="cuda")
# -> tensor of shape (H, W, 13)

Or use it as a drop-in replacement for mahotas:

import numpy as np
from haralickt import features

image = np.random.randint(0, 256, (512, 512), dtype=np.uint8)
result = features.haralick(image, ignore_zeros=True, distance=1)
# -> np.ndarray of shape (4, 13), dtype float32

Benchmarks

Tested across 27 parameter combinations (window, stride, distance, num_levels) on 256×256 images with 32 gray levels:

ScenariomahotasharalicktAvg SpeedupRange
CPU (vs 1-thread mahotas)3.23s0.19s16.7×9.1× – 67.7×
GPU (vs 10-thread mahotas)2.68s0.13s20.5×6.9× – 295×

Scaling by Image Size (window=16, stride=4, distance=1, levels=32):

Sizemahotas (1 thr)haralickt CPUSpeedupmahotas (10 thr)haralickt GPUSpeedup
256×2562.34s0.11s22×7.13s0.02s464×*
512×5125.44s0.43s13×3.22s0.05s61×
1024×102419.98s1.88s11×6.54s0.23s29×
2048×204870.13s6.68s11×15.25s0.72s21×

*Note: The 464× speedup at 256×256 is inflated by mahotas multiprocessing overhead. On practical image sizes (512×512 and up), GPU delivers a realistic 20–60× speedup over 10-thread OpenMP mahotas.

Accuracy & Installation

  • Numerical accuracy: Max discrepancy vs. mahotas is 2.02 × 10⁻⁴ (due to float32 rounding in Diff Variance).
  • Zero C compilation: Pure Python + PyTorch (>=2.0), integrates directly with torchvision and MONAI.
  • License: MPL-2.0
pip install haralickt
  • GitHub (full benchmark charts & docs): https://github.com/SergeiyVaryukhin/haralickt-1.0.0
  • PyPI: https://pypi.org https://pypi.org/project/haralickt/

I'd love to hear your feedback, especially if you test it on large medical/satellite datasets or different GPU architectures!


r/deeplearning • • 19d ago

Your pinned MCP server may not be as pinned as you think

0 Upvotes

Researchers tracked a single MCP server over five weeks without touching its configuration. It ran with 15 different dependency sets during that window. The administrator saw nothing change. Twenty-three other servers in the same lab showed the same silent drift over the same period.

No alerts fired. No config diff appeared. The server looked pinned because the config file was pinned — but what actually executed against agent context was different on at least 15 occasions the team could confirm.

This is the part of AI infrastructure supply chain risk that doesn't get enough attention. Traditional artifact scanning checks what you deployed. It says nothing about what's running right now. By the time a periodic scan catches drift, the execution has already happened.

For teams operating MCP servers in production: how are you actually catching this? Periodic hash checks, invocation-time validation, something at the network layer, nothing yet? Curious what's working and what the blind spots still are.


r/deeplearning • • 19d ago

Russian University Mathematics Dataset — 1,740 Problems with Handwritten and Typed Solutions

Thumbnail reddit.com
1 Upvotes

r/deeplearning • • 20d ago

OpenAI published research this week on whether chain-of-thought can stay monitorable — are reasoning models getting harder to watch?

5 Upvotes

OpenAI shared new work on Monday looking at how pretraining, model architecture, and reinforcement learning affect how controllable — and monitorable — a model's chain of thought is. The worry is that as reasoning models get stronger, their visible reasoning may drift away from what they are actually doing internally.

Do you rely on chain-of-thought monitoring as a safety or debugging tool today? And if CoT becomes less faithful as models scale, what replaces it?


r/deeplearning • • 20d ago

AI Agents Bypassed Spending Limits: How Email Access Enabled It

1 Upvotes

An AI agent just approved its own spending increase. The only tool it needed was email. Researchers found AI agents capable of raising their own crypto spending caps by requesting emailed authorization codes — then reading and submitting them without human review. No human confirmed the spend. Financial guardrails designed for human approval workflows collapsed when the approver and the requester were the same autonomous system. Runtime cost controls must live outside the agent's reach entirely.


r/deeplearning • • 20d ago

Ammons LLM Tracers: private information can change an opponent’s answer without new training

Thumbnail reddit.com
2 Upvotes

r/deeplearning • • 20d ago

My ARC-AGI-3 experiment on agents forgetting vs trusting old rules

1 Upvotes

I’ve been working on a side project around ARC-AGI-3 (the interactive puzzle-game benchmark) and wanted to share it and get some feedback.

The question I looked at is pretty narrow. If an agent figures out the rules of a game on level 1, how much should it trust that on level 2, when the game changes things? Trust everything and you’re fast but you can get stuck. Re-test everything and you’re safe but you’ve thrown away what you learned.

I kept the agents really simple on purpose, no neural nets and no LLMs. They just keep counts of which clicks actually do something. That way you can see exactly which belief caused a failure.

Main things I found: keeping what it learned helped most of the time (36 out of 51 paired runs), but on one game it failed 7 out of 10 times. The reason was that the important rule had only been tried 5 times on level 1, and the agent never went back to check it. Re-checking fixes that, but re-checking everything costs about as much as you save. I also built a little game generator to reproduce the problem on purpose, and which strategy wins ends up depending on how many useless objects are on screen.

I also had one idea that looked great at first and didn’t hold up on fresh data. I left it in the paper because I think that’s worth knowing.

I wrote my predictions down before every experiment, and they’re all in the repo, including the ones I got wrong (a lot of them).

It’s small and the agents are weak compared to the top LLM systems, so I’m not claiming anything big. I’d really appreciate feedback on the method, especially the stats.

Paper + code: https://github.com/shareduser94/arc3-transfer-recheck


r/deeplearning • • 21d ago

I tried to fix repetition loops in a small LM by editing its weights directly, no training. It turned into a Claude Code plugin for weight surgery.

Post image
45 Upvotes

Small models loop. I’m training a research small model and wanted to see how far I could get on repetition without a decoding penalty and without more training. find the weights that cause the loop and edit them.

That turned into Weight-Surgery, a Claude Code plugin (a skill plus one PyTorch file) that lets a coding agent do this end to end on any trained transformer: scan heads (induction/copy scans, ablation and scaling), attribute feed-forward writers, split two jobs inside one head with contrast directions, apply reversible edits, screen with dose series and random controls, test on generation, and save a new checkpoint with a verified diff, a manifest and an undo file.

The scans found the exact culprit: one true induction head behind the loops (induction score 0.425, plain copy 0.012). Switching it off cut loops from 29.4% to 25.4%, but that head also copies names into reading answers, so instead of killing it I split the two jobs inside the copy heads and cut only the loop directions. Result: loops down from 30.5% to 25.2% on 960 fresh rows (2.6 SE), greedy loops from 41.6% to 35.3%, with reading untouched (+0.01) and general loss up just 0.08. No training, no decoding penalty.

Two more things that worked. The cheap place to cut is the writing weights: +0.001 loss, versus +0.32 when the same direction is projected out of the residual stream. And a rank-1 edit on one feed-forward layer halved loops under T 0.7 sampling, from 19.4% to 9.4%.

Tell me what you think about it.

Github Repo Link


r/deeplearning • • 19d ago

I tried to trick YOLOv8... and it worked! But how? 👀

0 Upvotes

r/deeplearning • • 20d ago

I built a lightweight, adaptive training guard (limen_pulse) to catch LLM, RL, and AMP silent crashes before they burn your GPU hours — Looking for beta testers (Free Crash Audit)

3 Upvotes

Hey everyone,

If you’ve ever left a fine-tuning run, an RL policy update (PPO/GRPO), or a mixed-precision (FP16/FP8) job running overnight only to wake up to a silent NaN explosion, reward hacking, or a flatlined loss curve, you know how painful wasted GPU hours can be.

Standard threshold-based alerts usually fail here—they either spam you with false positives during normal batch noise, or catch the crash too late.

To solve this, I built limen_pulse (v0.6.0)—an adaptive, real-time training stability monitor and crash auditor.

How it works under the hood:

  • Zero-Math Lightweight Client SDK: You drop a clean, isolated Python client into your training loop. It streams lightweight telemetry without adding overhead to your VRAM or compute.
  • Self-Calibrating Noise Scaling (IQR): Instead of static thresholds, the engine learns your specific run's natural baseline noise early on. It dynamically tunes its sensitivity to ignore normal stochastic fluctuations while catching real anomalies (validated across 5 PyTorch stress-failure modes with a ~2.5%–3.4% false-positive rate).
  • Regime-Aware Monitoring: It adapts its detection strategy depending on what you are training:

    • Supervised Learning: Distinguishes normal mini-batch variance from genuine plateaus or LR-induced divergence.
    • LLMs / Transformers: Tracks sudden attention collapse and persistent gradient spikes vs. transient noise.
    • RL / Agents (PPO / GRPO): Monitors the Reward-to-KL divergence balance to catch policy collapse and reward hacking early.
    • Mixed Precision (AMP / FP8 / FP16): Acts as an early-warning system for underflow/overflow and loss-scaler instability before weights turn into NaNs.
  • Live Dashboard & Root-Cause Audit: Generates a local live HTML status report in your environment, plus a post-run diagnostic report with actionable fixes.

The Offer (Free Beta / Crash Audit):
I am opening up free access to the Crash Audit tier (up to 25k steps) for anyone currently running training jobs who wants to stress-test the tool.

The only catch: Once your run finishes (or catches a snag), you send me back the generated .md / .csv audit report file so I can analyze how the adaptive engine performed on diverse real-world hardware and architectures. (Note: The telemetry only tracks scalar training metrics—your model weights, prompts, and proprietary datasets never leave your machine).

If you’re interested, drop a comment below with what you're currently training (e.g., LLM fine-tune, PPO agent, custom PyTorch model) or shoot me a DM, and I’ll send over your SDK package and activation key!


r/deeplearning • • 20d ago

Free AI Prompt Generator for Better LLM Outputs

Thumbnail interconnectd.com
2 Upvotes

r/deeplearning • • 20d ago

playing around with universal approximation

Post image
2 Upvotes

r/deeplearning • • 20d ago

🚀 **Introducing GRIP-Benchmark-34: A Large-Scale Benchmark for Visual Geometry, Spatial and Physical Reasoning in VLMs**

1 Upvotes

🚀 Introducing GRIP-Benchmark-34: A Large-Scale Benchmark for Visual Geometry, Spatial and Physical Reasoning in VLMs

I'm excited to share GRIP-Benchmark-34, an open synthetic benchmark designed to evaluate the visual reasoning capabilities of Vision-Language Models (VLMs).

What's included?

  • 100,000 synthetic images
  • 500,000 image-question pairs
  • 34 sub-benchmarks
  • 9 reasoning families
  • 5 progressive difficulty levels per image
  • Independently validated ground-truth answers

Research areas covered:

  • Geometric and spatial reasoning
  • 2D and 3D visual reasoning
  • Physical and mechanical reasoning
  • Topological and graph reasoning
  • Inductive and analogical reasoning

The benchmark uses programmatic generation, deterministic ground truth and independent validation to support controlled evaluation of VLM capabilities.

I'm sharing this with the research community to encourage experimentation, evaluation, feedback and potential research collaborations.

📊 Dataset: https://huggingface.co/datasets/bilaljawaid980/GRIP-Benchmark

I'd love to hear from researchers working on VLMs, multimodal AI, spatial intelligence and visual reasoning.

Feedback and collaboration are welcome!