1 Introduction to Transfer Learning (Part 2) For 2012 Dragon Star Lectures Qiang Yang Hong Kong University of Science and Technology Hong Kong, China

Slides:



Advertisements
Similar presentations
Knowledge Transfer via Multiple Model Local Structure Mapping Jing Gao Wei Fan Jing JiangJiawei Han University of Illinois at Urbana-Champaign IBM T. J.
Advertisements

Knowledge Transfer via Multiple Model Local Structure Mapping Jing Gao, Wei Fan, Jing Jiang, Jiawei Han l Motivate Solution Framework Data Sets Synthetic.
Latent Variables Naman Agarwal Michael Nute May 1, 2013.
A Survey on Transfer Learning Sinno Jialin Pan Department of Computer Science and Engineering The Hong Kong University of Science and Technology Joint.
Component Analysis (Review)
Principal Component Analysis Based on L1-Norm Maximization Nojun Kwak IEEE Transactions on Pattern Analysis and Machine Intelligence, 2008.
Image classification Given the bag-of-features representations of images from different classes, how do we learn a model for distinguishing them?
SVM - Support Vector Machines A new classification method for both linear and nonlinear data It uses a nonlinear mapping to transform the original training.
Rajat Raina Honglak Lee, Roger Grosse Alexis Battle, Chaitanya Ekanadham, Helen Kwong, Benjamin Packer, Narut Sereewattanawoot Andrew Y. Ng Stanford University.
Support Vector Machines
Machine learning continued Image source:
CSCI 347 / CS 4206: Data Mining Module 07: Implementations Topic 03: Linear Models.
Universal Learning over Related Distributions and Adaptive Graph Transduction Erheng Zhong †, Wei Fan ‡, Jing Peng*, Olivier Verscheure ‡, and Jiangtao.
Differentiable Sparse Coding David Bradley and J. Andrew Bagnell NIPS
Frustratingly Easy Domain Adaptation
Jun Zhu Dept. of Comp. Sci. & Tech., Tsinghua University This work was done when I was a visiting researcher at CMU. Joint.
Self Taught Learning : Transfer learning from unlabeled data Presented by: Shankar B S DMML Lab Rajat Raina et al, CS, Stanford ICML 2007.
Transfer Learning for WiFi-based Indoor Localization
Graph Based Semi- Supervised Learning Fei Wang Department of Statistical Science Cornell University.
Locally Constraint Support Vector Clustering
Principal Component Analysis
On Appropriate Assumptions to Mine Data Streams: Analyses and Solutions Jing Gao† Wei Fan‡ Jiawei Han† †University of Illinois at Urbana-Champaign ‡IBM.
Prénom Nom Document Analysis: Data Analysis and Clustering Prof. Rolf Ingold, University of Fribourg Master course, spring semester 2008.
Data mining and statistical learning - lecture 13 Separating hyperplane.
Cross Validation Framework to Choose Amongst Models and Datasets for Transfer Learning Erheng Zhong ¶, Wei Fan ‡, Qiang Yang ¶, Olivier Verscheure ‡, Jiangtao.
Knowledge Transfer via Multiple Model Local Structure Mapping Jing Gao† Wei Fan‡ Jing Jiang†Jiawei Han† †University of Illinois at Urbana-Champaign ‡IBM.
Pattern Recognition. Introduction. Definitions.. Recognition process. Recognition process relates input signal to the stored concepts about the object.
CS Ensembles and Bayes1 Semi-Supervised Learning Can we improve the quality of our learning by combining labeled and unlabeled data Usually a lot.
Review Rong Jin. Comparison of Different Classification Models  The goal of all classifiers Predicating class label y for an input x Estimate p(y|x)
CSCI 347 / CS 4206: Data Mining Module 04: Algorithms Topic 06: Regression.
Introduction to domain adaptation
An Introduction to Support Vector Machines Martin Law.
Transfer Learning From Multiple Source Domains via Consensus Regularization Ping Luo, Fuzhen Zhuang, Hui Xiong, Yuhong Xiong, Qing He.
This week: overview on pattern recognition (related to machine learning)
Shai Ben-David University of Waterloo Towards theoretical understanding of Domain Adaptation Learning ECML/PKDD 2009 LNIID Workshop.
Overcoming Dataset Bias: An Unsupervised Domain Adaptation Approach Boqing Gong University of Southern California Joint work with Fei Sha and Kristen Grauman.
Efficient Direct Density Ratio Estimation for Non-stationarity Adaptation and Outlier Detection Takafumi Kanamori Shohei Hido NIPS 2008.
Transfer Learning Part I: Overview Sinno Jialin Pan Sinno Jialin Pan Institute for Infocomm Research (I2R), Singapore.
Predictive Modeling with Heterogeneous Sources Xiaoxiao Shi 1 Qi Liu 2 Wei Fan 3 Qiang Yang 4 Philip S. Yu 1 1 University of Illinois at Chicago 2 Tongji.
Boris Babenko Department of Computer Science and Engineering University of California, San Diego Semi-supervised and Unsupervised Feature Scaling.
EMIS 8381 – Spring Netflix and Your Next Movie Night Nonlinear Programming Ron Andrews EMIS 8381.
Xiaoxiao Shi, Qi Liu, Wei Fan, Philip S. Yu, and Ruixin Zhu
Universit at Dortmund, LS VIII
Transfer Learning Task. Problem Identification Dataset : A Year: 2000 Features: 48 Training Model ‘M’ Testing 98.6% Training Model ‘M’ Testing 97% Dataset.
Transfer Learning with Applications to Text Classification Jing Peng Computer Science Department.
Modern Topics in Multivariate Methods for Data Analysis.
ICML2004, Banff, Alberta, Canada Learning Larger Margin Machine Locally and Globally Kaizhu Huang Haiqin Yang, Irwin King, Michael.
Source-Selection-Free Transfer Learning
Transfer Learning Motivation and Types Functional Transfer Learning Representational Transfer Learning References.
Support Vector Machines Reading: Ben-Hur and Weston, “A User’s Guide to Support Vector Machines” (linked from class web page)
An Introduction to Support Vector Machines (M. Law)
Ensemble Learning Spring 2009 Ben-Gurion University of the Negev.
GRASP Learning a Kernel Matrix for Nonlinear Dimensionality Reduction Kilian Q. Weinberger, Fei Sha and Lawrence K. Saul ICML’04 Department of Computer.
Geodesic Flow Kernel for Unsupervised Domain Adaptation Boqing Gong University of Southern California Joint work with Yuan Shi, Fei Sha, and Kristen Grauman.
Principal Component Analysis Machine Learning. Last Time Expectation Maximization in Graphical Models – Baum Welch.
Linear Models for Classification
HAITHAM BOU AMMAR MAASTRICHT UNIVERSITY Transfer for Supervised Learning Tasks.
Iterative similarity based adaptation technique for Cross Domain text classification Under: Prof. Amitabha Mukherjee By: Narendra Roy Roll no: Group:
Self-taught Clustering – an instance of Transfer Unsupervised Learning † Wenyuan Dai joint work with ‡ Qiang Yang, † Gui-Rong Xue, and † Yong Yu † Shanghai.
Learning Kernel Classifiers 1. Introduction Summarized by In-Hee Lee.
Giansalvo EXIN Cirrincione unit #4 Single-layer networks They directly compute linear discriminant functions using the TS without need of determining.
Web-Mining Agents: Transfer Learning TrAdaBoost R. Möller Institute of Information Systems University of Lübeck.
Unsupervised Learning Part 2. Topics How to determine the K in K-means? Hierarchical clustering Soft clustering with Gaussian mixture models Expectation-Maximization.
Semi-Supervised Learning Using Label Mean
Cross Domain Distribution Adaptation via Kernel Mapping
Introductory Seminar on Research: Fall 2017
Learning with information of features
Knowledge Transfer via Multiple Model Local Structure Mapping
Multivariate Methods Berlin Chen
Multivariate Methods Berlin Chen, 2005 References:
Presentation transcript:

