← Latest papers
💻 computer science

An In-depth Study of LLM Contributions to the Bin Packing Problem

This paper challenges the claim that Large Language Models significantly advance mathematical discovery in the bin packing problem by demonstrating that their generated heuristics are opaque and that the problem instances are actually simple enough to be solved by more efficient, interpretable, and generalizable algorithms, thereby highlighting the need for rigorous validation of LLM-generated scientific contributions.

Original authors: Julien Herrmann, Guillaume Pallez

Published 2026-06-19
📖 6 min read🧠 Deep dive

Original authors: Julien Herrmann, Guillaume Pallez

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are running a massive warehouse. Every day, trucks arrive with boxes of all different sizes, and you have to pack them into shipping containers (bins) as they come. You don't know what the next box will look like; you just have to make a quick decision: "Do I put this box in Container A, Container B, or open a brand new Container C?"

The goal is simple: use as few containers as possible. This is a classic puzzle known as the Bin Packing Problem.

Recently, a famous study (by Romera-Paredes et al.) claimed that Large Language Models (LLMs)—the same AI technology that writes essays and code—had discovered a "new mathematical secret" to solve this packing puzzle better than humans could. They said the AI found a clever new rule that was so smart, it counted as a "mathematical discovery."

This paper by Julien Herrmann and Guillaume Pallez is like a team of expert detectives coming in to investigate that claim. They put on their magnifying glasses and say, "Hold on. Let's look at what the AI actually did."

Here is what they found, explained simply:

1. The AI's "Secret" Wasn't Very Secret

The AI produced a set of computer instructions (a heuristic) that packed the boxes slightly better than the standard human methods. The original study claimed these instructions were "interpretable," meaning humans could easily read them and understand the logic.

The Paper's Reality Check:
The authors looked at the AI's code and found it was like reading a recipe written in a strange dialect.

  • The "c12" Code: This was a long list of "If this, then that" rules. It was readable, but the logic was messy. It was like a chef saying, "If the pot is between 7 and 8 degrees, add salt. If it's between 8 and 9, add a pinch less." It worked, but it didn't explain why it worked.
  • The "c14" Code: This one was even worse. It was a complex math formula that looked like gibberish. The authors had to run thousands of experiments just to guess what the code was actually doing. They realized that even though the code was written in plain English (Python), the reasoning behind it was hidden. It was a "black box" wearing a clear mask.

The Analogy: Imagine the AI gave you a magic compass that always pointed North. The original study said, "Look, the compass is made of glass, so you can see the needle! It's fully understandable!" The authors say, "Yes, we can see the needle, but we have no idea how the magnet inside works. We just know it points North because we tested it a million times."

2. The AI Didn't Discover a New Law of Physics

The original study claimed the AI made a "mathematical discovery." The authors argue this is a stretch.

The Paper's Reality Check:
The AI was tested on very specific, narrow scenarios (like boxes that are all between 20 and 100 units in size). The authors found that the AI didn't invent a new way of thinking; it just found a slightly tweaked version of an old, simple trick.

They realized the AI's "secret sauce" was actually just two simple numbers (parameters) that said:

  1. "If a box fits really tightly, put it there."
  2. "If it doesn't fit tightly, put it in a container that has plenty of space left."

The authors took this simple idea, stripped away the complex AI code, and built a new, super-simple algorithm (called ab-FirstFit or ab-WorstFit).

  • The Result: This new human-made algorithm was faster, easier to understand, and worked better than the AI's complex code. It even worked on different types of box sizes, whereas the AI's code broke when the rules changed slightly.

The Analogy: It's like the AI found a slightly better way to tie a shoelace by inventing a complex knot with 15 loops. The authors looked at it, realized, "Oh, you just need to pull the laces tighter and leave a little slack," and showed that a simple double-knot works better, is easier to learn, and doesn't require a PhD in knot theory.

3. The "Discovery" Was Just a Lack of Prior Research

The original study claimed they found something "new" because no one had published a paper on these specific box sizes before.

The Paper's Reality Check:
The authors suggest that no one had studied these specific box sizes not because they were too hard or mysterious, but because they weren't that important. It's like claiming you made a "scientific breakthrough" by finding the best way to stack pebbles in a specific shape of garden. It's a valid question, but it's not a fundamental discovery of the universe.

The authors argue that if the AI had truly discovered a deep mathematical truth, other researchers would have been able to read the AI's code, understand the principle, and use it to solve other problems. Instead, nobody has been able to do that. The "insight" died with the specific code the AI wrote.

The Bottom Line

The paper concludes that while using AI to help design algorithms is a cool idea, we need to be careful with the hype.

  • The AI did not make a "mathematical discovery." It just found a slightly better way to do a simple task by trial and error.
  • The AI's code was not truly "interpretable." It was hard to understand, and the "logic" was only found by guessing through experiments, not by reading the code.
  • Humans can do better. By understanding the simple principle the AI stumbled upon, humans created a simpler, faster, and more reliable tool.

The Final Metaphor:
The AI was like a monkey typing on a typewriter. Eventually, it typed a sentence that made sense. The original study said, "Look! The monkey has discovered the meaning of life!" The authors of this paper say, "No, the monkey just typed a sentence that works for this specific paragraph. We can write a better sentence, explain it clearly, and apply it to the whole book without needing a monkey."

The paper urges scientists to be rigorous: just because an AI produces a result that looks smart, doesn't mean it has truly understood the problem or made a discovery that changes how we think about math.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →