Speeding up Dualization in the Fredman-Khachiyan Algorithm B

N. Sedaghat, Tamon Stephen, L. Chindelevitch
{"title":"Speeding up Dualization in the Fredman-Khachiyan Algorithm B","authors":"N. Sedaghat, Tamon Stephen, L. Chindelevitch","doi":"10.4230/LIPIcs.SEA.2018.6","DOIUrl":null,"url":null,"abstract":"The problem of computing the dual of a monotone Boolean function f is a fundamental problem in theoretical computer science with numerous applications. The related problem of duality testing (given two monotone Boolean functions f and g, declare that they are dual or provide a certificate that shows they are not) has a complexity that is not yet known. However, two quasi-polynomial time algorithms for it, often referred to as FK-A and FK-B, were proposed by Fredman and Khachiyan in 1996, with the latter having a better complexity guarantee. These can be naturally used as a subroutine in computing the dual of f . In this paper, we investigate this use of the FK-B algorithm for the computation of the dual of a monotone Boolean function, and present practical improvements to its performance. First, we show how FK-B can be modified to produce multiple certificates (Boolean vectors on which the functions defined by the original f and the current dual g do not provide outputs consistent with duality). Second, we show how the number of redundancy tests one of the more costly and time-consuming steps of FK-B can be substantially reduced in this context. Lastly, we describe a simple memoization technique that avoids the solution of multiple identical subproblems. We test our approach on a number of inputs coming from computational biology as well as combinatorics. These modifications provide a substantial speed-up, as much as an order of magnitude, for FK-B dualization relative to a naive implementation. Although other methods may end up being faster in practice, our work paves the way for a principled optimization process for the generation of monotone Boolean functions and their duals from an oracle. 2012 ACM Subject Classification Computing methodologies → Boolean algebra algorithms","PeriodicalId":9448,"journal":{"name":"Bulletin of the Society of Sea Water Science, Japan","volume":"42 1","pages":"6:1-6:13"},"PeriodicalIF":0.0000,"publicationDate":"2018-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"3","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Bulletin of the Society of Sea Water Science, Japan","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.4230/LIPIcs.SEA.2018.6","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 3

Abstract

The problem of computing the dual of a monotone Boolean function f is a fundamental problem in theoretical computer science with numerous applications. The related problem of duality testing (given two monotone Boolean functions f and g, declare that they are dual or provide a certificate that shows they are not) has a complexity that is not yet known. However, two quasi-polynomial time algorithms for it, often referred to as FK-A and FK-B, were proposed by Fredman and Khachiyan in 1996, with the latter having a better complexity guarantee. These can be naturally used as a subroutine in computing the dual of f . In this paper, we investigate this use of the FK-B algorithm for the computation of the dual of a monotone Boolean function, and present practical improvements to its performance. First, we show how FK-B can be modified to produce multiple certificates (Boolean vectors on which the functions defined by the original f and the current dual g do not provide outputs consistent with duality). Second, we show how the number of redundancy tests one of the more costly and time-consuming steps of FK-B can be substantially reduced in this context. Lastly, we describe a simple memoization technique that avoids the solution of multiple identical subproblems. We test our approach on a number of inputs coming from computational biology as well as combinatorics. These modifications provide a substantial speed-up, as much as an order of magnitude, for FK-B dualization relative to a naive implementation. Although other methods may end up being faster in practice, our work paves the way for a principled optimization process for the generation of monotone Boolean functions and their duals from an oracle. 2012 ACM Subject Classification Computing methodologies → Boolean algebra algorithms
加速fredman - kachiyan算法的二象化B
单调布尔函数f的对偶计算问题是理论计算机科学中的一个基本问题,有着广泛的应用。对偶性测试的相关问题(给定两个单调布尔函数f和g,声明它们是对偶的或提供证明它们不是对偶的)具有未知的复杂性。然而,1996年Fredman和kachiyan提出了两种拟多项式时间算法,通常称为FK-A和FK-B,后者具有更好的复杂性保证。这些自然可以用作计算f的对偶的子程序。本文研究了FK-B算法在单调布尔函数对偶计算中的应用,并给出了对其性能的实际改进。首先,我们将展示如何修改FK-B以生成多个证书(布尔向量,在这些布尔向量上,由原始f和当前对偶g定义的函数不提供与对偶性一致的输出)。其次,我们展示了如何在这种情况下大大减少冗余测试的数量,这是FK-B更昂贵和耗时的步骤之一。最后,我们描述了一种简单的记忆技术,它可以避免求解多个相同的子问题。我们在许多来自计算生物学和组合学的输入上测试了我们的方法。相对于简单的实现,这些修改为FK-B二元化提供了相当大的加速,多达一个数量级。虽然其他方法在实践中可能会更快,但我们的工作为从oracle生成单调布尔函数及其对偶的原则优化过程铺平了道路。2012 ACM主题分类计算方法→布尔代数算法
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术文献互助群
群 号:481959085
Book学术官方微信