Ultrafast processing of pixel detector data with machine learning frameworks

G. Blaj, Chu-En Chang, C. Kenney
{"title":"Ultrafast processing of pixel detector data with machine learning frameworks","authors":"G. Blaj, Chu-En Chang, C. Kenney","doi":"10.1063/1.5084708","DOIUrl":null,"url":null,"abstract":"Modern photon science performed at high repetition rate free-electron laser (FEL) facilities and beyond relies on 2D pixel detectors operating at increasing frequencies (towards 100 kHz at LCLS-II) and producing rapidly increasing amounts of data (towards TB/s). This data must be rapidly stored for offline analysis and summarized in real time. While at LCLS all raw data has been stored, at LCLS-II this would lead to a prohibitive cost; instead, enabling real time processing of pixel detector raw data allows reducing the size and cost of online processing, offline processing and storage by orders of magnitude while preserving full photon information, by taking advantage of the compressibility of sparse data typical for LCLS-II applications. We investigated if recent developments in machine learning are useful in data processing for high speed pixel detectors and found that typical deep learning models and autoencoder architectures failed to yield useful noise reduction while preserving full photon information, presumably because of the very different statistics and feature sets between computer vision and radiation imaging. However, we redesigned in Tensorflow mathematically equivalent versions of the state-of-the-art, \"classical\" algorithms used at LCLS. The novel Tensorflow models resulted in elegant, compact and hardware agnostic code, gaining 1 to 2 orders of magnitude faster processing on an inexpensive consumer GPU, reducing by 3 orders of magnitude the projected cost of online analysis at LCLS-II. Computer vision a decade ago was dominated by hand-crafted filters; their structure inspired the deep learning revolution resulting in modern deep convolutional networks; similarly, our novel Tensorflow filters provide inspiration for designing future deep learning architectures for ultrafast and efficient processing and classification of pixel detector images at FEL facilities.","PeriodicalId":8827,"journal":{"name":"arXiv: Instrumentation and Detectors","volume":"11 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2019-01-16","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"4","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv: Instrumentation and Detectors","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1063/1.5084708","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 4

Abstract

Modern photon science performed at high repetition rate free-electron laser (FEL) facilities and beyond relies on 2D pixel detectors operating at increasing frequencies (towards 100 kHz at LCLS-II) and producing rapidly increasing amounts of data (towards TB/s). This data must be rapidly stored for offline analysis and summarized in real time. While at LCLS all raw data has been stored, at LCLS-II this would lead to a prohibitive cost; instead, enabling real time processing of pixel detector raw data allows reducing the size and cost of online processing, offline processing and storage by orders of magnitude while preserving full photon information, by taking advantage of the compressibility of sparse data typical for LCLS-II applications. We investigated if recent developments in machine learning are useful in data processing for high speed pixel detectors and found that typical deep learning models and autoencoder architectures failed to yield useful noise reduction while preserving full photon information, presumably because of the very different statistics and feature sets between computer vision and radiation imaging. However, we redesigned in Tensorflow mathematically equivalent versions of the state-of-the-art, "classical" algorithms used at LCLS. The novel Tensorflow models resulted in elegant, compact and hardware agnostic code, gaining 1 to 2 orders of magnitude faster processing on an inexpensive consumer GPU, reducing by 3 orders of magnitude the projected cost of online analysis at LCLS-II. Computer vision a decade ago was dominated by hand-crafted filters; their structure inspired the deep learning revolution resulting in modern deep convolutional networks; similarly, our novel Tensorflow filters provide inspiration for designing future deep learning architectures for ultrafast and efficient processing and classification of pixel detector images at FEL facilities.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
基于机器学习框架的像素检测器数据超快速处理
在高重复率自由电子激光(FEL)设备上进行的现代光子科学依赖于以越来越高的频率(在LCLS-II中接近100 kHz)运行的2D像素探测器,并产生快速增长的数据量(接近TB/s)。这些数据必须快速存储以供离线分析和实时汇总。虽然在LCLS,所有原始数据都已存储,但在LCLS- ii,这将导致过高的成本;相反,通过利用LCLS-II应用中典型的稀疏数据的可压缩性,实现对像素探测器原始数据的实时处理,可以在保留完整光子信息的同时,减少在线处理、离线处理和存储的大小和成本。我们调查了机器学习的最新发展是否对高速像素检测器的数据处理有用,并发现典型的深度学习模型和自动编码器架构未能在保留完整光子信息的同时产生有用的降噪,可能是因为计算机视觉和辐射成像之间的统计和特征集非常不同。然而,我们在Tensorflow中重新设计了LCLS中使用的最先进的“经典”算法的数学等效版本。新颖的Tensorflow模型产生了优雅、紧凑和硬件无关的代码,在廉价的消费级GPU上获得了1到2个数量级的处理速度,降低了LCLS-II在线分析的预计成本3个数量级。十年前,计算机视觉主要是手工制作的滤镜;它们的结构激发了深度学习革命,产生了现代深度卷积网络;同样,我们的新型Tensorflow滤波器为设计未来的深度学习架构提供了灵感,用于在FEL设施中超快速高效地处理和分类像素检测器图像。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Self-Compensating Co-Magnetometer vs. Spin-Exchange Relaxation-Free Magnetometer: Sensitivity To Nonmagnetic Spin Couplings Fuel rod classification from Passive Gamma Emission Tomography (PGET) of spent nuclear fuel assemblies Search for double $$\beta $$-decay modes of $$^{64}$$Zn using purified zinc Construction and commissioning of CMS CE prototype silicon modules MeV-scale performance of water-based and pure liquid scintillator detectors
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1