r/MachineLearning • • 11d ago

Discussion AISTATS 2027 paper discussion [D]

51 Upvotes

Creating this post since the reviews are supposed to go live today. What do you guys think?


r/MachineLearning • • 25d ago

Discussion [D] Self-Promotion Thread

8 Upvotes

Please post your personal projects, startups, product placements, collaboration needs, blogs etc.

Please mention the payment and pricing requirements for products and services.

Please do not post link shorteners, link aggregator websites , or auto-subscribe links.

--

Any abuse of trust will lead to bans.

Encourage others who create new posts for questions to post here instead!

Thread will stay alive until next one so keep posting after the date in the title.

--

Meta: This is an experiment. If the community doesnt like this, we will cancel it. This is to encourage those in the community to promote their work by not spamming the main threads.


r/MachineLearning • • 7h ago

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

13 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 • • 3h ago

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

2 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.


r/MachineLearning • • 17h ago

Discussion What models/harness do you use for ML/RL research and experimentation? [D]

25 Upvotes

I have been using Claude Code for a while now, but it seems it's going to be unsuitable for my current project. I am planning on doing some RL experiments using transformers for a complex N player game with large action/decision space and long term horizons.

Anthropic makes it clear that Claude will sandbag on frontier LLM research, but there are lots of reports on X, Reddit and Hacker News that it's sandbagging and actively sabotaging *regular* ML and RL work. I fear that the techniques I've got planned will definitely trigger some of Anthropic's protections (and Code doesn't make this obvious).

Is anyone having good luck with OpenAI/Codex and the Google Gemini 4 offerings for RL model training? How do DeepSeek 4.1 Flash 1017 and the GLM family models fare in this setting?


r/MachineLearning • • 8h 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]

4 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 • • 4h ago

Project Robot Can Now Upgrade Themselves [P]

0 Upvotes

Found an interesting paper:

An embodied agent built on a language model goes to work with the weights it was given andkeeps them for life. To get better, it needs more training, or reflection, memory, search orprompts that cost every step and are lost when the task changes. Editing weights by reasoning,weight-space programming, could end this, but has stayed with models that only reason or reliedon a far larger commercial model. We introduce the self-upgrading embodied agent, to ourknowledge the first that learns from its own experience by upgrading its own weights on the job,between its tasks, with no training, no gradient, no reward model, no second model, no test-timescaling and no harness or prompt engineering. By day a 27B agent works in a householdenvironment. At night it reads its record, finds many of its steps wasted on replies that reach thetoken limit before any action, traces the habit to one direction in its hidden states, and rewritesone tensor of its weights. An agent that rewrites itself must first never break itself, so it is its ownexaminer: it tests every change against its unchanged self on practice tasks and keeps only whatholds. When an edit holds, the next day it is a better agent, at the same cost per step: overthousands of held-out episodes, 48 fresh seeds a task, its one kept edit makes it completesignificantly more tasks, in fewer steps, with fewer wasted and fewer tokens. This self-improvement is multi-round, stable and continual: through the nights that follow, the upgradeholds, without collapse. Of four sizes of its family, only the 27B agent does this. From here on, anembodied agent need not keep training and inference apart: as it works, it gathers its ownexperience and upgrades itself, with no separate pre-training or post-training and no humanintervention.

Paper: https://arxiv.org/abs/2611.31117

Project page: https://www.jiajunfan.com/projects/self-upgrading/


r/MachineLearning • • 12h ago

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

4 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 • • 1d ago

Discussion Do we really need LLM ACs at ICLR? [D]

54 Upvotes

I am a bit salty. Since the end of the review phase, two ACs sent messages to start a discussion. Both messages summarized the status, asked individual reviewers to take positions/do work, and both were 100% AI generated. Of course these summaries included factual errors.

So now we have LLM papers being reviewed by LLM reviewers, discussed by LLM agents and moderated by LLM ACs. Is it LLMs all the way down?

Where exactly does this involve scientific integrity? What are we even doing here? Don't get me wrong, I understand AC is a lot of work and now with extended length LLM discussions it is borderline impossible to follow the status of a paper, let alone 10. I am painfully aware. But the solution cannot be to outsource the moderation activity to LLMs and let the few remaining human reviewers also correct the wrong AC summary.


r/MachineLearning • • 1d ago

