Giter VIP home page Giter VIP logo

fastad's Introduction

FastAD

This repo is a version of FastAD, which is designed based on Deep Crossing. This work have been published in WWW19 Learning Fast Matching Models from Weak Annotations

This work is done in Microsoft Ads team. For More information, please contact [email protected].

Introduction

Query and Ads Keyword Relevance is one of major metric of Bing Ads to control quality and user experience.

Query is the sentence user search in Bing. Ads Keyword is the sentence advertiser bided in Bing Ads.

The labels are generated by Bing Ads labeler to measure if the query and ads keyword are relevant in semantic level.

Data

Training set: 100K pairs with Binary Label, sampled in Bing Ads QKRel training set.

Dev set : 10K pairs with Binary Label, sampled in Bing Ads QKRel training set.

Test set : 95K pairs with Binary Label, Bing Ads QK_Rel test set.

Log set : 500K pairs without Label, sampled in Bing Ads impression log.

Knowledge Distillation Process

  1. Using training set fine tune MT-DNN as the Teacher Model.
  2. Scoring the log set / training set via Teacher Model to get Soft Label.
  3. Using C-DSMM_KD to learn from log set via Soft Label as the Student Model.
  4. Fine-tuning the Student Model with training set via Soft/Hard Label (Label-aware weights).

How to run

This code needed to be run in docker.

  1. Pull docker

docker pull allenlao/pytorch-mt-dnn:v0.11

  1. Run docker

docker run -it --rm -p 0.0.0.0:6006:6006 --runtime nvidia allenlao/pytorch-mt-dnn:v0.11 bash

BibTeX

@inproceedings{li2019learning,
  title={Learning Fast Matching Models from Weak Annotations},
  author={Li, Xue and Luo, Zhipeng and Sun, Hao and Zhang, Jianjin and Han, Weihao and Chu, Xianqi and Zhang, Liangjie and Zhang, Qi},
  booktitle={The World Wide Web Conference},
  pages={2985--2991},
  year={2019}
}

fastad's People

Contributors

microsoftopensource avatar zjianjin avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  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.