Implementing the dynamic time warping algorithm in multithreaded environments for real time and unsupervised pattern discovery

Sharanyan Srikanthan, Arvind Kumar, R. Gupta
{"title":"Implementing the dynamic time warping algorithm in multithreaded environments for real time and unsupervised pattern discovery","authors":"Sharanyan Srikanthan, Arvind Kumar, R. Gupta","doi":"10.1109/ICCCT.2011.6075111","DOIUrl":null,"url":null,"abstract":"Dynamic Time Warping (DTW) has been a widely used algorithm in the field of patter recognition. DTW is used to finding acoustic similarities in the same speech sequence or between sequences or both. Its use is not limited to speech signals but it is also a key step in image processing as well. Despite being one of the most important and effective algorithms, DTW is computationally very intense. Processing of one hour of speech using DTW takes a few hours on a single processor, limiting its applicability to desktop and server platforms. Even on advanced platforms, DTW is used only in an offline manner and not in real time. Further modifications for improving performance in DTW make the algorithm slower. In this paper, we aim at extracting maximum thread-level parallelism from the process so as to accelerate its execution using clusters, multicore and multi-processor servers. Since the existing parallelism in this process in highly limited, we restructure the entire algorithm to extract maximum parallelism without altering the functional behavior of the algorithm. We implement the algorithm on a cluster of Intel Xeon processors running at 2.93GHz. We compare the results on a multi processor and multicore level to analyze the benefits of both versions. Our results show that it is possible to implement such a compute intense algorithm in real time which is a big boost considering that these algorithms are always done in an offline manner.","PeriodicalId":285986,"journal":{"name":"2011 2nd International Conference on Computer and Communication Technology (ICCCT-2011)","volume":"44 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2011-11-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"22","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2011 2nd International Conference on Computer and Communication Technology (ICCCT-2011)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICCCT.2011.6075111","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 22

Abstract

Dynamic Time Warping (DTW) has been a widely used algorithm in the field of patter recognition. DTW is used to finding acoustic similarities in the same speech sequence or between sequences or both. Its use is not limited to speech signals but it is also a key step in image processing as well. Despite being one of the most important and effective algorithms, DTW is computationally very intense. Processing of one hour of speech using DTW takes a few hours on a single processor, limiting its applicability to desktop and server platforms. Even on advanced platforms, DTW is used only in an offline manner and not in real time. Further modifications for improving performance in DTW make the algorithm slower. In this paper, we aim at extracting maximum thread-level parallelism from the process so as to accelerate its execution using clusters, multicore and multi-processor servers. Since the existing parallelism in this process in highly limited, we restructure the entire algorithm to extract maximum parallelism without altering the functional behavior of the algorithm. We implement the algorithm on a cluster of Intel Xeon processors running at 2.93GHz. We compare the results on a multi processor and multicore level to analyze the benefits of both versions. Our results show that it is possible to implement such a compute intense algorithm in real time which is a big boost considering that these algorithms are always done in an offline manner.
实现多线程环境下的动态时间翘曲算法,实现实时无监督模式发现
动态时间翘曲(DTW)是模式识别领域中应用最为广泛的一种算法。DTW用于寻找同一语音序列或序列之间或两者之间的声学相似性。它的应用不仅限于语音信号,而且也是图像处理的关键步骤。尽管DTW是最重要和最有效的算法之一,但它的计算量非常大。使用DTW在单个处理器上处理一小时的语音需要几个小时,这限制了它对桌面和服务器平台的适用性。即使在先进的平台上,DTW也只以离线方式使用,而不是实时使用。为了提高DTW的性能而进行的进一步修改使算法变得更慢。在本文中,我们的目标是从进程中提取最大的线程级并行性,以便在集群、多核和多处理器服务器上加速其执行。由于该过程中现有的并行度非常有限,我们在不改变算法功能行为的情况下重构了整个算法,以提取最大的并行度。我们在运行频率为2.93GHz的Intel至强处理器集群上实现了该算法。我们比较了在多处理器和多核级别上的结果,以分析这两个版本的优点。我们的结果表明,考虑到这些算法总是以离线方式完成,实时实现这种计算密集型算法是可能的,这是一个很大的提升。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信