可扩展的香农熵精确计算
Scalable Precise Computation of Shannon Entropy
AI总结:
本文提出PSE工具,通过优化香农熵计算的两个阶段,实现了对布尔约束程序的可扩展精确计算,比现有工具更高效。
摘要:
量化信息流分析(QIF)是一类用于测量程序向其公共输出泄露的保密信息量的技术。香农熵是QIF中用于量化泄漏量的重要方法。本文聚焦于由布尔约束建模的程序,并优化了香农熵计算的两个阶段,以实现一个可扩展的精确工具PSE。第一阶段,我们设计了一种称为ADDAND的知识编译语言,结合了代数决策图和联合分解。ADDAND避免了枚举程序可能的输出,并支持可处理的熵计算。第二阶段,我们优化了用于计算输出概率的模型计数查询。我们比较了PSE与最先进的概率近似正确工具EntropyEstimation,后者已被证明显著优于之前的精确工具。实验结果表明,PSE在459个基准中解决了比EntropyEstimation多56个基准。对于98%的两个工具都能解决的基准,PSE的效率至少是EntropyEstimation的10倍。
英文摘要:
Quantitative information flow analyses (QIF) are a class of techniques for measuring the amount of confidential information leaked by a program to its public outputs. Shannon entropy is an important method to quantify the amount of leakage in QIF. This paper focuses on the programs modeled in Boolean constraints and optimizes the two stages of the Shannon entropy computation to implement a scalable precise tool PSE. In the first stage, we design a knowledge compilation language called \ADDAND that combines Algebraic Decision Diagrams and conjunctive decomposition. \ADDAND avoids enumerating possible outputs of a program and supports tractable entropy computation. In the second stage, we optimize the model counting queries that are used to compute the probabilities of outputs. We compare PSE with the state-of-the-art probabilistic approximately correct tool EntropyEstimation, which was shown to significantly outperform the previous precise tools. The experimental results demonstrate that PSE solved 56 more benchmarks compared to EntropyEstimation in a total of 459. For 98\% of the benchmarks that both PSE and EntropyEstimation solved, PSE is at least $10\times$ as efficient as EntropyEstimation.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。