<?xml version="1.0"?><!DOCTYPE article SYSTEM "/project/take/software/searchbench_offline_processing/paperxml_generator/aclextractor/src/python/../resource/dtd/paperxml.dtd"><article><header><firstpageheader><page local="1" global="1"/><title>Revealing the Structure of Medical Dictations with Conditional Random Fields</title><author surname="Jancsary" givenname="Jeremy"><org  name="Austrian Research Institute for Artificial Intelligence" country="Austria" city="Vienna"/></author><author surname="Matiasek" givenname="Johannes"><org  name="Russian Research Institute for Artificial Intelligence" city="Moscow Russia"/></author><author surname="Trost" givenname="Harald"><org  name="Medical University" country="Austria" city="Vienna"/></author></firstpageheader><frontmatter><p><b>Revealing the Structure of Medical Dictations with Conditional Random Fields</b></p><p><b>Jeremy Jancsary </b>and <b>Johannes Matiasek</b></p><p>Austrian Research Institute for Artificial Intelligence A-1010 Vienna, Freyung 6/6</p><p>firstname.lastname@ofai.at</p><p><b>Harald Trost</b></p><p>Department of Medical Cybernetics and Artificial Intelligence of the Center for Brain Research, Medical University Vienna, Austria</p><p>harald.trost@meduniwien.ac.at</p></frontmatter><abstract>Automatic processing of medical dictations poses a significant challenge. We approach the problem by introducing a statistical frame­work capable of identifying types and bound­aries of sections, lists and other structures occurring in a dictation, thereby gaining ex­plicit knowledge about the function of such elements. Training data is created semi-automatically by aligning a parallel corpus of corrected medical reports and correspond­ing transcripts generated via automatic speech recognition. We highlight the properties of our statistical framework, which is based on conditional random fields (CRFs) and im­plemented as an efficient, publicly available toolkit. Finally, we show that our approach is effective both under ideal conditions and for real-life dictation involving speech recog­nition errors and speech-related phenomena such as hesitation and repetitions. </abstract></header><body><section number="1" title="Introduction"><p>It is quite common to dictate reports and leave the typing to typists - especially for the medical domain, where every consultation or treatment has to be doc­umented. Automatic Speech Recognition (ASR) can support professional typists in their work by provid­ing a transcript of what has been dictated. However, manual corrections are still needed. In particular, speech recognition errors have to be corrected. Fur­thermore, speaker errors, such as hesitations or rep­etitions, and instructions to the transcriptionist have to be removed. Finally, and most notably, proper structuring and formatting of the report has to be performed. For the medical domain, fairly clear guidelines exist with regard to what has to be dic­tated, and how it should be arranged. Thus, missing headings may have to be inserted, sentences must be grouped into paragraphs in a meaningful way, enu­meration lists may have to be introduced, and so on.</p><p>The goal of the work presented here was to ease the job of the typist by formatting the dictation ac­cording to its structure and the formatting guide­lines. The prerequisite for this task is the identifi­cation of the various structural elements in the dic­tation which will be be described in this paper.</p><p>Fig. 1: Raw output of speech recognition</p><p>Figure 1 shows a fragment of a typical report as recognized by ASR, exemplifying some of the prob­lems we have to deal with:</p><p>• Punctuation and enumeration markers may be dictated or not, thus sentence boundaries and numbered items often have to be inferred;</p><p>• the same holds for (sub)section headings;</p><p>• finally, recognition errors complicate the task.</p><p>complaint dehydration weakness and diarrhea full stop Mr.    Will Shawn is a 81-year-old cold Asian gentleman who came in with fever and Persian diaper was sent to the emergency department by his primary care physician due him being dehydrated period ... neck physical exam general alert and oriented times three known acute distress vital signs are stable . . . diagnosis is one chronic diarrhea with hydration he also has hypokalemia neck number thromboctopenia probably duty liver cirrhosis . . . a plan was discussed with patient in detail will transfer him to a nurse and facility for further care . . . end of dictation</p><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">1</doubt><p><i>Proceedings of the 2008 Conference on Empirical Methods in Natural Language Processing, </i>pages 1-10, Honolulu, October 2008. ©2008 Association for Computational Linguistics<page local="2" global="2"/></p><p><b>CHIEF COMPLAINT</b></p><p>Dehydration, weakness and diarrhea.</p><p><b>HISTORY OF PRESENT ILLNESS</b></p><p>Mr.   Wilson is a 81-year-old Caucasian gentleman who came in here with fever and persistent diarrhea.   He was sent to the emergency department by his primary care physician due to him being dehydrated.</p><p><b>PHYSICAL EXAMINATION</b></p><p><b>GENERAL:  </b>He is alert and oriented times three, not in acute distress.</p><p><b>VITAL SIGNS: </b>Stable. <b>DIAGNOSIS</b></p></section><section number="1." title="Chronic diarrhea with dehydration. He"><p>also has hypokalemia.</p><p><b>2. </b>Thromboctopenia,  probably due to liver cirrhosis.</p><p><b>PLAN AND DISCUSSION</b></p><p>The plan was discussed with the patient in detail.   Will transfer him to a nursing facility for further care.</p><p>Fig. 2: A typical medical report</p><p>When properly edited and formatted, the same dictation appears significantly more comprehensi­ble, as can be seen in figure 2. In order to arrive at this result it is necessary to identify the inherent structure of the dictation, i.e. the various hierarchi­cally nested segments. We will recast the segmenta­tion problem as a multi-tiered tagging problem and show that indeed a good deal of the structure of med­ical dictations can be revealed.</p><p>The main contributions of our paper are as fol­lows: First, we introduce a generic approach that can be integrated seamlessly with existing ASR solu­tions and provides structured output for medical dic­tations. Second, we provide a freely available toolkit for factorial conditional random fields (CRFs) that forms the basis of aforementioned approach and is also applicable to numerous other problems (see sec­tion 6).</p></section><section number="2" title="Related Work"><p>The structure recognition problem dealt with here is closely related to the field of <i>linear text segmen­tation </i>with the goal to partition text into coherent blocks, but on a single level. Thus, our task general­izes linear text segmentation to multiple levels.</p><p>A meanwhile classic approach towards domain-independent linear text segmentation, <i>C99, </i>is pre­sented in Choi (2000). <i>C99 </i>is the baseline which many current algorithms are compared to. Choi's al­gorithm surpasses previous work by Hearst (1997), who proposed the <i>Texttiling </i>algorithm. The best re­sults published to date are - to the best of our knowl­edge - those of Lamprier et al. (2008).</p><p>The automatic detection of (sub)section <i>topics </i>plays an important role in our work, since changes of topic indicate a section boundary and appropri­ate headings can be derived from the section type. Topic detection is usually performed using methods similar to those of <i>text classification </i>(see Sebastiani (2002) for a survey).</p><p>Matsuov (2003) presents a dynamic programming algorithm capable of segmenting medical reports into sections and assigning topics to them. Thus, the aims of his work are similar to ours. However, he is not concerned with the more fine-grained elements, and also uses a different machinery.</p><p>When dealing with tagging problems, statistical frameworks such as HMMs (Rabiner, 1989) or, re­cently, CRFs (Lafferty et al., 2001) are most com­monly applied. Whereas HMMs are generative models, CRFs are discriminative models that can in­corporate rich features. However, other approaches to text segmentation have also been pursued. E.g., McDonald et al. (2005) present a model based on multilabel classification, allowing for natural han­dling of overlapping or non-contiguous segments.</p><p>Finally, the work of Ye and Viola (2004) bears similarities to ours. They apply CRFs to the pars­ing of hierarchical lists and outlines in handwritten notes, and thus have the same goal of finding deep structure using the same probabilistic framework.</p></section><section number="3" title="Problem Representation"><p>For representing our segmentation problem we use a trick that is well-known from chunking and named entity recognition, and recast the problem as a tag­ging problem in the so-called BIO<footnote anchor="1"/> notation. Since we want to assign a type to every segment, Outside labels are not needed. However, we perform seg-<page local="3" global="3"/></p><footnote label="1">Begin - Inside - Outside</footnote><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">2</doubt><doubt alpha="47.7" length="44" tooSmall="False" monospace="0.0">tokens level 1   &lt;   level 2   &lt;   level 3 &lt;</doubt><p>Fig. 3: Multi-level segmentation as tagging problem mentation on multiple levels, therefore multiple <i>la­bel chains </i>are required. Furthermore, we also want to assign <i>types </i>to certain segments, thus the labels need an encoding for the type of segment they rep­resent. Figure 3 illustrates this representation: B-Ti denotes the beginning of a segment of type Ti, while I-Ti indicates that the segment of type Ti continues. By adding label chains, it is possible to group the segments of the previous chain into coarser units. Tree-like structures of unlimited depth can be ex­pressed this way<footnote anchor="2"/>. The gray lines in figure 3 denote dependencies between nodes. Node labels also de­pend on the input token sequence in an arbitrarily wide context window.</p></section><section number="4" title="Data Preparation"><p>The raw data available to us consists of two paral­lel corpora of 2007 reports from the area of medi­cal consultations, dictated by physicians. The first corpus, <i>Crcg, </i>consists of the raw output of ASR (figure 1), the other one, CCOR, contains the corre­sponding corrected and formatted reports (figure 2). In order to arrive at an annotated corpus in a format suitable for the tagging problem, we first have to analyze the report structure and define appropri­ate labels for each segmentation level. Then, every token has to be annotated with the appropriate begin or inside labels. A report has 625 tokens on average, so the manual annotation of roughly 1.25 million to­kens seemed not to be feasible. Thus we decided to produce the annotations programmatically and re­strict manual work to corrections.</p><footnote label="2">Note, that since we omit a redundant top-level chain, this structure technically is a hedge rather than a tree.</footnote><subsection number="4.1" title="Analysis of report structure"><p>When inspecting reports in CCOR, a human reader can easily identify the various elements a report con­sists of, such as <i>headings </i>- written in bold on a sepa­rate line - introducing sections, <i>subheadings </i>- writ­ten in bold followed by a colon - introducing sub­sections, and <i>enumerations </i>starting with indented numbers followed by a period. Going down further, there are <i>paragraphs </i>divided into <i>sentences. </i>using these structuring elements, a hierarchic data struc­ture comprising all report elements can be induced.</p><p>Sections and subsections are typed according to their heading. There exist clear recommendations on structuring medical reports, such as E2184-02 (ASTM International, 2002). However, actual med­ical reports still vary greatly with regard to their structure. using the aforementioned standard, we assigned the (sub)headings that actually appeared in the data to the closest type, introducing new types only when absolutely necessary. Finally we arrived at a structure model with three label chains:</p><p><b>• Sentence level, </b>with 4 labels: Heading, Subheading,Sentence, Enummarker</p><p><b>• Subsection level, </b>with 45 labels: Paragraph, Enumelement, None and 42 subsection types (e.g. VitalSigns, Cardiovascular ...)</p><p><b>• Section level, </b>with 23 section types (e.g. ReasonForEncounter, Findings, Plan ... )</p></subsection><subsection number="4.2" title="Corpus annotation"><p>Since the reports in CCOR are manually edited they are reliable to parse. We employed a broad-coverage dictionary (handling also multi-word terms) and a domain-specific grammar for parsing and layout in­formation. A regular heading grammar was used for mapping (sub)headings to the defined (sub)section labels (for details see Jancsary (2008)). The output<page local="4" global="4"/></p><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">3</doubt><p>Fig. 4: Mapping labels via alignment of the parser is a hedge data structure from which the annotation labels can be derived easily.</p><p>However, our goal is to develop a model for rec­ognizing the report structure from the <i>dictation, </i>thus we have to map the newly created annotation of re­ports in Ccor onto the corresponding reports in <i>Crcg. </i>The basic idea here is to align the tokens of Ccor with the tokens in Crcg and to copy the annotations (cf. figure 4<footnote anchor="3"/>). There are some peculiar­ities we have to take care of during alignment:</p></subsection></section><section number="1." title="non-dictated items in C cor  (e.g. punctuation, headings)"><p>2. dictated words that do not occur in Ccor (meta instructions, repetitions)</p><p>3. non-identical but corresponding items (recog­nition errors, reformulations)</p><p>Since it is particularly necessary to correctly align items of the third group, standard string-edit dis­tance based methods (Levenshtein, 1966) need to be augmented. Therefore we use a more sophisticated cost function. It assigns tokens that are similar (ei­ther from a semantic or phonetic point of view) a low cost for substitution, whereas dissimilar tokens re­ceive a prohibitively expensive score. Costs for dele­tion and insertion are assigned inversely. Seman­tic similarity is computed using Wordnet (Fellbaum, 1998) and UMLS (Lindberg et al., 1993). For pho­netic matching, the Metaphone algorithm (Philips, 1990) was used (for details see Huber et al. (2006)).</p><footnote label="3">This approach can easily be generalized to multiple label chains.</footnote><subsection number="4.3" title="Feature Generation"><p>The annotation discussed above is the first step to­wards building a training corpus for a CRF-based approach. What remains to be done is to provide ob­servations for each time step of the observed entity, i.e. for each token of a report; these are expected to give hints with regard to the annotation labels that are to be assigned to the time step. The observa­tions, associated with one or more annotation labels, are usually called <i>features </i>in the machine learning literature. During CRF training, the parameters of these features are determined such that they indicate the significance of the observations for a certain la­bel or label combination; this is the basis for later tagging of unseen reports.</p><p>We use the following features for each time step of the reports in Ccor and Crcg :</p><p>• <b>Lexical features </b>covering the local context of ± 2 tokens (e.g., patient@0, the@-1, is@1)</p><p>• <b>Syntactic features </b>indicating the possible syn­tactic categories of the tokens (e.g., NN@0, JJ@0, DT@-1 and be+VBZ+aux@1)</p><p>• <b>Bag-of-word (BOW) features </b>intend to cap­ture the topic of a text segment in a wider context of ± 10 tokens, without encoding any order. Tokens are lemmatized and replaced by their UMLS <i>concept IDs, </i>if available, and weighed by TF. Thus, different words describ­ing the same concept are considered equal.</p><p>• <b>Semantic type features </b>as above, but using UMLS <i>semantic types </i>instead of concept IDs provide a coarser level of description.</p><p>• <b>Relative position features: </b>The report is di­vided into eight parts corresponding to eight bi­nary features; only the feature corresponding to the part of the current time step is set.</p><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">4</doubt><table class="main" frame="box" rules="all" border="0" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p><b><i>C</i></b><b><i>cOR</i></b></p></td><td class="cell"><p><b>OP</b></p></td><td class="cell"><p><b><i>C</i></b><b><i>rcg</i></b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>B - Head</p></td><td class="cell"><p>CHIEF</p></td><td class="cell"><p>del</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Head</p></td><td class="cell"><p>COMPLAINT</p></td><td class="cell"><p>sub</p></td><td class="cell"><p>complaint</p></td><td class="cell"><p>B - Head</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>B - Sent</p></td><td class="cell"><p>Dehydration</p></td><td class="cell"><p>sub</p></td><td class="cell"><p>dehydration</p></td><td class="cell"><p>B - Sent</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Sent</p></td><td class="cell"><p></p></td><td class="cell"><p>del</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Sent</p></td><td class="cell"><p>weakness</p></td><td class="cell"><p>sub</p></td><td class="cell"><p>weakness</p></td><td class="cell"><p>Sent</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Sent</p></td><td class="cell"><p>and</p></td><td class="cell"><p>sub</p></td><td class="cell"><p>and</p></td><td class="cell"><p>Sent</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Sent</p></td><td class="cell"><p>diarrhea</p></td><td class="cell"><p>sub</p></td><td class="cell"><p>diarrhea</p></td><td class="cell"><p>Sent</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Sent</p></td><td class="cell"><p></p></td><td class="cell"><p>sub</p></td><td class="cell"><p>fullstop</p></td><td class="cell"><p>Sent</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>B - Sent</p></td><td class="cell"><p>Mr.</p></td><td class="cell"><p>sub</p></td><td class="cell"><p>Mr.</p></td><td class="cell"><p>B - Sent</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Sent</p></td><td class="cell"><p>Wilson</p></td><td class="cell"><p>sub</p></td><td class="cell"><p>Will</p></td><td class="cell"><p>Sent</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>ins</p></td><td class="cell"><p>Shawn</p></td><td class="cell"><p>Sent</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Sent</p></td><td class="cell"><p>is</p></td><td class="cell"><p>sub</p></td><td class="cell"><p>is</p></td><td class="cell"><p>Sent</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Sent</p></td><td class="cell"><p>a</p></td><td class="cell"><p>sub</p></td><td class="cell"><p>a</p></td><td class="cell"><p>Sent</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Sent</p></td><td class="cell"><p>81-year-old</p></td><td class="cell"><p>sub</p></td><td class="cell"><p>81-year-old</p></td><td class="cell"><p>Sent</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Sent</p></td><td class="cell"><p>Caucasian</p></td><td class="cell"><p>sub</p></td><td class="cell"><p>cold</p></td><td class="cell"><p>Sent</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Sent</p></td><td class="cell"><p></p></td><td class="cell"><p>ins</p></td><td class="cell"><p>Asian</p></td><td class="cell"><p>Sent</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Sent</p></td><td class="cell"><p>gentleman</p></td><td class="cell"><p>sub</p></td><td class="cell"><p>gentleman</p></td><td class="cell"><p>Sent</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Sent</p></td><td class="cell"><p>who</p></td><td class="cell"><p>sub</p></td><td class="cell"><p>who</p></td><td class="cell"><p>Sent</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Sent</p></td><td class="cell"><p>came</p></td><td class="cell"><p>sub</p></td><td class="cell"><p>came</p></td><td class="cell"><p>Sent</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Sent</p></td><td class="cell"><p>in</p></td><td class="cell"><p>del</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Sent</p></td><td class="cell"><p>here</p></td><td class="cell"><p>sub</p></td><td class="cell"><p>here</p></td><td class="cell"><p>Sent</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Sent</p></td><td class="cell"><p>with</p></td><td class="cell"><p>sub</p></td><td class="cell"><p>with</p></td><td class="cell"><p>Sent</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Sent</p></td><td class="cell"><p>fever</p></td><td class="cell"><p>sub</p></td><td class="cell"><p>fever</p></td><td class="cell"><p>Sent</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Sent</p></td><td class="cell"><p>and</p></td><td class="cell"><p>sub</p></td><td class="cell"><p>and</p></td><td class="cell"><p>Sent</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Sent</p></td><td class="cell"><p>persistent</p></td><td class="cell"><p>sub</p></td><td class="cell"><p>Persian</p></td><td class="cell"><p>Sent</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Sent</p></td><td class="cell"><p>diarrhea</p></td><td class="cell"><p>sub</p></td><td class="cell"><p>diaper</p></td><td class="cell"><p>Sent</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Sent</p></td><td class="cell"><p></p></td><td class="cell"><p>del</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><page local="5" global="5"/><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">1</doubt></subsection></section><section number="5" title="Structure Recognition with CRFs"><p>Conditional random fields (Lafferty et al., 2001) are conditional models in the exponential family. They can be considered a generalization of multinomial logistic regression to output with non-trivial internal structure, such as sequences, trees or other graphical models. We loosely follow the general notation of Sutton and McCallum (2007) in our presentation.</p><p>Assuming an undirected graphical model G over an observed entity <b>x </b>and a set of discrete, inter­dependent random variables<footnote anchor="4"/> <b>y, </b>a conditional ran­dom field describes the conditional distribution:</p><doubt alpha="33.3" length="9" tooSmall="False" monospace="0.0">p(y|x;0)=</doubt><doubt alpha="50.0" length="4" tooSmall="False" monospace="0.0">Z(x)</doubt><doubt alpha="29.4" length="17" tooSmall="False" monospace="0.0">[]0c(yc, x;0C)(1)</doubt><p>The normalization termZ(x) sums overall possible joint outcomes of y, i.e., and ensures the probabilistic interpretation of p<b>(y|x).</b><b> </b>The graphical model G describes interde-pendencies between the variables <b>y; </b>we can then model <i>p</i><i>(y </i><b>|x) </b>via factors <i>4&gt;c(-) </i>that are defined over cliques c G G. The factors <i>4&gt;c(-) </i>are computed from sufficient statistics {/ck(•)} of the distribution (cor­responding to the features mentioned in the previous section) and depend on possibly overlapping sets of parameters <b>0c </b>ç <b>0 </b>which together form the param­eters <b>0 </b>of the conditional distribution:</p><doubt alpha="35.3" length="17" tooSmall="False" monospace="0.0">Z(x)=]Tp(y'|x; 0)</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(2)</doubt><doubt alpha="25.0" length="4" tooSmall="False" monospace="0.0">|0C|</doubt><doubt alpha="57.1" length="28" tooSmall="False" monospace="0.0">4&gt;c(yc,x; 0c)=expxck/ck(x,yc</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(3)</doubt><doubt alpha="20.0" length="5" tooSmall="False" monospace="0.0">, k=1</doubt><p>In practice, for efficiency reasons, independence as­sumptions have to be made about variables y G <b>y, </b>so G is restricted to small cliques (say, (|c| &lt; 3). Thus, the sufficient statistics only depend on a lim­ited number of variables <b>yc </b>ç <b>y; </b>they can, however, access the whole observed entity <b>x. </b>This is in con­trast to generative approaches which model a joint distribution <i>p</i><i>(x,</i><i> y) </i>and therefore have to extend the independence assumptions to elements x G <b>x.</b></p><footnote label="4">In our case, the discrete outcomes of the random variables y correspond to the annotation labels described in the previous section.</footnote><p>The factor-specific parameters <b>0c </b>of a CRF are typically tied for certain cliques, according to the problem structure (i.e., <b>0ci </b>= <b>0c2 </b>for two cliques <i>c1,c2 </i>with tied parameters). E.g., parameters are usually tied across time if G is a sequence. The factors can then be partitioned into a set of <i>clique templates C = {C1,C2,</i>... Cp}, where each clique template <i>Cp </i>is a set of factors with tied parameters <i>0p </i>and corresponding sufficient statistics {/pk (•)}. The CRF can thus be rewritten as:</p><doubt alpha="37.5" length="8" tooSmall="False" monospace="0.0">p(y|x) =</doubt><doubt alpha="38.9" length="18" tooSmall="False" monospace="0.0">n n^c(yc,x; 0p)(4)</doubt><p>Furthermore, in practice, the sufficient statistics { /pk( • ) } are computed from a subset <b>x</b>c ç <b>x </b>that is relevant to a factor <b>0c( </b>). In a sequence labelling task, tokens x G <b>x </b>that are in temporal proximity to an output variable y G <b>y </b>are typically most useful. Nevertheless, in our notation, we will let factors de­pend on the whole observed entity <b>x </b>to denote that all of <b>x </b>can be accessed if necessary.</p><p>For our structure recognition task, the graphical model G exhibits the structure shown in figure 3, i.e., there are multiple connected chains of variables with factors defined over single-node cliques and two-node cliques within and between chains; the pa­rameters of factors are tied across time. This corre­sponds to the <i>factorial CRF </i>structure described in Sutton and McCallum (2005). Structure recognition using conditional random fields then involves two separate steps: <i>parameter estimation, </i>or training, is concerned with selecting the parameters of a CRF such that they fit the given training data. <i>Prediction, </i>or testing, determines the best label assignment for unknown examples.</p><subsection number="5.1" title="Parameter estimation"><p>Given IID training data D = {x(i), eter estimation determines:</p><doubt alpha="53.3" length="15" tooSmall="False" monospace="0.0">y(i)}N=1,param-</doubt><doubt alpha="36.8" length="19" tooSmall="False" monospace="0.0">0*= argmax ^p^^;(5)</doubt><p>i.e., those parameters that maximize the conditional probability of the CRF given the training data.</p><p>In the following, we will not explicitly sum over N=1; as Sutton and McCallum (2007) note, the train­ing instances <b>x(i), y(i) </b>can be considered discon­nected components of a single undirected model G.</p><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">5</doubt><page local="6" global="6"/><p>We thus assume G and its factors <b>0c( </b>) to extend over all training instances. Unfortunately, (5) cannot be solved analytically. Typically, one performs max­imum likelihood estimation (MLE) by maximizing the conditional log-likelihood numerically:</p><doubt alpha="25.0" length="4" tooSmall="False" monospace="0.0">|0p|</doubt><doubt alpha="41.2" length="34" tooSmall="False" monospace="0.0">^(0)=£    £   £APkfPk(xyc)-logZ(x)</doubt><doubt alpha="66.7" length="12" tooSmall="False" monospace="0.0">CpeC0c€Cpk=1</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(6)</doubt><p>Currently, limited-memory gradient-based methods such as LBFGS (Nocedal, 1980) are most com­monly employed for that purpose<footnote anchor="5"/>. These require the partial derivatives of (6), which are given by:</p><doubt alpha="83.3" length="6" tooSmall="False" monospace="0.0">d£OXpk</doubt><doubt alpha="65.2" length="23" tooSmall="False" monospace="0.0">£fPk(xyc)-£fPk(xyc)p(yc</doubt><p><b>0</b>ceCp <b><i>y'c</i></b></p><doubt alpha="50.0" length="2" tooSmall="False" monospace="0.0">x)</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(7)</doubt><p>and expose the intuitive form of a difference be­tween the expectation of a sufficient statistic accord­ing to the empiric distribution and the expectation according to the model distribution. The latter term requires marginal probabilities for each clique c, de­noted by p<b>(y</b>d<b>x). </b>Inference on the graphical model G (see sec 5.2) is needed to compute these.</p><p>Depending on the structure of G, inference can be very expensive. In order to speed up parameter es­timation, which requires inference to be performed for every training example and for every iteration of the gradient-based method, alternatives to MLE have been proposed that do not require inference. We show here a factor-based variant of pseudolike-lihood as proposed by Sanner et al. (2007):</p><doubt alpha="35.5" length="31" tooSmall="False" monospace="0.0">£p(0)=£   £ logP(yjx,MB(0c))(8)</doubt><p>where the factors are conditioned on the Markov blanket, denoted by <i>MB<footnote anchor="6"/>.</i><i> </i>The gradient of (8) can be computed similar to (7), except that the marginals p<b>c(y</b>d<b>x) </b>are also conditioned on the Markov blan­ket, i.e., p<b>c(y</b>d<b>x, </b>MB<b>(0c)). </b>Due to its dependence on the Markov blanket of factors, pseudolikelihood cannot be applied to prediction, but only to param­eter estimation, where the "true" assignment of a blanket is known.</p><footnote label="5">Recently, stochastic gradient descent methods such as On­line LBFGS (Schraudolph et al., 2007) have been shown to per­form competitively.</footnote><footnote label="6">Here, the Markov blanket of a factor &lt;/&gt; c denotes the set of variables occurring in factors that share variables with 4&gt; c ,  non-inclusive of the variables of &lt;/&gt; c</footnote><subsubsection number="5.1.1" title="Regularization"><p>We employ a Gaussian prior for training of CRFs in order to avoid overfitting. Hence, if /<b>(0) </b>is the original objective function (e.g., log-likelihood or log-pseudolikelihood), we optimize a penalized ver­sion /<b>'(0) </b>instead, such that:</p><doubt alpha="30.4" length="23" tooSmall="False" monospace="0.0">/'(0)=/(0)-Eäandf£ =f-£</doubt><doubt alpha="60.0" length="5" tooSmall="False" monospace="0.0">k=1kk</doubt><p>The tuning parameter a<footnote anchor="2"/> determines the strength of the penalty; lower values lead to less overfitting. Gaussian priors are a common choice for parame­ter estimation of log-linear models (cf. Sutton and</p><p>McCallum (2007)).</p></subsubsection></subsection><subsection number="5.2" title="Inference"><p>Inference on a graphical model G is needed to ef­ficiently compute the normalization term Z<b>(x) </b>and marginals p<b>c(y</b>d<b>x) </b>for MLE, cf. equation (6).</p><p>Using belief propagation (Yedidia et al., 2003), more precisely its sum-product variant, we can com­pute the beliefs for all cliques c G G. In a tree-shaped graphical model G, these beliefs correspond exactly to the marginal probabilities p<b>c(y</b>d<b>x). </b>How­ever, if the graph contains cycles, so-called loopy belief propagation must be performed. The mes­sage updates are then re-iterated according to some schedule until the messages converge. We use a TRP schedule as described by Wainwright et al. (2002). The resulting beliefs are then only approximations to the true marginals. Moreover, loopy belief propa­gation is not guaranteed to terminate in general - we investigate this phenomenon in section 6.5.</p><p>With regard to the normalization term Z<b>(x), </b>as equation (2) shows, naive computation requires summing over all assignments of <b>y. </b>This is too ex­pensive to be practical. Fortunately, belief propaga­tion produces an alternative factorization of p<b>(y|x); </b>i.e., the conditional distribution defining the CRF can be expressed in terms of the marginals gained during sum-product belief propagation. This repre­sentation does not require any additional normaliza­tion, so Z<b>(x) </b>need not be computed.</p><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">6</doubt><page local="7" global="7"/></subsection><subsection number="5.3" title="Prediction"><p>Once the parameters <b>0 </b>have been estimated from training data, a CRF can be used to predict the la­bels of unknown examples. The goal is to find:</p><doubt alpha="43.5" length="23" tooSmall="False" monospace="0.0">y*= argmax (p(y'|x; 0))</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(9)</doubt><p>i.e., the assignment of <b>y </b>that maximizes the condi­tional probability of the CRF. Again, naive computa­tion of (9) is intractable. However, the max-product variant of loopy belief propagation can be applied to approximately find the MAP assignment of <b>y </b>(max-product can be seen as a generalization of the well-known Viterbi algorithm to graphical models).</p><p>For structure recognition in medical reports, we employ a post-processing step after label prediction with the CRF model. As in Jancsary (2008), this step enforces the constraints of the BIO notation and ap­plies some trivial non-local heuristics that guarantee a consistent global view of the resulting structure.</p></subsection></section><section number="6" title="Experiments and Results"><p>For evaluation, we generally performed 3-fold cross-validation for all performance measures. We cre­ated training data from the reports in Ccor so as to simulate a scenario under ideal conditions, i.e., perfect speech recognition and proper dictation of punctuation and headings, without hesitation or rep­etitions. In contrast, the data from Crcg reflects real-life conditions, with a wide variety of speech recognition error rates and speakers frequently hes­itating, repeating themselves and omitting punctua­tion and/or headings.</p><p>Depending on the experiment, two different sub­sets of the two corpora were considered:</p><p>• C<b>{</b>cor,rcg<b>}-</b>all<b>: </b>All 2007 reports were used, resulting in 1338 training examples and 669 testing examples at each CV-iteration.</p><p>• C<b>{</b>cor,rcg<b>}-</b>best: The corpus was restricted to those 1002 reports that yielded the lowest word error rate during alignment (see section 4.2). Each CV-iteration hence amounts to 668 training examples and 334 testing examples.</p><p>From the crossvalidation runs, a 95%-confidence interval for each measure was estimated as follows:</p><doubt alpha="16.7" length="12" tooSmall="False" monospace="0.0">— s      — s</doubt><doubt alpha="16.7" length="30" tooSmall="False" monospace="0.0">Y±^«AN-1)=Y± ^(0.025,2) y3(10)</doubt><doubt alpha="66.7" length="3" tooSmall="False" monospace="0.0">a a</doubt><doubt alpha="80.0" length="5" tooSmall="True" monospace="0.0">CO CO</doubt><doubt alpha="100.0" length="2" tooSmall="True" monospace="0.0">CD</doubt><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">&gt;</doubt><doubt alpha="0.0" length="27" tooSmall="False" monospace="0.0">100 90 80 70 60 50 40 30 20</doubt><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">10 0</doubt><doubt alpha="0.0" length="31" tooSmall="False" monospace="0.0">100 200 300 400 500 600 700 800</doubt><p>number of iterations</p><p>Fig. 5: Accuracy vs. loss function on Crcg<b>-</b>all where Y is the sample mean, s is the sample stan­dard deviation, <i>N </i>is the sample size (3), <i>a </i>is the de­sired significance level (0.05) and i^/^Ar-1) is the upper critical value of the i-distribution with N — 1 degrees of freedom. The confidence intervals are in­dicated in the ± column of tables 1, 2 and 3.</p><p>For CRF training, we minimized the penalized, negative log-pseudolikelihood using LBFGS with m = 3. The variance of the Gaussian prior was set to <i>a<footnote anchor="2"/> </i>= 1000. All supported features were used for univariate factors, while the bivariate factors within chains and between chains were restricted to bias weights. For testing, loopy belief propagation with a TRP schedule was used in order to determine the maximum a posteriori (MAP) assignment. We use <i>VieCRF, </i>our own implementation of factorial CRFs, which is freely available at the author's homepage<footnote anchor="7"/>.</p><subsection number="6.1" title="Analysis of training progress"><p>In order to determine the number of required train­ing iterations, an experiment was performed that compares the progress of the Accuracy measure on a validation set to the progress of the loss function on a training set. The data was randomly split into a training set (2/3 of the instances) and a validation set. Accuracy on the validation set was computed using the intermediate CRF parameters <b>0t </b>every 5 iterations of LBFGS. The resulting plot (figure 5) demonstrates that the progress of the loss function corresponds well to that of the Accuracy measure,<page local="8" global="8"/></p><footnote>http://www.ofai.at/~jeremy.jancsary/</footnote><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">0</doubt><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">7</doubt><table class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>v</b><b>-----</b></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>I</p><p><b>*****</b></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>■</p></td><td class="cell"><p>Accu</p></td><td class="cell"><p>Lo<b>t i</b>racy</p></td><td class="cell"><p>&gt;s on on va</p></td><td class="cell"><p>,raini idati</p></td><td class="cell"><p>ng set on set</p></td><td class="cell"><p>-</p></td><td class="cell"><p><b>—</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>\</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>V</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><p><b>Estimated Accuracies</b> (a) <i>Cc</i><i>OR-ALL</i> (b) <i>Crcg-all</i> (a) <i>Ccor-best</i> (b) <i>Crcg-best</i></p><table caption="Table 1: Accuracy on the full corpus"></table><table caption="Table 2: Accuracy on a high-quality subset"></table><p>thus an "early stopping" approach might be tempt­ing to cut down on training times. However, during earlier stages of training, the CRF parameters seem to be strongly biased towards high-frequency labels, so other measures such as macro-averaged F1 might suffer from early stopping. Hence, we decided to allow up to 800 iterations of LBFGS.</p></subsection><subsection number="6.2" title="Accuracy of structure prediction"><p>Table 1 shows estimated accuracies for Ccor<b>-</b>alland Crcg<b>-</b>all<b>. </b>Overall, high accuracy (&gt; 97%) can be achieved on Ccor<b>-</b>all<b>, </b>showing that the ap­proach works very well under ideal conditions. Per­formance is still fair on the noisy data <b>(</b>Crcg<b>-</b>all<b>; </b>Accuracy &gt; 86%). It should be noted that the la­bels are unequally distributed, especially in <i>chain 0 </i>(there are very few BEGIN labels). Thus, the base­line is substantially high for this chain, and other measures may be better suited for evaluating seg­mentation quality (cf. section 6.4).</p></subsection><subsection number="6.3" title="On the effect of noisy training data"><p>Measuring the effect of the imprecise reference an­notation of Crcg is difficult without a correspond­ing, manually created golden standard. However, to get a feeling for the impact of the noise induced by speech recognition errors and sloppy dictation</p><p>(a) <i>Ccor-all</i></p><table caption="Table 3: Per-chain WindowDiff on the full corpus"></table><p>on the quality of the semi-automatically generated annotation, we conducted an experiment with sub­sets Ccor<b>-</b>best and Crcg<b>-</b>best. The results are shown in table 2. Comparing these results to ta­ble 1, one can see that overall accuracy <i>decreased </i>for Ccor<b>-</b>best , whereas we see an <i>increase </i>for Crcg<b>-</b>best. This effect can be attributed to two different phenomena:</p><p>• In Ccor<b>-</b>best, no quality gains in the anno­tation could be expected. The smaller number of training examples therefore results in lower accuracy.</p><p>• Fewer speech recognition errors and more con­sistent dictation in Crcg<b>-</b>best allow for bet­ter alignment and thus a better reference anno­tation. This increases the actual prediction per­formance and, furthermore, reduces the num­ber of label predictions that are erroneously counted as a misprediction.</p><p>Thus, it is to be expected that manual correction of the automatically created annotation results in sig­nificant performance gains. Preliminary annotation experiments have shown that this is indeed the case.</p></subsection><subsection number="6.4" title="Segmentation quality"><p>Accuracy is not the best measure to assess segmen­tation quality, therefore we also conducted experi­ments using the WindowDiff measure as proposed by Pevzner and Hearst (2002). WindowDiff re­turns 0 in case of a perfect segmentation; 1 is the worst possible score. However, it only takes into account segment boundaries and disregards segment types. Table 3 shows the WindowDiff scores for Ccor<b>-</b>all and Crcg<b>-</b>all<b>. </b>Overall, the scores are quite good and are consistently below 0.2. Further­more, Crcg<b>-</b>all scores do not suffer as badly from inaccurate reference annotation, since "near misses" are penalized less strongly.</p><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">8</doubt><table class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Estimated WD</b></p></td><td class="cell"><p><b>Estimated WD</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>WD</p></td><td class="cell"><p>±</p></td><td class="cell"><p></p></td><td class="cell"><p>WD ±</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Chain 0</p></td><td class="cell"><p>0.007</p></td><td class="cell"><p>0.000</p></td><td class="cell"><p>Chain 0</p></td><td class="cell"><p>0.193 0.008</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Chain 1</p></td><td class="cell"><p>0.050</p></td><td class="cell"><p>0.007</p></td><td class="cell"><p>Chain 1</p></td><td class="cell"><p>0.149 0.005</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Chain 2</p></td><td class="cell"><p>0.015</p></td><td class="cell"><p>0.001</p></td><td class="cell"><p>Chain 2</p></td><td class="cell"><p>0.118 0.013</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><table class="main" frame="box" rules="all" border="0" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>Acc.</p></td><td class="cell"><p>±</p></td><td class="cell"><p></p></td><td class="cell"><p>Acc.</p></td><td class="cell"><p>±</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Average</p></td><td class="cell"><p>97.24%</p></td><td class="cell"><p>0.33</p></td><td class="cell"><p>Average</p></td><td class="cell"><p>86.36%</p></td><td class="cell"><p>0.80</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Chain 0</p></td><td class="cell"><p>99.64%</p></td><td class="cell"><p>0.04</p></td><td class="cell"><p>Chain 0</p></td><td class="cell"><p>91.74%</p></td><td class="cell"><p>0.16</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Chain 1</p></td><td class="cell"><p>95.48%</p></td><td class="cell"><p>0.55</p></td><td class="cell"><p>Chain 1</p></td><td class="cell"><p>85.90%</p></td><td class="cell"><p>1.25</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Chain 2</p></td><td class="cell"><p>96.61%</p></td><td class="cell"><p>0.68</p></td><td class="cell"><p>Chain 2</p></td><td class="cell"><p>81.45%</p></td><td class="cell"><p>2.14</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Joint</p></td><td class="cell"><p>92.51%</p></td><td class="cell"><p>0.97</p></td><td class="cell"><p>Joint</p></td><td class="cell"><p>69.19%</p></td><td class="cell"><p>1.93</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><table class="main" frame="box" rules="all" border="0" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>Acc.</p></td><td class="cell"><p>±</p></td><td class="cell"><p></p></td><td class="cell"><p>Acc.</p></td><td class="cell"><p>±</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Average</p></td><td class="cell"><p>96.48%</p></td><td class="cell"><p>0.82</p></td><td class="cell"><p>Average</p></td><td class="cell"><p>87.73%</p></td><td class="cell"><p>2.07</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Chain 0</p></td><td class="cell"><p>99.55%</p></td><td class="cell"><p>0.08</p></td><td class="cell"><p>Chain 0</p></td><td class="cell"><p>93.77%</p></td><td class="cell"><p>0.68</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Chain 1</p></td><td class="cell"><p>94.64%</p></td><td class="cell"><p>0.23</p></td><td class="cell"><p>Chain 1</p></td><td class="cell"><p>87.59%</p></td><td class="cell"><p>1.79</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Chain 2</p></td><td class="cell"><p>95.25%</p></td><td class="cell"><p>2.16</p></td><td class="cell"><p>Chain 2</p></td><td class="cell"><p>81.81%</p></td><td class="cell"><p>3.79</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Joint</p></td><td class="cell"><p>90.65%</p></td><td class="cell"><p>2.15</p></td><td class="cell"><p>Joint</p></td><td class="cell"><p>70.91%</p></td><td class="cell"><p>4.50</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><page local="9" global="9"/><p><b>Converged (%) Iterations (0)</b></p><doubt alpha="38.9" length="18" tooSmall="False" monospace="0.0">Ccor-all0.999 15.4</doubt><doubt alpha="38.9" length="18" tooSmall="False" monospace="0.0">Crcg-all0.911 66.5</doubt><doubt alpha="42.1" length="19" tooSmall="False" monospace="0.0">Ccor-best0.999 14.2</doubt><doubt alpha="42.1" length="19" tooSmall="False" monospace="0.0">Crcg-best0.971 37.5</doubt><table caption="Table 4: Convergence behaviour of loopy BP"></table></subsection><subsection number="6.5" title="Convergence of loopy belief propagation"><p>In section 5.2, we mentioned that loopy BP is not guaranteed to converge in a finite number of itera­tions. Since we optimize pseudolikelihood for pa­rameter estimation, we are not affected by this limi­tation in the training phase. However, we use loopy BP with a TRP schedule during testing, so we must expect to encounter non-convergence for some ex­amples. Theoretical results on this topic are dis­cussed by Heskes (2004). We give here an empir­ical observation of convergence behaviour of loopy BP in our setting; the maximum number of itera­tions of the TRP schedule was restricted to 1,000. Table 4 shows the percentage of examples converg­ing within this limit and the average number of iter­ations required by the converging examples, broken down by the different corpora. From these results, we conclude that there is a connection between the quality of the annotation and the convergence be­haviour of loopy BP. In practice, even though loopy BP didn't converge for some examples, the solutions after 1,000 iterations where satisfactory.</p></subsection></section><section number="7" title="Conclusion and Outlook"><p>We have presented a framework which allows for identification of structure in report dictations, such as sentence boundaries, paragraphs, enumerations, (sub)sections, and various other structural elements; even if no explicit clues are dictated. Furthermore, meaningful types are automatically assigned to sub­sections and sections, allowing - for instance - to automatically assign headings, if none were dic­tated.</p><p>For the preparation of training data a mechanism has been presented that exploits the potential of par­allel corpora for automatic annotation of data. Us­ing manually edited formatted reports and the cor­responding raw output of ASR, reference annotation can be generated that is suitable for learning to identify structure in ASR output.</p><p>For the structure recognition task, a CRF frame­work has been employed and multiple experiments have been performed, confirming the practicability of the approach presented here.</p><p>One result deserving further investigation is the effect of noisy annotation. We have shown that segmentation results improve when fewer errors are present in the automatically generated annotation. Thus, manual correction of the reference annotation will yield further improvements.</p><p>Finally, the framework presented in this paper opens up exciting possibilities for future work. In particular, we aim at automatically transform­ing report dictations into properly formatted and rephrased reports that conform to the requirements of the relevant domain. Such tasks are greatly facili­tated by the explicit knowledge gained during struc­ture recognition.</p></section><section title="Acknowledgments"><p>The work presented here has been carried out in the context of the Austrian KNet competence net­work COAST. We gratefully acknowledge funding by the Austrian Federal Ministry of Economics and Labour, and ZIT Zentrum fuer Innovation und Tech­nologie, Vienna. The Austrian Research Institute for Artificial Intelligence is supported by the Aus­trian Federal Ministry for Transport, Innovation, and Technology and by the Austrian Federal Ministry for Science and Research.</p><p>Furthermore, we would like to thank our anony­mous reviewers for many insightful comments that helped us improve this paper.</p></section><references><p>ASTM International. 2002. ASTM E2184-02: Standard specification for healthcare document formats.</p><p>Freddy Choi. 2000. Advances in domain independent linear text segmentation. In <i>Proceedings of the first conference on North American chapter of the Associa­tion for Computation Linguistics, </i>pages 26-33.</p><p>C. Fellbaum. 1998. <i>WordNet: an electronic lexical database. </i>MIT Press, Cambridge, MA.</p><p>Marti A. Hearst. 1997. Texttiling: Segmenting text into multi-paragraph subtopic passages. <i>Computational Linguistics, </i>23(1):36—47.</p><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">9</doubt><page local="10" global="10"/><p>Tom Heskes.    2004.    On the uniqueness of loopy belief propagation fixed points.    <i>Neural Comput.,</i> 16(11):2379-2413.</p><p>Martin Huber, Jeremy Jancsary, Alexandra Klein, Jo­hannes Matiasek, and Harald Trost. 2006. Mismatch interpretation by semantics-driven alignment. In <i>Pro­ceedings ofKONVENS '06. </i>Jeremy M. Jancsary. 2008. Recognizing structure in re­port transcripts. Master's thesis, Vienna University of Technology.</p><p>John Lafferty, Andrew McCallum, and Fernando Pereira. 2001. Conditional Random Fields: Probabilistic mod­els for segmenting and labeling sequence data. In <i>Pro­ceedings of the Eighteenth International Conference on Machine Learning (ICML). </i>S. Lamprier, T. Amghar, B. Levrat, and F. Saubion. 2008. Toward a more global and coherent segmen­tation of texts. <i>Applied Artificial Intelligence, </i>23:208­234, March.</p><p>Vladimir I. Levenshtein. 1966. Binary codes capable of correcting deletions, insertions and reversals. <i>Soviet Physics Doklady, </i>10(8):707-710. D. A. B. Lindberg, B. L. Humphreys, and A. T. McCray. 1993. The Unified Medical Language System. <i>Meth­ods of Information in Medicine, </i>32:281-291. Evgeny Matsuov. 2003. Statistical methods for text segmentation and topic detection. Master's the­sis, Rheinisch-Westfalische Technische Hochschule Aachen.</p><p>Ryan McDonald, Koby Crammer, and Fernando Pereira. 2005. Flexible text segmentation with structured multilabel classification. In <i>Proceedings of Human Language Technology Conference and Conference on Empirical Methods in Natural Language Processing (HLT/EMNLP), </i>pages 987-994. Jorge Nocedal. 1980. Updating Quasi-Newton matri­ces with limited storage. <i>Mathematics ofComputa-</i> <i>tion, </i>35:773-782.</p><p>Lev Pevzner and Marti Hearst. 2002. A critique and improvement of an evaluation metric for text segmen­tation. <i>Computational Linguistics, </i>28(1), March. Lawrence Philips.  1990. Hanging on the metaphone.</p><p><i>Computer Language, </i>7(12). L. R. Rabiner. 1989. A tutorial on hidden Markov mod­els and selected applications in speech recognition. <i>Proceedings of the IEEE, </i>77:257-286, February. Scott Sanner, Thore Graepel, Ralf Herbrich, and Tom Minka. 2007. Learning CRFs with hierarchical fea­tures: An application to go. International Conference on Machine Learning (ICML) workshop. Nicol N. Schraudolph, Jin Yu, and Simon Gunter. 2007. A stochastic Quasi-Newton Method for online convex optimization.   In <i>Proceedings of 11th International Conference on Artificial Intelligence and Statistics.</i></p><p>Fabrizio Sebastiani. 2002. Machine learning in auto­mated text categorization. <i>ACM Computing Surveys, </i>34(1):1-47.</p><p>Charles Sutton and Andrew McCallum. 2005. Composi­tion of Conditional Random Fields for transfer learn­ing. In <i>Proceedings ofHuman Language Technologies /Empirical Methods in Natural Language Processing</i> <i>(HLT/EMNLP).</i><i></i></p><p>Charles Sutton and Andrew McCallum. 2007. An intro­duction to Conditional Random Fields for relational learning. In Lise Getoor and Ben Taskar, editors, <i>Introduction to Statistical Relational Learning. </i>MIT Press.</p><p>Martin Wainwright, Tommi Jaakkola, and Alan S. Will-sky. 2002. Tree-based reparameterization framework for analysis of sum-product and related algorithms. <i>IEEE Transactions on Information Theory, </i>49(5).</p><p>Ming Ye and Paul Viola. 2004. Learning to parse hi­erarchical lists and outlines using Conditional Ran­dom Fields. In <i>Proceedings ofthe Ninth International Workshop on Frontiers in Handwriting Recognition (IWFHR'04), </i>pages 154-159. IEEE Computer Soci­ety.</p><p>Jonathan S. Yedidia, William T. Freeman, and Yair Weiss, 2003. <i>Understanding Belief Propagation and its Gen­eralizations, Exploring Artificial Intelligence in the New Millennium, </i>chapter 8, pages 236-239. Science &amp; Technology Books, January.</p><doubt alpha="0.0" length="2" tooSmall="False" monospace="0.0">10</doubt></references></body></article>