Adaptive Behavioral Programming
We introduce a way to program adaptive reactive systems, using behavioral programming. Extending the semantics of BPJ with reinforcements allows the programmer not only to specify what the system should do or must not do, but also what it should try to do, in an intuitive and incremental way. By integrating behavioral programs with reinforcement learning methods, the program can adapt to the environment, and try to achieve the desired goals.
- Paper: Adaptive Behavioral Programming
- Code and examples:
- A base version of BPJ.
- A Java library with extensions to BPJ for reinforcement learning. Import and add to the classpath.
- Example: A Salad cutting robot. The b-threads provide an incomplete specification for a simulated robot that needs to pick up vegetables, cut them and serve them to customers. Using reinforcement learning, the robot learns the correct order in which to execute these actions.
- Example: Tic Tac Toe, where the application learns how to play despite underspecification.