1 Introduction to Transfer Learning (Part 2) For 2012 Dragon Star Lectures Qiang Yang Hong Kong University of Science and Technology Hong Kong, China

Domain Adaptation in NLP Applications Automatic Content Extraction Sentiment Classification Part-Of-Speech Tagging NER Question Answering Classification Clustering Selected Methods Domain adaptation for statistical classifiers [Hal Daume III & Daniel Marcu, JAIR 2006], [Jiang and Zhai, ACL 2007] Structural Correspondence Learning [John Blitzer et al. ACL 2007] [Ando and Zhang, JMLR 2005] Latent subspace [Sinno Jialin Pan et al. AAAI 08] 2

Instance-transfer Approaches Instance-transfer Approaches [Wu and Dietterich ICML-04] [J.Jiang and C. Zhai, ACL 2007] [Dai, Yang et al. ICML-07]  Differentiate the cost for misclassification of the target and source data 3 Uniform weights Correct the decision boundary by re-weighting Loss function on the target domain data Loss function on the source domain data Regularization term – Cross-domain POS tagging, – entity type classification – Personalized spam filtering

TrAdaBoost [Dai, Yang et al. ICML-07] 4 Source domain labeled data target domain labeled data AdaBoost [Freund et al. 1997] Hedge ( ) [Freund et al. 1997] The whole training data set To decrease the weights of the misclassified data To increase the weights of the misclassified data Classifiers trained on re-weighted labeled data Target domain unlabeled data Misclassified examples: – increase the weights of the misclassified target data – decrease the weights of the misclassified source data Evaluation with 20NG: 22%  8%

