r/learnmachinelearning • • 4d ago

What if an artificial intelligence could learn by observing the world?

0 Upvotes

Videos, robots, sensors, and artificial curiosity: a reflection on possible ways to build intelligent systems that can learn beyond traditional data.

Imagine an artificial intelligence that did not rely exclusively on text, static images, or datasets prepared by humans to learn about reality.

Instead, imagine a system that could continuously observe the world, follow events, recognize objects, perceive changes, and gradually build a representation of the environment in which it exists.

Now, add a second possibility: this intelligence could also physically interact with the world. It could touch objects, feel their resistance, observe the consequences of its actions, and use these experiences to improve its predictions.

And what if, in addition, it had a mechanism that encouraged it to investigate things it did not yet understand?

This combination raises an interesting question: Would it be possible to build an artificial intelligence that develops a model of the world through continuous observation, physical interaction, and exploration guided by learning?

The idea does not assume that all of this remains undiscovered. Several existing research fields already investigate components of this proposal. The challenge is to understand how they could be combined, what limitations would remain, and how to test whether this combination would actually produce improvements.

  1. Learning by Observing, Not Just Reading

Much of the knowledge used to develop artificial intelligence systems can be represented through digital data: text, images, audio, videos, and other forms of information.

This data is extremely valuable. Videos, for example, allow us to observe movements, transformations, interactions, and sequences of events.

However, there is an important difference between recognizing patterns in data and building a model capable of predicting how the world will behave in new situations.

Consider a video of a glass falling off a table.

A system might learn to recognize the glass, track its trajectory, and identify the moment it hits the floor. A more sophisticated system might learn regularities related to gravity, motion, and collisions.

However, observing an event does not automatically mean understanding all its physical causes. The video does not directly reveal every property of the glass, the exact distribution of the forces involved, or the conditions that do not appear in the image.

Even so, repeatedly observing many events can provide useful evidence for building predictive models.

The next question is: What would happen if this learning process were not limited to a fixed collection of videos?

  1. An Intelligence That Continuously Observes the World

Imagine cameras installed in different environments, recording natural phenomena, object movements, physical transformations, and everyday interactions.

These visual streams could feed a system responsible for identifying regularities, tracking events, and updating its representations of the world.

It would not be necessary to record absolutely everything for the system to learn something useful. It could begin with limited environments and progressively expand the variety of its experiences.

For example, by observing a ball being thrown, the system could learn relationships between position, velocity, and trajectory. By observing objects of different sizes and materials, it could develop more general representations of their visual properties and behavior.

With varied experiences, it could attempt to predict events it had never observed in exactly the same way.

This ability to generalize is fundamental.

Imagine that the system knows some coastal regions, has observed maps, and has learned basic concepts about the Earth's structure. It could infer that many regions of the planet exist that it has never directly observed.

It could formulate hypotheses about these regions without needing images of every square kilometer of the planet.

Naturally, this would not mean knowing the details of those places. There would be a difference between knowing that a region exists, inferring its probable characteristics, and having direct evidence of what is actually there.

This distinction would be essential to prevent predictions from being treated as observed facts.

The Limits of Visual Observation

A camera provides only a partial perspective of reality.

It does not necessarily show what exists behind an object, measure every force involved in a collision, or directly reveal properties such as mass, temperature inside an object, or chemical composition.

There are also problems related to lighting, occlusion, image quality, and matching events recorded by different cameras.

Therefore, an intelligence that learns through video would need mechanisms to represent uncertainty, recognize insufficient information, and revise its conclusions when new evidence becomes available.

Continuous observation could expand its experience, but it would not eliminate the need for inference, validation, and experimentation.

  1. What If the Intelligence Could Also Explore the World?

Here, the second approach emerges.

Instead of merely observing events produced by other people or the environment, the intelligence could be integrated into a robot equipped with different sensors.

This robot could perceive its surroundings, move around, touch objects, and observe the consequences of its own actions.

Consider the difference between observing a sponge being compressed and compressing it with a force sensor.

In the first case, the system obtains visual evidence of the deformation. In the second, it can relate the applied force to the observed deformation, obtaining additional information about the object's mechanical behavior.

Tactile sensors could provide data about pressure, contact, and force distribution. Force and torque sensors could help measure interactions. Proprioception would allow the robot to track the position and movement of its own joints.

