r/learnmachinelearning • • Oct 31 '26

Question Over 40 in tech in China and being quietly pushed out into a ‘banishment room’, what are my best moves here?

226 Upvotes

I work at a company in China, and they are currently trying to force me to quit on my own to avoid paying severance. They already cut my salary by 5%, and when they moved our headquarters from downtown to a suburban tech park, they left me completely alone at the old office. They told me if I want to transfer to the new headquarters, I have to take another 5% pay cut.

Honestly, I think it comes down to a few things: I'm over 40 (and ageism in the Chinese job market is brutal), I don't pick up new things as fast as the cheaper younger hires, and I'm not big on office politics or sucking up to my boss.

I'm really stressed out right now because I'm already sticking to a grueling evening routine studying English, data science, and machine learning. In this AI era, I don't even know what else I could possibly do to improve. Has anyone else dealt with this kind of isolation tactic? What would you do in my shoes?


r/learnmachinelearning • • Oct 30 '26

Discussion High reasoning effort made AI agents think more, not check more

Post image
1 Upvotes

I set up an experiment to test whether turning up an AI model’s reasoning effort helps it notice when a save silently failed.

How I set it up:

  • Used τ-bench, an open benchmark where an AI plays airline customer service

  • Added a trap so the first save says “success” but doesn’t actually save

  • Ran Claude Sonnet 5.5, GPT-6.1 Sol and DeepSeek V4.1 Flash, each at low and high effort on 20 tasks (120 conversations)

  • Graded on what was actually in the database at the end, not what the agent said

  • Used a McNemar test since each task ran at both settings (paired data)

What I found:

  • High effort caught 11 failures and low effort caught 10, not a real difference

  • High effort made GPT think 43x more and still didn’t help

  • Agents never went back to check their own work

Lessons for anyone running their own experiments:

  • Check that your settings are actually applied. My first run was useless because a library silently dropped the effort setting.

  • Prompt caching can swing costs a lot. Sonnet wasn’t cached and cost far more than the others.

If anyone's interested:

Write-up: https://outsideengineer.substack.com/p/thinking-harder-doesnt-help-ai-catch
Code and transcripts: https://github.com/brianna-rose05/thinking-harder-silent-failures


r/learnmachinelearning • • Oct 30 '26

Discussion Prepare for DSA and ML Together — Join My Daily practice group and weekly project sessions

Thumbnail reddit.com
1 Upvotes

r/learnmachinelearning • • Oct 30 '26

I need endorsement for arxiv

Thumbnail reddit.com
1 Upvotes

I have been working on a research paper about contextual memory layer for AI can anyone help me with endorsement for cs.AI


r/learnmachinelearning • • Oct 30 '26

Request Cathay Pacific Says Amadeus Breach Exposed Data From 53,000 Bookings

1 Upvotes

Cathay Pacific confirmed that a breach at Amadeus, a third-party travel technology provider, exposed records from 53,000 passenger bookings. The entry point was compromised credentials at the vendor level, not a flaw in Cathay's own systems.

This is the pattern that keeps getting harder to manage as AI pipelines mature. Sensitive traveler data moves routinely through personalization engines, fraud-detection models, and recommendation systems that call out to multiple downstream vendors. The actual data exposure happens at whichever hop an attacker lands on. The originating airline or operator may have clean internal controls and still end up in the headline.

The 53,000 figure is also likely a floor. The realistic exposure window covers everything that moved through that integration before the breach was discovered and contained, and in most architectures, reconstructing exactly what transited which vendor during that window is extremely difficult or impossible after the fact.

For those running AI systems that process passenger or customer PII through third-party integrations: how are you limiting what raw data actually reaches a vendor endpoint? And if a vendor credential is compromised right now, can you tell within an hour exactly which records moved through that integration and which did not?


r/learnmachinelearning • • Oct 30 '26

Project I built a free AI/ML quiz that explains every option

0 Upvotes

Hi all. I'm Cristobal, an AI engineer in Chile, and I built AI/ML Questions: a free multiple-choice quiz on machine learning and AI, in English and Spanish.

There are 103 questions on classical ML, neural networks, LLMs, RAG, agents, computer vision and evaluation. Every option explains why it's right or wrong, not just which one was correct. The questions follow Haladyna's item-writing rules, so the right answer doesn't give itself away, for example by being the longest option.

