generated from AAU-Dat/project-template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #80 from AAU-Dat/61-write-discussion
added discussion
- Loading branch information
Showing
2 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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,28 @@ | ||
% Introduce study | ||
% No finding were found, explain why | ||
% Interpret new findings from previous work that supports our study | ||
% Storm | ||
% Prism | ||
% Was CUDD the right choice of library? | ||
% Was our set up for the experiment a good set up? | ||
% Our choice of dataset, is randomly generated. Is this a good choice? | ||
|
||
%ADD Matrix mult was rather funky | ||
%Jajapy implementation in storm | ||
|
||
\section{Discussion}\label{sec:discussion} | ||
|
||
This section will cover the paper's discussion. This paper aimed to study how implementing a symbolic representation of the Baum-Welch algorithm could impact the expected runtime and model accuracy. This work extends the study conducted in~\cite{p7} by developing an entirely symbolic representation using \glspl{add} at every point of the Baum-Welch algorithm where matrices are traditionally used. | ||
|
||
Unfortunately, no significant findings were achieved in our study. Several factors contributed to this outcome. One such factor was the issue of extending Storms implementation of CUDD to handle operations, required to compute the Baum-Welch algorithm using \glspl{add}. Initially, we aimed to read files representing our data and create models from these using Storm. However, this process proved more difficult than expected. The Storm library proved particularly challenging to navigate. Although its extensive documentation was initially considered beneficial, it often led to confusion and hindered progress. As a result, initial models were instead written manually, and random values were used as data for creating these models and observed data. If we had used manual initialization of models ealier, further testing and experimentation could have been conducted, leading to a more complete implementation. | ||
|
||
|
||
Furthermore, the choice of library for manipulating \glspl{add} was not thoroughly considered, as we simply intended to extend the work in~\cite{p7}. Efforts should have been dedicated to evaluating alternative libraries that work with \glspl{add}. Examples of such libraries include Sylvan, also written in C and provides parallel execution capabilities. While CuDD worked effectively in~\cite{p7}, further consideration of alternative options could have yielded better results. | ||
|
||
While working on our implementation we studied the symbolic implementation of the Forward-Backward algorithm in~\cite{p7}, we identified an error in their implementation that suggests the possibility of significant runtime improvements. This error involved an unnecessary miscalculation in a function that appeared to slow the convergence rate. Although the results and values remained correct, the computation time increased unnecessarily.The paper~\cite{p7} had already demonstrated significant runtime improvements compared to the non-symbolic implementation it was compared to. Removing this unnecessary calculation could further enhance runtime performance. | ||
|
||
Additionally, the implementation in~\cite{p7} was only partially symbolic. While the Forward and Backward calculations used symbolic representations, other components relied on traditional matrices. This resulted in frequent conversions between \glspl{add} and matrices, increasing computational overhead. An entirely symbolic implementation would likely reduce this overhead and improve efficiency. | ||
|
||
These observations motivates the continuation of studying symbolic representations of the Baum-Welch algorithm. They also highlight the potential for further performance improvements through error correction and adopting an entirely symbolic approach. | ||
|
||
|