r/MachineLearning • • 3d ago

Discussion [D] Self-Promotion Thread

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

Discussion [D] Monthly Who's Hiring and Who wants to be Hired?

4 Upvotes

For Job Postings please use this template

Hiring: [Location], Salary:[], [Remote | Relocation], [Full Time | Contract | Part Time] and [Brief overview, what you're looking for]

For Those looking for jobs please use this template

Want to be Hired: [Location], Salary Expectation:[], [Remote | Relocation], [Full Time | Contract | Part Time] Resume: [Link to resume] and [Brief overview, what you're looking for]

Please remember that this community is geared towards those with experience.


r/MachineLearning • • 2h ago

Discussion [D] If we cannot reproduce ML papers, shouldn't we at least verify their results?

Thumbnail
arxiv.org
29 Upvotes

Paper (NeurIPS Position Track 2026): https://arxiv.org/abs/2609.35854

Reproducibility has been discussed in the ML community for years, yet the situation does not seem to be improving. Actually getting worse with the GenAI.

In this recent NeurIPS 2026 position paper, the authors analyzed over 55,000 accepted papers across CVPR, ICCV, ICLR, ICML, and NeurIPS between 2021 and 2025. Some interesting findings:

  • Code availability has started to decline across all five conferences.
  • Papers with publicly available code receive more than twice as many citations on average.
  • Even when code is available, reproducing the reported results is far from guaranteed.

While full reproducibility should remain the ultimate goal, they argue that conferences should at least introduce two practical verification steps during peer review:

  • Log verification: Checking training and inference logs for consistency with the reported experiments.
  • Metric verification: Providing raw model predictions and evaluation scripts so that reviewers can independently recompute the reported metrics without retraining or running the models.

Neither mechanism guarantees reproducibility or completely prevents fraud, but both could improve confidence in empirical results at a relatively low cost.

I'm curious to hear the community's perspective:

  • Should experiment logs and raw predictions become standard submission requirements for empirical papers?
  • Would you be willing to perform such lightweight verification as a reviewer?
  • What would be a realistic minimum standard for trusting empirical results in ML papers?

r/MachineLearning • • 12h ago

Discussion Final-year ML PhD with 5 first-author A* papers but no industry experience. How would you proceed? [D]

74 Upvotes

I started my PhD in 2023 in Europe and became somewhat obsessed with research and publishing. I now have five first-author papers at venues like ICML, NeurIPS and ICLR, and would consider myself an expert in my research area.
Unfortunately, my research area is quite niche and has limited industry demand. Somewhere along the way, I completely neglected industry experience and never did an internship, which I deeply regret now.
I have around 6–7 months left in my PhD, and I’ve been getting rejected from various industry positions. I’m starting to question whether I prioritized the wrong things throughout my PhD.
If you were in my position, what would you do?
I’d particularly appreciate advice from people who transitioned from an academic ML PhD into industry.


r/MachineLearning • • 5h ago

Project Cosmo: a 50M-parameter world-action model (diffusion transformer) that imagines future frames and controls a real robot arm [P]

Post image
8 Upvotes

I've been working on Cosmo, a small world-action model trained from scratch on a single GPU. One diffusion transformer jointly predicts the next camera frames, the robot's next joint states and the next actions. Because frames and actions get separate noise levels in training, the same network works as a world model (given actions, imagine the frames), a policy (given frames, choose actions), or both together.

Demo (SO-101 arm, wrist camera only, live view next to the model's prediction): https://youtube.com/shorts/MV59WmabutI

Some details:

  • ~50M-parameter DiT on top of a convolutional VAE, v-prediction, adaLN-Zero conditioning
  • Pretrained on 12.6k public SO-100/101 episodes from the LeRobot community, fine-tuned on 91 of my own cube-stacking demos, with frozen DINOv2 features of the current frame
  • 81.4% success across 36 LIBERO simulation tasks with a single model
  • On the real arm it stacks a cube in about half of the attempts, so it's a working prototype, not a polished policy

Everything is open (MIT): code, pretrained model, demo data, a write-up with diagrams, and a log of ~40 experiments, including the ones that failed.

Code: https://github.com/Mandred009/Cosmo_Small_WAM

Write-up: https://mandred009.github.io/Cosmo_Small_WAM/

Happy to answer questions, and I'd appreciate feedback from anyone working on world models or low-cost arms.


r/MachineLearning • • 11h ago

Discussion I love annotating image datasets. [D]

11 Upvotes

Especially areas where I’m a domain expert, like neuroanatomy. I’m an artist, a perfectionist, and would be overjoyed to trace high resolution brain structures 8-12 hours a day.

Do ML teams need people like me?

I’m not great at math. Or python. My only real strength is accurately annotating brain regions (this is not as common of a skill as you may believe, by the way). It takes many years to know some of the ins and outs.


r/MachineLearning • • 21h ago

Research Mechanistic interpretability as a capability test: reading Stockfish 19's net to build a +40 Elo classical chess engine [R]

15 Upvotes

https://x.com/jackyuan35/status/2128994871952462199

Interpretability work is rarely measured in capability. We tried a concrete test: can structures found inside a superhuman network be compiled into readable code that measurably improves a non-neural system?

Setup: Stockfish 19's NNUE as the subject; Stockfish 16's classical (hand-written) evaluation as the target. AI agents decomposed the net's weights to find structures the classical eval lacks, then we wrote those structures back into the classical engine and fitted their values to SF19's evaluations. No net at play time.

What the decompositions surfaced:

- King-wing asymmetry: the net values the same piece/move differently on the wing its king castled on; the classical eval treats both wings as mirror images.

- Non-linear game phase across the net's material-specific output layers, vs the classical linear middlegame/endgame blend.

- Pawn-pair structure.

We also traced single positions (e.g. an uncastled king facing a queen on h4) and confirmed causally that a handful of hidden neurons carry most of the learned "king danger" signal.

Results vs untouched SF16 classical (NNUE off), pre-registered, fresh openings: +39.8 Elo [+33.4, +46.2] over 4,000 games at 10+0.1; +31.4 at 60+0.6; independent replication +35.0. ~6,900 table values total.

Controls/negatives that I think matter for the interpretability question:

- Plainly refitting the existing classical tables to SF19's evals gives ~0 Elo, so the gain comes from the new structures, not the fitting.

- Turning the findings into short human-readable rule lists (1–30 rules) made the engine worse; it took hundreds of rules to keep half the gain.

- Several internally "real" features (threat circuits) didn't transfer, because search already covers tactics.

Open question for discussion: when interpretability finds a structure the net clearly uses, what predicts whether it transfers to a simpler system? Here, static positional structure transferred and dynamic/tactical structure didn't.

Code + all games: github.com/JackYBT/whitebox

Write-up: bitianyuan.com/writing/whitebox


r/MachineLearning • • 1d ago

Research Frontier agent swarms on 5 Terminal-Bench-Science tasks. Teams were faster on parallel work, but pass rates did not reliably improve. [R]

Thumbnail
research.snorkel.ai
19 Upvotes

Published results on agent swarms are inconsistent. Some studies report that teams reach comparable outcomes in less time or exceed a single agent, and other reports indicate that collaboration lowers the success rate. The study here examines task structure as one possible source of the inconsistency. It asks which task properties could allow a team to outperform a single agent, and whether frontier models use those properties when a team is available.

The study used the following setup.

  • Five Terminal-Bench-Science tasks, selected at random across a range of leaderboard pass rates.
  • Five properties hypothesized to favor a team. These are parallelizable subcomponents, method exploration, distinct roles, discovery, and ambiguity. An LLM jury (Grok 4.7, GPT-6-Luna, Gemini-4-Neon) rated each task, with manual corrections. The ratings are assessments of the task descriptions and have not been validated as predictions.
  • Teams of 4 and 8 agents on Harbor, with a shared sandbox and a message channel. No roles were assigned.
  • GPT-6-Astra (Codex) and Opus 5.5 (Claude Code) at medium reasoning effort. Each configuration had 5 trials. Spin glass had no eight-agent runs.

Results are reported as passes out of 5 trials, with 1, 4, and 8 agents.

  • Spin glass. GPT-6-Astra 5, 5, n/a. Opus 5.5 5, 5, n/a.
  • Inelastic materials. GPT-6-Astra 5, 5, 5. Opus 5.5 0, 2, 1.
  • Stereo DEM. GPT-6-Astra 2, 4, 5. Opus 5.5 3, 2, 1.
  • Nanoindentation. GPT-6-Astra 0, 0, 0. Opus 5.5 2, 1, 2.
  • CMB cross-inference. GPT-6-Astra 0, 2, 2. Opus 5.5 0, 0, 0.

Parallel decomposition reduced wall-clock time. On spin glass, Opus teams averaged about 110 minutes against 314 for a single agent, with matching pass rates. GPT-6-Astra times were similar with and without a team (about 4.4 and 5.2 minutes).

Transcript review showed differences in behavior that align with the outcomes. On Stereo DEM, the passing GPT-6-Astra teams continued to evaluate candidate alignments on data not used to fit them. The failing Opus teams stopped once the result appeared physically plausible. On inelastic materials, Opus teams assigned labels to whole groups of materials at once, so a single incorrect label affected six materials. GPT-6-Astra teams inspected individual files and discussed ambiguous labels. On nanoindentation, teams calibrated once and assigned one sample to each agent, with no independent verification step. Nine of 10 failing Opus runs and every GPT-6-Astra run missed the same creep correction.

The main finding is that frontier agent swarms did not demonstrate the use of these properties to gain an edge over single agents. Tasks that combined several properties remained difficult. Given the sample sizes, the observed differences appear to track team behaviors such as verification and continued exploration more closely than team size.


r/MachineLearning • • 1d ago

Project Tempora-1: An open-weight 27B model that rivals frontier VLMs in temporal video segmentation at a fraction of the cost [P]

Post image
20 Upvotes

Hi Community,

I am Logesh. While building Agentic video understanding pipelines, we learnt that how accurately you split a video is crucial for downstream performance - like clip search and retrieval. Even more of a challenge in annotating robotic demonstrations.

When we tried to use the closed models (like Gemini 3.8 flash), we had the usual issues: cost balooning , slow and not tractable. So, we finetuned an open model (Qwen-3.8 27B) for this narrow task.

To my surprise , the approach works well . On WGO-Bench, It outperforms Gemini 4 Neon, Gemini 4 Hydrogen and 3.8 flash (and others). Approaches Gemini 4 Carbon's performance at fraction of the cost.

We wanted the segmentation to be controllable by the developers.For example, given the same video of a social media footage, you could instruct the model to:

Extract segments where a product is mentioned or demonstrated, with product names and descriptions as metadata.

  • Segment the video by topic
  • Segment only the portion where the speaker is shown.
  • Given a video and a natural language instruction, Tempora-1 generates timestamped segments with labels and custom metadata.

Documented our training approach (SFT+GRPO), reward formulation, evaluation methodology and failure cases in the blog post.

Model : https://huggingface.co/ambient-intelligence-labs/tempora-1

Technical Blog: https://goambient.ai/blog/tempora-1/

Try it here - https://huggingface.co/spaces/infinitylogesh/tempora-1

I would love your feedback! Thank you.


r/MachineLearning • • 1d ago

Discussion Which phenomenal papers, blog articles, courses, books, dissertations have you gone through that proved pivotal for your research or engineering work in ML? [D]

118 Upvotes

The book Numerical Linear Algebra by Trefethen & Bau was a turning point in my career in understanding linear algebra that goes on beneath all the abstraction that I learned from Axler's book. It really helped many ideas click for me in the process of understanding papers and ML in general.

Also the blog post by Patrick Kidger: https://kidger.site/thoughts/just-know-stuff/


r/MachineLearning • • 1d ago

Research Poker AI on one academic GPU budget: −0.41 bb/100 [−3.37, +2.55] vs GTO Wizard AI over 15k pre-registered hand [R]

6 Upvotes

I'm a CS undergrad at VU Amsterdam. This is a continual re-solver for heads-up no-limit hold'em, in the DeepStack / ReBeL family, built and evaluated on about 1,510 H100-equivalent hours on the Dutch national supercomputer. I wanted to see how far that design gets without industrial compute.

Main result: 15k hands against GTO Wizard AI, sample size fixed before the first hand: −0.41 bb/100, 95% CI [−3.37, +2.55]. No ordering either way. It also beat Slumbot in two pre-registered blocks, +6.71 [+2.04, +11.39] and +7.56 [+1.46, +13.65].

The parts I think are actually interesting:

  1. My first agent failed in a useful way. Searching on top of its own blueprint, it beat that blueprint by 65 ± 17 bb/100, gained nothing against a blueprint from another seed (+0.3 ± 22.8), and lost to GTO Wizard AI by more than the blueprint alone. Hand it the opponent's true strategy and the gain came back (+62 ± 22). The search was only exploiting the one opponent whose ranges it knew.
  2. Value nets at the leaves hurt more than I expected. With a river net at the turn solve's leaves, the turn solve was 2.48% of the pot exploitable, against 0.155% when solving the river exactly. So Cerberus solves turn and river to showdown on the GPU.
  3. Evaluation was half the project. AIVAT against Slumbot is only unbiased if the agent's solves don't depend on its own hole cards, and my first version broke that. Fixing it gave an 81.7x variance reduction.

Caveats: GTO Wizard's server computes the AIVAT (its value function isn't public; its totals match my own logs). Two other GTO Wizard runs are reported too: −1.73 [−5.45, +2.00], and a later version at −4.91 [−9.22, −0.61]. I looked at both during play, so they're kept apart from the main result. It's also slow, about 97 s per hand.

There's a companion theory paper on when re-solving is safe. For one searcher it's fine with any number of players, but with three or more players safety doesn't compose: two re-solves that each halve NashConv can raise it 49.5x together.

Papers and write-up: stefanneciu.dev/cerberus .Feedback on the evaluation especially welcome.


r/MachineLearning • • 1d ago

Research Recovering CLIP ViT-B/32 as a standalone CPU/CUDA program: source and benchmarks [R]

7 Upvotes

I’ve been working on L-Wave, a neural decompilation research project at Unclouded Labs. The aim is to recover executable computation from trained neural networks and work out how much of the learned structure we can explain.

I’ve just published the first model bundles: a recovered implementation of OpenAI’s CLIP ViT-B/32 and a trained heat model, with source, benchmarks and the unresolved parts written up. Quite pleased to have something other people can actually download and inspect.

The CLIP application covers both encoders, image preprocessing, tokenization and image–text scoring. It runs without PyTorch at inference, using recovered code with oneMKL on CPU and native kernels plus cuBLAS on CUDA.

On a Ryzen 9 5900X and RTX 3080, the recorded warm medians were:

Images × textsPyTorch CPUL-Wave CPUPyTorch CUDAL-Wave CUDA
1 × 289.81 ms51.20 ms8.16 ms4.34 ms
2 × 194.93 ms73.04 ms9.17 ms5.81 ms
3 × 4159.40 ms102.27 ms11.68 ms7.95 ms

That’s 1.30–1.75× faster on CPU and 1.47–1.88× on CUDA for this panel. These are eight warm rounds per shape, using synthetic inputs and FP32 with TF32 disabled. Images were already decoded; preprocessing, transfers, computation and synchronization are included. The full benchmark record has the numerical limits, startup measurements and raw results.

There is still a fairly substantial pile of coefficients involved. The benchmarked runtime retains all 151,277,313 learned positions in a roughly 605 MB operand image. We have already recovered some mathematical operators in the wider research. Those findings haven’t yet been folded into the released builds as verified replacements for the corresponding learned computation, so the broader mathematical decompilation is still unfinished.

The heat work recovered a trained program from a stripped x86-64 executable using a frozen decoder. The public download is a portable adaptation using system tanh, with its own replay results kept separate from the original exact-lift experiment. The repo also covers the other model investigations, including failed replacements and remaining runtime dependencies.

Source, research status and evidence
Model downloads on Hugging Face

I’d be interested in technical criticism, particularly around the recovery claims and numerical contracts.

It’s been an intense couple of days, so I’m taking a short breather. More to come.


r/MachineLearning • • 2d ago

Research Train the context, not the weights: optimizing only an agent's harness matched RL fine-tuning (Nemotron 3.5 Super, AutomationBench) [R]

Thumbnail
gallery
41 Upvotes

Write-up: afnio.ai/blog/train-the-context-not-the-weights

Can an agent get RL-level gains without any weight updates? Most of what makes an agent fail in practice lives in its harness: the prompts, tool descriptions and skills around the model. We tested how far optimizing only that gets you.

Setup:

  • Benchmark: AutomationBench (agent solving everyday office tasks).
  • Trainable: the system prompt, tool descriptions and skills. Model weights are frozen throughout.
  • Method: when a run fails, written feedback is backpropagated through the agent's graph to the component that caused it, and only that component is rewritten. Candidates are selected on a validation set.
  • Baseline: every model was run first on its stock harness, then on the trained one. We ran all of these ourselves, except the RL result for Nemotron 3.5 Super, which comes from Surge AI's published paper.

Findings:

  1. Matches RL on the weights. On Nemotron 3.5 Super, RL on the weights gained +15.0 points [7, 23] (single reported run). Harness training gained +12.0 [7, 18] on average over 3 runs, and +15.3 [8, 23] in the best run, reaching the same 22.0% pass rate, up from ~7%.
  2. It learns the same habit RL did. Surge's RL-trained model learned to look before acting. The trained harness learned it too: writing before reading the inbox or Slack dropped from 29% to 7% of tasks. The difference is that here the lesson is written into the harness, where you can read it.
  3. Lifts every model, even at max reasoning. GPT-5.6 Luna 27.8 → 37.8, DeepSeek V4.1 Flash 42.3 → 58.5, Claude Sonnet 5.5 54.0 → 61.0, GPT-6 Astra 56.0 → 67.0.
  4. Open-weight beats frontier. With a trained harness, DeepSeek V4.1 Flash (58.5) outscored Sonnet 5.5 and GPT-6 Astra on their stock harness.
  5. It transfers. Trained on finance, marketing, ops and support tasks; the gains held on sales tasks it never saw.

On "training": the weights never change, but the harness does learn from failures on the training split, using textual feedback instead of numerical gradients.

Caveats: we used our simplest selection strategy; most results are on one benchmark, with more in progress.

So a large part of what holds an agent back seems to sit in its context, and it can be found and fixed automatically.

Disclosure: I'm the author and work on Afnio (Tellurio), the optimizer used here. The SDK is open source, and the optimizer runs as a hosted service. Happy to answer questions!


r/MachineLearning • • 2d ago

Discussion Are PINNs and ML surrogates actually useful in industrial engineering? What am I missing? [D]

17 Upvotes

I have been working on a small project wherein I built an ML surrogate which predicts the coefficient of drag , lift given the airfoil , angle of attack and the Reynolds number. To generate the dataset I used this module called xfoil which generated the entire dataset of about 400 cases in less than 40s , so i felt that there is no point in building an ML surrogate for this case. But apparently this has been the case for almost every problem in the industry where there are better and more financially feasible options instead of using PINNs . So am i missing something?

    1. is there any real world engineering problems where ML surrogate or PINNs provide a significant advantage over othe numerical solvers
  1. 2. Is the real value of PINNs in solving forward problems, or is it more in inverse problems, parameter estimation, and data assimilation?

It just feels very demotivating since I've been working on this project for quite some time and I feel it's useless and a waste of time


r/MachineLearning • • 2d ago

Project Doing a thesis about PINNs [P]

5 Upvotes

Hi guys, i'm doing a thesis for my bachelor , me and my supervisor decided to do something with PINNs , but i'm struggling to find some dataset . I want something real and where i can show why a PINN is better than normal NN. We have already done a normal example with a basic heat equation , and now i need something more complicated and concrete.

Thank you in advance.


r/MachineLearning • • 2d ago

Research Mindral AXIS: Causal Interventions on Tool-Calling Decisions in Qwen and Granite [R]

12 Upvotes

Hi everyone,

I’m the Chief Scientist at Mindral, an independent AI research team.

Today, we are pleased to release Mindral AXIS, a mechanistic investigation into how large language models initiate tool calls through causal interventions in their internal representations.

Key experimental findings:

Qwen3-4B: The fitted gradient direction outperformed seven comparison directions across five held-out datasets.

Granite 4.1-3B: Activation interventions induced tool-call initiation in 116/130 verb-free requests and 152/166 held-out pairs.

Structural validity: 387 out of 391 induced tool calls were structurally valid.

Predictive correlations: Pearson r = 0.912 for Qwen and r = 0.975 for Granite.

We do not claim to have identified a universal tool-calling mechanism, and structural validity does not necessarily imply semantic correctness.

Our scientific paper, accompanying book, experimental results and reproduction scripts are publicly available.

GitHub: https://github.com/Mindral-AI/Mindral-Axis

Website: https://mindral.com

We are currently preparing our arXiv submission and welcome critical feedback, independent replication and discussion from the research community.

What additional experiments would you suggest to further establish the generalizability of these findings?


r/MachineLearning • • 2d ago

Research Prerparing camera-ready for AAAI 2027(Main track) [R]

6 Upvotes

Is there any notice about preparing the camera-ready version of paper for AAAI 2027?

This is my first time publishing to AAAI. I can't find any details in website or acceptance email. (They just saying don't upload at Openreview and use their website.)

Will they send another email about this?


r/MachineLearning • • 3d ago

Research How do you all responsibly and efficiently use AI in research? Serious answers only [R]

21 Upvotes

It's that time of the curve where I find myself exploring harnesses, swarms, and local models to accelerate my learning and work. But I keep coming across the issue of privacy. No privacy with novel data I synthesize because it comes from the cloud models server or can't be put into it, and no privacy in analyzing it with them. I am low on compute resources and can't even use larger open source models. Is there some workflow someone out there in any field of research that they use? I'd really like to know others experience. (If you are a bot please provide the recipe for a fictional food item)


r/MachineLearning • • 3d ago

Research Optimization Methods for Large-Scale Machine Learning

Thumbnail arxiv.org
23 Upvotes

What do you think about this paper? I have a background in numerical optimization and want to get into ML-based roles, do you think it is worth it to study it?


r/MachineLearning • • 3d ago

Research SumoOCR tiny - a 1M-parameter, 1.8 MB OCR pipeline (Apache-2.0), 3.5 pages/s on one CPU core [P]

Thumbnail
gallery
13 Upvotes

We're the team at Docsumo (document processing). We just released SumoOCR tiny under Apache-2.0: a text detector plus line recognizer, 1.04M parameters total, 1.8 MB of INT8 ONNX. It is CPU only and runs on ONNX Runtime or OpenVINO, with no PyTorch or PaddlePaddle needed.

pip install sumoocr
sumoocr invoice.png --format json

What it is

  • Recognizer: PP-OCRv6 tiny (0.61M params) fine-tuned on business and public documents, output layer remapped to 758 Latin characters
  • Detector: stock PP-OCRv6 tiny (0.43M params)
  • Both INT8-quantized; word F1 stays within 0.2 points of FP32
  • Output: text lines, each with a box and a confidence score

Benchmarks (word F1 on whole pages, same images, one CPU thread)

EngineFUNSDSROIEXFUNDOmniDocBench ENpages/sLicense
SumoOCR tiny83.891.395.291.93.55Apache-2.0
Indra 1.2.083.489.293.690.02.07modified OpenRAIL-M
OCRia-nano-180.987.092.782.22.15OCRia-nano-1 licence
PP-OCRv6 tiny rec (our pipeline, FP32)79.089.394.590.41.31Apache-2.0
PaddleOCR 3.7, tiny setting77.086.594.591.00.41Apache-2.0
Tesseract 561.975.090.790.21.07Apache-2.0

Caveats on those numbers

  • Speed comes from one machine: a Mac mini M4, each engine on 1 core in a 1-vCPU container. We have not measured x86.
  • PaddleOCR was timed natively, not in the container, and Paddle's ARM kernels are slower than its x86 ones. Don't read 0.41 as an x86 number.
  • FUNSD against Indra is a statistical tie.
  • None of the four benchmarks was in the training data.
  • On receipt line crops (SROIE) the stock PP-OCRv6 tiny recognizer still reads slightly better: 2.62% vs 2.93% character error.

Where it falls short

  • Latin script only (English and European languages)
  • Handwriting was not part of the fine-tune and is unmeasured; expect roughly stock PP-OCRv6 tiny accuracy on it
  • Lines, not tables, layout or key-value fields
  • Receipts and low-resolution scans are its weakest pages

This is the smallest reader from our commercial OCR engine; the larger one is not released.

Try it on your hardest pages and tell us what breaks.


r/MachineLearning • • 3d ago

Project Running CellGemma in llama.cpp: a tokenizer fix and a Q8_0 NaN bug [P]

Post image
4 Upvotes

Yesterday Google Deepmind released CellGemma, a Gemma 4 E4B fine-tune that predicts how human cells respond to drugs, CRISPR knockdowns and cytokines. it adds about 20k gene symbols to the vocab as single tokens and predicts the residual from a mean-shift baseline, then small per-dataset decoders turn the ranked gene list into fold changes.

i wanted to run it locally so I ported it to llama.cpp. a few things broke along the way:

- the converter typed the gene tokens as normal BPE pieces, so MYC got split up instead of staying one token. retyping them as USER_DEFINED fixed it and full prompts now match HF token for token
- Q8_0 gave NaN logits after 20-30 tokens, every single time. bisected it down to ffn_down, keeping just that in bf16 fixes it
- greedy parity vs transformers: BF16 matches 64/64 tokens, Q8_0 matches 47/64 then swaps two neighbouring genes

Anyways, ended up wrapping it in a free open source windows app (Rust/Tauri, no python at runtime). about 4 min per prediction on an RTX 4000 Ada. contributors very welcome, especially for linux/mac builds and AMD testing.

repo: https://github.com/Fazmin/cellgemma-workbench
parity notes: https://github.com/Fazmin/cellgemma-workbench/blob/main/scripts/PARITY.md


r/MachineLearning • • 3d ago

Project PTX Puzzles: 12 GPU synchronization bugs from real LLM megakernels and solvers, graded by a race detector [P]

0 Upvotes

I made a set of 12 puzzles while learning the PTX memory model. Each is a small kernel where blocks hand data to each other through global memory (a flag, a counter, a grid barrier, a TMA store, a spinlock), and each has a synchronization bug. Most of the bugs come from real code: Hazy Research's Llama-1B megakernel, SuperLU_DIST's triangular solve, CUTLASS Stream-K, Mirage MPK, Lucebox, and CUDA's own threadFenceReduction sample.

The catch is that most of the starters give the right answer when you run them. Your GPU doesn't reorder enough to show the bug, but the memory model allows it. So the grader runs each kernel under a race detector I wrote (syncsan, on NVBit), which reports racing accesses and, in an adversarial mode, hands racy loads the stale values the model allows. A fix passes only if it has no races and the output stays correct with stale values. It's scored by how many fences, acquires, releases and barriers you add, against a par.

It runs on Colab's free T4, no setup: https://colab.research.google.com/github/ShreshthRajan/ptx-puzzles/blob/main/puzzles.ipynb

Repo, with solutions and a paragraph on why each works: https://github.com/ShreshthRajan/ptx-puzzles

The format is borrowed from Sasha Rush's GPU Puzzles. Puzzle 8 (TMA) needs an H100 and is skipped on the T4. Feedback on puzzles that are unclear or too easy is very welcome.


r/MachineLearning • • 3d ago

Research TextCraft: A Text-Native Strategy Benchmark and Training Ground for Language Models [R]

1 Upvotes

We just released TextCraft, an open-source, text-native RTS engine and benchmark for evaluating long-horizon planning, adaptability, and multi-agent coordination in LLMs.

The game works kind of like StarCraft. Every tick, a model receives an ASCII minimap and structured game state (with fog of war) and must output JSON orders controlling economy, production, etc.

I'll keep it brief and just share a single finding here, that was most surprising to me. In the 2v2 matchups, we experimented with allowing team chat. GPT-6 Astra + Claude Fable 5.1 performed worse (6-18) in a mirror matchup with the opponents having no chat.


r/MachineLearning • • 4d ago

Discussion TMLR is changing their review process [D]

105 Upvotes

Full post

  • All authors must explain how each paper fits their broader research agenda.
  • TMLR will expect more ambitious projects and encourage interactive public-facing research artifacts. Anonymity restrictions for those artifacts will be relaxed.
  • Some authors will be interviewed about their submissions before full review.
  • They are rolling out an automated system (!!) that does the interview.

Sweeping set of changes that I beleive will make quite a few (senior) folks grumpy. But quite an strong and foward-looking statement that is much needed in the current research landscape imo.