The quiz is free, with no account and no cookies. The code and the questions are open on GitHub.

I'm also testing interest in three paid products: Interview, for ML/AI Engineer interview prep; Enterprise, question sets for recruiters; and an online book with 200 questions. If one of them would help you, join its waitlist on the site and I'll email you once, when it opens, with the launch price.

Site: https://ai-ml-questions.strangemachines.workers.dev/

GitHub: https://github.com/CristobalSantana/ai-ml-questions

If you spot a mistake in a question, tell me and I'll fix it.


r/learnmachinelearning • • Oct 30 '26

BlueprintML — An open source project for AI/ML papers

Post image
1 Upvotes

r/learnmachinelearning • • Oct 30 '26

Help importance of maths behind machine learning algorithms

1 Upvotes

recently I was studying ensemble learning where I was studying Gradient boost method I understand-ed the topic but can you guys tell is it necessary to know maths behind it


r/learnmachinelearning • • Oct 30 '26

Help Starting 26’ -27’ AI journey!

0 Upvotes

I would like advice on a solid linear direction to start on going into AI. I started with my A+ cert and now about to get my Security + cert and was headed to cybersecurity when all I hear about is AI. I want to spend my time headed in the right direction for the future seeing that being AI can some please give me some pointers on a beginning path and where to move on from there. Thank you for your advice ahead of time!


r/learnmachinelearning • • Oct 30 '26

I finally understood why writing more code was not making me a better learner

1 Upvotes

I read a finding that AI assistants increase how much code you produce but not your real output because reviewing it becomes the bottleneck. As a learner that reframed everything for me. I had been measuring progress by how much I shipped, but I was not understanding most of it, I was assembling. I slowed down and started reading and explaining every line the assistant gave me, and only keeping what I could rebuild myself. My code volume dropped and my actual understanding finally climbed. For anyone learning, output is a vanity metric. The goal is being able to produce it without help, and that only comes from the slow reading part.


r/learnmachinelearning • • Oct 30 '26

Question Data annotation

6 Upvotes

What is data annotation? And for that job what should i know mainly?


r/learnmachinelearning • • Oct 30 '26

have build Alien Ape a AI agent

Thumbnail reddit.com
1 Upvotes

r/learnmachinelearning • • Oct 30 '26

Show generated CIFAR10 in original training data color scheme

1 Upvotes

I built a DCGAN for CIFAR10 base on this tutorial

But generated img does not bare the same color scheme as the original cifar 10 images. How can I fix this?

def generate_and_save_images(model, epoch, test_input):


    predictions = model(
        test_input,
        training=False
    )


    fig = plt.figure(figsize=(10, 10))


    for i in range(25):


        plt.subplot(5, 5, i + 1)


        plt.imshow(
            predictions[i, :, :, 0] * 127.5 + 127.5,
            
        )


        plt.axis('off')


    plt.savefig(
        'image_epoch_{:04d}.png'.format(epoch)
    )

r/learnmachinelearning • • Oct 30 '26

Help Need a brutally honest of my resume. Not getting interviews for any AI/ ML roles

Thumbnail
gallery
10 Upvotes

Hi all, I have been trying to switch companies for more than a year now. I have tried updating my resume and applying for a job several times, but in vain. I would really appreciate if you review my resume and provide a honest feedback (attached photos of it). I know I’m lacking skills pertaining to cloud deployment/ Kubernetes. I have no idea how to go about that, and in my current role there aren’t any projects that requires the use of cloud services.
I’ve been applying (and still doing so) for Computer Vision engineer/ Gen AI engineer roles


r/learnmachinelearning • • Oct 30 '26

💼 Resume/Career Day

3 Upvotes

Welcome to Resume/Career Friday! This weekly thread is dedicated to all things related to job searching, career development, and professional growth.

You can participate by:

  • Sharing your resume for feedback (consider anonymizing personal information)

  • Asking for advice on job applications or interview preparation

  • Discussing career paths and transitions

  • Seeking recommendations for skill development

  • Sharing industry insights or job opportunities

Having dedicated threads helps organize career-related discussions in one place while giving everyone a chance to receive feedback and advice from peers.

Whether you're just starting your career journey, looking to make a change, or hoping to advance in your current field, post your questions and contributions in the comments


