Skip to content

Commit f54304b

Browse files
committed
Updates from Overleaf
1 parent 7dbf11f commit f54304b

File tree

12 files changed

+105
-18
lines changed

12 files changed

+105
-18
lines changed

Abstract.tex

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,11 @@
1-
I have a super abstract.
1+
Uncertainty and confidence estimation in medical image segmentation are crucial pillars for the clinical deployment of automated segmentation models. While deep learning-based methods have achieved impressive segmentation accuracy, they often struggle to accurately represent the confidence in their predictions and to communicate the underlying uncertainty inherent in the task. Capturing this uncertainty can provide valuable insights into the reliability of automated segmentations, enabling better-informed clinical decisions via interaction with more expressive and richer data structures. For example, modeling spatial correlation within the uncertainty measures is particularly important in medical imaging, as anatomical and pathological structures exhibit strong spatial dependencies that should be reflected in data communicated to clinical decision makers.
2+
3+
Stochastic Segmentation Networks (SSNs) provide a framework for capturing spatially correlated aleatoric uncertainty by learning to a multivariate normal distribution over the output space, permitting multiple masks to be drawn as samples. Due to the high dimensional space of the prediction, a lower dimensional representation of the covariance must be employed. In this work, we extend SSNs by parametrising the covariance and precision matrices of multivariate normal distributions using structured sparse matrices. The use of such structured distributions allows for a more expressive representation of the uncertainty present in medical image data. Additionally, these predicted distributions can be conditioned on user input, which allows the model to improve the predicted distribution, leveraging the spatial correlation captured by structured Gaussians.
4+
5+
To achieve this, we explore several covariance and precision parameterisations, including low-rank, sparse, and hybrid structures, focusing on their application to 3D medical imaging. We explore the utility and behaviour of these structured Gaussians on synthetic and real world medical image segmentation tasks. Our results show that incorporating structured covariance into SSNs enhances the model's ability to capture the complex spatial correlations inherent in medical imaging, leading to a more meaningful and powerful uncertainty estimation, that can provide a path for richer interaction with automated predictions.
6+
7+
Our work also extends to the development of efficient sparse matrix operations for backpropagation via sparse gradients, including sparse matrix multiplication and linear solvers, which are critical for optimising models that utilise structured sparse representations. We provide implementations of these operations, including support for PyTorch, CuPy, and JAX, and have released it as a Python package, to facilitate broader adoption within the research community.
8+
9+
In addition to our work on uncertainty estimation, we address the problem of model calibration in medical image segmentation by introducing novel calibration loss functions. We propose the use of marginal L1 average calibration error (mL1-ACE) as a differentiable loss to improve pixel-wise calibration, demonstrating significant improvements in calibration error metrics while preserving segmentation quality. Furthermore, we introduce dataset reliability histograms, which generalize traditional reliability diagrams to provide a more refined visual assessment of model calibration across the entire dataset.
10+
11+
Overall, this thesis contributes to the advancement of uncertainty estimation and model calibration in medical image segmentation, aiming to enhance the reliability and interpretability of deep learning models in clinical settings. By leveraging structured sparse matrices, we provide a novel pathway for capturing the structured uncertainty that is often overlooked in traditional approaches, ultimately improving the trustworthiness of automated segmentation systems.

Chapter_1.tex

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
\chapter[Sparse Matrix Operations]{Sparse Matrix Operations with Back propagation}
2+
\chaptermark{Sparse Matrices}
3+
\label{chap:sparse}
4+
\minitoc
5+
6+
7+
\section{Basics of Sparse Matrices}
8+
\subsection{COO and CSR encoding}
9+
\subsection{Limitation of PyTorch Sparse Graidents}
10+
\section{Sparse Matrix Multiplication}
11+
\subsection{Sparse Gradient Functions for SpMM}
12+
\section{Sparse Linear Solvers}
13+
\subsection{Comparing Solver Backbones}
14+
\begin{itemize}
15+
\item CuPy
16+
\item Jax
17+
\item BICGSTAB
18+
\item Conjugate Gradients
19+
\item MINRES
20+
\end{itemize}
21+
\subsection{Sparse Gradients for Linear Solvers}
22+
23+
Spanning on several pages
24+

