Andrew Smith -
The Pandora multi-algorithm approach to pattern recognition
16th September 2019 Reconstruction & Machine Learning in Neutrino Experiments workshop - DESY
For the MicroBooNE & DUNE collaborations
The Pandora multi-algorithm approach to pattern recognition 16th - - PowerPoint PPT Presentation
The Pandora multi-algorithm approach to pattern recognition 16th September 2019 Reconstruction & Machine Learning in Neutrino Experiments workshop - DESY Andrew Smith - For the MicroBooNE & DUNE collaborations Overview Hope to answer
Andrew Smith -
16th September 2019 Reconstruction & Machine Learning in Neutrino Experiments workshop - DESY
For the MicroBooNE & DUNE collaborations
2
○ Why is pattern-recognition important for neutrino physics? ○ Where does pattern-recognition fit into the field of reconstruction? ○ What is Pandora’s approach to pattern-recognition for Liquid Argon Time Projection Chamber experiments? - MicroBooNE, ProtoDUNE & DUNE ○ How can I get involved / learn more?
A neutrino interaction image from one wire plane in MicroBooNE
3
LArTPC = Liquid Argon Time Projection Chamber
and also produce scintillation light
produces a signal on all three planes
Charge ⊙ Wire number Drift time E-field neutrino → Ar 3⨯ images 3 3 ⨯ ⨯ w w i i r r e e p p l l a a n n e e s s . . . . . . Filled with liquid argon
MicroBooNE detector JINST 12 (2017) no.02, P02017
Single-phase LArTPC
4
470m Booster Target hall SBND ICARUS MicroBooNE LINAC High rise
Experiment
Physics
protons → ← ~1 GeV neutrinos
5
○ Groundbreaking for DUNE long baseline neutrino facility in 2017
○ Based at CERN, first data 2018 ○ Important test-beam data for DUNE
30 countries Physics
Low-level image processing Hit finding Pattern recognition Particle fits: Tracks, Showers Calorimetric reconstruction Particle Identification
The reconstruction pipeline
6
Low-level image processing Hit finding Pattern recognition Particle fits: Tracks, Showers Calorimetric reconstruction Particle Identification
The reconstruction pipeline
7
Induction
Drift time Current out of wire
Induction Collection Cartoon wire responses to ionization charge drifting past a wire on induction and collection planes
Hits
Drift time Wire position
The raw waveforms are processed to deconvolve detector effects and remove noise A hit is produced for peaks in the processed waveforms. These form the input to the patrec stage
Low-level image processing Hit finding Pattern recognition Particle fits: Tracks, Showers Calorimetric reconstruction Particle Identification
The reconstruction pipeline
8
Induction
Drift time Current out of wire
Induction Collection Cartoon wire responses to ionization charge drifting past a wire on induction and collection planes Hits from the collection plane for a simulated neutrino interaction in MicroBooNE, before and after patrec
Eur.Phys.J. C78 (2018) no.1, 82 Drift time Wire position
Pattern recognition
Neutrino interaction vertex Secondary vertex
Hits
Drift time Wire position
The main job of the patrec is to: Cluster the hits together to represent individual particles Identify the hierarchical relationship between particles
Clusters of hits represent individual particles
GitHub Repository github.com/PandoraPFA
pattern recognition
experiments, but now well established on many LArTPC experiments too!
9
SDK Application Algorithms
Pandora
Software development kit Eur.Phys.J. C75 (2015) no.9, 439 μBooNE Algorithms Eur.Phys.J. C78 (2018) no.1, 82
event via the event data model
which are available in LArSoft for downstream analysis
10
Drift time (common to all planes) Wire position U plane V plane W plane A cartoon LArTPC pattern recognition problem
Parent-Daughter link defines hierarchy Neutrino interaction vertex EM shower Hits 2D Clusters Particles Hierarchies 3D Trajectories Interaction Vertices Understanding of the event Event data model Cluster of hits Each colour represents a different particle The three readout planes give three “views” of the same interaction Reconstructed particles are the principal output
develop targeted algorithms for each task ○ E.g. Cluster together two hits if …
advanced machine learning techniques
understanding until a complete picture of the event develops
information flow between algorithms
loops - a technique that Pandora frequently utilizes
11
Algorithm Algorithms update our current understanding of the event by modifying the event data Information flow Algorithm A Algorithm B Information flow
12 Final result
Protected track clusters Candidate shower spines Candidate shower branches Neutrino interaction vertex
Simulated unresponsive channels
Neutrino interaction vertex Vertex candidates U plane V plane W plane
MicroBooNE simulation
Drift time Wire position Candidate cluster split
Electromagnetic showers Vertex finding
using SVMs
Matching clusters between views 2D clustering
Neutrino interaction vertex
Fraction of events Completeness
13
For performance in other channels, see: Eur.Phys.J. C78 (2018) no.1, 82
Fraction of events Purity
MC hits
True particle Matched reconstructed particle
Reco hits Shared hits
Purity = # Shared hits / # Reco hits Completeness = # Shared hits / # MC hits True momentum [GeV] Reconstruction efficiency
Drift time Wire position 5cm ↑ logarithmic-scale Low energy particles produce few hits - causing efficiency drop ↑ logarithmic-scale
14
Neutrino / test-beam chain
designed for neutrino or test-beam interactions
patrec to inform later algorithms
electromagnetic showers
Each algorithm chain works well on the types of interactions it’s designed for For surface detectors, we need a way of dealing with events that contain both neutrino/test-beam interactions and cosmic-rays Solution: “Consolidated approach”
Cosmic-ray chain
test-beam chains
delta-rays of energetic cosmic-rays
A Pandora-reconstructed cosmic-only data event in MicroBooNE
15
neutrinos / test-beam interactions and cosmic-rays A Pandora-reconstructed test-beam ProtoDUNE data event
Cosmic chain Tag clear CRs 3D slicing Neutrino / test-beam chain Cosmic chain Slice ID Parent reconstructed particle Daughter particles: 1 Track, 4 Showers “Slice” is reconstructed using the test-beam algorithm chain
16
17
○ Details the design of the software development kit and how algorithms interface with the application that is running Pandora (e.g. larpandora)
○ Gives details of Pandora’s algorithms in MicroBooNE at the time of publication, but generally applicable to other LArTPC experiments too
○ https://github.com/PandoraPFA
○ Talks about how the algorithms work and step-by-step exercises about how you might develop a new algorithm using Pandora!
○ Talks and exercises about running and using Pandora within LArSoft, including tutorials on using Pandora’s custom event display
○ ProtoDUNE analysis workshop, CERN - 2019 ○ MicroBooNE Pandora workshop, Fermilab - 2018
18
○ Our approach is to use many targeted algorithms to build an understanding of the event ○ Some problems are best solved using more traditional hand-designed algorithms, others are great candidates for machine learning techniques ■ We aim to carefully exploit the most appropriate solution for each problem
developments that will see Pandora used for DUNE ○ Capable of handling complex neutrino interaction topologies ○ Works in dense cosmic-ray environments too
Thanks for your attention!
19
20
Pandora is an open project and new contributors would be extremely welcome. We’d love to hear from you and we will always try to answer your questions.
Pandora SDK development John Marshall john.marshall@warwick.ac.uk Mark Thomson thomson@hep.phy.cam.ac.uk LArTPC algorithm development John Marshall Andy Blake a.blake@lancaster.ac.uk MicroBooNE integration Andy Smith asmith@hep.phy.cam.ac.uk ProtoDUNE integration Steven Green sg568@hep.phy.cam.ac.uk DUNE FD integration Lorena Escudero escudero@hep.phy.cam.ac.uk Graduate students MicroBooNE Joris Jan de Vries, Jack Anthony, Andy Smith ProtoDUNE Stefano Vergani DUNE Jhanzeb Ahmed, Mousam Rai, Ryan Cross github.com/PandoraPFA PandoraPFA.slack.com
21
○ Consider all cluster pairings simultaneously to make decisions in the context of the whole event
22
Drift time Wire position
Simulated unresponsive channels
MicroBooNE simulation Cluster refinement
23
U plane V plane W plane Drift time Wire position
Sample points along clusters in two views at time intervals Project into the remaining view
MicroBooNE simulation
Measure the overlap with the hits
U + V → W
which measures their consistency
elements 𝜓2
uvw , where u, v & w label
the clusters from each view
better we have clustered the hits ⇒ Iteratively run algorithms which modify the clusters to diagonalise the tensor!
Overlaps
U + V → W V + W → U ⇒ 𝜓2 W + U → V
24
Drift time Wire position U plane V plane W plane U plane V plane W plane Candidate cluster merge Candidate cluster split MicroBooNE simulation
motivated by clusters in the other views
25
and use the matching clusters in other views to determine the corresponding 3D points
interaction vertices
features, fed into a support vector machine (SVM) to get a score for each candidate
Drift time Wire position MicroBooNE simulation True neutrino vertex
Downstream usage
26
V plane W plane U plane MicroBooNE simulation Fitted shower envelopes Projected shower envelope Drift time Wire position
Protected track clusters Candidate shower spines Candidate shower branches Neutrino vertex
iterative through another set of algorithms to diagonalise the tensor
Hits
27
Neutrino vertex
Simulated unresponsive channels
5 cm
MicroBooNE simulation Drift time Wire position Hits ≈ Pixels 2D Clusters Particles Hierarchies 3D Trajectories Interaction Vertices Analysis A Pandora-reconstructed neutrino interaction in MicroBooNE