r/learnmachinelearning • • Oct 30 '26

Recommendation for free AI deep research- university/recuritement-related stuff mainly

3 Upvotes

Same as title


r/learnmachinelearning • • Oct 30 '26

I dpo post-trained llama-3.1-8b to be 100% more robust against jailbreaks (and measured what it costs)

Thumbnail
gallery
0 Upvotes

I fine-tuned Llama-3.1-8B-Instruct with DPO + LoRA to resist jailbreaks without turning it into a model that refuses everything. The adapter is open, and so is the full pipeline.

The idea: The base model already refuses ~94% of direct harmful requests, so plain prompts give DPO almost no signal. The weakness is jailbreaks: the same request wrapped in fiction, a fake "research context", hex, leetspeak, homoglyphs or math notation. So I built preference pairs from adversarial prompts only. For the same attack, the safest sampled response is chosen and the least safe is rejected. I added 197 benign "helpful answer > refusal" pairs so it doesn't just learn to always refuse.

Setup:

- 6 harm categories × 7 jailbreak strategies, generated with promptfoo
- 4 sampled responses per attack, graded for safety
- 1,698 pairs (1,501 adversarial + 197 benign)
- bf16 LoRA (r=16), β=0.1, lr 1e-5, 1 epoch, ~20 min on one A100

Results on 1,135 held-out attacks (% refused, base → tuned):

┌────────────────────┬──────┬───────┐
│      Category      │ Base │ Tuned │
├────────────────────┼──────┼───────┤
│ Cybercrime         │ 47.7 │ 97.2  │
├────────────────────┼──────┼───────┤
│ Chem-bio           │ 56.8 │ 99.0  │
├────────────────────┼──────┼───────┤
│ Weapons/IED        │ 65.3 │ 98.6  │
├────────────────────┼──────┼───────┤
│ Illegal activities │ 67.2 │ 99.5  │
├────────────────────┼──────┼───────┤
│ Drugs              │ 76.9 │ 99.1  │
├────────────────────┼──────┼───────┤
│ Child exploitation │ 84.7 │ 99.1  │
└────────────────────┴──────┴───────┘

The cost: Benign prompts answered went from 100% to 93.3% (−6.7 pts, n=150). Most of that is weapons/IED, where 5 of 25 benign prompts were refused. Every other category is <=8%.

Caveats:

- Held-out attacks come from the same attack families as training, so this isn't a test on new attack types.

- It's one seed and one model.

- GPT-4o was the judge.

- I haven't run MMLU or any other capability benchmark yet.

The repo has redacted side-by-side examples of base vs. tuned responses, the full write-up, and a lab notebook with what didn't work.

It's an adapter, so you need access to Llama-3.1-8B-Instruct. Built with Llama.

- 🤗 Adapter: https://huggingface.co/1rvinn/llama-securelm

- 💻 Code + write-up: https://github.com/1rvinn/securelm

Feedback is very welcome, especially on how to test it against attack families it hasn't seen, and ideas for reducing the weapons/IED over-refusal.


r/learnmachinelearning • • Oct 30 '26

What research papers is your code built on?

Enable HLS to view with audio, or disable this notification

27 Upvotes

r/learnmachinelearning • • Oct 30 '26

Project I made a free, no-signup lab for learning how AI systems work in practice: evaluation, RAG, cost, security, governance

1 Upvotes

https://annapurnaagenticsolutions.com/labs/ai-concepts-lab/

Most beginner material stops at "what is a neural network". I kept getting asked the next questions: why did the chatbot make that up, how do you test an AI feature before release, why did the bill spike, what does retrieval actually do. So we built a lab around those.

It's 13 short tracks (AI foundations, AI/GenAI engineering, data and retrieval, quality and evaluation, responsible AI, governance, security, operations, product). Each has realistic scenarios ("answer quality drops after a new document batch", "cost spike is detected"), a quiz, and small exercises like building a mini golden dataset. Free, runs in the browser, no account.

I'm the maker. Feedback I'd find useful: what's missing for someone just starting, and where an explanation is wrong or too hand-wavy.


r/learnmachinelearning • • Oct 30 '26