Research What a looped transformer actually does inside its loop [R]

31 Upvotes

Hey everyone — with looped transformers showing up in Inkling 2 Mini, varloop, and Z.ai's GLM-5.4 this week, I put together an in-depth visual post on how they actually work under the hood, with interactive diagrams, a minimal PyTorch implementation comparing Inkling's restart-and-message loop vs. GLM-5.4's chain-and-write-gate loop, and experiments opening up the two 26.4B open-weight models pass by pass.

Full post: https://drhb.github.io/blog/posts/looped-transformers/


r/MachineLearning • • 22h ago

Project envscan: static checks for reward hacks in RL environments [P]

5 Upvotes

We just open sourced envscan, a static scanner we built while auditing 90 public RL environments by hand.

It reads an environment's source, never runs it, and flags places where a policy could earn reward without doing the task: graders running in the agent's sandbox, answer keys the agent can read, substring checks that a list of every option passes. When it says "likely", it was right 35 of 36 times on the envs we audited by hand, and it finds about two thirds of what a person found.

Try it: pip install git+https://github.com/ALLENDE123X/envscan, then envscan owner/name

Writeup with every number: https://aginno.dev/blog/we-tried-to-pass-90-rl-environments/

I'd love to hear what you think: what it misses, what it flags that it shouldn't, and what environment formats it should read next.

https://github.com/ALLENDE123X/envscan


r/MachineLearning • • 1d ago

Project TontaubeV1.1 Flash, an open-source, LLM-based TTS model that runs in real time in your browser on CPU [P]

4 Upvotes

We just released TontaubeV1.1 Flash, an open-source TTS model (Apache-2.0) that achieves ~10ms TTFA streaming on consumer GPUs and runs realtime in your browser on CPU (and on some phones!). It is a single-speaker model we distilled from our bigger V1.1 model.

Links

Model Overview

  • A 0.6B model with a Qwen3-0.6B backbone that speaks through our own single-voice codec on top of the VibeVoice decoder. With 4-bit weights it is a download of about 700 MB.
  • One English voice, Marcus. No voice cloning and no style controls.
  • Weights and code are Apache 2.0.
  • It runs on an NVIDIA GPU, on a plain CPU (Linux, Windows, macOS on Apple silicon) and inside Chrome without any server.

How it works

The model speaks through our own codec, an autoencoder built for only this one voice. It packs each frame of VibeVoice latents into just 16 values (through an autoencoder we trained on a single voice), at 7.5 frames per second of speech. The backbone reads the text character by character and predicts those 16 values one frame at a time with a small sampling head (several flow-matching steps). The codec's decoder expands them back into VibeVoice latents, the VibeVoice decoder turns those into 24 kHz audio, and an upsampler raises it to 48 kHz. Additionally, a small detector listens to the audio while it streams. When it detects an artifact, the engine goes back a frame and draws those frames again before they are played (can be disabled for a small increase in generation speed).

Numbers

Where it runsHardwareSpeedTime to first audio
GPU engineRTX 3090about 25-30x real time per stream, over 100x across many streams at onceabout 10 ms
CPU enginedesktop or server CPUabout 2-4x real timeabout 60-150 ms
Chrome on a desktopCPU onlyabout 1.3-2x real timeunder a second
Chrome on a desktopwith the graphics card (WebGPU)about 3-6x real timeabout 0.1-0.2 s

Output is 48 kHz by default. Switching to 24 kHz makes everything faster.

How to try it

The easiest way is the browser demo linked above. It downloads the model once and then runs on your own machine. Nothing you type leaves the browser. Running through WebAssembly costs some performance, so if you hit buffering issues, try the native CPU server through the repo. It comes with a local web UI (uv run tontaube ui, then open http://127.0.0.1:3000).

To run it locally:

git clone https://github.com/craitech/tontaube.git
cd tontaube
uv run python flash/speak.py "Welcome to Tontaube Flash." --wav flash.wav               # NVIDIA GPU
uv run python flash/speak.py --device cpu "Welcome to Tontaube Flash." --wav flash.wav  # CPU
uv run tontaube serve --model flash                                                      # server

The server also answers OpenAI's text-to-speech API at /v1/audio/speech, so tools built for that API work with it unchanged.

Limitations

  • English only, with one voice and no cloning.
  • It is autoregressive, so it can occasionally skip, repeat or mispronounce a word.
  • The browser version needs about 1.2 GB of memory. On an Android phone it reaches about real time for short texts. iPhones may run into issues in the browser.
  • On Linux, Chrome only gives web pages the graphics card after you enable two settings in chrome://flags. Without them it only runs on the CPU.
  • The GPU engine is Linux only for now. On Windows and macOS it runs on the CPU.

A native engine for phones is in development.

Please let me know if you run into any issues. We weren't able to test all possible platforms, so this helps us fix the things we couldn't test ourselves :)