Locally Weighted Ensemble [Jing Gao, Wei Fan, Jing Jiang, Jiawei Han: Knowledge transfer via multiple model local structure mapping. KDD 2008] C1C1 C2C2 CkCk Training set 1 Test example …… Training set 2 Training set k …… Graph-based weights approximation Weight of a model is proportional to the similarity between its neighborhood graph and the clustering structure around x.

Transductive Transfer Learning Instance-transfer Approaches Sample Selection Bias / Covariance Shift [Zadrozny ICML-04, Schwaighofer JSPI-00] Input: Input: A lot of labeled data in the source domain and no labeled data in the target domain. Output: Models for use in the target domain data. Assumption: The source domain and target domain are the same. In addition, and are the same while and may be different caused by different sampling process (training data and test data). Main Idea: Re-weighting (important sampling) the source domain data.

Sample Selection Bias/Covariance Shift To correct sample selection bias: How to estimate ? One straightforward solution is to estimate and, respectively. However, estimating density function is a hard problem. weights for source domain data

Sample Selection Bias/Covariance Shift Kernel Mean Match (KMM) [Huang et al. NIPS 2006] Main Idea: KMM tries to estimate directly instead of estimating density function. It can be proved that can be estimated by solving the following quadratic programming (QP) optimization problem. Theoretical Support: Maximum Mean Discrepancy (MMD) [Borgwardt et al. BIOINFOMATICS-06]. The distance of distributions can be measured by Euclid distance of their mean vectors in a RKHS. To match means between training and test data in a RKHS

9 Feature Space: Document-word co-occurrence D_S D_T Knowledge transfer Source Target

10 Co-Clustering based Classification (KDD 2007) Co-clustering is applied between features (words) and target-domain documents Word clustering is constrained by the labels of in-domain (Old) documents The word clustering part in both domains serve as a bridge

Structural Correspondence Learning [Blitzer et al. ACL 2007] SCL: [Ando and Zhang, JMLR 2005] Define pivot features: common in two domains Build Latent Space built from Pivot Features, and do mapping Build classifiers through the non-pivot Features 11

SCL [Blitzer et al. EMNLP-06, Blitzer et al. ACL-07, Ando and Zhang JMLR- 05] a) Heuristically choose m pivot features, which is task specific. b) Transform each vector of pivot feature to a vector of binary values and then create corresponding prediction problem. Learn parameters of each prediction problem Do Eigen Decomposition on the matrix of parameters and learn the linear mapping function. Use the learnt mapping function to construct new features and train classifiers onto the new representations. Courtesy of Sinno Pan

