robust text classifier on test time budgets
play

Robust Text Classifier on Test-Time Budgets Md Rizwan Parvez, Tolga - PowerPoint PPT Presentation

Robust Text Classifier on Test-Time Budgets Md Rizwan Parvez, Tolga Bolukbasi, Kai-Wei Chang, Venkatesh Saligrama 1 Motivation Five stars for getting what you pay for here. The food is good and the price is affordable. A great location right


  1. Robust Text Classifier on Test-Time Budgets Md Rizwan Parvez, Tolga Bolukbasi, Kai-Wei Chang, Venkatesh Saligrama 1

  2. Motivation Five stars for getting what you pay for here. The food is good and the price is affordable. A great location right off Great location but Wilshire, very clean inside, and family friendly. The menu has more than burgers which is great. The steak sandwiches are delicious as well, I favor the teriyaki. The ahi is pretty the food is not good too and usually seared just perfectly. Also the salads aren't that bad as well. The soda fountain is the usual at Performance places like this. This place has two signature drinks which are pretty refreshing, cucumber and strawberry. Test Time Kai-Wei Chang (http://kwchang.net) 2

  3. Motivation Five stars for getting what you pay for here. The food is good and the price is affordable. A great location right off Wilshire, very clean inside, and family friendly. The menu Performance has more than burgers which is great. The steak sandwiches are delicious as well, I favor the teriyaki. The ahi is pretty good too and usually seared just perfectly. Also the salads aren't that bad as well. The soda fountain is the usual at places like this. This place has two signature drinks which are pretty refreshing, cucumber and strawberry. Test Time Kai-Wei Chang (http://kwchang.net) 3

  4. intuition A single text classifier for various test-time budgets Performance Test Time Kai-Wei Chang (http://kwchang.net) 4

  5. Intuition Telecom Austria taps the Bulgarian market . Telecom Austria, Austria's Business largest telecoms operator, obtained .. Sci/Tech .. Reuters - Software security companies and handset makers, including Finland’s Nokia (NOK1V.HE), are .. Document Classification Kai-Wei Chang (http://kwchang.net) 5

  6. A Meta Selector-Classifier Framework Time-time Budget (selection rate) Selector Great location but the food is not Five stars for getting what you pay for here. The food is good and the price is affordable. A great location right off Wilshire, very clean inside, and family friendly. The menu has more than burgers which is great. The steak sandwiches are delicious as well, I favor the teriyaki. Text Classifier The ahi is pretty good too and usually seared just perfectly. Also the salads aren't that bad as well. The soda fountain is the usual at places like this. This place has two signature drinks which are pretty refreshing, cucumber and strawberry. Original input sentence Kai-Wei Chang (http://kwchang.net) 6

  7. A Meta Selector-Classifier Framework Budget (selection rate) 1. How to build an effective/efficient selector Selector Great location but the food is not Five stars for getting what you pay for here. The food is good and the price is affordable. A great location right off Wilshire, very clean inside, and family friendly. The menu has more than burgers which is great. The steak sandwiches are delicious as well, I favor the teriyaki. Text Classifier The ahi is pretty good too and usually seared just perfectly. Also the salads aren't that bad as well. The soda fountain is the usual at places like this. This place has two signature drinks which are pretty refreshing, cucumber and strawberry. Original input sentence 2. How to train a robust classifier? Kai-Wei Chang (http://kwchang.net) 7

  8. End-to-End Training for WE Selector ● Selector has to be light-weight ● We consider a selector based on word-embedding ● P(word x is selected) = σ(θ T x) ● End-to-end training [ Lei et al. (2016)] ● L1-regularizer to encourage sparsity Training with Loss + L1 regularizer Five stars for getting what you pay for here. The food is good and the price is affordable. A great location right off Wilshire, very clean inside, and family σ(θ T x) friendly. The menu has more than burgers which is great. The steak Great sandwiches are delicious as well, I favor Loss Text Classifier the teriyaki. The ahi is pretty good too location but and usually seared just perfectly. Also the food is not the salads aren't that bad as well. The soda fountain is the usual at places like this. This place has two signature drinks which are pretty refreshing, cucumber and strawberry. 8 [ Lei et al., (2016)] References : Tao Lei, Regina Barzilay, and Tommi S. Jaakkola. 2016. Rationalizing neural predictions. In EMNLP

  9. Key Challenges - Fractured Texts v Text classifier is not trained to deal with fractured texts Great but not Great location food not Great location but food not Great location but the food is not Text Classifier Prediction Accuracy Test-time Kai-Wei Chang (http://kwchang.net) 9

  10. Training a Robust Classifier with Data Aggregation Five stars for getting what you pay for Great location here. The food is good and the price is Selector A affordable. A great location right off but food is not Wilshire, very clean inside, and family friendly. The menu has more than burgers which is great. The steak sandwiches are delicious as well, I favor the teriyaki. The ahi is pretty good too Selector B food is and usually seared just perfectly. Also the salads aren't that bad as well. The soda fountain is the usual at places like this. This place has two signature drinks which are pretty refreshing, cucumber and strawberry. Great but Selector C the not Great Great location but but food is not Great but but food Text Classifier not the not is Train but is location is the Aggregated corpus Kai-Wei Chang (http://kwchang.net) 10

  11. An Alternative Selector ● L1-regularized Bag-of-Words Model θ 3 θ 1 θ 2 θ 4 θ |v| … 5 𝜄 * = argmin 𝜄 ∑ (−𝑧 𝜄 T . 𝑦 log (1 + exp ⃗ )) + 6 ||𝜄|| 1 (2,4) 𝑐: selection rate Kai-Wei Chang (http://kwchang.net) 11

  12. Related Work v Skip/Skim unimportant Text v Skip-RNN [Campos et al., 2017] v Skim-RNN [Seo et al., 2018] v Our approach is agonistic to text classifier v Model Compression [Bucila et al., 2006] Kai-Wei Chang (http://kwchang.net) 12

  13. Experiment Setting ● Datasets: SST-2, IMDB, AGNews, and Yelp ● Classifiers: LSTM, BCN [McCann et al., 2017] ● Aggregate corpus from both selectors: ● Selection rate = {50%, 60%, 70%, 80%, 90%, 100%} Kai-Wei Chang (http://kwchang.net) 13

  14. Error Rate v.s. Test-Time IMDB AGNews See our paper for more results Kai-Wei Chang (http://kwchang.net) 14

  15. Conclusion ● We present a selector-classifier meta framework for building efficient text classifier ● We propose efficient selectors and data aggregation scheme to train classifiers that are compatible with fractured text selected at any rate. Source codes are available at: https://github.com/uclanlp/Fast-and-Robust-Text-Classification Thanks!!!! Kai-Wei Chang (http://kwchang.net) 15

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend