Quantitative Analysis of Embedded Software Using Game-Theoretic Learning

Abstract

The analysis of quantitative properties, such as timing and power, is central to the design of reliable real-time embedded software and systems. However, the verification of such properties on a program is made difficult by their heavy dependence on the program's environment, such as the processor it runs on. Modeling the environment by hand can be tedious, error-prone, and time consuming. In this paper, we present a new, game-theoretic approach to analyzing quantitative properties that is based on performing systematic measurements to automatically learn a model of the environment. We model the estimation problem as a game between our algorithm (player) and the environment of the program (adversary) where the player seeks to accurately predict program properties while the adversary sets environment parameters to thwart the player. We present both theoretical and experimental evidence for the utility of our game-theoretic approach. On the theoretical side, we show that we can predict the program property for all execution paths with probability greater than 1 - delta by only making a number of measurements that is polynomial in ln(1/delta) and the program size. Experimental results for execution time analysis demonstrate that our approach is efficient, effective, and highly portable.

Open PDF

Document Details

Document Type
Technical Report
Publication Date
Sep 22, 2009
Accession Number
ADA538736

Entities

People

  • Alexander Rakhlin
  • Sanjit A. Seshia

Organizations

  • University of California, Berkeley

Tags

Communities of Interest

  • Air Platforms
  • Autonomy
  • Energy and Power Technologies
  • Materials and Manufacturing Processes

DTIC Thesaurus Topics

  • Algorithms
  • Computations
  • Computer Programming
  • Computer Programs
  • Control Systems
  • Electrical Engineering
  • Embedded Systems
  • Integer Programming
  • Learning
  • Linear Programming
  • Measurement
  • Optimization
  • Physical Properties
  • Probability
  • Random Variables
  • Systems Engineering
  • Unmanned Aerial Vehicles

Fields of Study

  • Computer science

Readers

  • Computational Modeling and Simulation
  • Game Theory.
  • Software Engineering.