r/MachineLearning • • 1d ago

Research Which token logits rise or fall after a small parameter change? Testing DV-Lens [R]

4 Upvotes

I'm a co-author of DV-Lens. We wanted to test a prediction you can make from a weight matrix: if you perturb a particular parameter direction, which tokens should become more likely on the next step?

We estimate how the output logits respond to changes in each attention or feed-forward module on a reference set of prompts. That gives each parameter column a signed score for every token. We then apply a small perturbation and compare the predicted signs with the changes we actually measure.

Across 720 test cases from nine models, the signs agreed on 98.0% of vocabulary coordinates on average. Predicting the exact top movers was harder. For attention keys, for example, only about 21% of the tokens in the predicted top and bottom 32 also appeared in the corresponding measured sets. I'd be interested in how other people evaluate lenses when the sign is right but the ranking shifts.

Paper and per-module results, Table 2


r/MachineLearning • • 1d ago

Research Structure-first AI execution: Can we determine whether inference is necessary before invoking an LLM? [R]

6 Upvotes

We recently published our research on KORA, an architecture that prioritizes structured execution before model inference.

While much of AI research focuses on improving model capabilities and inference efficiency, we explore a different question: Can unnecessary inference be avoided at the architectural level?

In our controlled 100-task benchmark, KORA avoided 80% of simulated model calls with zero mismatches on deterministic tasks.

These results are limited to the evaluated benchmark and should not be interpreted as production-level cost savings.

We are particularly interested in feedback on:

  • Task classification before inference
  • Deterministic execution versus probabilistic inference
  • Evaluation methodology and benchmark design
  • Generalization to real-world workloads

The paper, implementation, and reproducible benchmarks are publicly available.

Paper: https://arxiv.org/abs/2610.35869

GitHub: https://github.com/Krako-Labs/KORA

Krako Labs: https://krako.xyz

Disclosure: I'm one of the authors and a founder of Krako Labs.


r/MachineLearning • • 2d ago

Research Research agents set 50 packing problem records [R]

Post image
68 Upvotes

We told a research agent to work on any problem it wanted.

4 days later it had beaten 50 records on packing problems. The current leaderboard can be found here (our results are pending verification from the maintainers).

Our agent spawned 64 sub-agents in total. It approached 2D and 3D packing problems, including circles in triangles, tans in squares, and cubes in cubes. One of them: 376 unit cubes in a cube of side 7 + 1/√2 where the best known was 373.

The full project, including prompts, traces, artifacts, and code is available now: https://openresearch.sh/p/xZeKt3JQPpB7


r/MachineLearning • • 1d ago

Project NInfer RTX 4090 – Native CUDA LLM inference on Windows, up to 326 tok/s with Qwen 27B and DFlash2 in short benchmarks [R]

1 Upvotes

Hey everyone,

I've been working on an independently maintained version of NInfer-all, specifically optimized for the RTX 4090 and its SM89 architecture.

The goal is to get as much performance as possible out of a single 24GB GPU while running larger local models, especially for coding and long-context workloads.

I've just released v0.1.4 as a stable, GPU-tested Windows build.

Features:

  • Native C++/CUDA 13.4 inference
  • RTX 4090 / SM89 optimizations
  • DFlash2 and MTP speculative decoding
  • Qwen3.8 27B and Ternary Bonsai 2.5 support
  • Quantized KV cache (rk4v4, rk8v4, etc.)
  • Hybrid prefix caching
  • OpenAI- and Anthropic-compatible APIs
  • Portable Windows binaries
  • Apache 2.0 license

Recent RTX 4090 benchmarks:

