A 44M open-weights model for log anomalies that works on logs it has never seen
· 5 min read

Superlog Photon 1.0 is a small open-weights model that reads every line your systems log and flags the ones that look like a real problem. It runs on a single CPU core and works on a system it has never seen before. In our tests it was as accurate as Claude Opus at this job, and thousands of times faster.
We wrote a paper about it. This post is the short version. Read the full paper for the details on how we trained and evaluated Photon.
The weights are on Hugging Face under Apache-2.0, and the code, runtime, and reproduction scripts are on GitHub.
On four systems it had never seen, Photon scored 0.989 F1, the same as Claude Opus, and caught 98% of the stretches of log that contained a real problem.
- Photon 1.00.989
- Claude Opus + cache0.989
- Keyword filter + cache0.962
- Claude Opus alone0.854
And it runs on one CPU core, thousands of times faster than Opus.
- Photon 1.065,700× faster than Opus0.08 ms
- LogAction0.89 ms
- LogMoE7.3 ms
- Claude Opus5.5 s
Why Photon
Software is getting more complex, and AI-assisted coding is speeding that up. More code ships faster, and it fails in new ways that nobody wrote an alert for. Google's 2024 DORA report found that every 25% increase in AI adoption came with an estimated 7.2% drop in software delivery stability.1
Language models can now read a log line and judge whether it signals a problem. So why not run anomaly detection on every log line, instead of relying on alert rules written in advance?
Cost. Large systems write terabytes of logs a day. Running a large model on all of them needs GPUs and is too slow and too expensive to run around the clock.
Research has not solved this either. Most log anomaly detectors are classifiers trained once on one system's labeled logs. They break on systems they have not seen and go stale as code changes. Newer LLM-based detectors transfer better, but they need GPUs and a labeled warm-up period before they work.
We can just read all the logs
Frontier coding agents can deeply inspect source code and make countless queries to telemetry. Even though no one can afford running frontier LLMs on every log line, they can work hand in hand with smaller detector models.
Such detector models can continuously learn from LLM investigations and improve their accuracy, better adapt to the target system's faults, and raise fewer false positives.
If we had a cheap and accurate detector model, we could actually just read all the logs.
How Photon works
- Train a small encoder. An 8B LLM labeled thousands of log messages for severity and for whether they signal a fault. We trained a 33M-parameter text encoder on those labels in 28 seconds. On systems it has never seen, it ranks log messages as well as the 8B LLM on three of four, with 240 times fewer parameters. The released model is 44M parameters in total: the 33M encoder plus 11M parameters of unmodified base-model layers that Photon uses to compare log messages.
- Remember what it has seen. Logs repeat. Once numbers and IDs are stripped out, more than 99.9% of lines match a message pattern Photon has seen before. Photon scores each new pattern once, in about 10 ms, and looks the score up after that.
- Ask only about new suspicious patterns. When a pattern looks bad, Photon asks the investigator about it once and remembers the answer.
- Learn the local rules. Every system has its own normal. Each answer from the investigator adjusts what Photon treats as a problem on that system, without retraining the model.
How well it works
We tested Photon on 29.7 million log lines from four supercomputers: BGL, Liberty, Spirit, and Thunderbird.2 These are public logs from Blue Gene/L at Lawrence Livermore National Laboratory and three clusters at Sandia National Laboratories, distributed through LogHub.3 Each time, Photon was trained on the other three logs and had never seen the system it was tested on.
Photon sent the investigator very little work: 152 log patterns in total.
- Photon 1.039× fewer than sending every new pattern152
- Claude Opus + cache555
- Keyword filter + cache1,157
- Every new pattern6,011
The alerts it did raise were almost always right.
- Photon 1.0Fewer than 1 in 400 alerts0.23%
- Claude Opus + cache0.64%
- Keyword filter + cache0.69%
- Claude Opus alone22.63%
The full comparison, including how long each approach takes on a log pattern it has not seen before:
| Photon 1.01 CPU core | Opus + cache | Opus alone | Keyword + cache | Every new pattern | |
|---|---|---|---|---|---|
| Detection | |||||
| Accuracy (F1) | 0.989 | 0.989 | 0.854 | 0.962 | ≈0.999 |
| False alarms | 0.23% | 0.64% | 22.63% | 0.69% | not measured |
| Cost | |||||
| Investigator calls | 152 | 555 | 690 | 1,157 | 6,011 |
| Unnecessary calls | 102 | 473 | 594 | 1,074 | 5,872 |
| Time per new pattern | 10 ms | 4.6 s | not measured | not measured | not measured |
| Time per 100 lines | 0.08 ms | not measured | 5.5 s | <0.05 ms | not measured |
Photon also beat two recent research detectors, LogMoE and LogAction, on their own benchmark setup. The difference is largest on the system whose failures look nothing like the training data.
What's next
We believe anomaly detection will become one of the pillars of monitoring.
One of our goals at Superlog is to let more teams scan their logs for failures and security issues all the time. We are already finding serious faults in production for our customers.
We will keep pushing research on anomaly detection forward. If you want Superlog to watch your logs, sign up here.
References
- DORA Research Team. Accelerate State of DevOps Report 2024. Google Cloud, 2024.
- Adam Oliner and Jon Stearley. What Supercomputers Say: A Study of Five System Logs. IEEE/IFIP International Conference on Dependable Systems and Networks (DSN), 2007.
- LogHub, a collection of public system log datasets. github.com/logpai/loghub.
