加权模型计数中的数值考量
Numerical Considerations in Weighted Model Counting
AI总结:
本文研究了加权模型计数中的数值精度问题,提出结合多种数值表示(如扩展范围双精度ERD、区间浮点和有理算术)来高效计算并保证用户指定的精度,同时避免上下溢出。
摘要:
加权模型计数计算与布尔公式的可满足赋值相关联的有理数值权重的总和,其中赋值的权重由构成该赋值的正文字和否定变量的权重的乘积给出。加权模型计数在概率推理和定量风险评估等多个领域都有应用。大多数加权模型计数程序通过(显式或隐式地)将输入公式转换为一种能够进行算术评估的形式来运行,其中合取使用乘法,析取使用加法。使用浮点运算执行此评估可能会产生不准确的结果,并且无法量化所达到的精度水平。使用有理算术进行计算能给出精确结果,但在时间和空间上都很昂贵。本文描述了如何结合多种数值表示来高效计算加权模型计数,从而保证达到用户指定的精度。当所有权重均为非负时,我们证明了使用浮点运算进行算术评估的精度损失可以被严格限定。我们展示了用单独的64位指数补充标准IEEE双精度表示(我们称之为扩展范围双精度,ERD),可以避免加权模型计数中常见的下溢和上溢问题。对于混合了负权重和正权重的问题,我们展示了区间浮点算术和有理算术的结合可以实现效率和保证精度这两个双重目标。在我们的评估中,我们设计了特别具有挑战性的公式和权重分配,证明了我们方法的鲁棒性。
英文摘要:
Weighted model counting computes the sum of the rational-valued weights associated with the satisfying assignments for a Boolean formula, where the weight of an assignment is given by the product of the weights assigned to the positive and negated variables comprising the assignment. Weighted model counting finds applications across a variety of domains including probabilistic reasoning and quantitative risk assessment. Most weighted model counting programs operate by (explicitly or implicitly) converting the input formula into a form that enables arithmetic evaluation, using multiplication for conjunctions and addition for disjunctions. Performing this evaluation using floating-point arithmetic can yield inaccurate results, and it cannot quantify the level of precision achieved. Computing with rational arithmetic gives exact results, but it is costly in both time and space. This paper describes how to combine multiple numeric representations to efficiently compute weighted model counts that are guaranteed to achieve a user-specified precision. When all weights are nonnegative, we prove that the precision loss of arithmetic evaluation using floating-point arithmetic can be tightly bounded. We show that supplementing a standard IEEE double-precision representation with a separate 64-bit exponent, a format we call extended-range double (ERD), avoids the underflow and overflow issues commonly encountered in weighted model counting. For problems with mixed negative and positive weights, we show that a combination of interval floating-point arithmetic and rational arithmetic can achieve the twin goals of efficiency and guaranteed precision. For our evaluations, we have devised especially challenging formulas and weight assignments, demonstrating the robustness of our approach.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。