-
Notifications
You must be signed in to change notification settings - Fork 351
New GSoC project proposal: Highly Granular Quantization for CICADA #1668
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 7 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
fff6eac
Create proposal_HGQforCICADA.md
ligerlac 72e07c2
create princeton org (copy from 2023)
ligerlac daa741f
add CICADA project and logo
ligerlac da897ba
Update project proposal
ligerlac 10b8469
Merge branch 'HSF:main' into new-gsoc-project
ligerlac 227ae2d
Update proposal_HGQforCICADA.md
ligerlac 0e47f7c
Update proposal_HGQforCICADA.md
ligerlac 2b6a779
typo
ligerlac File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
title: "Princeton University" | ||
author: "Lino Gerlach" | ||
layout: default | ||
organization: princeton | ||
logo: princeton-logo.png | ||
description: | | ||
Princeton University is a private Ivy League research university in Princeton, New Jersey. | ||
--- | ||
|
||
{% include gsoc_proposal.ext %} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
project: CICADA | ||
layout: default | ||
logo: cicada-logo.png | ||
description: | | ||
[CICADA](https://cicada.web.cern.ch/) Calorimeter Image Convolutional Anomaly Detection Algorithm (CICADA) uses low level Compact Muon Solenoid experiment's trigger calorimeter information as the input to convolutional autoencoder to find anomalies produced during Large Hadron Collider proton-proton collisionsis. Quantization Aware Training and Knowledge Distillation are used to compress the model for sub-500ns inference on Field-Programmable Gate Arrays. | ||
summary: | | ||
[CICADA](https://cicada.web.cern.ch/) Calorimeter Image Convolutional Anomaly Detection Algorithm: Real-time anomaly detection at CMS. | ||
--- | ||
|
||
{% include gsoc_project.ext %} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
--- | ||
title: Highly Granular Quantization for CICADA | ||
layout: gsoc_proposal | ||
project: CICADA | ||
year: 2025 | ||
organization: princeton | ||
--- | ||
|
||
## Description | ||
|
||
The CICADA (Calorimeter Image Convolutional Anomaly Detection Algorithm) project aims to provide an unbiased detection of new physics signatures in proton-proton collisions at the Large Hadron Collider's Compact Muon Solenoid experiment (CMS). It detects anomalies in low-level trigger calorimeter information with a convolutional autoencoder, whose behaviour is transferred to a smaller model through knowledge distillation. Careful quantization of the deployed model allows it to meet the requirement of sub-500ns inference times on FPGAs. While CICADA currently employs Quantization Aware Training with different quantization schemes for each layer of the distilled model, a new gradient-based quantization optimization approach published in 2024 offers the possibility of optimizing quantization at the individual weight level. This project would explore implementing this highly granular quantization method to CICADA's distilled model and evaluating its effects on both model performance and resource consumption on FPGAs. The work would involve implementing the new quantization approach, comparing it with the current implementation, and investigating the impact on both detection performance and hardware resource utilization while maintaining the strict timing requirements. | ||
|
||
## Task ideas | ||
* Transition CICADA's quantization tool from QKeras to HGQ | ||
* Optimize student model's quantization with higher granularity | ||
* Compare resulting model's performance with legacy model | ||
* Emulate deployment on FPGA w/ Vivado to evalute resource consumption | ||
|
||
## Expected results | ||
* Extend existing training / quantization scripts to use HGQ in addition to QKeras | ||
* A trained student model with highly granular quantization | ||
* Estimates of that model's performance and resource consumption on an FPGA | ||
|
||
## Requirements | ||
Python, Tensorflow, Quantization | ||
|
||
## Mentors | ||
* [Lino Gerlach](mailto:[email protected]) | ||
* [Isobel Ojalvo](mailto:[email protected]) | ||
|
||
## Links | ||
* [CICADA (homepage)](https://cicada.web.cern.ch/) | ||
* [CICADA (code)](https://github.com/Princeton-AD/cicada) | ||
* [HGQ (Paper)](https://arxiv.org/pdf/2405.00645) | ||
* [HGQ (code)](https://github.com/calad0i/HGQ) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.