r/MachineLearning • • 6d ago

Discussion Why don't optimizes like Shampoo, SOAP, and Adam measure the actual per sample second moments like the Fischer Information Matrix does? [d]

37 Upvotes

It always felt unintuitive to me that Muon matched the performance of Shampoo despite dropping the actual second moments L and R.

But I then I realized, Shampoo itself isn't actually measuring the true second moments.

For each sample i in the batch, we have a gradient G_i.

And the gradient we use during SGD is:

G = E(G_i)

The factors of Shampoo are:

L = EMA GG^T

R = EMA G^TG

Whereas, the true second moments are:

L = EMA E(G_i G_i^T)

R = EMA E(G_i^T G_i)

We can also write them as:

D_i = G_i - G

L = EMA (GG^T + E(D_i D_i^T))

R = EMA (G^TG + E(D_i^T D_i))

What shampoo is doing is dropping the covariance terms like E(D_i D_i^T) from the factors.

It's an approximation.

And, Muon does the same thing. It takes things one step further:

M = EMA G

L = MM^T

R = M^TM

Shampoo's factors are

L_C = EMA (G - M) (G - M)^T
R_C = EMA (G - M)^T (G - M)

L = MM^T + L_C

R = M^TM - R_C

Shampoo drops the covariance across the samples in the batch.

Muon drops the covariance across the batches in the optimization path.

Adam does the same thing except it's doing it to the diagonal of the Fischer. It drops the per sample variance terms from its second moment.

These approximations are sufficient when the covariance terms are small enough.

But the strange thing is, when I tried using the actual second factors for Shampoo and Adam, they underperformed compared to their approximate versions...

I don't understand this at all.


r/MachineLearning • • 5d ago

Research Can LLM-guided evolution optimize the wrong objective? An empirical study of OpenEvolve, evaluator failures, and independently verified algorithm quality [R]

0 Upvotes

There is an interesting problem at the intersection of LLM-guided program synthesis, evolutionary computation, and automated scientific discovery.

What happens when an AI system successfully discovers a better algorithm, but the fitness function responsible for selecting it is incomplete?

Systems inspired by FunSearch and AlphaEvolve use an iterative process:

  1. An LLM proposes or modifies a program.
  2. An evaluator executes it and assigns a numerical score.
  3. High-scoring candidates influence subsequent generations.
  4. The system eventually selects the best-scoring candidate.

The assumption underlying this process is that improving the evaluator's score corresponds to improving the actual solution.

But that relationship depends entirely on what the evaluator measures.

If a task has requirements that are missing from the fitness function, evolutionary search may discover implementations that optimize the measured objective while violating the original specification.

This raises a broader question: Does increasing the search budget improve the quality of the final solution, or does it sometimes increase the probability of exploiting weaknesses in the evaluation process?

Experimental setup

A recent empirical study investigated this question using OpenEvolve 0.4.0 on two bounded algorithmic tasks.

Circle packing: Place 26 non-overlapping circles inside a unit square while maximizing the sum of their radii.

Approximate k-nearest neighbors: Return approximate nearest neighbors efficiently while satisfying requirements for neighbor indices and their corresponding squared distances.

The experiments used four Gemma 4 configurations: E4B, 12B, 26B A4B MoE, and 31B.

Three search conditions were considered.

Evolutionary search (L): Candidate programs are generated using an evolutionary population and information from previous evaluations.

Best-of-N (B): Independent candidate programs are generated from the original seed without evolutionary history, then ranked by the working evaluator.

Cloud-assisted evolution (LC): The evolutionary process is preserved, but approximately 10% of mutation calls are routed to Gemini 4 Argon rather than the local Gemma model.

Search budgets included 100, 500, and 1,000 LLM calls, depending on the experimental condition.

Crucially, the evaluation process had two separate components:

Working evaluator: The score used during evolutionary search to rank candidates and select a final program.

Independent re-check: A separate post-run evaluation that verifies task requirements and measures the selected program on additional test inputs.

The independent re-check was not used to guide candidate generation or working-score selection.

This separation makes it possible to distinguish the best program discovered during search from the program the system actually selects.

Finding 1: The search discovered valid solutions but selected invalid programs