Self-Taught Learning Feature-representation-transfer Approaches Unsupervised Feature Construction [Raina et al. ICML-07] Three steps: 1. Applying sparse coding [Lee et al. NIPS-07] algorithm to learn higher-level representation from unlabeled data in the source domain. 2. Transforming the target data to new representations by new bases learnt in the first step. 3. Traditional discriminative models can be applied on new representations of the target data with corresponding labels. Courtesy of Sinno Pan

Step1: Input: Input: Source domain data and coefficient Output: Output: New representations of the source domain data and new basesStep2: Input: Input: Target domain data, coefficient and bases Output: Output: New representations of the target domain data Unsupervised Feature Construction [Raina et al. ICML-07] Courtesy of Sinno Pan

[ Raina et al. Self-Taught Learning ICML-07] “Self-taught Learning” [ Raina et al. Self-Taught Learning ICML-07] Unlabeled English characters Labeled Digits Self-taught Learning: Courtesy of Raina Labeled Webpages Unlabeled newspaper articles Labeled Russian Speech Unlabeled English speech + ? + ? + ? 15

16 Examples of Higher Level Features Learned Natural images. Learnt bases: “Edges” Handwritten characters. Learnt bases: “Strokes” Self-taught Learning: Courtesy of Raina

17 Latent Feature Space TL Methods: Temporal Domain Distribution Changes The mapping function f learned in the offline phase can be out of date. Recollecting the WiFi data is very expensive. How to adapt the model ? Time Night time periodDay time period

18 Transfer Component Analysis: Sinno Pan et al., IEEE Trans. NN 2011 Source Domain data Target Domain data Observations La tent factors If two domains are related, … Common latent factors across domains Sinno Jialin Pan

19 Motivation (cont.) Source domain data Target domain data Observations Latent factors Some latent factors may preserve important properties (such as variance, local topological structure) of the original data, while others may not. Sinno Jialin Pan

PCA: Only Maximizing the Data Variance 20 Principal Component Analysis (PCA) [Jolliffe. 02] aims to find a low- dimensional latent space where the variance of the projected data is maximized. Con: it may not reduce the difference between domains. Sinno Jialin Pan

21 Learning the Transform Mapping How to estimate distance between distributions in the latent space? How to solve the resultant optimization problem? High level optimization problem Sinno Jialin Pan

22 Semi-Supervised TCA High level objectives: To measure label dependence using Hilbert- Schmidt Independence Criterion (HSIC) To measure the distance between domains using MMD Sinno Jialin Pan

Blitzer, et al. Learning Bounds for Domain Adaptation. NIPS 2007 m’=number of examples d(u_S, u_T) = domain distance 1-  =confidence  =error 23

Inductive Transfer Learning Model-transfer Approaches Regularization-based Method [Evgeiou and Pontil, KDD-04] Assumption: If t tasks are related to each other, then they may share some parameters among individual models. Assume be a hyper-plane for task, where and Encode them into SVMs: Common partSpecific part for individual task Regularization terms for multiple tasks

Inductive Transfer Learning Structural-transfer Approaches TAMAR [Mihalkova et al. AAAI-07] Assumption: If the target domain and source domain are related, then there may be some relationship between domains that are similar, which can be used for transfer learning Input: 1. Relational data in the source domain and a statistical relational model, Markov Logic Network (MLN), which has been learnt in the source domain. 2. Relational data in the target domain. Output: A new statistical relational model, MLN, in the target domain. Goal: To learn a MLN in the target domain more efficiently and effectively.

TAMAR [Mihalkova et al. AAAI-07] Two Stages: 1. Predicate Mapping Establish the mapping between predicates in the source and target domain. Once a mapping is established, clauses from the source domain can be translated into the target domain. 2. Revising the Mapped Structure The clause-mapping from the source domain directly may not be completely accurate and may need to be revised, augmented, and re-weighted in order to properly model the target data.

TAMAR [Mihalkova et al. AAAI-07] Actor(A)Director(B) WorkedFor Movie(M) MovieMember Student (B) Professor (A) AdvisedBy Paper (T) Publication Source domain (academic domain) Target domain (movie domain) Mapping Revising