David vs. Goliath in Next Activity Prediction: Argmax vs. LSTM, Transformer, and LLM
This paper presents a systematic benchmark across seven real-life event logs demonstrating that a simple counting-based argmax baseline often matches or approaches the performance of complex deep learning models and billion-parameter LLMs in next activity prediction, challenging the assumption that increased model complexity and pretraining consistently yield superior results.
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
The Big Question: Do We Need a Super-Computer to Predict the Next Step?
Imagine you are watching a movie. You've seen the first half, and you want to guess what happens next.
- The "Goliath" approach: You hire a team of 1,000 expert film critics who have watched every movie ever made. They use their massive knowledge of history, culture, and storytelling to guess the ending.
- The "David" approach: You just look at the last scene. If the hero just picked up a sword, you guess the next scene involves fighting. If the hero just sat down for dinner, you guess the next scene involves eating.
This paper asks: Do we really need the 1,000 experts (Goliath), or is looking at the last scene (David) enough?
The Setting: Predicting Business Processes
The researchers are working in a field called Predictive Process Monitoring. Think of a business process like a recipe or a factory assembly line.
- The Goal: Given a list of steps already taken (e.g., "Order received," "Payment checked," "Item packed"), predict the very next step (e.g., "Ship item").
- The Contenders:
- Argmax (David): A super-simple rule. It just counts how often a specific step follows another in the past. If "Shipping" followed "Packing" 90% of the time, it guesses "Shipping."
- LSTMs: Older, smart computers that remember sequences well.
- Transformers & LLMs (Goliath): The massive, billion-parameter AI models (like the ones powering chatbots) that have been "pre-trained" on the entire internet. The idea is that because they know so much about language and patterns, they should be amazing at predicting business steps.
The Experiment: The "Vocabulary" Problem
The researchers tried to use these giant AI models (LLMs) for business tasks. But business data isn't natural language. It's not "The cat sat on the mat"; it's "Event ID 405: Invoice Approved."
To make the AI understand, they had to translate the business data into the AI's language. They did this by:
- Taking a giant pre-trained model (Goliath).
- Swapping out its dictionary so it understands business terms instead of English words.
- Teaching it the specific business rules (Fine-tuning).
They then compared these "translated" giants against:
- Smaller models trained from scratch (learning only on the business data).
- The simple "Argmax" counter.
- Older LSTM models.
The Results: The Giant Stumbles
The paper's findings are surprising and can be summarized as "David vs. Goliath," where David wins or ties.
1. The "Pre-training" Myth
The researchers found that the "knowledge" the giant AI learned from the internet (pre-training) did not help.
- Analogy: Imagine a chef who has cooked every dish in the world (the pre-trained AI). You ask them to make a very specific, simple sandwich using only three ingredients. The chef tries to use their vast knowledge of French cuisine to make the sandwich, but it turns out a local deli worker who only makes that specific sandwich (the model trained from scratch) does a better job. The chef's massive knowledge was actually a distraction.
2. Bigger is Not Better
They tested models ranging from tiny to massive (billions of parameters).
- Result: Making the model 1,000 times bigger did not make it 1,000 times smarter. In fact, the smaller, simpler models often performed just as well, or better, than the giants.
3. The Simple Counter Wins (Mostly)
On most of the business datasets they tested, the simple "Argmax" counter (David) performed just as well as the billion-parameter AI (Goliath).
- Why? Business processes are often repetitive. If 90% of the time Step B follows Step A, you don't need a super-computer to figure that out. You just need a calculator. The complex AI was overkill.
4. When Does the Giant Win?
The giant AI (and the models trained from scratch) only showed a clear advantage on two specific datasets (BPI12 and BPI17). These were the only cases where the business process was complex enough, or the data varied enough, to require a more sophisticated brain than a simple counter.
The Takeaway
The paper concludes that the field of business process prediction has been trying to solve problems with "sledgehammers" (massive AI models) when a "sling" (a simple counter or a small model) would do.
- Don't bring a giant to a fight where a sling will do.
- Before spending millions on training massive AI models, practitioners should try a simple frequency counter first.
- If a more complex model is needed, it's better to train a small model from scratch on the specific data than to try to force a giant, pre-trained internet model to do the job.
In short: The "smart" AI didn't act smarter than a simple calculator in this specific job. The researchers suggest we stop over-complicating things and start using simpler, more efficient tools.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.