Model / BackendDecode
Qwen 27B IQ3_S – No speculation70.38 tok/s
Qwen 27B – MTP K5242.59 tok/s
Qwen 27B – DFlash2 K5257.13 tok/s
Qwen 27B – DFlash2 K7326.41 tok/s
Qwen 27B – DFlash2 K9269.33 tok/s
Bonsai 2.5 PTQ1_0 – MTP K3291.69 tok/s
Bonsai 2.5 PQ2_0 – MTP K3323.88 tok/s

These are short synthetic engine benchmarks with 2048 prompt tokens and 128 timed decode tokens, not guaranteed real-world serving speeds. The methodology and measurement data are publicly available.

I've also built a project website with an interactive VRAM calculator, launch command generator, model downloads, installation guides and benchmark results.

GitHub: https://github.com/spk-c/ninfer-all-rtx4090

Project website: https://spk-c.github.io/ninfer-all-rtx4090/

Benchmarks: https://spk-c.github.io/ninfer-all-rtx4090/benchmarks.html

VRAM calculator: https://spk-c.github.io/ninfer-all-rtx4090/configurator.html

Credit to the original NInfer and NInfer-all developers. This project builds on their work.

I'd love to hear feedback from other RTX 4090 owners, especially people running local coding agents with 64K–192K contexts.

If you try it, please share your results, even if they're worse than expected. I'm interested in finding bottlenecks and improving the engine further.


r/MachineLearning • • 1d ago

Project Time Series Lag Problems [P]

Thumbnail
gallery
1 Upvotes

Hi everyone, I'm having an issue with lags on time series models predicting U.S. housing prices (FHFA HPI as the target) and I can't figure out where they're coming from (I'm no expert by any means). I've hand-built simpler models, but I'm using Claude Code for this project because it's larger. I've collected over 600 features: global, national (40 countries), and metro (393 U.S. metros). The attached table shows the different models we've tried - starting simple'ish and moving to building our own hierarchical transformer. The problem (the attached charts show an example) is that all the forecasts significantly lag the actual observations - ON ALL THE DIFFERENT MODELS by roughly the same amount. A 1-year forecast lags actuals by about 4-5 quarters. A 2-year forecast lags actuals by about 8-9 quarters. Same with 3- and 5-year (charts attached). On all runs. So the lag is pretty much the exact forecast horizon. I've experienced late calls on turns before, but nothing so consistent across all model types. So I'm pretty sure I'm doing something wrong, but don't know what. Any ideas or help would be appreciated.


r/MachineLearning • • 2d ago

Research Letting each attention head choose which earlier heads it reads from, per token (LoomFormer) [R]

Thumbnail
gallery
34 Upvotes

In a Transformer, a head chooses which tokens to attend to, but which earlier heads it reads from is fixed by the weights once training is done. When two circuits share heads, the only thing the model can do per token is switch a whole head off, usually by parking its attention on a sink token.

We tried making that second choice per token too. Each token carries a small matrix next to the residual stream (2n slots, each as wide as one head). Heads write their outputs into slots, later heads read from slots, and the read/write addresses are computed from the residual stream at every token. The q, k and v of ordinary attention are then read from this matrix instead of from the residual stream. This vertical attention (warp) is interwoven with the conventional horizontal attention (weft), and the wiring pattern is controlled by the residual stream, working just like a drawloom.

Trained on the same 300B Pile tokens as Pythia with the same parameter budget, the 2.8B model ends up level with Pythia-12B on a 10-task average: 59.9 vs 59.9 zero-shot, 61.6 vs 60.8 five-shot, also significantly outperforms mHC. In layers 17-32 of Pythia-2.8B only 23% of heads are attending to something other than a sink token; in ours it is 74%.

The cost: FLOPs go up by 2-4%, but wall-clock is 8-16% slower than a plain Transformer even with fused kernels, because of memory traffic on the matrix and many small projections. The largest model we trained is 2.8B.

The paper is "Rewirable Circuits in Transformers with Loom Attention", arXiv 2611.30634. Code and the 2.8B weights are public.

Static residual (Transformer) -> static dense (Denseformer) -> dynamic dense (HC/mHC, AttnRes) -> dynamic dense per QKV input (our MUDDFormer) -> dynamic dense per head (our LoomFormer). Can we advance further along the residual enhancement axis? How far away are we from the ultimate architecture?


r/MachineLearning • • 2d ago

Project Fintan-9B: an open model that keeps learning after release (facts, skills, code, procedures), with results against LoRA and LoRA with replay[P]

4 Upvotes

I've released Fintan-9B (Qwen3.5-9B base, Apache-2.0), a model that keeps learning after release on the user's own GPU. It learns documents, user-named topics, codebases, skills, facts about a person, and how a job is done through a job loop that asks before acting. I'm not publishing the method yet, but I am publishing every result, including failures, and I'd value scrutiny of the evaluation.

Release check (the repo as downloaded, one 24 GB card, development run):

- 84 questions about newly taught material, worded in ways never seen in training: 6.0% (base) to 94.0%, and 96.4% on a second run

- Questions about a person: 0 of 5 to 5 of 5

- Two taught skills, on unseen requests: followed 1 of 8 to 8 of 8 (judged by the base model)

- Job loop, 5 tasks with approval before each action: 5 right, 0 sent wrong

- One learning run: 23 minutes, 9.4 GB peak

- MMLU 78.2 / GSM8K 82.5 / ARC 93.3, identical before and after

- Ships with one week of news learned: 5.8% to 89.5% on 172 questions

Against fine-tuning (research runs on smaller models; pass marks written down before each sealed run):

- One sealed day of news, same model and questions: fine-tuning on the articles 13 to 16%, Fintan 91%

- Four days of news in a row (Olmo 3), end of day four: Fintan 91.9%, LoRA with replay 84.9%, plain LoRA 70.9%. Day-one questions after all four days: 87.1 / 80.6 / 48.4. Both LoRA versions were trained on the same material.

- Same run: Fintan's MMLU (61.4) and maths (85.2) exactly the base model's; both LoRA versions moved them, and plain LoRA's maths ranged from 2.0% to 90.0% depending only on answer style. Training time over four days: 21 minutes against 32 for replay.

- TempLAMA, eleven years of changing facts (7B): 86.5% averaged, against 30.6% for LoRA with replay

- ZsRE: after 1,000 new facts, 99.4% of predicted words for unrelated questions unchanged

- SQuAD knowledge incorporation, single passage: 56.0% with nothing in the prompt, against published SEAL 47.0%, SLEEP 48.9%, PaST 56.9%. Caveat: we judged with Qwen2.5-14B-Instruct; they report GPT-4.1. Notes in the prompt still beat us there (73.6%).

Other sealed results:

- 40 documents: 11.7% to 98.0%

- A user-named topic: 16.1% to 91.1% on 608 held-out questions, with 1.8% wrong

- Each person's own facts, 12 people: 93.8% recall, general questions unchanged

- Learning how a job is done in two simulated workplaces: 30.6% to 80.6% of new tasks right

- Answering "I don't know" on unfamiliar facts cut wrong answers from 70.7% to 11.3%

Failures:

- Learning a job on realistic workplaces failed 4 of 5 marks: 50.4% right with asking, 30.1% against 25.7% for the base without asking, and 22.1% of tasks went through wrong without being flagged.

- Teaching only facts the model didn't already know damaged the skipped facts (87.5% to 50.0%).

- Law, by practising questions, went down (53.0% to 46.2%).

- No reasoning gain on MATH-500, GSM8K or MMLU-Pro; we don't claim one.

Next: a standard continual-learning benchmark (TemporalWiki / StreamingQA style) with stronger baselines than LoRA, which I promised on Reddit earlier this month.

Model and RESULTS.md: https://huggingface.co/fintanlabs/Fintan-9B

Research write-ups: fintanlabs.com/research


r/MachineLearning • • 2d ago

Research Lazy Agents Answer Against Their Own Beliefs: Reinforcement Learning with Verifiable Beliefs Teaches Them to Act on What They Believe [R]

7 Upvotes

Sharing RLVB from our team at DeCLaRe Lab, a way to give evidence-seeking agents a reward at every turn, computed from the exact posterior instead of a learned reward model.

The problem we started from: VLM agents often answer while their own belief still lists several possible answers. An end-of-episode reward can't show which step was the mistake, and it still pays for a lucky guess. In many hidden-information tasks, though, the simulator knows the rules linking the hidden answer to the evidence, so it can compute the exact posterior after every step.

