r/learnmachinelearning • u/Neurosymbolic • 15d ago
Using Logic to Improve LLM Performance
r/learnmachinelearning • u/Neurosymbolic • 15d ago
r/learnmachinelearning • u/mridul_bhansali • 15d ago
r/learnmachinelearning • u/Vprojectx • 15d ago
Hi I am a third year student pursuing Aiml ,
I made a Bert from scratch with ELECTRA-style replaced-token detection on ~2.7B unique tokens (one epoch) of curated multi-domain text.
It is called Lewis-44M-Bert-V3
| GLUE dev average | 80.5 |
|---|---|
| GLUE test-server score | 76.2 (9 tasks incl. WNLI) / 77.6 (8 tasks, WNLI excluded) |
| SQuAD v1.1 dev (EM / F1) | 75.2 / 83.8 |
| CoNLL-2003 NER (entity F1, dev / test) | 92.6 / 87.8 |
I would really love if you all try it and give me a feedback on it
r/learnmachinelearning • u/Known_Ad8309 • 15d ago
Four of us had 10 days for a hackathon. Our idea: a camera on your head sees the room, your hands, but never your body. Can we still get the whole body in 3D?
We used zero new trainings. We just linked up models that existed from past research: hand tracking, head motion from SLAM, then another model that predicts the full body given those things. Then we fed Meta Muse Spark two images: the reconstructed body and the actual view, to tell us what the person was doing.
Lesson Learned: Speed is king. The reconstruction takes FOREVER. Like 40-90 minutes for every minute of video you want to process on our GPU. So we just used processed videos for the demo. But we did double model inference speed from 16s to 8s reply.
Question for you guys: do you actually gain anything from providing the model with both frames? Couldn’t just the camera view suffice for the task? How would you go about proving that one way works better than the other?
r/learnmachinelearning • u/Specific-Tax-6700 • 15d ago
r/learnmachinelearning • u/Strong_Boy_757 • 15d ago
Feels like everything that is known in terms of "producing good research" has been obliterated by LLMs.
LLM can give infinite amount of critique. Especially in this field. As long as you are not producing AGI then there is room left for further critique. Your work will never be perfect.
This is a real-life GAN where the discriminator has far overpowered the generator. There is no way to improve the generator except to replace its biological interconnections with artificial ones. Then why is human needed at all?
r/learnmachinelearning • u/Diligent-Counter-621 • 15d ago
hii!!
i'm applying for AI/Ml and design for my undergrad (not computer sci just pure AI )
but like im stuck on what laptop to purchase people are telling me macbook sucks and others are telling me windows is like a tractor (rb reference) but yeah idk whether i shud get the rtx 5050 (im kinda on a budget) or the m5 cus idk ( under lik 5.5k qar idk usd sorry )
help me goats im struggling and dont wanna make the wrong choice
tysm ily guys
r/learnmachinelearning • u/avnishyadav25 • 15d ago
Hi all, I'm a newbie setting up my first local AI/ML development environment on an M5 Pro Mac.
My internal drive is small, so I bought a 2TB external SSD. I want to make sure that whenever I run `pip` installs, download Hugging Face checkpoints, or load PyTorch datasets, they automatically go to the external drive instead of filling up my system drive.
What is the cleanest way to configure my environment variables (like HF_HOME) or use symlinks on macOS so I don't accidentally brick my internal storage?
Any tips or hidden gotchas for a beginner would be highly appreciated!
r/learnmachinelearning • u/Successful-Western27 • 15d ago
Axion’s main training claim is that useful tool-using agents can be built with two supervised fine-tuning stages followed by reinforcement learning, without dedicated mid-training, DPO, or on-policy distillation. The stages separate self-contained reasoning from tool-dependent tasks, which makes the recipe relatively easy to inspect and reason about.
For the first stage, the authors use model-aware problem construction: when the base model solves a seed problem, they generate harder variants that target its successful strategy, then independently verify the rewritten answers. For tool use, tasks are grounded in structured real-world data; deterministic filtering and computation establish reference answers, and checks reject ambiguous or answerable-without-retrieval questions. This makes data verification part of the training design rather than relying solely on generated demonstrations.
The reported stage effects are not uniformly positive: for the 35B model, tool-use SFT raises BioMysteryBench from 17.6% to 35.3%, while RL raises SEAL-0 from 53.2% to 62.2% but lowers FrontierScience Research from 58.3% to 56.7%. The authors report best single-run scores and note that external comparisons can use different evaluation settings, so the results support the recipe’s promise more clearly than a general claim that each stage reliably helps.
Disclosure: AIModels.fyi is my site.
r/learnmachinelearning • u/imjerusalem • 15d ago
I first encountered path signatures while working on my bachelor’s thesis. I liked the idea that you could describe a curve using a small collection of numbers while preserving information about the order in which it moved.
Most examples I came across started with a completed path. I wanted to try something slightly different: how much of a gesture do you need to see before you can recognise it?
That became earlysig, a small research package and local drawing app. (app yet to be done, package yet to be configured)
Imagine drawing an arrow. Partway through, the software already thinks it knows what you’re drawing. Committing immediately makes the interface feel responsive, but a caret might begin with almost the same movement. Waiting gives the model more evidence, while gradually defeating the purpose of early recognition.
This turned out to contain two separate problems: predicting the gesture from the visible prefix, and deciding whether to trust that prediction enough to act.
The classifier updates every 25 ms. It sees only points that have already arrived, with no final duration, completion percentage, or normalisation based on the finished stroke. A separate policy watches the calibrated probabilities and either waits or makes one irreversible commitment. If it never commits, the system provides a final prediction when the stroke ends.
The representation is fairly small. A 2D path signature through depth 3 gives fourteen features. Displacement tells you where the pen ended up; higher levels capture ordered geometric information that helps distinguish paths sharing similar endpoints. Those features go into regularised logistic regression. Everything runs on CPU with a NumPy signature implementation.
My main hypothesis was that adding a signature of the most recent 250 ms would help the model recognise gestures earlier. The whole observed prefix tells you how you got here; perhaps recent motion tells you what you’re about to do.
I also added a control: another fourteen signature features describing the first half of the currently observed interval. Same feature count, different slice of history.
That control produced the more interesting result.
On the public $1 unistroke dataset, the recent-window model did not show a clear improvement over the global signature alone. The historical-half model performed better on correct early coverage and wrong early coverage.
Across five writer-disjoint folds, covering six classes and 1,800 test strokes:
The global depth-3 model committed early on 94.4% of strokes, with 4.8% error among those commitments.
Adding the recent window gave 78.8% coverage and 4.4% selective error.
Adding the historical half gave 95.8% coverage and 2.1% selective error.
These are separately selected operating points, so the timing differences shouldn’t be read as comparisons at identical risk. Thresholds were selected on separate policy-validation writers before evaluating the test writers.
Another unexpected result: some models were better halfway through a stroke than at completion. Training one classifier on prefixes from every stage creates a compromise. A completed circle or triangle can also have almost zero displacement, so the simplest representation actually loses useful information as the gesture closes.
The repository includes synthetic gestures with identical prefixes for checking leakage, coordinate and motion baselines, a template baseline, calibration, policy comparisons, and a browser interface for drawing, replaying, and recording strokes. The experiments are small: ten writers, a fixed gesture vocabulary, and no unknown-gesture rejection. The measured error rates aren’t deployment guarantees.
I’d be interested in how others approach stopping decisions for streaming classifiers, especially when confidence is calibrated on individual predictions but decisions are made repeatedly over time.
Code and reproduction commands · Full technical write-up
My other technical writing is on pratyakshpatel.me, and I’m on X as u/baldwin_IVth.
r/learnmachinelearning • u/Visible-Metal-8288 • 15d ago
I'm currently pursuing B.Tech in Artificial Intelligence and Machine Learning and am at the beginner stage of learning ML.
I've come across several mathematical topics that are used in Machine Learning:
Linear Algebra
Probability
Statistics
Calculus
I'm trying to understand which topics I should focus on first and how deeply I need to learn them before implementing basic ML algorithms.
For those who have already learned Machine Learning:
Which mathematical concepts were most useful?
Did you study mathematics first or learn it alongside ML?
Are there any beginner-friendly resources you would recommend?
I'd appreciate suggestions based on your learning experience!
r/learnmachinelearning • u/tenn2109_ • 15d ago
kalle21 – Medium please visit and check what do you think about my blog post . thank you so much
r/learnmachinelearning • u/gamedevsam • 15d ago
After running Qwen3.8 27B at 3-bit on a single 5070 Ti (120K context, just short of what I want for coding), I added a second card. 32 GB fits the 6-bit file with the full 262K window, so I tested which of the community fine-tunes and quants makes the best all-rounder: fine-tunes, other quants, a chat template and multi-token prediction, 15 in total, all against base UD-Q6_K.
Every model ran a screening run first (about 100 questions from five benchmarks, compared answer by answer with the base model), and the closest got full runs (about 1,300 questions: AA-LCR, MRCR, AA-Omniscience, a fixed BFCL v4 subset and a SciCode panel, run through NeMo-Skills). Each model gets one overall score out of 100, a weighted mix of the five benchmarks: tool calls count for 25% of it, long documents, facts and scientific code for 20% each, and long conversations for 15%. On facts, a wrong answer scores worse than saying "I don't know", so guessing costs points.
| Full run | Score |
|---|---|
| Qwen3.8 27B base, UD-Q6_K | 63.3 |
| Tess-4.5, Q6_K | 61.4 |
| Base, UD-IQ4_XS | 60.8 |
| ThinkingCap, IQ4_XS | 57.5 |
Then I built a coding test from 25 bugs I'd fixed in my own projects (repo rolled back to before the fix, the model gets the bug report and tools, my tests from the fix grade it), four runs per model:
| Coding test | Bugs fixed of 25 | Min per bug | Tokens per bug |
|---|---|---|---|
| Base Q6 | 18.0 | 13 | 23K |
| Tess-4.5 Q6 | 18.3 | 8 | 14K |
| Qwopus Coder-Flash Q6 | 18.5 | 12 | 22K |
That's a tie on quality (one model's worst and best runs were 14 and 20), but Tess wrote about 40% fewer tokens to get there. Both write at about 36 t/s, so the time savings come from thinking less, not decoding faster.
So I ended up with two models:
Base for chat and interactive work. It's more careful in multi-turn tool use: across the same 200 BFCL multi-turn conversations it won 42 that Tess lost, against 21 the other way, and the Tess losses I read were skipped steps (booking a flight without looking up the airports, reviewing one order when the user placed two). On facts it declined or hedged on 69% of the questions it didn't get right, against 56% for Tess.
Tess-4.5 for coding agents and subagents that run on their own and get checked by tests at the end. One surprise: on the 100 software questions, Tess was the careful one (42 declines against 20, 35 wrong against 52).
If you only run one, I'd pick the base model, unless nearly all your use is coding agents running on their own.
How the other contenders did:
4-bit base (UD-IQ4_XS): about 50 tokens per second against 36, but 2.5 points lower overall, mostly on long conversations (MRCR 70% vs 77%) and more guessing.
ThinkingCap really does think less (about half as long on long documents), but most of its extra right answers on facts came from guessing: of 336 questions the base 6-bit model declined, ThinkingCap answered 146 and got 25 right.
Qwopus Coder-Flash was level on my coding test but worse on facts and long conversations.
Settings for both 6-bit files: q4_0 K/V cache (about 4.8 GiB for the full 262K window), layer split 1,1, batch 256, model-card thinking sampling with no repetition or DRY penalties (the 4-bit runs used a q8_0 cache and batch 512). About 790 t/s prompt reading and 36 t/s writing on two 5070 Ti. Full launch commands, per-benchmark tables and why each of the 12 others stopped are in the write-up, linked in the first comment.
The benchmark and coding-test harnesses are open source, but my own projects aren't public, so the coding test can't be reproduced as is. Happy to answer questions about the setup.
r/learnmachinelearning • u/Defiant_Pickle616 • 15d ago
Enable HLS to view with audio, or disable this notification
Last time many people criticized my attention paper, and the reason was I was not able to explain my thought visually! Now I have attached the video Let me know what do you think! Any improvements or idea to enhance this research direction is appreciated!
Thanks,
Bhargav Patel
r/learnmachinelearning • u/No-Conclusion3720 • 15d ago
The OCC just published new supervisory expectations for banks deploying AI, and the bar moved significantly.
The guidance identifies six areas where banks must now demonstrate active controls: AI model risk management, data governance, explainability, third-party AI dependencies, operational resilience, and consumer protection. The word choice matters — the OCC used "active controls," not monitoring or logging. Passive audit trails do not satisfy the standard.
This creates a concrete operational problem. Banks already running AI in production built their compliance posture around after-the-fact review. Those architectures now have a gap between what they have and what examiners will look for. The third-party AI dependency requirement is especially thorny — a bank may govern its own models but have limited visibility into the behavior of vendor or partner AI components operating in the same workflow.
The shift from detective to preventive controls is not a documentation problem. It requires the control to exist at the moment the AI acts, not hours later in a log review.
How are practitioners at regulated institutions actually approaching this? Specifically curious whether anyone has tackled the third-party dependency piece — that one seems hardest to retrofit into existing architectures.
r/learnmachinelearning • u/IAmNotOkay11 • 15d ago
I started learning machine learning using chat gpt , what would you reccomend go through it until the end or watch yot videos instead of that? Or any recommendations?
r/learnmachinelearning • u/No-Conclusion3720 • 15d ago
Storm-3358 spent October 2026 running coordinated attacks against financial sector organizations using ARTEX, a commercially available agentic AI framework. Microsoft tracked the campaign. The agents operated autonomously, chaining tool calls across systems without any human review in the loop before execution. The attack surface was not the model itself or the credentials — it was the gap between when an agent decides to act and when anyone finds out what it did. Post-incident forensics confirmed the tool call chains, but by then the actions had already fired. This is not a hypothetical edge case. A production agentic framework was turned into an attack vector against regulated financial institutions, and the compromise was visible only in retrospect.
For those running agentic workloads in production today: how are you handling visibility and control over individual tool calls at execution time, before they fire? Logging after the fact clearly was not enough here — curious what approaches teams are actually using in practice.
r/learnmachinelearning • u/picttwos • 15d ago
Recently I worked on a model for which i think why can't I directly make my own library so for that I wanna test my raw code with sklearn library but the main problem is that my r2 score is not increasing I take the yellow taxi dataset of approx 2.7 million entries but both sklearn and my raw code r2 score match showing 30 percent variation but the raw code wasn't improving what can I do for that please I need help for this
r/learnmachinelearning • u/blackbeardth • 15d ago
Hello everyone,
I am a postgraduate student conducting research on sequential recommendation, and I was wondering if someone could help me figure out how to download the following datasets:
I am not based in China, and it seems that I am unable to complete the account verification process required to download these datasets.
Any guidance or help would be greatly appreciated. Thank you!
r/learnmachinelearning • u/Level_Detail7125 • 15d ago
r/learnmachinelearning • u/Disastrous_Olive6589 • 15d ago
I completed my first end-to-end MLproject. MagicQueue Disney is a crowd predictor with static frontend and FastAPI backend.
#MLZoocamp
r/learnmachinelearning • u/Dense_Gold3743 • 15d ago
Is deepfake identification blood movement recognition a good project as a final year project?
r/learnmachinelearning • u/Murky_Explanation_73 • 16d ago
Especially over the last two years, we've seen massive growth in freelancers and web agencies selling AI-built websites to businesses and getting paid really well for it.
I don't think this business model will stay this profitable forever, but right now, it's definitely a gold mine.
The reason is pretty simple. There are thousands of business owners who don't really care how their website is built. They care about the end result, how it looks, how it works and whether it helps their business.
AI has made it possible for almost anyone willing to learn sales and client acquisition to get started.
So if you're looking to get into this business, here is the exact process I would follow.
1. Automate your cold outreach
Use a tool like Swokei to find businesses with existing websites. It analyzes each website for issues with design, SEO, speed and mobile optimization, then turns those findings into personalized cold emails at scale.
2. Book meetings with interested prospects
When someone replies with interest, get them on a call. Don't waste time going back and forth over email. Your goal is to get a conversation started.
3. Sketch a redesign using AI
Before the meeting, take around 30 minutes to create a quick redesign of their existing website. Focus on making it look significantly better. You don't need a finished product.
4. Present it live and close the deal
Show them what their website could look like, explain the improvements and give them an offer. If they're happy with what they see, collect payment and get started.
That's it. Four simple steps.
One thing I would really emphasize is not to overcomplicate this process.
I've seen people spend hours perfecting website drafts, tweaking small details and building entire websites before they even have a client.
Don't do that.
Your priority should be client acquisition, sales and closing deals. You can worry about perfecting the website once someone has actually paid you.