Chapter_2.tex

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
\chapter[Structured Uncertainty In Medical Image Segmentation]{Modelling aleatoric uncertainty in medical image segmentation using stochastic segmentation networks predicting structured gaussian distributions}
2+
\chaptermark{Structured Uncertainty}
3+
\label{chap:uncertainty}
4+
\minitoc
5+
6+
\section{Multivariate Normal Distributions}
7+
\subsection{Diagonal Covariance}
8+
\subsection{Low-Rank Covariance}
9+
\subsection{Low-Rank Precision}
10+
\subsection{Sparse Covariance}
11+
\subsection{Sparse Precision}
12+
\subsection{Symbolic Covariance}
13+
\subsection{Combining Low-Rank and Sparse}
14+
Maybe?
15+
\section{Stochastic Segmentation Networks}
16+
\subsection{Low-Rank SSNs}
17+
Demonstrating on toy example and medical dataset
18+
\subsection{Sparse Structured SSNs}
19+
Demonstrating on toy example and medical dataset
20+
21+
\newpage
22+
23+
Spanning on several pages

Chapter_3.tex

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
\chapter[Calibration in Medical Image Segmentation]{Using directly differential calibration errors as loss function for medical image segmentation}
2+
\chaptermark{Calibration in Medical Image Segmentation}
3+
\label{chap:calibration}
4+
\minitoc
5+
\section{Reliability Diagrams}
6+
\section{Calibration Error Metrics}
7+
\section{Calibration Losses}
8+
\subsection{Hard-Binned Calibration Losses}
9+
\subsection{ACE-DLIRIS MICCAI Paper}
10+
\subsection{Soft-Binned Calibration Losses}
11+
\subsection{Journal Extension Paper}
12+
\newpage
13+
14+
Spanning on several pages

Introduction.tex

Lines changed: 25 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,35 @@ \chapter{Introduction}
1010
\end{minipage}
1111
\end{center}
1212

13+
% \section{A section}
14+
% %
15+
% Youpi
16+
17+
% \subsection{A sub-section}
18+
% %
19+
% Youpi
20+
21+
% \subsubsection{A sub-sub-section}
22+
% %
23+
% Youpi
24+
25+
% \paragraph{A paragraph}
26+
% %
27+
% Youpi
1328

1429
From the beginning of times, men and women have written theses using Lorem Ipsum and Foo Bar language.
1530

16-
\section{A section}
17-
%
18-
Youpi
31+
\section{Uncertainty in Medical Image Segmentation}
1932

20-
\subsection{A sub-section}
33+
\subsection{Epistemic Uncertainty}
2134
%
22-
Youpi
2335

24-
\subsubsection{A sub-sub-section}
25-
%
26-
Youpi
36+
\subsubsection{MC Drop-out}
37+
% etc etc
38+
\subsection{Aleatoric Uncertainty}
39+
\subsubsection{Stochastic Segmentation Networks}
2740

28-
\paragraph{A paragraph}
29-
%
30-
Youpi
41+
\section{Reliability and Calibration in Medical Image Segmentation}
42+
\subsection{Reliability Diagrams}
43+
\subsection{Calibration Metrics}
44+
\subsection{Calibration Losses}

Thesis.tex

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
\documentclass[british,a4paper,11pt,twoside]{ThesisStyle}
1111

1212
\makeatletter
13-
\title{Lorem Ipsum}\let\thetitle\@title
14-
\author{Foo von Bar}\let\theauthor\@author
13+
\title{Structured Uncertainty and Reliability in Medical Image Segmentation}\let\thetitle\@title
14+
\author{Theodore Barfoot}\let\theauthor\@author
1515
\makeatother
1616

1717
\input{FormatAndDefsBasic}
@@ -65,7 +65,9 @@ \chapter{Acknowledgments}
6565

6666
\include{Introduction}
6767

68-
\include{Methods}
68+
\include{Chapter_1}
69+
\include{Chapter_2}
70+
\include{Chapter_3}
6971

7072
\include{Conclusion}
7173

TitlePageKCL.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@
4646
\begin{tabular}{l p{3.3cm} l l}
4747

4848
Technical Supervisor & & Technical Co-Supervisor \\
49-
\textbf{Pr. Paul Erdos} & & \textbf{Pr. Harold Hopkins} \\
49+
\textbf{Pr. Tom Vercauteren} & & \textbf{Pr. Ben Glocker} \\
5050
& & \\
51-
Clinical Supervisor & & \\
52-
\textbf{Pr. Godfrey N. Hounsfield} & &
51+
Clinical Supervisor & & Industry Supervisor \\
52+
\textbf{Mr. Jonathan Shapey} & & \textbf{Dr. Oliver Hamilton} &
5353

5454
\end{tabular}
5555
\end{center}

tools/compresspdf2ebookpdf

100755100644
File mode changed.

tools/convertlatex2word

100755100644
File mode changed.

tools/graphicsconvertforlatex.py

100755100644
File mode changed.

0 commit comments

Comments
 (0)