A few details about the setup:

  • Before each action, the agent writes a belief line (the answers it still thinks are possible), and the update trains this line together with the action.
  • Each action is scored against a teacher that acts on the exact posterior: another step is right while several answers remain, and answering is right once the evidence identifies one.
  • No judge, no critic, no reward model. The reward comes only from the simulator's rules.
  • Training uses one task suite only. Two of the three test benchmarks (RoboQuest and Pro-Worlds) are never seen in training.

On Qwen3-VL-4B, Qwen3-VL-8B and Qwen3.5-4B across 3 benchmarks, RLVB improves on the base model in all 9 settings (+17.1 points on average with GRPO as the learner, +10.4 with EM). GRPO and PPO with the outcome reward lose accuracy on average. The rate of committing while the belief still names several answers drops from 3–68% to 0.1–2.2%.

The exact posterior is only needed for training, on closed worlds where the simulator knows the rules. At test time no posterior is needed: the trained agent transfers to benchmarks it never saw in training, including RoboQuest's open-ended robot tasks.

Paper · Code · Website

One question we would like other views on: when the exact posterior isnt available, what would you use as the signal that the agent has seen enough to commit?


r/MachineLearning • • 2d ago

Research ICLR ATLAS, Paper graph, and assist [D]

11 Upvotes

Sharing ICLR 2027 Atlas, a free static site for searching all ICLR 2027 submissions by meaning. With ~33.6k active papers this year, scrolling OpenReview is a slow way to find the ones relevant to your work.

**Site:** https://optimizer077.github.io/iclr2027-atlas-site/

**Code + data:** https://github.com/Optimizer077/iclr2027-atlas-site

**What it does**

- **Semantic search in your browser.** Describe an idea ("speculative decoding when the draft model disagrees with the verifier") and get papers about it, even if they use different words. It runs EmbeddingGemma on your own device (WebGPU, ~40 ms per query after a one-time ~330 MB model download), fused with keyword search. Plain keyword search works instantly without any download.

- **All 42,789 records** with their preliminary review scores (mean, individual ratings, spread, sub-scores), sorted by score. Withdrawn and desk-rejected papers are included but not ranked.

- **24 research areas / 126 sub-topics**, an embedding map of the whole venue, and a graph of each paper's nearest neighbours.

- **Short AI-written fact sheets for the top 15,000 papers** (problem, method, key idea, evidence, claimed gains, what reviewers agreed on, main concern), plus a brief for each area.

- **Ask Gemma:** an optional Gemma 4 E2B model that runs locally (WebGPU, ~2 GB download, only after you confirm) and answers questions using the retrieved papers, citing paper numbers.

- **Reading lists** saved in your browser, with Markdown/CSV export.

**How good is the search?** The search was tuned and checked on a small benchmark: 80 researcher-style queries, ~2.5k blind-graded results, tuned on half and reported on the other half. Per-engine numbers are on the "How it works" page. Short version: the in-browser semantic + keyword hybrid beats keyword-only, and the best configuration finds the target paper in the top 10 for the large majority of "describe the idea without its title" queries. Single grader, modest query set, so treat it as indicative.

**Caveats, please read**

- Scores are **preliminary** reviewer ratings (1–4 scale) from public OpenReview pages, snapshotted mid-discussion. They will change.

- The site shows scores only. It does **not** predict acceptance.

- Fact sheets and briefs are generated by LLMs from abstracts and public reviews. They were schema-checked and spot-audited, but they can be wrong. Check the paper before citing.

- Review text is not redistributed; only scores and short digests.

- Not affiliated with ICLR or OpenReview.

The site is fully static on GitHub Pages: no backend, no tracking, and the models load from Hugging Face into your browser. Feedback is welcome in the comments or as GitHub issues, especially queries where search fails, wrong categories, or features that would help with triaging a big conference.


r/MachineLearning • • 2d ago

Project My adventures in building a sub-quadratic LM on a 9070XT: why sparse "memory hops" beat putting recurrent memory in every layer [P]

1 Upvotes

AI Disclosure: LLM tools and coding agents (Opencode) were used to assist with PyTorch implementation boilerplate, running automated benchmark sweeps, and structuring this writeup. All architectural hypotheses, experimental ablations, causality/parity audits, and reported metrics were designed and verified by me.

Over the last few months, I’ve been experimenting on my RX 9070XT to see how far you can push a sub-quadratic language modelling when you cleanly separate local token mixing, static FFN capacity, and global content-based memory.