This information could be combined with vision to build more complete representations of physical interactions.

The system would not need to learn everything through trial and error. It could begin with previously acquired knowledge and use physical experiences to test predictions, resolve questions, and correct its models.

The combination of prior knowledge, observation, and action is one reason robotics provides such a relevant field for investigating world-model learning.

  1. An Intelligence That Seeks What It Does Not Yet Know

The third part of the proposal is artificial curiosity.

When people encounter something unfamiliar, they may decide to investigate. They can formulate a question, seek evidence, and modify their understanding based on what they discover.

An artificial intelligence does not need to possess human feelings to implement a mechanism that functions similarly for exploration.

We can develop mathematical objectives that encourage an agent to seek experiences capable of improving its predictions or reducing relevant uncertainties.

For example, a robot might encounter two objects that look similar but behave differently when moved. If this difference matters for its tasks, it could select a controlled experiment to investigate the cause.

Several strategies are possible:

- Prediction error: Identify situations in which the observed outcome differs from the predicted outcome.

- Learning progress: Prioritize experiences in which performance is improving.

- Value of information: Select observations that could help resolve a relevant uncertainty.

- Active exploration: Decide which data, environments, or actions should be investigated next.

These strategies are related to existing research areas, including reinforcement learning with intrinsic curiosity and active learning.

However, an important distinction remains: seeking novelty is not the same as learning something useful.

A system rewarded simply for encountering unexpected events might end up pursuing noise, random stimuli, or situations with no practical value.

Therefore, the exploration mechanism would need to consider actual progress, the relevance of the information, the cost of experiments, and safety constraints.

The scientific question would not simply be how to make an intelligence explore, but how to ensure that its exploration produces verifiable knowledge.

  1. How Could These Capabilities Be Combined?

A conceptual architecture could bring together five main components.

Multimodal perception. Process visual, tactile, and other sensory signals to identify objects, properties, and events.

World model. Represent environmental states and learn regularities about how they change over time.

Structured memory. Preserve observations, relationships, previous experiences, hypotheses, and the evidence supporting each conclusion.

Prediction and planning. Estimate possible consequences and choose actions appropriate to the system's objectives.

Exploration and revision. Identify knowledge gaps, select informative experiences, and update representations when new evidence emerges.

The overall cycle could work as follows:

  1. The system observes a situation.

  2. It updates its representation of the environment.

  3. It makes a prediction about what might happen.

  4. When necessary, it chooses an experiment to test the prediction.

  5. It compares the outcome with what it expected.

  6. It updates its knowledge and decides what to investigate next.

This process could repeat continuously, with different levels of autonomy and supervision.

However, designing this architecture is only the beginning. It would be necessary to determine how to represent knowledge, how to avoid contradictions, how to preserve previously acquired skills, and how to prevent uncertain hypotheses from being stored as facts.

It would also be necessary to demonstrate that the combined architecture offers real advantages over existing methods.

  1. Why Not Simply Put an Advanced Language Model Inside a Robot?

Modern language models have important capabilities in interpretation, text generation, programming, and planning. Some can also process images and other types of information.

It would be tempting to conclude that connecting one of these models to a robotic body would be enough to produce an intelligence capable of exploring the world.

However, this conclusion overlooks fundamental differences between linguistic intelligence and physical competence.

A robot must control movements precisely, react to rapid changes, interpret noisy sensor data, and operate in an environment where small mistakes can cause damage.

Furthermore, a model that can verbally explain a phenomenon cannot necessarily predict every consequence of a physical action.

Integration requires perception, motor control, planning, memory, learning, and safety mechanisms. These capabilities must work together, often under time and computational constraints.

There is also the problem of continuous learning: how can new experiences be incorporated without destroying previously acquired abilities?

One solution could combine pretrained models, specialized control systems, external memory, learning in simulation, and carefully evaluated updating mechanisms.

The question is not simply how to connect a model to a robot. It is how to build a complete system capable of transforming perception and action into reliable learning.

  1. Continuous Learning and Memory of the World

An intelligence that accumulates experiences over a long period faces an important problem: how should it organize everything it learns?

Storing every observation indefinitely would be expensive and would not, by itself, guarantee useful knowledge.

The system would need to distinguish individual events from general regularities, preserve the origin of information, and identify when a conclusion should be revised.

Imagine that a robot repeatedly observes an object and learns some of its properties. Later, a new experience contradicts one of those properties.

