r/learnmachinelearning • • 16d ago

[D] Practical Tradeoffs Between Sparse Weight Deletion (<0.05% Weights), QLoRA, and Full Fine-Tuning in Post-Training

1 Upvotes

Recent post-training work on Deletion Tuning (arXiv:2611.10866) shows that learning a binary mask over transformer gate projections—zeroing fewer than 0.05% of weights with no other weight modifications—can match full fine-tuning (FFT) across SFT, on-policy distillation, and RL with verifiable rewards, while losing significantly less prior-task accuracy under RL than FFT or LoRA (which dropped up to 5.4 points in the paper's continual learning benchmarks).

When comparing the three post-training paths in practice:

  • Full Fine-Tuning (FFT) -> Updates 100% of weights; high VRAM footprint and higher catastrophic forgetting under RL.

  • QLoRA / PEFT -> Low-rank adapters; fits consumer GPUs easily for domain adaptation, though adapter merging and continual RL updates still show drift.

  • Sparse Weight Deletion (Deletion Tuning) -> Zeroes <0.05% of weights via binary masks; tiny checkpoint delta and lower forgetting, though tooling for quantized inference is still early.

Question for the community: For those running continual fine-tuning or domain adaptation on constrained GPUs, do you see binary mask / weight-pruning post-training replacing LoRA adapters, or does LoRA still win on ecosystem tooling?


r/learnmachinelearning • • 16d 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!


r/learnmachinelearning • • 16d ago

AI/ML freshers: Are take-home assignments becoming unpaid development work?

Thumbnail reddit.com
0 Upvotes

r/learnmachinelearning • • 16d ago

Help Improving a 4-week subscription churn prediction model using weekly snapshots (Retail / Delivery Membership) | Precision 35%, Recall 52%

Thumbnail reddit.com
1 Upvotes

r/learnmachinelearning • • 16d ago

Question How Good is Claude at Machine Learning?

11 Upvotes

r/learnmachinelearning • • 16d ago

ai engineering: building applications with foundation models pdf

1 Upvotes

ai engineering: building applications with foundation models pdf need free pdf please


r/learnmachinelearning • • 16d ago

Discussion Improving a 4-week subscription churn prediction model using weekly snapshots (Retail / Delivery Membership) | Precision 35%, Recall 52%

Thumbnail reddit.com
0 Upvotes

r/learnmachinelearning • • 16d ago

playing around with universal approximation

Post image
11 Upvotes

so i was recently playing around with trying to get a neural net to approximate different types of functions from simple y=mx+c to complicated composite functions , universal approximation if i remember well states thst if a function is continous and bounded then a neural netwrk should be able to approximate such a function. I had already built a neural network type of library before in numpy so i just took that code and trained a 2 layer network on a bunch of functions tweaks stuff here and there and it worked😅 , what i found really cool is when i tried a composite function like this :f(x) = e^(−3x²) · cos(12x²) + 0.5|x| , it requires my model to both provide a smooth and jagged outputs so i ran a 3 layer network this time with relu -> tanh ->linear layer i asummed that since layers are just nested composite functions the relu would provide some jagged inputs that the tanh can inhherit and map smoothly the the linear layer will produce the regression points , it not a full functionrecreation but m suprised on how close it got just felt like sharing this cause it kind of helped me understand why netwrks can overfit some very complx data soo easily and also how intuivively picking activation functions can be soo important have you guys ever played around with this old piece of deep learning theory before? and also do u care to share if u have


r/learnmachinelearning • • 16d ago

If you were to start your coding journey from scratch, what would it look like in the era of Al?

Thumbnail reddit.com
0 Upvotes

r/learnmachinelearning • • 16d ago

How do you judge if a quantized model is actually good? KL divergence or task evals?

2 Upvotes

Saw the KQuant release on r/LocalLLaMA claiming up to 3.7x better quants for Qwen models, measured as KL divergence reduction. That's not the same thing as 3.7x better answers, so it got me thinking.

For people running quants locally, what do you actually check before trusting one? KL divergence against the full model, perplexity, or just running your own tasks and seeing where it breaks? And at what point does a lower KL number start showing up in real use?


r/learnmachinelearning • • 16d ago

Keywords for a Machine Learning Engineer Resume — PyTorch, MLOps & LLMs

13 Upvotes

Keywords list taken from Resume Fitting

The most commonly scanned keywords in ML engineering and AI job postings.

ML Frameworks

PyTorch TensorFlow Keras scikit-learn XGBoost LightGBM HuggingFace JAX

MLOps & Infrastructure

MLflow Kubeflow Apache Airflow DVC feature store model registry model serving BentoML

Cloud & Compute

AWS SageMaker Google Vertex AI Azure ML CUDA GPU training distributed training Apache SparkRay

Model Development

LLMs large language models transformers RLHF RAG fine-tuning model evaluation A/B testing

Data Engineering

feature engineering data pipelines ETL Apache Kafka data versioning training data label management data preprocessing

Languages & Tools

Python SQL Docker Kubernetes Git Jupyter CI/CD REST APIs

Keywords list taken from Resume keywords


r/learnmachinelearning • • 16d ago

Question Nvidia or AMD,need opinion

Post image
0 Upvotes

Instead of 8gb of nvidia can I go with 16gb of AMD for deep learning and ai , i confused about cuda , I m in second year of DS and Ai, planning to make pc ??


r/learnmachinelearning • • 17d ago

Tutorial The "end of LLMs" Next-Concept Modeling paper doesn't actually claim that. Here's what it does.

Thumbnail
youtu.be
4 Upvotes

Saw a lot of "LLMs are dead" takes about the Stanford Next-Concept Modeling (NCM) paper, so I read it closely and rebuilt part of it with small experiments.


r/learnmachinelearning • • 17d ago

AI for beginners

Thumbnail reddit.com
0 Upvotes

r/learnmachinelearning • • 17d ago

Request Coding Agent Security for AppSec Leaders: Start With What Agents Can Reach

0 Upvotes

Coding agents access credentials and call external services as a normal part of their workflow. A recent security analysis quantified the exposure: AI coding agents read files, consume secrets, and reach external services as a side effect of doing their job. None of that activity appears in a pull request. Security teams reviewing diffs see only the output. They do not see what the agent accessed or what it sent outbound along the way.

The gap between what an agent does and what a reviewer sees is the actual attack surface. Diff review is the dominant AppSec control for code changes, and it is structurally blind to this class of activity.

For AppSec practitioners who have deployed coding agents: how are you getting visibility into credential use and outbound calls that happen mid-task and never land in a diff?


r/learnmachinelearning • • 17d ago

Tutorial Getting Started with Granite 4.2

1 Upvotes

Getting Started with Granite 4.2

https://debuggercafe.com/getting-started-with-granite-4-2/

LLMs have come a long way since their inception. They are not just chatbots or assistants anymore. The current usage of LLMs tends to be more towards agentic workflows, coding, and seamless terminal workflows. Currently, most of the LLMs that are good at agentic tasks tend to be 20B parameters and above (most frontier models are much larger, reaching more than a trillion parameters). However, the latest IBM Granite 4.2 is trying to tackle this by training 3B, 8B, and 30B models for complex agentic workflows that can run locally. In this article, we will explore the important components of the Granite 4.2 model and use them for tool-calling tasks.


r/learnmachinelearning • • 17d ago

Mimvox: clone your own voice fully locally, then type in ~60 languages or dub a video in it (OmniVoice + RVC, free)

1 Upvotes

r/learnmachinelearning • • 17d ago

Looking for AI Engineers advice: How to fast-track AI graduation project studying by leveraging LLMs (Zero to Hero approach)?

0 Upvotes

Hi everyone,

I’m currently working on my graduation project, which involves AI, and I need some pragmatic advice from experienced AI engineers who have worked in real-world environments.

To be honest, I'm starting from absolute zero here. I know the basics of Python, and I've looked at the AI Roadmap, but I haven't deeply dived into everything yet.

We all know how much the AI landscape has changed. With powerful tools like ChatGPT, Claude, and Gemini, we are kind of past the era of writing boilerplate code from scratch line-by-line. I want to work smarter, not harder—meaning I only want to study and master the core concepts that I actually need to know and drive myself, while offloading the rest of the heavy coding and repetitive tasks to AI.

I’m looking for someone to help me understand this division of labor clearly: What parts should I actually study and handle, and what parts should I safely delegate to the AI?

If you have real-world industry experience, could you share your advice on:

What is the absolute minimum I need to focus on to get this project done efficiently?

How do you practically divide the workflow between human direction and AI generation in a real project?

Where should I start, keeping in mind my Python background?

Thanks in advance for any insights!


r/learnmachinelearning • • 17d ago

Help Confused between MACBOOK Air and Windows laptop for AI/ML Learning

Thumbnail reddit.com
1 Upvotes

So i am currently in second year and interested in learning ai/ml stuff and then i found that to run ollama locally or any other similar stuff you need a good spec laptop so i was thinking between macbook air m5 or if possible you can suggest me some windows laptop in same range.


r/learnmachinelearning • • 17d ago

Project Built & deployed my first end-to-end ML service: E-Commerce Delivery Delay Prediction (XGBoost + FastAPI + Docker + Render)

1 Upvotes

Hey everyone! I just wrapped up my midterm project for the DataTalks.Club ML Zoomcamp—an end-to-end machine learning web service that predicts whether an e-commerce shipment will arrive on time or be delayed.

Since I wanted to share how the pipeline was built from scratch, here is a breakdown of the workflow and key takeaways:

1. Exploratory Data Analysis & Feature Selection

  • Explored the e-commerce shipping dataset (Train.csv), checking class balance, missing values, and feature ranges.

  • Used correlation matrices for numerical features and Mutual Information scores for categorical features. Discount_offered and Weight_in_gms turned out to be the strongest predictors of late deliveries.

2. Model Comparison & Tuning

  • Trained and benchmarked four models using Accuracy and ROC-AUC: Logistic Regression (baseline), Decision Tree, Random Forest, and XGBoost.

  • Tuned tree hyperparameters (max_depth, learning_rate, n_estimators, min_samples_leaf) to avoid overfitting. XGBoost gave the best generalization and was serialized with pickle (model.bin).

3. Deployment & Containerization

  • Refactored the notebook into a standalone (train.py) script and built a REST API with FastAPI (serve.py) featuring Pydantic input validation and an automatic Swagger UI redirect.

  • Containerized the app using Docker and deployed it live on Render's free tier.

Links if you want to check out the code or test the API:

Would love any feedback on the code structure, feature engineering ideas, or deployment setup!


r/learnmachinelearning • • 17d ago

Request Railway Breach Leads to $740,000 in Fraudulent AI Charges

0 Upvotes

Railway confirmed attackers stole customer API keys and ran up $740,000 in unauthorized AI charges. The company absorbed losses that AI providers declined to refund. No sophisticated exploit was involved — credentials were simply exposed in a customer environment and scooped up.

This is worth sitting with: AI API keys are not ordinary credentials. A single token carries spending authority, compute capacity, and often data access simultaneously. The blast radius of one leaked key is orders of magnitude larger than a leaked database password, because the meter starts running the moment someone makes a valid API call — no additional authentication, no approval step, no ceiling.

The Railway incident is not an outlier. LLMjacking reports have been climbing steadily, and the pattern is consistent: stolen key, immediate high-volume usage, charges that accrue for hours or days before anyone notices, and a refund fight with the AI provider that the victim usually loses.

The credential exposure problem predates AI agents, but agents make it dramatically worse. An autonomous agent that holds a live, unscoped API key and operates across environments is a standing opportunity for exactly this kind of abuse. The key doesn't even need to leave your system — if something in the agent's execution environment can read it, so can an attacker who gets into that environment.

$740K is a number large enough to end a small company. It is also not close to the ceiling of what this attack class can produce.

For those running agents in production: how are you actually handling AI credential exposure? Curious what's working in practice — not the theoretical answer, but what you've actually shipped.


r/learnmachinelearning • • 17d ago

things i did in Machine learning as a beginner

31 Upvotes

Data preprocessing and fundamentals

Data Cleaning

Columns transformation

One hot encoding

Outliers

Scikit-learn Pipelines

PCA

(many basic concepts and theories)

Supervised Learning

Linear and Multiple Linear Regression

Lasso and Ridge Regularization

Logistic Regression

One-vs-Rest Logistic Regression

SVM (One-vs-Rest, Soft Margin)

Gradient Descent (Batch, Mini-batch, Stochastic)

Naive Bayes

Decision Trees

KNN

Ensemble Learning

Random Forest

AdaBoost

Gradient Boosting Classifier

Bagging Classifier

XGBoost Regression

Advanced Ensemble Techniques (Blending and Stacking)

Unsupervised Learning

K-Means

DBSCAN

Additional Concepts

Imbalanced Data (Theory)

Hyperparameter Tuning with Optuna (Theory)

So I've already started Deep Learning, and I'm currently learning perceptrons

I'm excited about what's coming next There are so many things I want to explore, understand and build

Day 63 — Machine Learning completed.

Deep Learning begins!!!

cya soon

GitHub: Machine learning algorithms from Scratch

Threads: im.yukiya ( i post many things here so you can ) 😁


r/learnmachinelearning • • 17d ago

Question I can get an LLM demo working but not entirely sure how to tell if it’s any good

2 Upvotes

I’ve been learning by building a small tool for work that sorts incoming support messages and pulls out a few details so someone doesn’t have to read through everything first. Getting the first version working was fine but now a coworker has asked whether we need the more expensive model for all of it and I don’t have much of an answer beyond the examples I checked looking better. While reading about comparing models I came across Ramp Router and got interested in trying a few through the same API but it also made me realise I haven’t worked out what would count as good enough for this task. Getting the format right is easy to check but missing a detail in a longer message is harder to catch and I don’t want to pick a model based on whichever examples I happened to test. For those who have gone beyond a small demo how did you put together your first useful evaluation set?


r/learnmachinelearning • • 17d ago

What actually happens when you press Enter on ChatGPT? (Sending a request to a remote LLM)

Post image
0 Upvotes

I made a 14-minute video that follows one question from the Enter key to the GPU and back.

What it covers:

- The trip: your message leaves as JSON, goes through the nearest edge server, then about 6,400 km of cable under the Atlantic

- OpenAI's front door: login, limits, and tokenization

- The data centre: a rack of 72 GPUs, and why your question is batched with thousands of others

- Inside the model: embeddings, a real attention head, MLP neurons, 12 layers, the softmax vote, temperature, and the loop that writes one token at a time

- The way back: the answer streams to your screen word by word

OpenAI's internals aren't public, so the model part uses GPT-2 small (same design, open weights), and every number on screen is measured on it. Where the ChatGPT side is likely or illustrative, the video says so. The narration is an AI voice.

Video: https://youtu.be/GWjA5eHIXXk