I didn't set out to build a sparse-hop architecture, but was backed into it after a string of dead ends:

  1. Multi-scale dilated convolutions weren't enough for retrieval: I originally tried using multi-scale dilated convolutions (inspired by wavelets/multi-scale feature extraction) with learned scale routing to handle long-range context. On synthetic associative-recall tests, it hovered right around the random-guessing floor (~51%). Which gave the unfortunate result of Fixed-stride filters simply can't do content-based lookup when the target sits at an arbitrary past offset.
  2. Adding Gated Delta fixed retrieval, so I dropped the multi-scale convs: Adding a chunkwise-parallel Gated Delta state (L2-normalized queries/keys, per-head decay and write gates, blocked WY triangular solve) which solved associative recall immediately.
  3. Replacing Mult-scale dilated convs with a single depthwise causal conv: Ablations showed the multi-scale conv branches weren't pulling their weight and replacing them with a simple causal k=4 depthwise conv and moving the parameter savings into wider SwiGLU layers improved perplexity by ~5% and trained 1.6× faster.
  4. Where the memory sits mattered more: At 25M parameters (d=384, 6 blocks), my first prototype ran a single 3×128 Delta module as a parallel bypass reading from token embeddings and adding its output after Block 6. It extrapolated smoothly to 4,096 tokens, but trailed a parameter-matched RoPE Transformer by ~2.5 PPL at native T=1024 (26.38 vs 23.93). Moving that exact same 3×128 module inside the stack after Block 3 (B3), so earlier blocks contextualize keys/queries and later blocks process retrieved values (or atleast thats what I think is happening), dropped native PPL from 26.38 to 23.85 with zero extra cache (0.217 MiB).
  5. Putting Delta in every layer actually hurt: Next, I tested placing a 3×128 Delta module in all 6 blocks (which narrowed SwiGLU layers). Native PPL degraded to 26.76 while training almost 2× slower. Giving a few well-spaced global "memory hops" (B2+B4) plenty of SwiGLU capacity beat dense recurrent layers across every length.

Parameter-Matched Results (25M, WikiText-103, 100M Targets)

All models share the exact same ~21.46M non-embedding parameter budget (d=384, T=1024 native training, BF16 + torch.compile). One thing I ran into during eval was, raw RoPE blew up to 96.24 PPL at 4096 tokens, which initially looked like a huge extrapolation win; until I evaluated that same RoPE checkpoint with zero-shot YaRN, which brought it down to 23.27. Even against YaRN, the 2-hop B2+B4 model held a slight edge across all three context lengths while decoding ~6× faster with a constant 0.407 MiB cache.

Model (~21.46M backbone)Delta HopsPPL u/1024 (s42 / s1337 / mean)PPL u/2048 (mean)PPL u/4096 (mean)Train tok/sDecode ms/tok u/4096Cache MiB
RoPE Transformer (+ eval YaRN)023.93 / 24.32 / 24.1223.3423.27190,39110.953146.250
In-Stack Sparse Delta (B3)123.85 / 24.52 / 24.1923.5423.20178,1481.4710.217
In-Stack Sparse Delta (B2+B4)223.66 / 24.25 / 23.9623.3022.94147,8101.7810.407
Dense Delta (B1–B6, s42 only)626.76 / — / 26.7625.9525.5093,8843.5581.169

Caveats & What's Next

  • Scale & data: Everything above is at 25M parameters on WikiText-103 (100M targets), and the dense 6-hop control was only run on a single seed. (I neither have the GPU budget to go above 125M nor the monetary budget to rent a GPU for testing higher scales).
  • Verification: Every checkpoint passed a strict FP64 suffix-causality audit (0.0 leakage from future tokens) and step-by-step cached-decode parity checks.
  • Next step: I just cleaned up the codebase into a standalone pure-PyTorch repo (sparse-delta-lm) with 125M presets (1:3 sparse-hop ratio, 4 hops across 12 blocks) and lm-evaluation-harness hooks to see if this holds up on FineWeb-Edu (2.5B tokens) and standard zero-shot tasks (PIQA, HellaSwag, ARC-Easy, WinoGrande, LAMBADA).

Repo: https://github.com/SnappierSoap318/sparse-delta-lm

