Automated Memoization for Parameter Studies Implemented in Impure Languages
Automated Memoization for Parameter Studies Implemented in Impure Languages
复制标题
用不纯语言实现参数研究的自动记忆
DOI:
10.1145/2901378.2901386
复制
发表时间:
2016
期刊:
影响因子:
--
通讯作者:
K. Wehrle
中科院分区:
文献类型:
--
作者:
M. Stoffers;D. Schemmel;O. Soria Dustmann;K. Wehrle
In computer simulations many processes are highly repetitive. These repetitions are amplified further when a parameter study is conducted where the same model is repeatedly executed with varying parameters, especially when performing multiple runs to increase statistical confidence. Inevitably, such repetitions result in the execution of identical computations, with identical code, identical input, and hence identical output. Performing computations redundantly wastes resources and the execution time of a parameter study could be reduced if the redundancies were avoided.To this end, the idea of memoization was proposed decades ago. However, until today memoization is either performed manually or automated memoization approaches are used that can only handle pure functions. This means that only the function parameters and the return value may be input and output of the function whereas side effects are not allowed. In order to expand the scope of automated memoization to a larger class of programs, we propose an approach able to reliably detect the full input and output of a function, including reading and writing objects through arbitrarily indirect pointers with some preconditions. We show the feasibility of our approach and derive simple performance approximations enabling rough predictions of the expected benefit. By means of a simple case study performing an OFDM network simulation, we demonstrate the practical suitability of our approach, speeding up the execution of the whole parameter study by a factor of 75, while only doubling memory consumption.
登录
查看更多内容
DOI:
--
发表时间:
1985
期刊:
International Joint Conference on Artificial Intelligence
影响因子:
--
作者:
Jack Mostow;D. Cohen
通讯作者:
D. Cohen
DOI:
10.1109/caia.1995.378786
发表时间:
1995
期刊:
Proceedings the 11th Conference on Artificial Intelligence for Applications
影响因子:
--
作者:
J. Mayfield;Timothy W. Finin;M. Hall
通讯作者:
M. Hall
DOI:
--
发表时间:
2001
期刊:
TOMC
影响因子:
--
作者:
Maria Hybinette;R. Fujimoto
通讯作者:
R. Fujimoto
DOI:
--
发表时间:
1993
期刊:
影响因子:
--
作者:
M. Hall;J. Mayfield
通讯作者:
J. Mayfield
影响因子:
--
作者:
Paul McNamee;Marty Hall
通讯作者:
Marty Hall