This is arguably the most interesting observation.

Three evolutionary circle-packing runs were performed with a budget of 1,000 LLM calls each.

The best valid solutions discovered during these runs achieved scores of approximately:

RunBest valid solution foundSelected program's verified score
12.4322.432
22.2040
32.2580

In two of the three runs, the search successfully discovered a valid improvement.

However, the program selected by the working evaluator failed independent verification.

Because the initial program was also invalid, the registered evaluation protocol assigned those failed selections a verified score of zero.

The important distinction is between:

Discovery quality: How good was the best valid candidate found anywhere in the search?

Selection quality: How good was the program the system actually chose?

These are not necessarily the same.

The approximate selection regrets across the three runs were 0.000, 2.204, and 2.258.

The sample is too small to establish a general relationship between search budget and reliability. Nevertheless, it demonstrates a concrete failure mode: increasing the number of generated candidates can produce strong valid solutions without ensuring that the selection mechanism retains them.

Finding 2: Higher fitness scores frequently failed independent verification

The approximate kNN experiments revealed another type of evaluator mismatch.

The working evaluator rewarded a combination of neighbor recall and relative execution speed.

However, it did not fully verify that the returned squared distances were correct for the corresponding neighbor indices.

This allowed some programs to receive favorable scores while violating part of the task's required API contract.

In the cloud-assisted kNN condition:

60 of 213 candidate evaluations (28.2%) ranked above the initial program did not represent independently verified improvements.

Of those 60 evaluations, four involved invalid candidates. The other 56 passed validity checks but achieved a verified composite score no higher than the seed.

These are candidate evaluations, not necessarily unique programs. Repeated evaluations of the same code hash are included.

The broader implication is that an evaluator can reward improvements in the properties it measures while overlooking violations of properties it does not measure.

This matters particularly when the search process is capable of discovering implementation shortcuts that were not anticipated when the evaluator was designed.

Finding 3: Hybrid local/cloud evolution produced promising, but preliminary, results

The study also compared Gemma-only evolution against a hybrid configuration in which approximately 10% of mutation calls used Gemini 4 Argon.

In approximate kNN, the cloud-assisted condition achieved a higher independently verified score in eight of nine matched runs.

The median paired difference was approximately +0.776.

In circle packing, the cloud-assisted condition performed better in seven of nine pairs, with one tie and one lower result.

These observations suggest that introducing a second model into the evolutionary search process may be useful in some settings.

However, this was an exploratory comparison involving small samples, incomplete planned conditions, and additional cloud-model computation.

It does not establish a general causal advantage for hybrid evolution.

More importantly, improved generation capability did not remove the need for independent verification.

Finding 4: Adding a correctness gate did not automatically solve the problem

A separate follow-up experiment investigated whether strengthening the working evaluator would improve the validity of the final selected program.

This experiment used six paired kNN runs with two evaluator configurations.

V1-matched: A timing-matched evaluator without a pre-fitness distance-correctness gate.

V2: The same timing framework, but with a distance-correctness gate applied before fitness evaluation.

Both conditions used the same local Gemma 4 12B model configuration and 20 LLM calls per run.

Independent verification produced the following results:

EvaluatorValid selected programs
V1-matched6/6
V25/6

The median paired score difference (V2 minus V1-matched) was +0.0290, with a range from −0.2241 to +0.7690.

The comparison is sensitive to individual runs and does not establish superiority or equivalence.

The interesting detail is the one invalid V2-selected program.

It achieved perfect neighbor recall on the holdout evaluation, but the independent checker identified 140 failures involving the returned squared distances.

In other words, the program could identify the correct neighbors while still violating the required distance contract.

A correctness gate had been added, but the final independent test still detected a failure.

This illustrates why adding a validation step and achieving complete specification coverage are different problems.

The measurement problem

A related difficulty emerged during kNN performance evaluation.

When several Docker sandboxes were benchmarked concurrently, the identical seed program received scores ranging from approximately 0.02 to 1.0.

Because runtime was part of the fitness function, system load could substantially affect candidate rankings.

The study therefore repeated timing measurements serially, using an otherwise idle machine.

This improved comparability, but measurable variability remained.

