r/MachineLearning • • 17h ago

Discussion Best resources to learn time series analysis from scratch? [D]

16 Upvotes

Hi everyone, I'm looking for resources on time series analysis that explain the fundamentals, statistical concepts, and practical applications using Python. Any recs for books, courses, or YouTube tutorials that build a solid foundation from scratch?

Thanks in advance!


r/MachineLearning • • 19h ago

Project Can a tiny encoder catch reasoning flaws like an LLM? Distilling 23-label reasoning judgment into mmBERT-307M and BidirLM-1.7B [P]

5 Upvotes

Write-up + evaluation breakdown: https://elei.io/research/fallacy-encoder/

Live CPU playground & API (/docs): https://didistutter.dev

I trained two small bidirectional encoders — mmBERT-base (307M) and BidirLM-1.7B — to score 23 reasoning and tone flaws in a single forward pass, distilled from GPT-6.1 Sol and benchmarked against an unseen second full-size LLM (DeepSeek V4.1 Flash) as an independent referee.

Evaluation design:

- 3 frozen held-out sets (URL-grouped to avoid thread/page leakage): 501 web val (epoch selection + probability calibration), 1,000 real web test texts, and 400 exam passages across 16 published fallacy datasets.

- Primary metric: Macro Average Precision across all 23 labels.

Main empirical findings:

- BidirLM-1.7B matches/edges out the second full-size LLM on exam passages (0.743 vs. 0.721 Macro AP) and lands at 0.646 vs. 0.693 on open web text (mmBERT-307M distilled: 0.559), while staying quiet on 95% of clean ordinary comments and running in <0.5s on CPU.

- Soft-target distillation matters massively: on the same 7,673 texts, training on the teacher's 0–100 confidence scores instead of binary labels boosted mmBERT-307M by +0.068 Macro AP on web (0.386 -> 0.454) and +0.091 on exam (0.452 -> 0.543).

- Unexpected scaling wall: past 19,673 real texts, adding 12,000 mined comments or 8,208 synthetic examples failed to clearly improve Macro AP.

- Calibration note: per-flaw thresholds fitted on the 501-text val set were noisy (0.06–0.68) and did not beat a single flat cut-off (0.35) on calibrated probabilities.

Main limitation: 11 of the 23 labels have <20 positive examples in the 1,000-text web test set, so tail-class precision remains high-variance.

Curious whether others distilling multi-label LLM judges into encoders have hit a similar ~20k-example plateau, and happy to hear feedback on the eval setup or failure modes on the live demo.


r/MachineLearning • • 22h ago

Research How are teams gating continual model updates without overfitting private evals? [R]

5 Upvotes

Most ML discussion right now is focused on post-training loops, continual RL, and faster model iteration. I have been researching the step right after that: what happens when a shared model keeps getting updated over time, and downstream sites (specific hospitals, tenants, or business units) have to decide whether to accept each new checkpoint without breaking what already works.

We ran a controlled multi-site continual-update study (~100 multi-release trajectories across 4 distinct sites receiving sequential updates to a shared backbone) and ran into four failure modes that surprised us:

  1. Naive local refitting still regresses ~15% of releases. Even when a site refits its local head on its own labelled archive with cross-validated regularization, 14.6% of updates still caused a >0.02 AUC drop on unseen local cases.
  2. Operating thresholds break silently. Raw upstream updates caused 0.14 excess operating-point error relative to an oracle threshold, even when overall ranking looked acceptable.
  3. Upstream regression checks fail as downstream vetoes. Even an upstream early-step canary that detected vendor-head regressions with 0.89–0.90 AUC actually hurt net accuracy when used as a site-level veto, because the upstream check monitors the vendor head rather than the locally adapted system running at the site.
  4. Reusing a private validation panel inflates gains by 40–62%. Repeatedly gating sequential releases against the same ~440-label local holdout set overstated real unseen gains by 40% (+0.0118 reported on the panel vs. +0.0071 actual on unseen cases), and up to 62% on smaller split panels.

We also saw a subtle Day-1 onboarding trap (~6% failure rate): comparing a vendor model out-of-sample against a locally cross-validated fit on a small site archive (160–330 cases) systematically biases toward the vendor model, occasionally locking in a worse-than-random start (0.47 vs. 0.66 AUC).

For people running continually updated models in production (medical, security/SOC, fraud, multi-tenant enterprise, robotics):

  • How are you actually deciding when to promote vs. reject a new checkpoint per site or customer?
  • Do teams just freeze working models and avoid frequent updates, pay for fresh human labels every cycle, or accept some eval overfitting?
  • Are there open tools, papers, or real production patterns tackling this Day-2 release-gating layer well today, or is it mostly custom glue and shadow A/B tests?

Genuinely trying to understand where the field stands on this problem and whether it is a real bottleneck in practice or still mostly a research concern.


r/MachineLearning • • 10h ago

Research Interested about self supervised learning for audio data [R]

2 Upvotes

I’ve spent about 2 decades in fiber sensing (distributed acoustic sensing) and applying it to almost every possible domain. I’ve been trying to develop a 2 stream approach of solving the industry’s biggest shortcomings and the biggest problem the industry will never talk about by - figuring out if I can build mathematical context around this terabyte level unstructured data.

I’m no ML engineer. I’m an electronics engineer who got into signal processing out of need and became a commercial operator out of course of life.

This problem has haunted me for years and I’m trying to do something about it now. Would love some experts and people who’ve done something in this field to collab.


r/MachineLearning • • 14h ago

Research Looking for people interested in Mamba/SSM research [R]

0 Upvotes

Hey everyone, I'm a final-year CSE student interested in state-space models, particularly Mamba, mechanistic interpretability, and Earth observation.

I'm trying to build a small independent research group called ALMI Lab. Currently, it's just me, haha.

Some directions I'd like to explore are memory and forgetting in SSMs, spatiotemporal modelling for remote sensing, and SSM–LLM integration.

The idea is to start with small research problems, conduct experiments, share code openly and eventually work towards publications.

Anyone working on similar problems or interested in collaborating? Would love to discuss ideas and learn what others are exploring.