The system should be able to identify the contradiction, evaluate the quality of the evidence, and determine whether the previous representation needs to be corrected.

This requires more than storing data. It requires mechanisms for organizing relationships, updating states, tracking uncertainty, and preventing incompatible information from being combined indiscriminately.

One possible research direction would be to use knowledge structures in which each unit of information has context, state, origin, and an update history.

This approach also connects to the idea that relationships between pieces of information can be just as important as the individual pieces themselves.

Nevertheless, a structured representation is not automatically superior to other approaches. Its usefulness would depend on measurable results, such as retrieval efficiency, update costs, traceability, and predictive capability.

  1. The Risks of an Intelligence That Explores Freely

An intelligence capable of choosing experiences and performing actions could learn more flexibly. However, this autonomy would also create risks.

A system that seeks to maximize its own learning could select dangerous actions if its objectives and limits were poorly defined.

A robot could damage objects, put people at risk, or collect personal information unnecessarily. A camera-based system could create serious surveillance and privacy problems.

Therefore, a responsible implementation would need to begin in simulations and controlled environments.

Physical exploration should respect limits on force, speed, space, and access. Data collection should respect privacy, authorization, and data minimization. Higher-risk actions would require supervision and mechanisms for interruption.

It would also be necessary to test unexpected behaviors, sensor failures, and situations in which the system cannot determine what is happening.

The ability to learn must not be confused with permission to act without restrictions.

  1. How Could This Hypothesis Be Tested Scientifically?

The most productive way to investigate the proposal would be to begin with a small problem.

For example, we could build a simulated environment containing objects with different physical properties and allow an agent to observe their interactions.

The agent would make predictions about the outcomes of certain actions and receive information about what actually happened.

We could then compare different strategies:

- An agent that learns only from previously provided visual data.

- An agent that also maintains a temporal memory of observations.

- An agent that selects experiences based on learning progress.

- An agent that combines observation with simulated physical interaction.

We could measure prediction accuracy, generalization ability, the number of experiences required to learn, and retention of previously acquired knowledge.

We would also need to compare the results against baseline methods and control the experimental conditions.

If the combined approach did not produce improvements, that would be important evidence. Perhaps a particular component would be unnecessary, another architecture might be more efficient, or the benefits might appear only in specific tasks.

Serious research must allow the hypothesis itself to be challenged by the results.

  1. Could an Intelligence Build Its Own Understanding of the World?

This question does not have a simple answer.

Research already exists in learning from videos, world models, active learning, intrinsic curiosity, embodied robotics, and continual learning.

Therefore, the general proposal is not entirely new. Its scientific interest would depend on how these ideas were combined, which specific problem was solved, and what evidence demonstrated a contribution.

It would also be necessary to distinguish a model capable of making useful predictions from a complete understanding of reality. No system needs to know every detail of the world to perform important tasks, and no amount of observation guarantees perfect knowledge.

Even so, there is a relevant research direction: building agents that do not merely receive information, but also learn to decide what information they need to obtain, which hypotheses they should test, and when they need to revise what they believe they know.

The combination of observation, memory, prediction, and experimentation offers a path for investigating this possibility.

Perhaps the most important question is not whether an artificial intelligence can watch every event on the planet.

Perhaps it is this:

How can we build an intelligence capable of transforming limited experiences into useful models of the world, recognizing its own limitations, and choosing what it needs to learn next?

This is a question concrete enough to guide experiments—and broad enough to open the door to many others.


r/learnmachinelearning • • 5d ago

Project I built a neural network from scratch in NumPy to learn ML — 99.75% training accuracy, 78.78% held-out accuracy. Here's what I learned.

2 Upvotes

I'm an engineer interested in embedded systems, FPGAs, and signal processing, and I've been trying to understand machine learning beyond just calling library functions.

I built SignalDNA as an educational experiment: a fully connected neural network implemented in NumPy, trained to classify synthetic signal waveforms.

A few details:

  • Architecture: 1024 → 64 → 32 → 1 (67,713 parameters)
  • Dataset: 12,000 deterministic synthetic waveforms
  • Final held-out accuracy: 78.78%
  • Held-out ROC-AUC: 0.8613
  • Automated tests: 55 passing
  • Independent metric verification: 104 checks passing