This raises an additional challenge for evolutionary program optimization: when performance is noisy, the fitness function can become a source of misleading feedback even if the correctness checks are well designed.

What can actually be concluded?

The results do not demonstrate that OpenEvolve is generally unreliable.

They do not show that evolutionary search is inherently worse than independent sampling.

They do not establish universal scaling relationships between model size, search budget, and algorithm quality.

The experiments cover two relatively small algorithmic tasks, with several exploratory comparisons and documented execution limitations.

What they demonstrate is narrower, but operationally important:

The highest fitness score observed during an evolutionary search is not necessarily a reliable measure of the final program's independently verified quality.

A system can discover a strong valid candidate and still select a weaker or invalid one.

This distinction becomes increasingly relevant as LLM-guided evolutionary systems move from benchmark optimization toward autonomous scientific and engineering work.

Questions for discussion

1. Should program-evolution systems use separate evaluators for search guidance and final candidate selection?

2. How can correctness constraints be expressed in a way that remains robust against unexpected implementation shortcuts?

3. Should algorithm-discovery benchmarks report both best-valid-discovered performance and independently verified selected-program performance?

4. How should noisy performance measurements be incorporated into evolutionary fitness without rewarding measurement artifacts?

5. Could larger search budgets systematically increase exposure to evaluator weaknesses, even when the population contains increasingly strong valid candidates?

The broader issue is not limited to OpenEvolve or any particular LLM.

It concerns the reliability of systems that use executable feedback to automate algorithm discovery.

Finding a high-scoring program is one achievement. Establishing that it is actually a better program is another.


r/MachineLearning • • 5d ago

Research How to answer this AI-review for AAMAS? [D]

0 Upvotes

Hi, so AAMAS reviews out. Out of the 3 reviews in my paper, I got 3 for both proceeding and finding with a 4000+ word review with, like, 3 strengths, 8 weaknesses, and 8 suggestions.

One of the 8 weaknesses was, "Your delta in figure 8 shows 2.34, but your table is showing 2.335. Please fix the inconsistency." - Personally, I don't know how to answer this - or Am I wrong here?

Any help

Here is the pangram of the review


r/MachineLearning • • 6d ago

Discussion AAMAS 2027 reviews will be out today [D]

22 Upvotes

Creating this thread for review and score discussion. The rebuttal period is 20-24 November. The decision will be out on 21st December.

Good luck everyone!


r/MachineLearning • • 6d ago

Discussion Reviewer AC discussion period [D]

4 Upvotes

I am serving as a reviewer for ICLR this time and I was wondering if reviewers know the actual dates for the Reviewer AC discussion. The website says it's from today up to December 16. However, an SAC sent a message for a specific paper today saying the discussion is till Nov 25. I hope people atleast engage in the discussion if not the rebuttal.


r/MachineLearning • • 7d ago

Discussion Not a single iclr reviewer responded to our rebuttal [D]

46 Upvotes

Such a bummer to have zero response after putting so much work into the rebuttal.

We were scored 3,3,2 which is looking borderline now.


r/MachineLearning • • 7d ago

Project Fruits-360 dataset has now over 200 K images [P]

Thumbnail
gallery
110 Upvotes

Fruits-360 is a dataset with images of fruits, vegetables, nuts, and mushrooms.

Several weeks ago, it surpassed an important threshold: The largest branch (100x100) of the dataset now contains 200201 images of 278 different objects!

Importantly, all images have a white background, so that the object (the fruit) is clearly delimited!

The dataset is hosted on Kaggle and GitHub with a CC BY-SA 4.0 license.

https://www.kaggle.com/datasets/moltean/fruits

https://github.com/fruits-360/

I made the first commit to Kaggle 8 years ago, in December 2017, with a set of 26 fruits.

Several hundred updates have been committed since then.

  • 5 years ago, it had 90K images of 131 fruits and vegetables.
  • 2 years ago, it had 132K images of 194 fruits and vegetables.
  • 1 year ago, Fruits 360 had 161 K images of 231 fruits and vegetables.

Originally, all images were 100x100 pixels. Recently, I created more branches with images at a higher resolution.

  • All fruits and vegetables are from my own gardens or purchased from nearby stores.
  • All images are captured by me.
  • All images are real; nothing is generated with AI!

