Skip to content
Snippets Groups Projects
Select Git revision
  • 9756c9b3bb05f78833770e30940daaf8fa1c3abe
  • master default protected
  • argument-mining-twitter-3
  • argument-mining-twitter-2
  • argument-mining-twitter
  • ethics-of-ai
  • conflict-of-interest
7 results

master.tex

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    master.tex 11.22 KiB
        % !TeX program = pdflatex
    \pdfoptionpdfminorversion=5
    
    \documentclass[9pt]{beamer}
    
    \mode<presentation> {
        \usetheme{HHUD}
        \setbeamercovered{invisible}
    }
    \usepackage[english]{babel}
    \usepackage[utf8x]{inputenc}
    \usepackage{times}
    \usepackage{amsmath}
    \usepackage{subfigure}
    \usepackage{graphicx}
    \usepackage{hyperref}
    \usepackage{xmpmulti}
    \usepackage{multirow}
    \usepackage{appendixnumberbeamer}
    \usepackage[normalem]{ulem}
    \usepackage{mathabx}
    \usepackage[linesnumbered,algoruled,boxed,lined]{algorithm2e}
    \usepackage{amssymb}
    \usepackage[longnamesfirst, authoryear]{natbib}
    \usepackage{textcomp}
    \usepackage{listings}
    \usepackage{color}
    \usepackage{tabularx}
    \usepackage{tcolorbox}
    
    \usepackage{graphicx}% http://ctan.org/pkg/graphicx
    \usepackage{booktabs}% http://ctan.org/pkg/booktabs
    
    \usepackage[absolute,overlay]{textpos}
    \usepackage{subfigure}
    
    \usepackage{tikz}
    \usepackage{pgfplots}
    \pgfplotsset{
    	width=.8\textwidth,
    	%	compat=1.13,
    	height=3.0cm,
    	xbar stacked,
    	xmin=0,
    	enlarge y limits=0.5,
    	symbolic y coords={Haskell,Frege},
    	ytick=data,
    	%	nodes near coords,
    }
    
    
    %%%%% https://github.com/cebe/pdfpc-latex-notes
    % create a new file handle
    \newwrite\pdfpcnotesfile
    
    % open file on \begin{document}
    \AtBeginDocument{%
    	\immediate\openout\pdfpcnotesfile\jobname.pdfpc\relax
    	\immediate\write\pdfpcnotesfile{[notes]}
    }
    % define a # http://tex.stackexchange.com/a/37757/10327
    \begingroup
    \catcode`\#=12
    \gdef\hashchar{#}%
    \endgroup
    % define command \pnote{} that works exactly like not but
    % additionally writes notes to file in pdfpc readable format
    \newcommand{\pnote}[1]{%
    	% keep normal notes working
    	\note{#1}%
    	% write notes to file
    	\begingroup
    	\let\#\hashchar
    	\immediate\write\pdfpcnotesfile{\#\#\# \theframenumber}%
    	\immediate\write\pdfpcnotesfile{\unexpanded{#1}}%
    	\endgroup
    }
    % close file on \begin{document}
    \AtEndDocument{%
    	\immediate\closeout\pdfpcnotesfile
    }
    
    % background image
    \usebackgroundtemplate{\includegraphics[width=\paperwidth]
        {fig/background_small}} % für den schiefen blauen Streifen _small entfernen
    % commands for low and high decoration in frame foot
    \newcommand{\footdecorationlow}{\usebackgroundtemplate{
        \includegraphics[width=\paperwidth]{fig/background_small}}}
    \newcommand{\footdecorationhigh}{\usebackgroundtemplate{
        \includegraphics[width=\paperwidth]{fig/background_small}}} % für den schiefen blauen Streifen _small entfernen
    
    % Own commands:
    
    \newcommand{\TODO}{\colorbox{yellow}{\color{red}todo}}
    \newcommand{\CSPM}{CSP$_M$}
    \newcommand{\code}[1]{\texttt{#1}}
    
    \newcommand{\la}[1]{{\fontsize{6pt}{8pt}\selectfont\color{gray}\textit{#1}}}
    
    \usepackage{listings} % Alternative: minted
    \lstset{
    	captionpos=b,
    	language=haskell,
    	basicstyle=\footnotesize\ttfamily,
    	morekeywords={derive,pure,native,private,throw,throwIO},
    	moredelim=**[is][\btHL]{@@}{@@},
    	escapeinside={\%*}{*)},
    	postbreak=\raisebox{0ex}[0ex][0ex]{\ensuremath{\color{gray}\hookrightarrow\space}},
    	breakindent=10pt,
    	keywordstyle=\bfseries\color{black!40!black},
    	commentstyle=\itshape\color{green!40!black},
    	identifierstyle=\color{hhuUniBlau},
    	alsoother=@\$,
    %	classstyle=\color{black},
    	stringstyle=\color{red},
    	showstringspaces=false,
    }
    
    \lstdefinestyle{prompt}{
    	breaklines=true,
    	language=bash,
    	morecomment=[l]{hs>},
    	morecomment=[l]{fr>},
    	commentstyle=\color{black!40!black},
    	basicstyle=\footnotesize\ttfamily\color{darkgray!40!darkgray},
    	identifierstyle=\color{darkgray!40!darkgray},
    	keywordstyle=\color{darkgray!40!darkgray},
    %	classstyle=\color{darkgray!40!darkgray},
    	stringstyle=\color{darkgray!40!darkgray}
    }
    
    
    % \AtBeginSection[] {
    %   \footdecorationhigh
    %   \begin{frame}<beamer>
    %     \thispagestyle{empty}
    %     %\frametitle{Gliederung}
    %     \vspace{-5mm}
    %     \tableofcontents[currentsection]
    %   \end{frame}
    %   \footdecorationlow
    % }
    
    % % % % % % % %  CHANGE TOPIC AND AUTHOR INFORMATION HERE % % % % % % %
    % HIER DEN TITEL DER ARBEIT EINTRAGEN                                                   
    \title{Argument Mining and Twitter}
    % HIER DEN NAMEN UND VORNAMEN EINTRAGEN
    \author{Marc Feger M.Sc.} 
    % HIER DAS PRÄSENTATIONSDATUM EINTRAGEN                                           
    \date{\today}
    % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % 
    \institute{Heinrich-Heine-University Düsseldorf\\Institute of Computer Science\\
    Department for Computer-Networks and Communication-Systems}
    
    % % % % % % % % % % Own commands % % % % % % % %
    
    %
    % Hier beginnt das Dokument
    %
    \begin{document}
      \footdecorationhigh
       \footdecorationhigh
       \footdecorationlow
    
    % Ab hier werden die LaTeX-Dateien der einzelnen Abschnitte eingefügt
    \begin{frame}
        \thispagestyle{empty}
        \titlepage
    	\frametitle{Argument Mining and Twitter}
    \end{frame}
    
    % % % % % % % % % Ende der eingefügten LaTeX-Dateien % % % % % % % % %
    
    \section{Motivation}
    \begin{frame}{Motivation}
    	\begin{itemize}
    		\item Online \textbf{Argumentation} daily on Twitter
    		\begin{itemize}
    			\item \textbf{Argumentation}: Usage of \textbf{Arguments}
    			\item \textbf{Arguments}: Motivated conclusions
    		\end{itemize}
    		\item Tweets vary strongly
    		\item How to find \textbf{argumentative} Tweets
    		\begin{itemize}
    			\item \textbf{Argumentive}: At least one \textbf{Argument} included
    		\end{itemize}
    	\end{itemize}
    \end{frame}
    
    \begin{frame}{Related Work}
    	\begin{itemize}
    		\item 10 paper according to \cite{schaefer2021}
    		\item Hardly any public data
    		\item Mostly \emph{SVM}, \emph{NB}, \emph{LR}, \emph{RF}, hardly any \emph{Transformer}
    	\end{itemize}
    \end{frame}
    
    \begin{frame}{Targets}
    	\begin{itemize}
    		\item [1] Collect and provide annotated Tweets in line with Twitter guidelines
    		\item [2] Find valid baselines
    		\item [3] Fine-tune \emph{BERT} or \emph{BERTweet} with \emph{classification-head}
    		\begin{itemize}
    			\item with MLM
    			\item with NSP
    		\end{itemize}
    	\end{itemize}
    \end{frame}
    
    \section{Data}
    \begin{frame}{About the data}
    	\textbf{Argument}: $\langle c, P\rangle$
    
    	\textbf{Conclusion}: $c$
    	
    	\textbf{Premises}: $P = \{p_1, ..., p_n | n \geq 1\}$
    
    	\begin{tcolorbox}[colback=cyan!5!white,colframe=cyan!75!black,title=Example:]
    		\textcolor{red}{RT} \textcolor{magenta}{@SaysSheToday}: The $[$Dixie Chicks$]_{c}$ were attacked just for $[$using 1A right$]_{p_1}$ to say they were ashamed of GWB. They $[$didn’t commit treason$]_{c}$ $[$like the \textcolor{orange}{\#47Senators}$]_{p_2}$
    	\end{tcolorbox}
    \end{frame}
    
    
    \begin{frame}{About the data}
    	\begin{center}
    		\begin{columns}
    			\column{0.5\textwidth}
    				\begin{itemize}
    					\item Twitter API v2
    					\item Graph-Database Neo4j
    					\item Thematic Reply Trees
    				\end{itemize}
    			\column{0.5\textwidth}
    				\includegraphics[scale=0.5]{bilder/ConversationStore}
    			\end{columns}
    	\end{center}
    \end{frame}
    
    \begin{frame}{\#abortion}
    	\begin{itemize}
    		\item Entrypoint: \url{https://api.twitter.com/2/tweets/search/all}
    		\item Parameter:
    		\begin{itemize}
    			\item start\_time: 2021-08-15T00:00:00.000Z
    			\item end\_time: 2021-10-16T00:00:01.000Z
    			\item query: (\#abortion) lang:en -is:reply -is:retweet -is:quote
    			\item tweet.fields: created\_at, public\_metrics, conversation\_id, entities, author\_id
    			\item max\_results: 500
    		\end{itemize}
    		\item [$\Rightarrow$] Real Root-Tweets
    	\end{itemize}
    \end{frame}
    
    \begin{frame}{\#abortion}
    	\begin{itemize}
    		\item Entrypoint: \url{https://api.twitter.com/2/tweets/search/all}
    		\item Parameter:
    		\begin{itemize}
    			\item start\_time: 2021-08-15T00:00:00.000Z
    			\item query: conversation\_id: $\langle$Root-Tweet-ID$\rangle$ lang:en
    		\end{itemize}
    		\item [$\Rightarrow$] Conversation-Tweets
    	\end{itemize}
    \end{frame}
    
    \begin{frame}{\#abortion}
    	\begin{itemize}
    		\item [1] 15.269 Root-Tweets
    		\item [2] 17.779 Conversation-Tweets
    		\begin{itemize}
    			\item [$\Rightarrow$] having 2.347 Root-Tweets
    		\end{itemize}
    	\end{itemize}
    \end{frame}
    
    \begin{frame}{\#abortion}
    	\begin{center}
    		\includegraphics[width=0.7\textwidth]{bilder/ExampleGraph}
    	\end{center}
    \end{frame}
    
    
    \begin{frame}{\#abortion}
    	\begin{center}
    		\includegraphics[width=\textwidth]{bilder/AbortionTimeline}
    	\end{center}
    \end{frame}
    
    \begin{frame}{\#abortion}
    	\begin{center}
    		\includegraphics[width=\textwidth]{bilder/AbortionWords}
    	\end{center}
    \end{frame}
    
    \begin{frame}{Argument Pre-Selection/Annotation}
    	\begin{center}
    		\begin{columns}
    			\column{0.5\textwidth}
    			\textbf{Pre-Selection:}
    				\begin{itemize}
    					\item Candidates:
    					\begin{itemize}
    						\item [1] Replies $\geq$ 10
    						\item [2] Text $\geq$ 200 characters
    						\item [3] The term \emph{for} in any word of text
    					\end{itemize}
    					\item [$\Rightarrow$] 28 candidates
    				\end{itemize}
    			\column{0.5\textwidth}
    			\textbf{Annotation:}
    				\begin{itemize}
    					\item 3 Annotators:
    					\begin{itemize}
    						\item 2 Computer Science, 1 Law
    						\item Annotation Schema Training
    					\end{itemize}
    					\item [$\Rightarrow$] 19 Selections ($~$67\%)
    					\item [$\Rightarrow$] 7 Uncertain (4 Deb., 3 Hidden)
    				\end{itemize}
    			\end{columns}
    	\end{center}
    \end{frame}
    
    \begin{frame}{Examples}
    	\begin{tcolorbox}[colback=cyan!5!white,colframe=cyan!75!black,title=Classic argument]
    		BREAKING: $[$U.S. Judge Robert Pitman has temporarily blocked \textcolor{orange}{\#SB8}$]_c$, the \textcolor{orange}{\#Texas} near-total \textcolor{orange}{\#abortion} ban in the case brought forth against TX by the DOJ, \textbf{saying} $[$the law is an "offensive deprivation" of women's constitutional rights$]_p$.
    	\end{tcolorbox}
    \end{frame}
    
    \begin{frame}{Examples}
    	\begin{tcolorbox}[colback=cyan!5!white,colframe=cyan!75!black,title=No argument]
    		\textcolor{orange}{\#BREAKING}: In United States v. Texas (challenging the constitutionality of \textcolor{orange}{\#SB8}), Judge Pitman has issued a preliminary injunction temporarily barring enforcement of the controversial six-week \textcolor{orange}{\#abortion} ban by "the State" — *including* judges and clerks:
    		\textcolor{blue}{https://t.co/U98yko04X3}
    	\end{tcolorbox}
    \end{frame}
    
    \begin{frame}{Examples}
    	\begin{tcolorbox}[colback=cyan!5!white,colframe=cyan!75!black,title=Obvious argument with progression]
    		$[$\textcolor{orange}{\#Catholic} social teaching urges us to provide a preferential option \textbf{for} the poor$]_p$. $[$\textbf{This means} prioritizing the well-being of the disadvantaged in society$]_{cp}$. $[$Access to legal \textcolor{orange}{\#abortion} \textbf{cannot be} considered outside the context of poverty \textbf{and without} the viewpoint of the poor$]_{c}$.
    	\end{tcolorbox}
    \end{frame}
    
    \section{Next Steps}
    \begin{frame}{Next Steps}
    	\begin{itemize}
    		\item Preselection: Weak Labels + Annotation
    		\item ID-based reconstruction via API-V1
    	\end{itemize}
    \end{frame}
    
    \section{Possibilities}
    \begin{frame}{Possibilities}
    	\begin{itemize}
    		\item Independence from external data providers
    		\item Question specific real world data generation
    		\begin{itemize}
    			\item User behavior on conversation data
    			\item Platform-shifted Comment Section for News-Paper
    			\item \dots
    		\end{itemize}
    	\end{itemize}
    \end{frame}
    
    
    \begin{frame}
    	\begin{center}
    		\begin{columns}
    			\column{0.7\textwidth}
    				\begin{center}
    					\huge {\color{hhuUniBlau} Thank you!}
    				\end{center}
    			\column{0.3\textwidth}
    				\includegraphics[scale=0.08]{bilder/pngfuel-answere.png}
    			\end{columns}
    	\end{center}
    \end{frame}
    
    \begin{frame}
    	\bibliographystyle{plainnat}
    	\bibliography{references}
    \end{frame}
    \end{document}
    
    %
    % Hier endet das Dokument
    %