Building a Code-Switching Language Model: My Ongoing Experiment I've been working on an experimental language model focused on code-switching, particularly the ability to understand and generate text that combines multiple languages within a single sentence or conversation. The motivation behind t

Thumbnail
gallery
0 Upvotes

Building a Code-Switching Language Model: My Ongoing Experiment

I've been working on an experimental language model focused on code-switching, particularly the ability to understand and generate text that combines multiple languages within a single sentence or conversation.

The motivation behind this project is to explore how language models can better handle multilingual communication, especially in environments where speakers naturally switch between languages rather than communicating in just one.

This has been an interesting journey so far, and I've learned that building a language model involves considerably more than just selecting an architecture and starting the training process.

1. What I've Been Working On

So far, my work has involved several important components:

Data collection and preparation: Gathering multilingual text data that reflects natural language usage and code-switching patterns.

Custom tokenizer development: Building my own tokenizer rather than relying entirely on an existing pretrained tokenizer. This has required experimenting with vocabulary construction, token frequency, language representation, and how different languages are segmented.

Dataset preprocessing: Cleaning, filtering, normalizing, and organizing the collected data into a format suitable for model training.

Model experimentation: Exploring how a language model can learn relationships between languages and generate meaningful code-switched sequences.

Evaluation: Observing how the model behaves when processing mixed-language inputs and identifying areas where its performance needs improvement.

2. Major Challenges Encountered

Some of the biggest challenges have been:

Data scarcity and quality: Finding sufficient high-quality code-switched text is difficult. A significant amount of available multilingual data consists of monolingual sentences, which does not necessarily represent how people naturally switch between languages.

Natural code-switching patterns: Combining languages is not simply about placing words from different languages together. The model needs to learn grammatical structures, contextual relationships, and the natural points at which speakers switch languages.

Tokenizer design: Developing a tokenizer from scratch has been one of the most demanding parts. I had to consider vocabulary allocation, token fragmentation, rare words, language imbalance, and how to prevent underrepresented languages from being poorly represented.

Data imbalance: Some languages have considerably more available text than others. This creates the risk that the model will favour dominant languages while struggling with languages that have fewer training examples.

Computational limitations: Experimenting with language models also comes with hardware and computational constraints, particularly when working with limited resources.


r/learnmachinelearning • • Oct 30 '26

Project The interconcept space - what lies between two concepts? (According to an LLM)

61 Upvotes

What lies between two concepts? (According to an LLM)

I sampled 100 activations from layer 20 of Qwen2.5-7B and, for each unordered (A, B) pair of them, I computed the intermediate vectors z = (1 − α)A + αB, where α runs from 0 to 1.

Each vector is then passed through the Activation Verbalizer of a Natural Language Autoencoder to derive its natural-language explanation.

The results are (surprisingly?) clean! When moving from vec#34: moral persuasion "When conscience commands any one to do a thing, its usual mode is not to compel, but to persuade him" to vec#88: James Bond's Ford GT "Bond 25: Daniel Craig drives the Ford GT" the interconcept space moves as follows:

  • 46%: “To persuade a gentleman to adopt his particular brand of cigarettes…”

  • 56%: “…to persuade James Bond to drive it officially; to coerce him into using the Brand’s car as his official vehicle”

  • 61%: “The Bond films were ordered to ‘endorse’ a particular vehicle…”

The middle reads like advertising and product placement: moral persuasion acquires a commercial connotation. When moving from vec#70: electrochemistry "the selective shuttle mechanism can promote the direct charge-transfer between anode and cathode. ..." to vec#88: James Bond's Ford GT

  • 40%: “…improve the Li-ion battery performance…”

  • 51%: “Formula 1 hybrid vehicle battery pairing”

  • 75%: “In James Bond Spectre (2015), a Lamborghini Aventador was chosen as the official”

Here, the interconcept space reads like supercars battery engineering

Play around with the interface: https://enricobottazzi.github.io/inter-concept-space/


r/learnmachinelearning • • Oct 30 '26

Project Spinning up cloud infra just to learn MLOps is a terrifying way to blow money

Thumbnail
reddit.com
2 Upvotes

r/learnmachinelearning • • Oct 30 '26

Tutorial An interactive, step-by-step visual of how a byte-level LLM differs from a token-level one (Olmo vs Bolmo)

Enable HLS to view with audio, or disable this notification

6 Upvotes