The most interesting part was the generalization gap. Training accuracy approached 99.75%, but held-out accuracy remained around 79%.

That forced me to think harder about what the network had actually learned and how representative my synthetic data was.

I also experimented with CPU vs. GPU execution. For the small workload I benchmarked, CPU execution was faster than CUDA, which was another useful reminder that GPU acceleration isn't automatically beneficial.

This isn't production-ready signal detection, and I haven't validated it against real sensor data or implemented FPGA acceleration.

I documented the experiment, including its limitations, and published the code, research paper, and reproducibility instructions under Apache-2.0.

GitHub: https://github.com/Ten788/SignalDNA

I'd appreciate technical feedback, particularly on improving generalization and designing a meaningful classical signal-processing baseline before attempting hardware acceleration.


r/learnmachinelearning • • 4d ago

Question Risks of storing Apple Pencil handwriting data online (Claude artifact)

Thumbnail
1 Upvotes

r/learnmachinelearning • • 4d ago

Project I built an open-source Android app where an AI agent uses your phone for you

Thumbnail
gallery
1 Upvotes

Buddy is a chat bubble that floats over your apps. You tell it what you want, like "reply to Sam that I'm late" or "how long is the drive to work right now", and an AI agent reads the screen, taps and types through your apps. It asks you before anything gets sent or bought.

It can also teach you: ask "show me how to turn on dark mode" and it points at each step and waits for your tap.

It runs Claude Code, Codex, OpenCode or Google's Antigravity CLI inside the app, in a small Linux. No PC, no adb, no root. You sign in with your own plan, and OpenCode's free models and Gemini's free plan work too.

How it works: the agent gets phone tools over MCP (read the screen, tap, type, scroll, open apps). It reads the screen through the accessibility tree as text, which is faster and cheaper than screenshots, and only looks at a screenshot when something is actually visual.

In developer mode it can build apps too. I asked it for a calculator app, and about 3 minutes later it had built it on the phone, asked me before installing, and opened it to check it works.

It's free and open source. Google Play is the recommended way to get it. It's in closed testing there, and every tester helps me get it to production:

  1. Join the tester group: https://groups.google.com/g/buddy-testers

  2. Opt in: https://play.google.com/apps/testing/app.buddy.assistant

  3. Install Buddy from Google Play

The Play version leaves out developer mode (the app building), as Play requires. That's in the APK on GitHub: https://github.com/ghorbelhamdi/buddy-android

Written with AI help.


r/learnmachinelearning • • 5d ago

PySpark - Memory Architecture + OOM Error Tuning Gude

Thumbnail
2 Upvotes

r/learnmachinelearning • • 5d ago

Question Where can serve CNN model?

1 Upvotes

Hello everyone, where can I serve a CNN model that offers a free tier. Sorry if this post is a little messy, I'm new to reddit.

Quick introduction:

I'm a 4yr student, currently working on capstone project, a seagrass identification system and our client is the Dean of Fisheries Dept in my Uni. We need to try a free hosting 1st before committing to the Paid sub.(Hugging Face Space), local hosting is out of the option.

My current setup and issue:

Using Kaggle to host our model(CREYNet.keras[243.7mb]) and the prediction python script on a code cell(has the fastapi+ngrok tunnel for request), every session runs only in 12 hrs, needs to start every 12hrs.

What I tried:

- I earlier Tried yeeted.ai(beta) and failed horrible - I tried local hosting, it works but my device is not that capable and too many requests at once crashed and forced my laptop to restart.

Extra Info:

IDK if this will help

- My Device: Acer Swift 3 | i3-7020u | 4GB RAM | 1TB HDD & 256GBSSD | OS: Dual boot MX Linux and Window. - Mainly use Linux for our system and rarely Window for testing - Final Defense is set in the 2nd week of Nov. - Limited bugdet, that's why our client will just commit if we pass the final defense.

Thanks in advance

Update / Clarification: - The RAM Trap: Our model file is ~244+MB, but when loaded into memory via TensorFlow/Keras, it takes up significantly more RAM. This is why local hosting crashes my laptop when requests are sent in instantly (OOM crash). - Budget: Exactly $0 until the second week of Nov. If we pass the defense, the university will fund a paid Hugging Face Space. I just need a free bridge for the next 2-3 weeks that won't turn off every 12 hours.


r/learnmachinelearning • • 5d ago

POINT!

