Detecting Floating-Point Expression Errors Based Improved PSO Algorithm

被引:0
|
作者
Yang, Hongru [1 ]
Xu, Jinchen [1 ]
Hao, Jiangwei [1 ]
Zhang, Zuoyan [1 ]
Zhou, Bei [1 ]
机构
[1] Informat Engn Univ, 62 Sci Ave, Zhengzhou 450001, Henan, Peoples R China
关键词
OPTIMIZATION; ACCURACY;
D O I
10.1049/2023/6681267
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The use of floating-point numbers inevitably leads to inaccurate results and, in certain cases, significant program failures. Detecting floating-point errors is critical to ensuring that floating-point programs outputs are proper. However, due to the sparsity of floating-point errors, only a limited number of inputs can cause significant floating-point errors, and determining how to detect these inputs and to selecting the appropriate search technique is critical to detecting significant errors. This paper proposes characteristic particle swarm optimization (CPSO) algorithm based on particle swarm optimization (PSO) algorithm. The floating-point expression error detection tool PSOED is implemented, which can detect significant errors in floating-point arithmetic expressions and provide corresponding input. The method presented in this paper is based on two insights: (1) treating floating-point error detection as a search problem and selecting reliable heuristic search strategies to solve the problem; (2) fully utilizing the error distribution laws of expressions and the distribution characteristics of floating-point numbers to guide the search space generation and improve the search efficiency. This paper selects 28 expressions from the FPBench standard set as test cases, uses PSOED to detect the maximum error of the expressions, and compares them to the current dynamic error detection tools S3FP and Herbie. PSOED detects the maximum error 100% better than S3FP, 68% better than Herbie, and 14% equivalent to Herbie. The results of the experiments indicate that PSOED can detect significant floating-point expression errors.
引用
收藏
页数:16
相关论文
共 50 条
  • [21] ADDER ERRORS VERSUS MULTIPLIER ERRORS IN FLOATING-POINT DIGITAL-FILTERS
    MARTINELLI, G
    ORLANDI, G
    SALERNO, M
    PROCEEDINGS OF THE INSTITUTION OF ELECTRICAL ENGINEERS-LONDON, 1976, 123 (03): : 207 - 211
  • [22] ON RELATIVE ERRORS OF FLOATING-POINT OPERATIONS: OPTIMAL BOUNDS AND APPLICATIONS
    Jeannerod, Claude-Pierre
    Rump, Siegfried M.
    MATHEMATICS OF COMPUTATION, 2018, 87 (310) : 803 - 819
  • [23] A note of techniques that mitigate floating-point errors in PIN estimation
    Wen-Chyan, Ke
    Chen Hueiling
    William, Lin Hsiou-Wei
    FINANCE RESEARCH LETTERS, 2019, 31 : 458 - 462
  • [24] Efficient Search for Inputs Causing High Floating-point Errors
    Chiang, Wei-Fan
    Gopalakrishnan, Ganesh
    Rakamaric, Zvonimir
    Solovyev, Alexey
    ACM SIGPLAN NOTICES, 2014, 49 (08) : 43 - 52
  • [25] Floating-point to fixed-point conversion with decision errors due to quantization
    Shi, CC
    Brodersen, RW
    2004 IEEE INTERNATIONAL CONFERENCE ON ACOUSTICS, SPEECH, AND SIGNAL PROCESSING, VOL V, PROCEEDINGS: DESIGN AND IMPLEMENTATION OF SIGNAL PROCESSING SYSTEMS INDUSTRY TECHNOLOGY TRACKS MACHINE LEARNING FOR SIGNAL PROCESSING MULTIMEDIA SIGNAL PROCESSING SIGNAL PROCESSING FOR EDUCATION, 2004, : 41 - 44
  • [26] ARFA: An Agile Regime-Based Floating-Point Optimization Approach for Rounding Errors
    Xu, Jinchen
    Cui, Mengqi
    Li, Fei
    Zhang, Zuoyan
    Yang, Hongru
    Zhou, Bei
    Zhao, Jie
    PROCEEDINGS OF THE 33RD ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON SOFTWARE TESTING AND ANALYSIS, ISSTA 2024, 2024, : 1516 - 1528
  • [27] Formal Verification of a Floating-Point Expansion Renormalization Algorithm
    Boldo, Sylvie
    Joldes, Mioara
    Muller, Jean-Michel
    Popescu, Valentina
    INTERACTIVE THEOREM PROVING (ITP 2017), 2017, 10499 : 98 - 113
  • [28] An algorithm for converting floating-point computations to fixed-point in MATLAB based FPGA design
    Roy, S
    Banerjee, P
    41ST DESIGN AUTOMATION CONFERENCE, PROCEEDINGS 2004, 2004, : 484 - 487
  • [29] Revisit to Floating-Point Division Algorithm Based on Taylor-Series Expansion
    Wei, Jianglin
    Kuwana, Anna
    Kobayashi, Haruo
    Kubo, Kazuyoshi
    APCCAS 2020: PROCEEDINGS OF THE 2020 IEEE ASIA PACIFIC CONFERENCE ON CIRCUITS AND SYSTEMS (APCCAS 2020), 2020, : 240 - 243
  • [30] Decimal floating-point antilogarithmic converter based on selection by rounding: algorithm and architecture
    Chen, D.
    Han, L.
    Ko, S. -B.
    IET COMPUTERS AND DIGITAL TECHNIQUES, 2012, 6 (05): : 277 - 289