Image for post
Image for post
Photo by Daniele Levis Pelusi on Unsplash

Adversarial attacks on machine learning models has been a hot research topic for the last year. While many teams are working on understanding the implications of adversarial approach, it is still a new area.

There are two main approaches: White-box optimization requires access to trained model architecture and weights, and uses it’s differentiability property to generate adversarial sample. Black-box optimization treats model as an object with unknown hidden state that only has some I\O interface. While it’s generally more computationally involved, black-box scenario is much closer to real-life event.

In this article I will explain how to generate adversarial examples using genetic programming. …


Image for post
Image for post
Example of Conway’s Game of Life board

Introduction

Conway’s Game of Life is a cellural automaton that has couple of simple rules:

  1. Any live cell with fewer than two live neighbors dies, as if by underpopulation.
  2. Any live cell with two or three live neighbors lives on to the next generation.
  3. Any live cell with more than three live neighbors dies, as if by overpopulation.
  4. Any dead cell with exactly three live neighbors becomes a live cell, as if by reproduction.

This seemingly simple guidelines can result in the overall complex emergent behavior.

A couple of years ago Kaggle has launched a competition whose goal was to “reverse the time arrow” in Game of Life. You are given 20x20 end board and are asked to predict the starting board that, when evolved, will resemble the end board state as much as possible. Metric used for evaluation is Mean Absolute Error: for each board number of cell states correctly guessed is divided by the total number of cells. Although some people have examined this problem, it is unknown just how difficult this will be as well as the successful approaches to this problem. …

About

Pavel Tyshevskyi

Machine Learning Enthusiast with passion for Code, Math and Statistics.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store