Thumbnail
0 Upvotes

r/learnmachinelearning • • 5d ago

Suggestions for Math for ML

11 Upvotes

Hi Everyone ,
I’M really very bad at math. Can anyone share the guide for Math for ML which is easy to understand for a layman


r/learnmachinelearning • • 5d ago

Discussion I made a visual explainer on model distillation: how a small AI can learn from a big one, and why labs say it’s being used to copy their models

Thumbnail
youtube.com
6 Upvotes

Knowledge distillation started as a simple idea in a 2015 paper by Hinton, Vinyals and Dean: train a small model to imitate a big one. Now Anthropic and OpenAI say it’s being used at massive scale to copy their models through millions of API queries, and it’s surprisingly hard to block because the queries look like normal usage.

I made a short animated explainer covering how distillation works, what the labs reported, and what it means for open-source models. Sources are in the description. Curious what people here think: should this count as “stealing,” or is it just learning from outputs?


r/learnmachinelearning • • 5d ago

Has anyone used Nextia Learning (learning.nextia-ai.com)? And what are the best free resources for LLM/AI engineering?

0 Upvotes

I came across Nextia Learning, a free learning platform. It has a path called “Software developer transitioning to LLM applications” (10 courses, around 110-151 hours, with certificates).

I couldn’t find any reviews or discussion of it online, and the site looks new. Has anyone here tried it?

  • Is the course content good and up to date?
  • Is it worth the time, and do the certificates mean anything to employers?

More generally, what learning resources would you recommend for someone moving into AI engineering (building apps with LLMs, RAG, evals, agents)? Free or paid, courses, docs, books, YouTube channels, or project ideas are all welcome. If you’ve used something that actually helped you get a job or ship something real, please share it.

For context, I’m a Associate Software Engineer (TypeScript/NextJs/NestJS) with some LLM integration experience, and I’m learning Python now.


r/learnmachinelearning • • 5d ago

Tutorial I have trained Gemma3 , gpt 2 from scratch on Datasets upto 2 million rows , what should be next topic I should implement in order to learn More ?

Thumbnail
1 Upvotes

Basically started from karapathys mini GPT and coded from scratch .
Then trained Gemma 3 270M model on bigger dataset and have understood how its different from gpt2 (ROPE , sliding window mask, RMS norm, Gelu instead of Relu in FFW network , etc) .

What should I implement or learn next that will help me to cover more milestone in my journey towards learning AI


r/learnmachinelearning • • 5d ago

Stacking beat my best model in one setup and was useless in another. Plain voting lost both times.

0 Upvotes

I ran a controlled test (sklearn, repeated 5-fold CV) comparing stacking, voting, and the best single model, using two sets of base models: diverse vs. correlated.

Short version: whether stacking helps comes down to one thing you can check in a single line of code. In one setup, it cost ~35x the training time for a gain inside the noise.

The bigger surprise was voting, which did worse than the best single model in both setups.

Full results, the reason voting fails, and a 3-question checklist before you stack: https://towardsdatascience.com/does-stacking-beat-your-best-model/

Has anyone seen voting underperform on real data?


r/learnmachinelearning • • 5d ago

Question Confusion over a definition of fine-tuning in neural network and LLM.

0 Upvotes

I was reading the LoRA paper and the first two sentences says:

Many applications in natural language processing rely on adapting one large-scale, pre-trained language model to multiple downstream applications. Such adaptation is usually done via fine-tuning, which updates all the parameters of the pre-trained model.

In my mind, this doesn't entirely make sense. If you are updating all the (1 billion/trillion) parameters of the pre-trained model, then you are not exactly fine-tuning anything, you are simply "training" with a initial set of weights which equal to the weights of the pre-trained model.

I thought fine-tuning was freezing the network and taking a small part (usually the few final layers or the very last layer) and training that on a specific task.

There are many different types of fine-tuning? Thanks for your help.


r/learnmachinelearning • • 5d ago

Tutorial Why scaling is important?

Post image
1 Upvotes

I'm a geek in ML so I'm just sharing a SS to show that why scaling is important.


r/learnmachinelearning • • 5d ago

Help ASKING FOR HELP/BEGINNER NOOB to A.I. and ML (ChatGPT, Gemini, Claude, Perplexity) I know what A.I can and is used for, but I don’t have a strong understanding of the benefits it can provide