I even built some special gardens just to have more vegetables for the Fruits-360 dataset.

One garden is on the roof, and another one is on the wall of the house!

The reason for such "strange" builds is that we did not have enough space at the ground level to grow everything we wanted, so we expanded our gardens on roofs and walls.

A movie of the wall garden is here: https://www.youtube.com/watch?v=6DWnZEQoi8o

A movie of the roof garden is here: https://www.youtube.com/watch?v=ebjUevM9GPM

All garden projects are open source with MIT license.

https://github.com/wall-garden

https://github.com/f-roof

Several images with vegetables from these gardens are already included in the dataset.


r/MachineLearning • • 7d ago

Discussion ARR Oct '26 Reviewer Discussion [D]

12 Upvotes

With the reviewing period of this ARR cycle concluding, I wanted to see how others felt about reviewing this cycle.

Also, did you notice any difference in assigned submissions, potentially due to the sustainable reviewing pilot?


r/MachineLearning • • 7d ago

Research ICLR 2027 rebuttal was frustrating [D]

27 Upvotes

Guys, how did your rebuttals go?

One of my reviewers updated their initial review (modified on Nov 16), but I suspect it was just the "AI Documentation for Reviewing" section, since nothing has changed in the edit history. However, we were completely ghosted, even though we had submitted our rebuttal before then (Nov 13).

(Edit)

Anyway, what do you guys think the borderline score will be? Given that around 26% of submissions (including withdrawn papers) have an average score of 2.67 or higher (link), and the Moscone Center can accommodate 10k papers, I assume the borderline should be around 2.67.

What do you guys think?


r/MachineLearning • • 7d ago

Discussion Conference Locations [D]

Thumbnail
gallery
214 Upvotes

It was announced that ICML 2027 would be held in Rio de Janeiro. I haven't partaken in Brazilian food and sights before, so the idea of possibly attending excites me. However, there are a lot of people bashing the new host location, and it all reminds me of when people talked about their experiences in ICLR 2026 (also in Rio). It seems like there are legitimate safety concerns. There's even some racism (see the end), which I've also heard from my non-Brazilian labmates. It's genuinely disheartening for these prestigious conferences to not be held in lower-represented countries (the I is for international after all), but the safety issues seem genuine. Any idea on how locations are determined and what can be done to resolve these concerns?


r/MachineLearning • • 6d ago

Discussion ICLR: Reviewer inactive during rebuttal [D]

0 Upvotes

One of our reviewers didn’t participate in the rebuttal discussion or acknowledge our responses. The AC also hasn’t left any comments.
We didn’t explicitly tag the AC in our rebuttal either.
Is this normal? Should we assume the reviewer simply ignored the rebuttal, or is the AC expected to take the discussion and our responses into account when making the final decision?
Would appreciate hearing from people familiar with the ICLR reviewing process.


r/MachineLearning • • 7d ago

Discussion So the ICLR27 borderline score is 2.67 ? [D]

24 Upvotes

As of now, ≥3.0 is the top 15% and ≥2.67 is the top 33%. At a ~25% acceptance rate, about half of the 2.67 band will get in.


r/MachineLearning • • 7d ago

Discussion ICLR Score Updates during AC Reviewer Discussion [D]

8 Upvotes

Since the Author Reviewer Discussion phase has come to an end and many reviewers haven’t yet responded to rebuttals, I was wondering if we will see any score updated done by the reviewers during the next AC Reviewer phase? I remember Neurips didn’t show any score during this phase but for ICLR, we can still see the scores.


r/MachineLearning • • 6d ago

Project Zusia: ask about the paper open in Zotero and get proofs back as linked theorem boxes, with drawings [P]

0 Upvotes

Zusia is a free, MIT plugin for Zotero 7 to 10 that I wrote: a chat beside the PDF that reads the whole paper.

The video is a real answer, sped up. Asked whether the proof of Adam's Theorem 4.1 is correct, Opus 5.5 finds the step that fails between pp. 14 and 15 (the telescoping sum assumes √v̂_t/α_t never decreases), states that assumption as a lemma, and gives a counterexample to it. It also says what this does not show: the theorem itself is a separate question, the one Reddi et al. settled in 2018, and it marks that part as coming from outside the paper.