If anyone has tried similar sparse recurrent/linear-attention interleaving at larger scales—or sees flaws in how I parameter-matched the SwiGLU width trade-off—I’d love to hear your thoughts.


r/MachineLearning • • 2d ago

Discussion How was the review process for visapp affected by AI in the last years? [D]

0 Upvotes

Hello,

Since most of the discussion is always based on the top conferences around here ( and rightfully so, it's understandable), I have to ask about VISAPP.

For the people who submitted there, how was your experience? Did you feel like reviewers were using AI? Did you get non sensical weaknesses like in bigger conferences? Or where the reviews more fair and less noisy?


r/MachineLearning • • 2d ago

Discussion Open-source GPU dashboard for training runs: true SM/Tensor Core usage, bottleneck diagnosis, "job finished" and "VRAM held idle" alerts [P]

4 Upvotes

GPU Pulse is an MIT-licensed GPU monitor built for watching training runs. It ships as two tools that share the same rules and history format: a VS Code extension (it runs on the GPU machine over Remote-SSH and WSL, so it monitors the server, not your laptop) and a terminal dashboard (`gpu-pulse`) for SSH and tmux.

Repo: https://github.com/Optimizer077/gpu-pulse

Why another GPU monitor? `nvidia-smi`'s "GPU utilization" is the share of time that at least one kernel was running. A small kernel keeping one SM busy reads 100% while most of the chip sits idle. Where the driver exposes NVML's GPM counters, GPU Pulse shows SM activity, SM occupancy, Tensor Core activity and DRAM bandwidth, and flags cases like "util 95% but SM 15%".

What it does

- Bottleneck diagnosis. It reads the last 3 minutes of samples and names the likely limit, with evidence and a suggested fix: input-bound (gaps between steps, so more DataLoader workers or pin_memory), CPU-bound (including a single pegged core), disk- or network-bound, memory-bandwidth-bound, power- or thermal-capped, low SM parallelism, or VRAM held by an idle process. There's also a 0–100 efficiency score for the last hour.

- Alerts: job finished (with duration and average utilization), VRAM held while the GPU idles for 15 min (the forgotten notebook kernel), running hot, VRAM nearly full. They work as VS Code notifications or headless via `gpu-pulse log --alerts`.

- Usage history: 5 min / 30 min / 1 h / 24 h averages, a per-minute 24-hour heatmap, auto-detected training sessions with energy used (Wh), and CSV export. A background logger records even when no dashboard is open.

- Multi-GPU: every GPU at once, plus cross-GPU checks for a likely straggler, uneven VRAM, one GPU throttling alone, or a card on a narrower PCIe link.

- Architecture card: compute capability, SM count, Tensor Core generation, memory bandwidth, FP32 TFLOPS, PCIe link.

Overhead (measured on one Windows machine, as a share of one CPU core): the VS Code extension uses ~0.2–0.6% at 500 ms sampling. The terminal dashboard uses ~5% on the animated Overview tab and ~0.5–1% on the others; `--fps 0` turns animation off.

Try it. The demo needs no GPU:

pip install "git+https://github.com/Optimizer077/gpu-pulse.git#subdirectory=pip"

gpu-pulse --demo # simulated training load

gpu-pulse --demo --demo-gpus 4 # multi-GPU view with a simulated straggler

gpu-pulse # your real GPU

gpu-pulse status # one-shot snapshot, handy over SSH

The VS Code extension is a `.vsix` on the Releases page (`code --install-extension gpu-pulse-0.3.0.vsix`). It isn't on PyPI or the VS Code Marketplace yet.

Platforms

- NVIDIA on Windows and Linux: full support. The true-usage panels need NVML GPM support (recent GPUs and drivers; tested on an RTX 50-series card). Older cards fall back to plain utilization, and the dashboard says which one it is using.

- AMD on Linux: utilization, VRAM, power and temperature via sysfs, best effort.

- Apple Silicon: GPU utilization and shared memory via `ioreg`, no sudo. Beta (v0.4.0-beta.1).

- No telemetry and no network calls. History stays on your machine.

Known limits: Windows (WDDM) doesn't report per-process VRAM. The diagnosis rules are heuristics, so treat a verdict as a starting point for profiling, not a replacement for Nsight or the PyTorch profiler.

Feedback is welcome, especially verdicts that are wrong on your workloads, and GPUs where the GPM counters do or don't show up.