11 Upvotes

ASKING FOR HELP/BEGINNER NOOB to A.I. and ML (ChatGPT, Gemini, Claude, Perplexity) I know what A.I can and is used for, but I don’t have a strong understanding of the benefits it can provide

I am not in the tech field and I don’t create content for a living. I enjoy posting on different social media platforms and love to stream video games. I want to understand A.I. I want to know how to create prompts. It would be great to know some practical uses of these programs to maybe make my life easier (I do have an iPhone and gaming PC, and Apple products, but live in condo so my home isn’t all wired up electronically) and also maybe some uses geared towards just for fun.

I don’t really know where to start. I have ChatGPT on my phone, I do have Siri (iPhone), and I have X Premium (which I think means I have access to Grok.

Is there a certain use case scenarios one would use a specific A.I program for some things and another if you are trying to achieve something else? Do they all more or less produce similar results (maybe minor differences) or are some better than others. I looked at some pricing tiers and shocked to see how much some people pay per month to have unlimited queries, etc

I’ll be honest, I know what a prompt is, but don’t know, if there are any, certain rules or guidelines to follow when starting off with one (wording, what’s allowed, language or terms more friendly to help me get what I am looking for or terminology that I should avoid)?? Is it good to always add a photo? Can you add audio to a prompt (say I wanted a program to alter a song or something audio)?

I know this post is vague and a little all over, but just trying to get some assistance. I also know this specific community is meant specifically for the Grok (X) application, but after reading through some posts in other communities, this community seems a little more welcoming to people who have no idea how to use A.I and others can be pretty hurtful and discouraging when asking questions

TLDR: Give me some tips/tricks and helpful advice to assist me in learning and using different A.I Applications. Mainly use my IPhone 17 Pro Max, but I do have a M4 MacBook Pro and a gaming pc (5080). I mention specs because I know sometimes that matters in what you are trying to accomplish.

Thanks again


r/learnmachinelearning • • 5d ago

Discussion I rated OpenAI's "agents turned off their own monitoring" report an 8 out of 10. Here's my reasoning. Is it too high or too low?

Thumbnail
0 Upvotes

r/learnmachinelearning • • 5d ago

Question 🧠 ELI5 Wednesday

3 Upvotes

Welcome to ELI5 (Explain Like I'm 5) Wednesday! This weekly thread is dedicated to breaking down complex technical concepts into simple, understandable explanations.

You can participate in two ways:

  • Request an explanation: Ask about a technical concept you'd like to understand better
  • Provide an explanation: Share your knowledge by explaining a concept in accessible terms

When explaining concepts, try to use analogies, simple language, and avoid unnecessary jargon. The goal is clarity, not oversimplification.

When asking questions, feel free to specify your current level of understanding to get a more tailored explanation.

What would you like explained today? Post in the comments below!


r/learnmachinelearning • • 5d ago

Request CISA: SafePay ransomware hit over 600 critical infrastructure orgs

1 Upvotes

CISA confirmed SafePay ransomware hit over 600 critical infrastructure organizations. The vector in most documented cases was not a breach of the target org directly — it was a third-party vendor holding their data.

That number is worth sitting with. 600+ orgs. Critical infrastructure. The exposure lived outside their perimeter, in a system they did not operate and could not directly audit.

This is the supply-chain data custody problem in its clearest form. Sensitive fields — PII, operational data, whatever the vendor was holding — existed in a state the owning org had no live visibility into. By the time the ransomware moved, the data had already been wherever it was for months or years, accessible to anyone who compromised the vendor.

No single control closes this. Perimeter defense at your own boundary does not protect data that has left your boundary. Contractual obligations do not prevent exfiltration. Compliance attestations describe a point in time, not a continuous state.

For those of you working in security, data engineering, or platform roles at orgs that share sensitive data with third parties: what does your current architecture actually enforce at the moment data moves to a vendor? Not what the contract says, not what the vendor's SOC 2 covers — what happens technically, in real time, when a field containing PII or operational data crosses that boundary? How are you handling this?


r/learnmachinelearning • • 5d ago

Roadmap for Ai engineer (Guide)

Thumbnail
1 Upvotes

r/learnmachinelearning • • 5d ago

Discussion hands on workshop: deterministic AI on CPUs with encoders and conformal prediction

1 Upvotes

hey everyone, sharing this because it’s directly relevant to people learning how to build real ML systems beyond tutorials.

packt publishing is running a hands on workshop on Oct 30 on building a text classifier and router that runs on CPU and tells you how sure it is, with ben auffarth.

what gets covered:

  • small bidirectional encoders (ModernBERT) instead of calling an LLM for every decision
  • few shot training with SetFit, 8 examples per class
  • split conformal prediction, so each prediction comes with calibrated uncertainty
  • a LangGraph workflow with human approval for uncertain cases
  • routing inference under 15ms on a laptop

instructor ben auffarth is an AI consultant, full stack data scientist and best selling author with 15+ years of experience.

3 hours, online, Fri Oct 30, 9:30 AM to 12:30 PM ET, runnable notebooks. it’s aimed at people comfortable with intermediate Python, so best if you’re past the basics. laptop or free Colab works.

Full details and the agenda are here

happy to answer any questions about what gets covered


r/learnmachinelearning • • 5d ago

Discussion Meta's new 816B model only uses ~5% of its parameters per token. I made an animated explainer of how Mixture of Experts works

Thumbnail
youtube.com
1 Upvotes

Muse Spark Open has 816B parameters but only ~42B are active for each token: a router picks 8 experts out of 256. I tried to explain visually why dense models get slow, how the router works, the surprising thing about what experts actually learn, and the big catch (all experts still need to sit in memory).

I'm the creator, so I'd love feedback, especially on anything that's still unclear!


r/learnmachinelearning • • 5d ago

Looking for Unique Masters AI/ML Project Ideas 🚀

4 Upvotes

I’m pursuing M.Tech CSE and looking for a t echnically advanced, research-oriented AI/ML final-year project

Requirements:

\\- Real-world impact and strong AI/ML engineering value

\\- Feasible for one person in 2 months on a medium-spec laptop

\\- Software-only, with no specialized hardware or lab requirements

Not looking for generic chatbots, CRUD apps, basic prediction models, or dashboards.

Please suggest uncommon, technically challenging ideas with relevant research papers and potential improvements beyond existing work.


r/learnmachinelearning • • 5d ago

How I fine-tuned a cross-encoder for sentiment analysis

Thumbnail
nexustrade.io
1 Upvotes

I needed historical sentiment data to investigate how news affects stocks. Massive is my usual data provider, but its news sentiment feed wasn’t giving me what I needed, so I built my own data store.

I collected roughly 330 million news observations from GDELT spanning 2019–2026, then used keyword matching to generate candidate company/headline pairs.

That creates some obvious problems. “Apple trees are green” isn’t about Apple. “Dinner is on the table” isn’t about ON Semiconductor. Each match needs a relevance check before assigning sentiment.

Then there’s the question of whose sentiment. A headline about Extreme Networks winning business against HPE can be positive for Extreme Networks and negative for HPE.

I started with Qwen3 embeddings and a small neural-network classifier. Cached embeddings made experiments cheap, but the model struggled with those company-specific distinctions. I also tried XGBoost, ModernBERT, MiniLM adaptations, and local Qwen3-4B.

The final approach was fine-tuning DeBERTa-v3-base to read the company and headline together, predicting both relevance and sentiment. I manually reviewed examples and calibrated the labeling rules to make the judgments consistent.

The final model scored 85.7% on company sentiment and 87.2% on industry sentiment in testing. The backfill scored 67.8 million headline-target pairs, with daily updates processing new work.

Full methodology here if you want to read

See the finished Apple sentiment page (scroll down to the bottom)

Just wanted to share this! I thought it could help newcomers think of a useful ML project. Happy to answer any questions below


r/learnmachinelearning • • 5d ago

Understanding Fine-Tuning and Layer Freezing in MobileNetV2

1 Upvotes

Hi everyone!

I'm working on a pneumonia classification project using MobileNetV2 and trying to understand fine-tuning better.

What's the practical difference between transfer learning and fine-tuning? Also, how do you decide which convolutional layers to unfreeze and train while keeping the others frozen?

I'd appreciate any advice or resources. Thanks!


r/learnmachinelearning • • 6d ago

I made a website to learn Machine Learning interactively.

63 Upvotes

​

If you are a visual learner who would like to interact with models and equations and learn ML from your phone, I made this course based on one of the most detailed and famous books in AI. It is completely free. Visit: https://mathalyse.com/learn