WHAT IT DOES

• LaTeX made for the model: KaTeX rendering, definitions, lemmas and theorems as numbered boxes, every \ref a link with Back.

• Drawings in the same answer as the maths: diagrams, and plots like the softmax gradient against the score gap.

• Images: attach the page you're on or a screenshot to ask about a figure or a table.

• Page-level reading: the full text split by page with the printed page labels, the outline, and where each equation, figure and table is. Ask about "page 18" and it reads the page printed 18. Answers cite pages as (p. N).

• A per-paper memory of what you understood and what is still unclear.

It runs on what you already have: your Claude Code, Codex or Antigravity subscription, any ACP agent, your own API key, or a local model through Ollama. No server of mine in between.

https://github.com/firekern/zusia


r/MachineLearning • • 6d ago

Project Looking for Collaborators on an AI Safety Project [P]

0 Upvotes

Hi! I'm a PhD student in the UK working on AI safety and evals, with multiple A* conference papers. I'm currently working on an AI safety project about online monitoring of LLMs and looking for collaborators to help with the coding side of this project. The method and idea are already well-scoped.

Happy to share equal contribution. Do reach out to me in DMs with some information about your background if this is of potential interest!


r/MachineLearning • • 7d ago

Discussion Can we still see the update of score in Openreview? ICLR 2027 [D]

1 Upvotes

For instance, if the reviewer or AC changes the score for some reason during their discussion, can we see the scores are changing in Openreview?

So frustrating!


r/MachineLearning • • 7d ago

Project LLMs in pure JAX from scratch (Part 1) [P]

3 Upvotes

I’m writing a series of blog posts on building small LLMs from scratch in pure JAX. We start with pretraining. I'm implementing everything from scratch: pytrees for networks, optimizers, data loaders, decoding, and the training loop.

Link: LLMs in JAX from scratch - Part 1


r/MachineLearning • • 7d ago

Discussion Forgot AI Use Statement In Revised ICLR Manuscript [D]

0 Upvotes

Ok, I am in crisis mode right now. I just noticed that the revised manuscript I uploaded is missing the AI use statement and reproducibility statement, both of which were present in the original submission.

What do I do? Portal has closed. Am I doomed? Can I email the PCs? Or will they just desk reject?

How bad is this? We had decent-ish scores too.

Please help!!!


r/MachineLearning • • 7d ago

Research Visual Cipher Bench: mechanism hints raise accuracy from 12.2% to 51.1% on a 10-task subset [R]

0 Upvotes

What changes when an agent has to discover the task’s rules before it can start solving it?

Our research team at Einsia explored this with Visual Cipher Bench. The part I’d like to discuss is the hint experiment.

On 10 selected puzzles, three models were tested with no hint, a representation hint, a mechanism hint, or both. Representation hints describe how to encode the puzzle state; mechanism hints state the underlying rule.

Pooled accuracy was 12.2% without hints, 16.7% with representation hints, and 51.1% with mechanism hints. Neither hint type supplies an answer or intermediate state.

That supports rule discovery as a major bottleneck on these tasks, though execution remains difficult in some cases. The open question is how to get agents to narrow their hypotheses from the visual evidence without supplying the mechanism.

Paper

Project


r/MachineLearning • • 8d ago

Discussion Any idea what happened to Capsule Networks? [D]

48 Upvotes

Anyone remember Capsule Networks?


r/MachineLearning • • 8d ago

Research I found a MLSys paper with 455 citations with a major error in its implementation that invalidates one of its central claims [R]

68 Upvotes

Paper link: https://arxiv.org/abs/2311.04934

The simplified core idea of this paper is that chunking a past prompt, processing each chunk to obtain its KV cache, and saving each chunk's KV cache allows us to quickly prefill future prompts that contain some of those chunks (since we can reuse those chunks' KV caches). The purpose of this is that different LLM requests' prompts often share commonalities and overlaps, making inter-prompt KV sharing potentially worthwhile.

