Giter Club home page Giter Club logo

budget_constrained_bidding's Introduction

Ad Tech Budget Constrained Real-Time Bidding (RTB)

This repo contains the Budget Constrained Real-Time Bidding Open AI Gym environment and Agents for Display Advertising Technology (Ad Tech). There are two agents trained for comparison. One is a Liner Bidding Agent and another one is a Model-free Reinforcement Learning(RL) based agent. The model-free RL agent is based on the paper from Wu et al. I have included the iPinYou and Fake dataset to run the models.

Ad Exchange Open AI Gym environment

Open AI Gym environment mimics the Ad Exchange by taking the bid requests from the iPinYou or any other Bidding dataset. The agents can interact with it using the standard Gym API interface.

Configuration parameters

Set the dataset_path to the absolute data set path location.
Set metrics to impressions, views, clicks, installs, conversions etc.

Reinforcement Learning (RL) Agent

The RL agent models the state by spilitting the entire day (24 Hours) into time steps, T, typically 15 minutes.

Configuration paraemters

Set T to the time step duration.
Set ACTION_SIZE to the number of discrete positive and negative steps to control the bid impression price.

Here are the slides for RTB project.


How to Use:

Note: The code was used with a private dataset from large mobile DSP company. I removed all the instances to the private dataset and added iPinYou public dataset. iPinYou does not have all the required columns and this code may not run. If you are adapting this code for your projects and have questions. Drop me an email.

Use the following command to run the Linear Bidding Agent.
bash scripts/run_lin_bid.sh

Use the following command to run the RL Bidding Agent.
bash scripts/run_rl_bid.sh

Repository Citations

Wu, Di, et al. "Budget constrained bidding by model-free reinforcement learning in display advertising." Proceedings of the 27th ACM International Conference on Information and Knowledge Management. ACM, 2018.

budget_constrained_bidding's People

Contributors

venkatacrc avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.