CERN uses ultra-compact AI models on FPGAs for real-time LHC data filtering
TL;DR Highlight
CERN filters LHC data at 40MHz with tiny neural nets on FPGAs, not LLMs in silicon
Who Should Read
An ML service developer who wants to deploy small models in low-latency edge settings and is curious about quantization and FPGA deployment
Core Mechanics
- Not actually burned into silicon
- The article text is missing; only a comment from an author explains this.
- The models are trained with QAT (quantization-aware training) and put on FPGAs.
- Weights are hard-wired in the fabric, but the chip remains reprogrammable.
- A tiny neural net, not an LLM
- axol1tl is a VAE-based anomaly detector (it compresses and reconstructs inputs to flag outliers).
- Its structure is essentially a small MLP.
- The decoder is stripped at inference
- Before v4, the mu^2 term of the KL divergence was used as the score.
- Terms with sigma had negligible impact on signal efficiency.
- In v5 a VICREG block was added and reconstruction loss was used.
- Latency is about 2 clock cycles at 40MHz
- The author says everything runs in roughly 2 clock cycles.
- Since v5, the hls4ml-da4ml flow puts the model on FPGAs.
- CICADA is a distilled model
- A VAE was trained, then distilled with a supervised loss on anomaly scores over a calibration dataset.
- Both student and teacher are conventional conv-dense models.
Community Reactions
- Comment: author corrects the title
- An author of one of the two models said it is FPGA deployment, not burned into silicon.
- A full paper is due in a few months after a lengthy approval process.
- Opinion that the AI wording is hyped
- One view says "a chip with hardcoded logic obtained with machine learning" is more accurate.
- Another stressed it is a neural network on an FPGA, not an LLM.
- Experience: a small model failed to extrapolate
- A 200k-parameter model was trained to predict higher rounds of a hash function.
- It reached r^2 0.85 on known data but had zero predictive ability on unseen data.
- Experience with hls4ml
- A commenter said the library used is hls4ml and that they added Conv2DTranspose support.
How to Apply
- Check quantization feasibility of a small model
- Pick one latency-critical classifier or anomaly detector and check whether QAT applies.
- Use the prompt below to assess its structure first.
- Try a decoder-free score for anomaly detection
- If you use a VAE, try scoring with latent terms only at inference.
- Compare detection rates against reconstruction scoring on the same data.
- Start FPGA deployment with hls4ml
- If you need sub-microsecond latency, run the examples in the hls4ml repo.
- Compare conversion flows using the da4ml paper linked in the comments.
- Add extrapolation checks to evaluation
- Build a separate holdout outside the training range.
- Good training metrics can still mean zero performance out of range.
Try It
# Paste into Claude or ChatGPT (simplified version of the method: quantization and structure check before FPGA deployment)
I want to deploy a small neural network in an environment that needs very low latency.
Model structure: {{model structure description}}
Input size: {{input dimension}}
Latency target: {{latency target}}
Answer the following.
1. Layers to watch out for when applying QAT (quantization-aware training)
2. Parts removable at inference (e.g., a VAE decoder) and alternative scoring methods
3. An evaluation plan for performance on data outside the training rangeTerminology
Related Papers
A Beginner's Guide to Local AI with Inkling, Qwen, and Unsloth
Install Unsloth Desktop, load a quantized Qwen model, and share a private ChatGPT-like AI on your home LAN.
Muru – AI-assisted Rust server for Python apps by mod_WSGI's creator
mod_wsgi's creator is building Muru, an AI-assisted Rust ASGI/WSGI server, documenting it in public
87% of the Anthropic power will come from gas and 11% from coal in 2028
Analysis of Anthropic's contracted data centers: 87% gas, 11% coal power in 2028
Anthropic’s Nasdaq debut
Anthropic listed on Nasdaq and closed its first day below its opening price.
OpenAI still has a WebRTC Problem
WebRTC drops late audio, hurting voice AI; MoQ retransmits and buffers instead
Gemini 4 Neon
Gemini 4 Neon cuts cost per task 32% versus Carbon, at $3 input and $15 output per million tokens
AI is killing All About Berlin
After Google AI Overviews, a Berlin guide site lost 70-75% of its traffic.
Not Everything Needs an LLM
PostHog used small decision models to skip 98.7% of expensive LLM calls
Related Resources
- https://theopenreader.org/Journalism:CERN_Uses_Tiny_AI_Models_Burned_into_Silicon_for_Real-Time_LHC_Data_Filtering
- https://github.com/fastmachinelearning/hls4ml
- https://arxiv.org/abs/2512.01463
- https://arxiv.org/abs/2507.04535
- https://arxiv.org/abs/2405.00645
- https://arxiv.org/html/2411.19506v1
- https://www.youtube.com/watch?v=T8HT_XBGQUI
- https://www.youtube.com/watch?v=8IZwhbsjhvE