Some notes:

  1. Each chunk corresponds to *fixed* token positions, since each token's KV has that token's positional encoding embedded into it. If the chunk does not occur in the prompt, the token positions of that chunk are still conceptually "occupied", but they are simply ignored/not attended to.
  2. When each chunk is processed to obtain its KV cache, that chunk is processed in *isolation*. E.g. earlier chunks' KV values are masked/ignored/not attended to. The intuition is that each chunk represents something like a standalone document or file, so KV information from outside its scope isn't useful. This allows us to maximize the reuse of a cached chunk in future prompts that might contain that chunk.

If you are familiar with sparse attention, this setup should sound familiar to you. Furthermore, you would also know that manipulating the KV history, whether it be through selectively ignoring/masking certain tokens' KVs or using approximated KV values can often degrade the quality of the LLM output.

This paper experimentally "demonstrates" that this method does not significantly impact the quality of LLM outputs, which is one of their central claims. Except here's the thing:

  1. In their tests, every single cached chunk was always included in the prompt. They never tested what would happen if there were "holes" in the positional context from excluding certain cached chunks from the prompt. And then... wait for it...
  2. **In their implementation, they didn't actually process each chunk in isolation. Each chunk's tokens actually attended to every token in the full positional history (which includes previous chunks) using full causal attention. TLDR: They implemented what is equivalent to full causal attention, not their claimed method where each chunk has its KV cache generated in isolation from the other chunks.**

So their quality tests were quite literally equivalent to full causal attention on an ordinary prompt... They did not implement the claimed isolated KV cache processing per chunk. They did not test the holes in the context positions that would result from excluding chunks from the prompt... of COURSE the output quality would remain the same! Your implementation literally sees the same KV history as ordinary LLM implementations! You didn't actually implement what you said you implemented, which was isolated KV cache processing per chunk and allowing for there to be holes in the positional context due to excluded chunks...

In fact, a later paper ( https://arxiv.org/abs/2405.16444 ) implements something similar and finds that yes, quality can degrade from isolated per-chunk KV cache processing.

I have other criticisms about this paper, particularly how it often uses incorrect reasoning to explain its latency improvements, but that's far more forgivable than this.

I probably explained it really poorly, but TLDR: they did not correctly implement the method their paper described, in a way that invalidated the entire premise of their experiment to see if output quality would degrade


r/MachineLearning • • 8d ago

Discussion Reviewer reverted their score increase without reason [D]

9 Upvotes

Our initial ICLR scores are 3 2 3 3 and during the rebuttal the reviewer who gave us a 2 stated in his response they would like to increase his score, however, 6 hours later they changed their score back to 2 without giving any explanation, has this happened to anyone before? The comment they have about the score increase is still there.

Update: They changed it back to 3, but it still worries me, we sent a note to the AC, so maybe thats why they changed the score back to 3.


r/MachineLearning • • 7d ago

Discussion ICML Double Columns vs. Arxiv Version [D]

0 Upvotes

Hi -- with only 1/3 reviewers responding, got a q about ICML. I have no problem with ICML, but the fact that it is double columns and I really don't want my paper to be presented as double column. Mainly because I find it ugly, and with some long equations it will look really messy. That was a big reason why I pushed for ICLR (semi-seriously)

Is it possible to have the online / arxiv version as a single column paper, while submitting to ICML as double column? If it gets accepted, would I need to make the online version same as the ICML version if I am claiming it got into ICML? Or like have multiple versions on arxiv and link them all in scholar? Curious about the norms in academia, specifically ML, as it will be my first publication!

Furthermore, any tips & tricks for double column theory heavy papers? Cheerio


r/MachineLearning • • 6d ago

Discussion What if we created a Chinese-language AI conference? [D]

0 Upvotes

China has already caught up with, or even surpassed, the English-based AI research. Chinese researchers also account for a significant share of the global AI research community.

If that's the case, wouldn't establishing a Chinese-language AI conference and creating an exclusive pool of Chinese-speaking researchers help further consolidate our hegemony in the field?

What if Chinese researchers collectively decided to exclusively submit our papers only to Chinese-language AI conferences?

This would also free Chinese researchers from the AI slop and low-quality peer reviews that have swallowed up mainstream ML conferences such as ICLR, NeurIPS, ICML.