SlideShare a Scribd company logo
Research Methods in Natural Language Processing
Pham Quang Nhat Minh
FPT Technology Research Institute
FPT University
minhpqn2@fe.edu.vn
April 16, 2017
Objectives of the lecture
Introduce some research know-how and practices in doing
research
Focus on NLP/Machine Learning/Data Science fields
Share my research experiences in the field NLP
Pham Quang Nhat Minh Research Methods in NLP 2/70
Table of Contents
1 What are empirical research methods for computer science?
2 How to choose a good research topic?
3 How to read a scientific paper?
4 How to work with your advisor
5 Doing research in NLP field
What is NLP?
What is it like doing research in NLP?
How to do research in NLP?
How to choose NLP papers to read?
6 Coding practices for NLP/Machine Learning research work
7 My research stories
Pham Quang Nhat Minh Research Methods in NLP 3/70
Acknowledgements
Many contents in the lecture are from documents in the
references
(Alon, 2009) How To Choose a Good Scientific Problem
(Wilson et al., 2012) Best Practices for Scientific Computing
Paul Cohen: Empirical Methods for AI & CS
Other documents, blogs
Pham Quang Nhat Minh Research Methods in NLP 4/70
Table of Contents
1 What are empirical research methods for computer science?
2 How to choose a good research topic?
3 How to read a scientific paper?
4 How to work with your advisor
5 Doing research in NLP field
What is NLP?
What is it like doing research in NLP?
How to do research in NLP?
How to choose NLP papers to read?
6 Coding practices for NLP/Machine Learning research work
7 My research stories
Pham Quang Nhat Minh Research Methods in NLP 5/70
What does “empirical” mean?
Relying on observations, data, experiments
Empirical work should complement theoretical work
Theories often have holes (e.g., How big is the constant term?)
Theories are suggested by observations
Theories are tested by observations
Conversely, theories direct our empirical attention
In addition, empirical means “wanting to understand
behaviour of complex systems”
In NLP, we may want to understand how features are
correlated
Pham Quang Nhat Minh Research Methods in NLP 6/70
Why we need empirical methods
Theory based science need not be all theorems
We do not know how a theory works in different conditions
Different data sets, domains
Pham Quang Nhat Minh Research Methods in NLP 7/70
Empirical methods in CS/AI
Data observation
Construct hypotheses
Test with empirical experiments
Refine hypotheses and modelling assumptions
Pham Quang Nhat Minh Research Methods in NLP 8/70
Kinds of data analysis
Exploratory (EDA) - looking for patterns in data
Statistical inferences from sample data
Testing hypotheses
Estimating parameters
Building mathematical models of datasets
Machine learning, data mining...
Pham Quang Nhat Minh Research Methods in NLP 9/70
Tools for data analysis
R programming language
Python:
numpy
scipy
pandas
matplotlib for data visualization
My bias opinions:
statisticians like R, computer scientists often use Python
Python is much easier to learn than R
Pham Quang Nhat Minh Research Methods in NLP 10/70
Exercises
Install R: https://www.r-project.org
Download the data file ex1data1.txt from:
http://tinyurl.com/m7bpp8d
The data file has two columns:
First column: the population of a city.
Second column: the profit of a food truck in that city.
In R terminal, try the plot code
df <- read.table("./ex1data1.txt", sep=",",
header=FALSE)
plot(df[,1], df[,2], xlab=‘‘Profit in
$10,000s’’, ylab=‘‘Population of City in
10,000s’’)
Pham Quang Nhat Minh Research Methods in NLP 11/70
R for data visualization
Pham Quang Nhat Minh Research Methods in NLP 12/70
Table of Contents
1 What are empirical research methods for computer science?
2 How to choose a good research topic?
3 How to read a scientific paper?
4 How to work with your advisor
5 Doing research in NLP field
What is NLP?
What is it like doing research in NLP?
How to do research in NLP?
How to choose NLP papers to read?
6 Coding practices for NLP/Machine Learning research work
7 My research stories
Pham Quang Nhat Minh Research Methods in NLP 13/70
Why do we need to choose a good research topic?
“Garbage in, garbage out” principle
You may work with a research topic for years
1 year for a master thesis
3 years or more for a Ph.D. dissertation
It is painful to do things that you feel uninteresting
Lack passion, motivations, ideas
Much frustration and bitterness
Pham Quang Nhat Minh Research Methods in NLP 14/70
What is a good research topic?
(Alon, 2009) Two Dimensions of Problem Choice
Feasibility: whether a problem is hard or easy
We can measure the feasibility as the expected time to
complete the project
Feasibility is a function of the skills of students/researchers
and of the technology in the lab.
Interest: the increase in knowledge expected from the project.
Pham Quang Nhat Minh Research Methods in NLP 15/70
Two-dimensional space of Problem Choice (1)
Figure: The Feasibility-Interest Diagram for Choosing a Project (Alon,
2009)
Pham Quang Nhat Minh Research Methods in NLP 16/70
Two-dimensional space of Problem Choice (2)
Figure: The Feasibility-Interest Diagram for Choosing a Project (Alon,
2009)
Pham Quang Nhat Minh Research Methods in NLP 17/70
What is a good research topic?
Are many people care about the topic?
Research community, your supervisors, industry demands
Are you really interested in the topic?
The topic should be interesting to you rather than to others
Good signs: “ideas and questions that come back again and
again to your mind for months or years.”
Pham Quang Nhat Minh Research Methods in NLP 18/70
How to choose a good research topic: steps by steps
Choose the broad (general) topic
E.g, Machine Translation
Draw a hierarchy of research topics, starting from the broad
topic
Review literature to look for gaps in previous work
Choose the focused topic
E.g., Phrase-based Machine Translation
Find gaps in previous work
Form research questions in the focused topic
From research questions, formulate the research problem
Pham Quang Nhat Minh Research Methods in NLP 19/70
Finding a research problem
Take your time to choose a good research topic
(Alon, 2009): Rule for new Ph.D. students and postdocs: “Do
not commit to a problem before 3 months have elapsed”
For master students, take 1-2 months for choosing the research
topic before your start the research project.
Join projects in your laboratory
Many research ideas for thesis are from projects you involved
Pham Quang Nhat Minh Research Methods in NLP 20/70
Developing your research ideas
Where do research ideas come from?
Observations
Data observations, data analysis, discover patterns in data
Reading papers, attending conferences, listening talks
Techniques, methods from other disciplines, fields
Imagine
Suggestions from your advisor
Pham Quang Nhat Minh Research Methods in NLP 21/70
Reading papers, attending conferences
Choose good and relevant papers. Consider:
Impact factors of the journal.
In the NLP field, choose papers from top conferences, journals
(ACL/NAACL/EMNLP/COLING)
The Top 10 NLP Conferences:
http://www.junglelightspeed.com/
the-top-10-nlp-conferences
Reputations of authors and their organizations
Not only readings, but criticizing papers and finding the gaps
Pham Quang Nhat Minh Research Methods in NLP 22/70
Techniques, methods from other fields
Expand your view, problem solving methodologies by regularly
reading articles in other fields.
An example is the task image captioning
We need to use techniques from both computer vision and
NLP.
Pham Quang Nhat Minh Research Methods in NLP 23/70
What happens after we choose a problem? (Alon, 2009)
Pham Quang Nhat Minh Research Methods in NLP 24/70
Table of Contents
1 What are empirical research methods for computer science?
2 How to choose a good research topic?
3 How to read a scientific paper?
4 How to work with your advisor
5 Doing research in NLP field
What is NLP?
What is it like doing research in NLP?
How to do research in NLP?
How to choose NLP papers to read?
6 Coding practices for NLP/Machine Learning research work
7 My research stories
Pham Quang Nhat Minh Research Methods in NLP 25/70
Two types of readings
Fast readings
Get and understand the basic ideas of the paper
Know the problems the paper attacks and how it solves that
Put the paper in the “big picture” of the field
Know what are differences between the paper and previous
work
We do “fast reading” much when we survey literature and
choose a broad topic
Deep readings
Understand the details of presented methods
Try to understand how the proposed method works
Criticize the paper and find its limitations
If you were the authors, how would you solve the problem?
Propose alternative methods?
We do “deep reading” much we look for a focused topic
Pham Quang Nhat Minh Research Methods in NLP 26/70
How to read a scientific paper (1)
Michael J. Hanson. Efficient Readings of Papers in Science and Technology: http://tinyurl.com/qdebynz
Pham Quang Nhat Minh Research Methods in NLP 27/70
How to read a scientific paper (2)
Decide what to read
Read title, abstract
Read it, file it, or skip it
Read for breath
What did they do
Skim introduction, headings, graphics, definitions, conclusions
and bibliography.
Consider the credibility.
How useful is it?
Decide whether to go on.
Pham Quang Nhat Minh Research Methods in NLP 28/70
How to read a scientific paper (3)
Read in depth
How did they do it?
Challenge their arguments.
Examine assumptions.
Examine methods.
Examine statistics.
Examine reasoning and conclusions.
How can I apply their approach to my work?
Take notes
Make notes as you read.
Highlight major points.
Note new terms and definitions.
Summarize tables and graphs.
Write a summary.
Pham Quang Nhat Minh Research Methods in NLP 29/70
Homework
Choose one scientific article that you want to read in depth, read,
take notes and explain ideas, methods presented in the paper to
other students in a simple way.
Notes: You should be able to answer 3 questions as follows.
What is the problem the paper attack?
What are the differences between the paper and other existing
papers?
What are interesting points of the presented methods?
Pham Quang Nhat Minh Research Methods in NLP 30/70
Table of Contents
1 What are empirical research methods for computer science?
2 How to choose a good research topic?
3 How to read a scientific paper?
4 How to work with your advisor
5 Doing research in NLP field
What is NLP?
What is it like doing research in NLP?
How to do research in NLP?
How to choose NLP papers to read?
6 Coding practices for NLP/Machine Learning research work
7 My research stories
Pham Quang Nhat Minh Research Methods in NLP 31/70
Some basic rules
Your advisor is supposed to be very busy, so you should follow
up her/him
Schedule the meeting in advanced and ask for meeting
Keep regular meeting with your advisor
Usually weekly meeting
Do not just do what your advisor tell you to do
Rule of thumbnail: You should finish all your assigned tasks
before doing your own ideas
Pham Quang Nhat Minh Research Methods in NLP 32/70
How to write a progress/status report
Michael Ernst. Writing a progress/status report:
http://tinyurl.com/zp7cdvt
Quote the previous week’s plan.
This helps you determine whether you accomplished your goals.
State this week’s progress.
What you have accomplished,
What you learned, what difficulties you overcame, what
difficulties are still blocking you,
Your new ideas for research directions or projects, etc
Give the next week’s plan.
A good format is a bulleted list
Try to make each goal measurable: there should be no
ambiguity as to whether you were able to finish it.
It’s good to include longer-term goals as well.
Pham Quang Nhat Minh Research Methods in NLP 33/70
Communicate with your advisor
Prepare some slides (3-4 slides) to make the discussion
concrete
Send the materials at least 24 hours before the meeting day
Arrange the meeting in advanced
Your advisor is not always right
Actually you know more about your work than her/him
If you have data, evidences, proofs, do not hesitate to debate
Do not say “I guest”, “I think” when you explain something.
Use data, evidences, references instead
Pham Quang Nhat Minh Research Methods in NLP 34/70
Table of Contents
1 What are empirical research methods for computer science?
2 How to choose a good research topic?
3 How to read a scientific paper?
4 How to work with your advisor
5 Doing research in NLP field
What is NLP?
What is it like doing research in NLP?
How to do research in NLP?
How to choose NLP papers to read?
6 Coding practices for NLP/Machine Learning research work
7 My research stories
Pham Quang Nhat Minh Research Methods in NLP 35/70
What is Natural Language Processing?
A field of computer science, artificial intelligence, and
computational linguistics
To get computers to perform useful tasks involving human
languages
Human-Machine communication
Improving human-human communication
E.g Machine Translation
Extracting information from texts
Pham Quang Nhat Minh Research Methods in NLP 36/70
Why is NLP interesting?
Languages involve many human activities
Reading, writing, speaking, listening
Voice can be used as an user interface in many applications
Remote controls, virtual assistants like siri,...
NLP is used to acquire insights from massive amount of
textual data
E.g., hypotheses from medical, health reports
NLP has many applications
NLP is hard!
Pham Quang Nhat Minh Research Methods in NLP 37/70
NLP problems
Fundamental problems
Word Segmentation
Part-of-speech tagging
Syntactic Analysis
Semantic Analysis
Application problems
Information Retrieval
Information Extraction
Question Answering
Text Summarization
Machine Translation
Pham Quang Nhat Minh Research Methods in NLP 38/70
What is it like doing research in NLP?
Empirical methods are applied much in NLP
Relying on observations, data, experiments
Contains many loops of experiments
Identify the problem → Create ideas → Test the best idea →
Analyse results → Identify the problem → Create ideas → · · ·
Pham Quang Nhat Minh Research Methods in NLP 39/70
What is it like doing research in NLP?
Many ideas do not work
Even though, we need to analyse the results to understand
why they do not work to come up with new ideas.
Try the next idea
Fails occur more often than successes
Try to increase the number of experiments
(No of successes) = (No of experiments) × (Success rate)
Pham Quang Nhat Minh Research Methods in NLP 40/70
The typical working day of a NLP researcher
Data observation and data/result analysis (a lot)
Discuss ideas with colleagues
Do experiments (run the program) to test ideas
Reading papers to keep up-to-date on mainstream researches
Investigate new NLP/Machine Learning tools, libraries (less
regular)
Pham Quang Nhat Minh Research Methods in NLP 41/70
How to learn NLP?
Research starts from learning
Learn/review background about:
Probabilistic and Statistics
Basic math (linear algebra, calculus)
Machine Learning
Programming
Read NLP textbooks
Jurafsky, D., & Martin, J.H. Speech and Language Processing:
an Introduction to Natural Language Processing,
Computational Linguistics, and Speech Recognition.
Manning, C.D., & Schutze, H. Foundations of statistical
natural language processing.
Pham Quang Nhat Minh Research Methods in NLP 42/70
How to learn NLP: Get your hands dirty
Practice with programming exercises:
100 NLP drill exercises: https://github.com/
minhpqn/nlp_100_drill_exercises
NLP Programming Tutorial, by Graham Neubig:
http://www.phontron.com/teaching.php
Compete in Kaggle data science challenges (kaggle.com)
Pham Quang Nhat Minh Research Methods in NLP 43/70
Finding a NLP research problem
All the principles in the section “How to choose a good
research topic” apply.
Looking for ideas from related fields
Linguistics
Machine learning: mainstream in the NLP field is applying
machine learning methods in the NLP problems
Computer vision
Looking at data
It is actually my daily task
Pham Quang Nhat Minh Research Methods in NLP 44/70
Basic rules to choose NLP papers
READ:
Papers in top conferences and journals in NLP and other
related fields
(ACL/EMNLP/NAACL/EACL/COLING/CoNLL/...)
Workshops that focus on an NLP sub-field
Short papers at top conferences
PhD dissertations from top institutions/advisors
Papers with many citations
Textbooks from leading researchers
For more information, see: The Top 10 NLP Conferences1
1
http://www.junglelightspeed.com/the-top-10-nlp-conferences/
Pham Quang Nhat Minh Research Methods in NLP 45/70
Table of Contents
1 What are empirical research methods for computer science?
2 How to choose a good research topic?
3 How to read a scientific paper?
4 How to work with your advisor
5 Doing research in NLP field
What is NLP?
What is it like doing research in NLP?
How to do research in NLP?
How to choose NLP papers to read?
6 Coding practices for NLP/Machine Learning research work
7 My research stories
Pham Quang Nhat Minh Research Methods in NLP 46/70
Why is coding important in NLP/ML research?
Many (most) NLP/ML research work is empirical studies
Need to do data analysis, run experiments to test our ideas
So, we have to write programs
Even theorists should program, too
“Implementing your own algorithm is a good way of checking
your work. If you aren’t implementing your algorithm,
arguably you’re skipping a key step in checking your results.”
—Michael Mitzenmacher
http://mybiasedcoin.blogspot.com/2008/11/bugs.html
Pham Quang Nhat Minh Research Methods in NLP 47/70
Why we care about coding practices in NLP research?
Bad coding practices cause problems
You find errors in the experimental results right before the
paper submission deadline
You cannot understand your own code after some months
You deleted intermediate results, so you cannot verify the code
You do not know the technique to verify experimental results
You did not test the code, and then use untested code for
experiments
You spend long time for refactoring the code
You could not get back the version that generate the best
results
...
Pham Quang Nhat Minh Research Methods in NLP 48/70
Why we care about coding practices in NLP research?
Good coding practices speed up our research work
Recall that:
(No of successes) = (No of experiments) × (Success rate)
Pham Quang Nhat Minh Research Methods in NLP 49/70
Best Practices for Scientific Computing
(Wilson et al., 2012)
1- Write programs for people, not computers.
Readers of the code do not need to remember too much
Easy to read: names should be consistent, distinctive, and
meaningful
Break down the coding work into one-hour-long tasks
2- Automate repetitive tasks
Scientists should rely on the computer to repeat tasks.
Should use a script to run program!!
Use a build tool to automate their scientific workflows
Pham Quang Nhat Minh Research Methods in NLP 50/70
Best Practices for Scientific Computing
3- Use the computer to record history
Unique identifiers and version numbers for raw data records
Unique identifiers and version number for programs and
libraries
The values of parameters used to generate any given output;
The names and version number of programs used to generate
those outputs.
4- Make incremental changes
Scientists can not know what their programs should do next
until the current version has produced some results.
Should work in small steps with frequent feedback and
correction!
Pham Quang Nhat Minh Research Methods in NLP 51/70
Best Practices for Scientific Computing
5- Use a version control system: git, mercural, subversion. Push
code to github, bitbucket
Everything that has been created manually should be put in
version control
6- Do not repeat yourself (or others)
At small-scale, code should be modularized rather than copied
and pasted.
At large-scale, scientific programmers should re-use code
instead of re-writing it.
Pham Quang Nhat Minh Research Methods in NLP 52/70
Best Practices for Scientific Computing
7- Plan for mistakes
Write and run tests
Unit Test: Check the correctness of each single software unit
Integration Test: Check that pieces of unit code work
correctly when combined.
Regression Test: Running pre-existing code tests after changes
to the code in order to make sure that it hasn’t regressed.
Should use off-the-self unit testing library
Pham Quang Nhat Minh Research Methods in NLP 53/70
Best Practices for Scientific Computing
8- Optimize software only after it works correctly
Use profiler to identify bottlenecks
Write code in the highest-level language possible
Python is recommended language for research
Only use low-level programming language when they are sure
that performance boost is needed.
Use the highest-level programming language for rapid
prototyping.
Pham Quang Nhat Minh Research Methods in NLP 54/70
9- Document design, and purpose, not mechanics
Document interface and reasons, not implementations
Do not do that
i = i + 1 # Increment the variable ’i’ by
one.
Refactor the code instead of explaining how it works
Embed the documentation for a piece of software in that
software
Use software to generate documentation.
10- Collaborate
Use pre-merge code reviews
Use an issue tracking tool.
Pham Quang Nhat Minh Research Methods in NLP 55/70
Coding practices for NLP/ML research
All general practices apply for NLP/ML research
Separate a process into small processes
Use pipelines in Unix/Linux
Make use of tools in experiments
Linux commands
NLP/ML Tools
Libraries (json, nltk, matplotlib, scikit-learn,...)
Algorithms
E.g., Show statistics about number of words in a text file
source file name.txt | cut -f1 | sort | uniq
-c | sort -nr
Visualize experimental results, make demo for your research
results
Pham Quang Nhat Minh Research Methods in NLP 56/70
Tool for visualizing research results
Tables (Microsoft Excel, HTML)
Charts (gnuplot, matplotlib, R)
Graphs (graphviz, Gephi, D3.js)
Texts (Microsoft Excel, HTML, brat2)
Codes (google-code-prettify3, Pygments4)
Demo (HTML, JavaScript, CSS,...)
2
http://brat.nlplab.org/
3
https://github.com/google/code-prettify
4
http://pygments.org/
Pham Quang Nhat Minh Research Methods in NLP 57/70
Optimize codes only after your ideas work
“Make it work. Make it right. Make it fast.” (Kent Beck)
“Premature optimization is the root of all evil (or at least
most of it) in programming.” (Donald Knuth)
In NLP, always start with a simple and dirty working version
E.g, Bag-of-word features and Naive Bayes algorithm in text
classification tasks
Pham Quang Nhat Minh Research Methods in NLP 58/70
Table of Contents
1 What are empirical research methods for computer science?
2 How to choose a good research topic?
3 How to read a scientific paper?
4 How to work with your advisor
5 Doing research in NLP field
What is NLP?
What is it like doing research in NLP?
How to do research in NLP?
How to choose NLP papers to read?
6 Coding practices for NLP/Machine Learning research work
7 My research stories
Pham Quang Nhat Minh Research Methods in NLP 59/70
My profile
6/2006: B.Sc. in Information Technology from University of
Engineering and Technology, Vietnam National University,
Hanoi
3/2010: M.Sc. in Information Science from Japan Advanced
Institute of Science and Technology
3/2013: Ph.D. in Information Science from Japan Advanced
Institute of Science and Technology
Pham Quang Nhat Minh Research Methods in NLP 60/70
Master program at JAIST
JAIST is a public graduate institute in Japan
Homepage: https://www.jaist.ac.jp/english
Three schools
Information Science
Knowledge Science
Material Science
All courses have English version
You can learn in English
Pham Quang Nhat Minh Research Methods in NLP 61/70
Master program at JAIST
Two-year full-time master program
First year:
Students are temporarily assigned to a laboratory, and select
the official lab after 3 months
In the first year, mainly taking courses and choosing the
master research topic
Write the research proposal for master thesis in the end of the
first year
Second year:
Finishing all remaining course work
Working on master research project
Looking for jobs (students who do not pursue Ph.D.)
Pham Quang Nhat Minh Research Methods in NLP 62/70
How did I finish my master?
Six months before entering master program
Take Japanese course
Review background
Read NLP Textbooks
First year:
Finish all course work
Join a research project in my laboratory
Choose the research topic
Second year:
Do research
Attend one international conference
Thesis defense
Pham Quang Nhat Minh Research Methods in NLP 63/70
How I choose my master thesis
I even did not know how to choose a research topic (crying)
You should know how to choose
I was assigned the topic by my co-advisor
The topic is about sentence insertion
I proposed a method to improve the previous results
Pham Quang Nhat Minh Research Methods in NLP 64/70
Sentence insertion task
Task: To automatically updating a wikipedia article by inserting
new information into that.
I proposed to use Word Clusters to capture meaning of words
Pham Quang Nhat Minh Research Methods in NLP 65/70
Research projects at FPT Technology Research Institute
NLP problems in chatbot development
Intent classification
Named entity recognition
FAQ generation from chat history, manuals
Figure: Source: stanfy.com: http://tinyurl.com/mdfsa6h)
Pham Quang Nhat Minh Research Methods in NLP 66/70
Summary
Empirical research methods reply on observations, data,
experiments
Two dimensions of problem choice: Feasibility and Interest
Research starts from learning
Reading is very important in research
NLP research involves much data analysis
Coding practices for NLP/ML research
Pham Quang Nhat Minh Research Methods in NLP 67/70
Check-list for your master thesis
1 Is your work reproducible?
Package your code so that it can automatically generate the
results by a single script
Freeze the final version
2 Is your proposed method new
3 Did you revise your thesis many times?
Ask your advisors, friends for proof reading
4 Did you understand previous work?
5 Do you think you can pass the master thesis defense?
Pham Quang Nhat Minh Research Methods in NLP 68/70
Advices for your master thesis
Take time to choose your master research topic
Work on the research problem that you are interested in
Start soon
Follow up your advisor
Spend time on regular literature review (reading papers)
Commit at least 2-3 hours per day for your master research
Look at your data before starting doing something
Follow “best” coding practices for research
Use version control
For versioning everything that is manually created
Backup your work on the cloud
Pham Quang Nhat Minh Research Methods in NLP 69/70
References
Alon, U. (2009). How to choose a good scientific problem.
Molecular cell, 35 6, 726-8.
Aruliah, D.A., Brown, C.T., Davis, M., Guy, R.T., Hong, N.P.,
Haddock, S.H., Huff, K., Mitchell, I.M., Plumbley, M.D.,
Waugh, B., White, E.P., Wilson, G., & Wilson, P. (2014).
Best Practices for Scientific Computing. PLoS biology.
Ali Eslami. Patterns for Research in Machine Learning
http://arkitus.com/patterns-for-research-in-machine-learning
Pham Quang Nhat Minh Research Methods in NLP 70/70

More Related Content

What's hot

User interfaces presentation
User interfaces presentationUser interfaces presentation
User interfaces presentationsomipam1
 
Business writing~ email etiquette's
Business writing~ email etiquette'sBusiness writing~ email etiquette's
Business writing~ email etiquette's
Rashedul Hussain Tapu
 
VTU 8TH SEM INFORMATION AND NETWORK SECURITY SOLVED PAPERS
VTU 8TH SEM INFORMATION AND NETWORK SECURITY SOLVED PAPERSVTU 8TH SEM INFORMATION AND NETWORK SECURITY SOLVED PAPERS
VTU 8TH SEM INFORMATION AND NETWORK SECURITY SOLVED PAPERS
vtunotesbysree
 
similarity measure
similarity measure similarity measure
similarity measure
ZHAO Sam
 
KNN presentation.pdf
KNN presentation.pdfKNN presentation.pdf
KNN presentation.pdf
AbhilashChauhan14
 
Design process interaction design basics
Design process interaction design basicsDesign process interaction design basics
Design process interaction design basics
Preeti Mishra
 
Mobile Computing
Mobile ComputingMobile Computing
FOG COMPUTING
FOG COMPUTINGFOG COMPUTING
FOG COMPUTING
Saisharan Amaravadhi
 
KNN Algorithm - How KNN Algorithm Works With Example | Data Science For Begin...
KNN Algorithm - How KNN Algorithm Works With Example | Data Science For Begin...KNN Algorithm - How KNN Algorithm Works With Example | Data Science For Begin...
KNN Algorithm - How KNN Algorithm Works With Example | Data Science For Begin...
Simplilearn
 
Active Reading--SQ3R
Active Reading--SQ3RActive Reading--SQ3R
Active Reading--SQ3R
Gayla Keesee
 
interface
interfaceinterface
interface
rajshreemuthiah
 
Unit iii ppt
Unit iii pptUnit iii ppt
Unit iii ppt
tamizh arthanari
 
Email use in business ppt
Email use in business pptEmail use in business ppt
Email use in business ppt
Jason Roy
 
Data Science With Python
Data Science With PythonData Science With Python
Data Science With Python
Mosky Liu
 
What is cross cultural design
What is cross cultural designWhat is cross cultural design
What is cross cultural design
Basytyan Kardinal Pratama
 
Letters & memos presentation
Letters & memos presentationLetters & memos presentation
Letters & memos presentation
groupseven4
 
Writing Skills (Written Communication)
Writing Skills (Written Communication)Writing Skills (Written Communication)
Writing Skills (Written Communication)
Mudasir Khan
 
Birch Algorithm With Solved Example
Birch Algorithm With Solved ExampleBirch Algorithm With Solved Example
Birch Algorithm With Solved Example
kailash shaw
 
Dimensionality Reduction
Dimensionality ReductionDimensionality Reduction
Dimensionality Reduction
mrizwan969
 
Green computing
Green computingGreen computing
Green computing
Shehara Abeythunga
 

What's hot (20)

User interfaces presentation
User interfaces presentationUser interfaces presentation
User interfaces presentation
 
Business writing~ email etiquette's
Business writing~ email etiquette'sBusiness writing~ email etiquette's
Business writing~ email etiquette's
 
VTU 8TH SEM INFORMATION AND NETWORK SECURITY SOLVED PAPERS
VTU 8TH SEM INFORMATION AND NETWORK SECURITY SOLVED PAPERSVTU 8TH SEM INFORMATION AND NETWORK SECURITY SOLVED PAPERS
VTU 8TH SEM INFORMATION AND NETWORK SECURITY SOLVED PAPERS
 
similarity measure
similarity measure similarity measure
similarity measure
 
KNN presentation.pdf
KNN presentation.pdfKNN presentation.pdf
KNN presentation.pdf
 
Design process interaction design basics
Design process interaction design basicsDesign process interaction design basics
Design process interaction design basics
 
Mobile Computing
Mobile ComputingMobile Computing
Mobile Computing
 
FOG COMPUTING
FOG COMPUTINGFOG COMPUTING
FOG COMPUTING
 
KNN Algorithm - How KNN Algorithm Works With Example | Data Science For Begin...
KNN Algorithm - How KNN Algorithm Works With Example | Data Science For Begin...KNN Algorithm - How KNN Algorithm Works With Example | Data Science For Begin...
KNN Algorithm - How KNN Algorithm Works With Example | Data Science For Begin...
 
Active Reading--SQ3R
Active Reading--SQ3RActive Reading--SQ3R
Active Reading--SQ3R
 
interface
interfaceinterface
interface
 
Unit iii ppt
Unit iii pptUnit iii ppt
Unit iii ppt
 
Email use in business ppt
Email use in business pptEmail use in business ppt
Email use in business ppt
 
Data Science With Python
Data Science With PythonData Science With Python
Data Science With Python
 
What is cross cultural design
What is cross cultural designWhat is cross cultural design
What is cross cultural design
 
Letters & memos presentation
Letters & memos presentationLetters & memos presentation
Letters & memos presentation
 
Writing Skills (Written Communication)
Writing Skills (Written Communication)Writing Skills (Written Communication)
Writing Skills (Written Communication)
 
Birch Algorithm With Solved Example
Birch Algorithm With Solved ExampleBirch Algorithm With Solved Example
Birch Algorithm With Solved Example
 
Dimensionality Reduction
Dimensionality ReductionDimensionality Reduction
Dimensionality Reduction
 
Green computing
Green computingGreen computing
Green computing
 

Similar to Research Methods in Natural Language Processing

Research Methods in Natural Language Processing (2018 version)
Research Methods in Natural Language Processing (2018 version)Research Methods in Natural Language Processing (2018 version)
Research Methods in Natural Language Processing (2018 version)
Minh Pham
 
Project writing
Project writingProject writing
Project writing
Green Gyaanam
 
WriteTEL: Session2
WriteTEL: Session2WriteTEL: Session2
WriteTEL: Session2nicwhitton
 
a research paper.pptx
a research paper.pptxa research paper.pptx
a research paper.pptx
PapuKumarNaik1
 
a research paper.pptx
a research paper.pptxa research paper.pptx
a research paper.pptx
PapuKumarNaik1
 
4.10.19_a research paper.pptx
4.10.19_a research paper.pptx4.10.19_a research paper.pptx
4.10.19_a research paper.pptx
Chen Jiao
 
Systematic Literature Reviews : Concise Overview
Systematic Literature Reviews : Concise OverviewSystematic Literature Reviews : Concise Overview
Systematic Literature Reviews : Concise Overview
youkayaslam
 
journal-club-template.pdf
journal-club-template.pdfjournal-club-template.pdf
journal-club-template.pdf
KojoDanquah4
 
Research seminar lecture_7_criteria_good_research
Research seminar lecture_7_criteria_good_researchResearch seminar lecture_7_criteria_good_research
Research seminar lecture_7_criteria_good_research
Daria Bogdanova
 
RESEARCH METHODOLOGY_ STEP BY STEP RESEARCH METHODOLOGY CHAPTER_.pdf
RESEARCH METHODOLOGY_ STEP BY STEP RESEARCH METHODOLOGY CHAPTER_.pdfRESEARCH METHODOLOGY_ STEP BY STEP RESEARCH METHODOLOGY CHAPTER_.pdf
RESEARCH METHODOLOGY_ STEP BY STEP RESEARCH METHODOLOGY CHAPTER_.pdf
MATIULLAH JAN
 
Publishing Research by Dr.Marta Elliot
Publishing Research by Dr.Marta ElliotPublishing Research by Dr.Marta Elliot
Publishing Research by Dr.Marta ElliotKorawan Sangkakorn
 
How to Read Academic Papers
How to Read Academic PapersHow to Read Academic Papers
How to Read Academic Papers
Jia-Bin Huang
 
Writing an effective Poster: the point of view of experts, novices and litera...
Writing an effective Poster: the point of view of experts, novices and litera...Writing an effective Poster: the point of view of experts, novices and litera...
Writing an effective Poster: the point of view of experts, novices and litera...
Elisabetta Cigognini
 
Reports 101612
Reports 101612Reports 101612
Reports 101612
professorreyes
 
How to select your publications & who is who in research?: Impact & H factors
How to select your publications & who is who in research?: Impact & H factorsHow to select your publications & who is who in research?: Impact & H factors
How to select your publications & who is who in research?: Impact & H factors
Diego López-de-Ipiña González-de-Artaza
 
RES 3024 Presentation 3a Understanding Academic Articles.ppsx
RES 3024 Presentation 3a Understanding Academic Articles.ppsxRES 3024 Presentation 3a Understanding Academic Articles.ppsx
RES 3024 Presentation 3a Understanding Academic Articles.ppsx
MatthewLewis227954
 
1 research presentation
1 research presentation1 research presentation
1 research presentation
Ghina Hawshar
 
research presentation
 research presentation research presentation
research presentationGhina Hawshar
 
1 research presentation
1 research presentation1 research presentation
1 research presentation
Ghina Hawshar
 

Similar to Research Methods in Natural Language Processing (20)

Research Methods in Natural Language Processing (2018 version)
Research Methods in Natural Language Processing (2018 version)Research Methods in Natural Language Processing (2018 version)
Research Methods in Natural Language Processing (2018 version)
 
Project writing
Project writingProject writing
Project writing
 
WriteTEL: Session2
WriteTEL: Session2WriteTEL: Session2
WriteTEL: Session2
 
a research paper.pptx
a research paper.pptxa research paper.pptx
a research paper.pptx
 
a research paper.pptx
a research paper.pptxa research paper.pptx
a research paper.pptx
 
4.10.19_a research paper.pptx
4.10.19_a research paper.pptx4.10.19_a research paper.pptx
4.10.19_a research paper.pptx
 
Systematic Literature Reviews : Concise Overview
Systematic Literature Reviews : Concise OverviewSystematic Literature Reviews : Concise Overview
Systematic Literature Reviews : Concise Overview
 
journal-club-template.pdf
journal-club-template.pdfjournal-club-template.pdf
journal-club-template.pdf
 
Detailed outline of Research Proposal
Detailed outline of  Research ProposalDetailed outline of  Research Proposal
Detailed outline of Research Proposal
 
Research seminar lecture_7_criteria_good_research
Research seminar lecture_7_criteria_good_researchResearch seminar lecture_7_criteria_good_research
Research seminar lecture_7_criteria_good_research
 
RESEARCH METHODOLOGY_ STEP BY STEP RESEARCH METHODOLOGY CHAPTER_.pdf
RESEARCH METHODOLOGY_ STEP BY STEP RESEARCH METHODOLOGY CHAPTER_.pdfRESEARCH METHODOLOGY_ STEP BY STEP RESEARCH METHODOLOGY CHAPTER_.pdf
RESEARCH METHODOLOGY_ STEP BY STEP RESEARCH METHODOLOGY CHAPTER_.pdf
 
Publishing Research by Dr.Marta Elliot
Publishing Research by Dr.Marta ElliotPublishing Research by Dr.Marta Elliot
Publishing Research by Dr.Marta Elliot
 
How to Read Academic Papers
How to Read Academic PapersHow to Read Academic Papers
How to Read Academic Papers
 
Writing an effective Poster: the point of view of experts, novices and litera...
Writing an effective Poster: the point of view of experts, novices and litera...Writing an effective Poster: the point of view of experts, novices and litera...
Writing an effective Poster: the point of view of experts, novices and litera...
 
Reports 101612
Reports 101612Reports 101612
Reports 101612
 
How to select your publications & who is who in research?: Impact & H factors
How to select your publications & who is who in research?: Impact & H factorsHow to select your publications & who is who in research?: Impact & H factors
How to select your publications & who is who in research?: Impact & H factors
 
RES 3024 Presentation 3a Understanding Academic Articles.ppsx
RES 3024 Presentation 3a Understanding Academic Articles.ppsxRES 3024 Presentation 3a Understanding Academic Articles.ppsx
RES 3024 Presentation 3a Understanding Academic Articles.ppsx
 
1 research presentation
1 research presentation1 research presentation
1 research presentation
 
research presentation
 research presentation research presentation
research presentation
 
1 research presentation
1 research presentation1 research presentation
1 research presentation
 

More from Minh Pham

Prompt Engineering Tutorial: Cách viết prompt hiệu quả với ChatGPT
Prompt Engineering Tutorial: Cách viết prompt hiệu quả với ChatGPTPrompt Engineering Tutorial: Cách viết prompt hiệu quả với ChatGPT
Prompt Engineering Tutorial: Cách viết prompt hiệu quả với ChatGPT
Minh Pham
 
AimeLaw at ALQAC 2021: Enriching Neural Network Models with Legal-Domain Know...
AimeLaw at ALQAC 2021: Enriching Neural Network Models with Legal-Domain Know...AimeLaw at ALQAC 2021: Enriching Neural Network Models with Legal-Domain Know...
AimeLaw at ALQAC 2021: Enriching Neural Network Models with Legal-Domain Know...
Minh Pham
 
A Multimodal Ensemble Model for Detecting Unreliable Information on Vietnames...
A Multimodal Ensemble Model for Detecting Unreliable Information on Vietnames...A Multimodal Ensemble Model for Detecting Unreliable Information on Vietnames...
A Multimodal Ensemble Model for Detecting Unreliable Information on Vietnames...
Minh Pham
 
Research methods for engineering students (v.2020)
Research methods for engineering students (v.2020)Research methods for engineering students (v.2020)
Research methods for engineering students (v.2020)
Minh Pham
 
Giới thiệu về AIML
Giới thiệu về AIMLGiới thiệu về AIML
Giới thiệu về AIML
Minh Pham
 
Mạng neural nhân tạo và ứng dụng trong xử lý ngôn ngữ tự nhiên
Mạng neural nhân tạo và ứng dụng trong xử lý ngôn ngữ tự nhiênMạng neural nhân tạo và ứng dụng trong xử lý ngôn ngữ tự nhiên
Mạng neural nhân tạo và ứng dụng trong xử lý ngôn ngữ tự nhiên
Minh Pham
 
BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
BERT: Pre-training of Deep Bidirectional Transformers for Language UnderstandingBERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
Minh Pham
 
Deep Contexualized Representation
Deep Contexualized RepresentationDeep Contexualized Representation
Deep Contexualized Representation
Minh Pham
 
A Feature-Based Model for Nested Named-Entity Recognition at VLSP-2018 NER Ev...
A Feature-Based Model for Nested Named-Entity Recognition at VLSP-2018 NER Ev...A Feature-Based Model for Nested Named-Entity Recognition at VLSP-2018 NER Ev...
A Feature-Based Model for Nested Named-Entity Recognition at VLSP-2018 NER Ev...
Minh Pham
 
Về kỹ thuật Attention trong mô hình sequence-to-sequence tại hội nghị ACL 2017
Về kỹ thuật Attention trong mô hình sequence-to-sequence  tại hội nghị ACL 2017Về kỹ thuật Attention trong mô hình sequence-to-sequence  tại hội nghị ACL 2017
Về kỹ thuật Attention trong mô hình sequence-to-sequence tại hội nghị ACL 2017
Minh Pham
 
Các bài toán xử lý ngôn ngữ tự nhiên trong phát triển hệ thống chatbot
Các bài toán xử lý ngôn ngữ tự nhiên trong phát triển hệ thống chatbotCác bài toán xử lý ngôn ngữ tự nhiên trong phát triển hệ thống chatbot
Các bài toán xử lý ngôn ngữ tự nhiên trong phát triển hệ thống chatbot
Minh Pham
 
Introduction to natural language processing
Introduction to natural language processingIntroduction to natural language processing
Introduction to natural language processing
Minh Pham
 

More from Minh Pham (12)

Prompt Engineering Tutorial: Cách viết prompt hiệu quả với ChatGPT
Prompt Engineering Tutorial: Cách viết prompt hiệu quả với ChatGPTPrompt Engineering Tutorial: Cách viết prompt hiệu quả với ChatGPT
Prompt Engineering Tutorial: Cách viết prompt hiệu quả với ChatGPT
 
AimeLaw at ALQAC 2021: Enriching Neural Network Models with Legal-Domain Know...
AimeLaw at ALQAC 2021: Enriching Neural Network Models with Legal-Domain Know...AimeLaw at ALQAC 2021: Enriching Neural Network Models with Legal-Domain Know...
AimeLaw at ALQAC 2021: Enriching Neural Network Models with Legal-Domain Know...
 
A Multimodal Ensemble Model for Detecting Unreliable Information on Vietnames...
A Multimodal Ensemble Model for Detecting Unreliable Information on Vietnames...A Multimodal Ensemble Model for Detecting Unreliable Information on Vietnames...
A Multimodal Ensemble Model for Detecting Unreliable Information on Vietnames...
 
Research methods for engineering students (v.2020)
Research methods for engineering students (v.2020)Research methods for engineering students (v.2020)
Research methods for engineering students (v.2020)
 
Giới thiệu về AIML
Giới thiệu về AIMLGiới thiệu về AIML
Giới thiệu về AIML
 
Mạng neural nhân tạo và ứng dụng trong xử lý ngôn ngữ tự nhiên
Mạng neural nhân tạo và ứng dụng trong xử lý ngôn ngữ tự nhiênMạng neural nhân tạo và ứng dụng trong xử lý ngôn ngữ tự nhiên
Mạng neural nhân tạo và ứng dụng trong xử lý ngôn ngữ tự nhiên
 
BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
BERT: Pre-training of Deep Bidirectional Transformers for Language UnderstandingBERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
 
Deep Contexualized Representation
Deep Contexualized RepresentationDeep Contexualized Representation
Deep Contexualized Representation
 
A Feature-Based Model for Nested Named-Entity Recognition at VLSP-2018 NER Ev...
A Feature-Based Model for Nested Named-Entity Recognition at VLSP-2018 NER Ev...A Feature-Based Model for Nested Named-Entity Recognition at VLSP-2018 NER Ev...
A Feature-Based Model for Nested Named-Entity Recognition at VLSP-2018 NER Ev...
 
Về kỹ thuật Attention trong mô hình sequence-to-sequence tại hội nghị ACL 2017
Về kỹ thuật Attention trong mô hình sequence-to-sequence  tại hội nghị ACL 2017Về kỹ thuật Attention trong mô hình sequence-to-sequence  tại hội nghị ACL 2017
Về kỹ thuật Attention trong mô hình sequence-to-sequence tại hội nghị ACL 2017
 
Các bài toán xử lý ngôn ngữ tự nhiên trong phát triển hệ thống chatbot
Các bài toán xử lý ngôn ngữ tự nhiên trong phát triển hệ thống chatbotCác bài toán xử lý ngôn ngữ tự nhiên trong phát triển hệ thống chatbot
Các bài toán xử lý ngôn ngữ tự nhiên trong phát triển hệ thống chatbot
 
Introduction to natural language processing
Introduction to natural language processingIntroduction to natural language processing
Introduction to natural language processing
 

Recently uploaded

Nucleic Acid-its structural and functional complexity.
Nucleic Acid-its structural and functional complexity.Nucleic Acid-its structural and functional complexity.
Nucleic Acid-its structural and functional complexity.
Nistarini College, Purulia (W.B) India
 
What is greenhouse gasses and how many gasses are there to affect the Earth.
What is greenhouse gasses and how many gasses are there to affect the Earth.What is greenhouse gasses and how many gasses are there to affect the Earth.
What is greenhouse gasses and how many gasses are there to affect the Earth.
moosaasad1975
 
PRESENTATION ABOUT PRINCIPLE OF COSMATIC EVALUATION
PRESENTATION ABOUT PRINCIPLE OF COSMATIC EVALUATIONPRESENTATION ABOUT PRINCIPLE OF COSMATIC EVALUATION
PRESENTATION ABOUT PRINCIPLE OF COSMATIC EVALUATION
ChetanK57
 
nodule formation by alisha dewangan.pptx
nodule formation by alisha dewangan.pptxnodule formation by alisha dewangan.pptx
nodule formation by alisha dewangan.pptx
alishadewangan1
 
Richard's aventures in two entangled wonderlands
Richard's aventures in two entangled wonderlandsRichard's aventures in two entangled wonderlands
Richard's aventures in two entangled wonderlands
Richard Gill
 
Unveiling the Energy Potential of Marshmallow Deposits.pdf
Unveiling the Energy Potential of Marshmallow Deposits.pdfUnveiling the Energy Potential of Marshmallow Deposits.pdf
Unveiling the Energy Potential of Marshmallow Deposits.pdf
Erdal Coalmaker
 
DERIVATION OF MODIFIED BERNOULLI EQUATION WITH VISCOUS EFFECTS AND TERMINAL V...
DERIVATION OF MODIFIED BERNOULLI EQUATION WITH VISCOUS EFFECTS AND TERMINAL V...DERIVATION OF MODIFIED BERNOULLI EQUATION WITH VISCOUS EFFECTS AND TERMINAL V...
DERIVATION OF MODIFIED BERNOULLI EQUATION WITH VISCOUS EFFECTS AND TERMINAL V...
Wasswaderrick3
 
In silico drugs analogue design: novobiocin analogues.pptx
In silico drugs analogue design: novobiocin analogues.pptxIn silico drugs analogue design: novobiocin analogues.pptx
In silico drugs analogue design: novobiocin analogues.pptx
AlaminAfendy1
 
3D Hybrid PIC simulation of the plasma expansion (ISSS-14)
3D Hybrid PIC simulation of the plasma expansion (ISSS-14)3D Hybrid PIC simulation of the plasma expansion (ISSS-14)
3D Hybrid PIC simulation of the plasma expansion (ISSS-14)
David Osipyan
 
general properties of oerganologametal.ppt
general properties of oerganologametal.pptgeneral properties of oerganologametal.ppt
general properties of oerganologametal.ppt
IqrimaNabilatulhusni
 
Lateral Ventricles.pdf very easy good diagrams comprehensive
Lateral Ventricles.pdf very easy good diagrams comprehensiveLateral Ventricles.pdf very easy good diagrams comprehensive
Lateral Ventricles.pdf very easy good diagrams comprehensive
silvermistyshot
 
Introduction to Mean Field Theory(MFT).pptx
Introduction to Mean Field Theory(MFT).pptxIntroduction to Mean Field Theory(MFT).pptx
Introduction to Mean Field Theory(MFT).pptx
zeex60
 
Hemostasis_importance& clinical significance.pptx
Hemostasis_importance& clinical significance.pptxHemostasis_importance& clinical significance.pptx
Hemostasis_importance& clinical significance.pptx
muralinath2
 
Comparing Evolved Extractive Text Summary Scores of Bidirectional Encoder Rep...
Comparing Evolved Extractive Text Summary Scores of Bidirectional Encoder Rep...Comparing Evolved Extractive Text Summary Scores of Bidirectional Encoder Rep...
Comparing Evolved Extractive Text Summary Scores of Bidirectional Encoder Rep...
University of Maribor
 
Earliest Galaxies in the JADES Origins Field: Luminosity Function and Cosmic ...
Earliest Galaxies in the JADES Origins Field: Luminosity Function and Cosmic ...Earliest Galaxies in the JADES Origins Field: Luminosity Function and Cosmic ...
Earliest Galaxies in the JADES Origins Field: Luminosity Function and Cosmic ...
Sérgio Sacani
 
Phenomics assisted breeding in crop improvement
Phenomics assisted breeding in crop improvementPhenomics assisted breeding in crop improvement
Phenomics assisted breeding in crop improvement
IshaGoswami9
 
DMARDs Pharmacolgy Pharm D 5th Semester.pdf
DMARDs Pharmacolgy Pharm D 5th Semester.pdfDMARDs Pharmacolgy Pharm D 5th Semester.pdf
DMARDs Pharmacolgy Pharm D 5th Semester.pdf
fafyfskhan251kmf
 
Chapter 12 - climate change and the energy crisis
Chapter 12 - climate change and the energy crisisChapter 12 - climate change and the energy crisis
Chapter 12 - climate change and the energy crisis
tonzsalvador2222
 
bordetella pertussis.................................ppt
bordetella pertussis.................................pptbordetella pertussis.................................ppt
bordetella pertussis.................................ppt
kejapriya1
 
Nutraceutical market, scope and growth: Herbal drug technology
Nutraceutical market, scope and growth: Herbal drug technologyNutraceutical market, scope and growth: Herbal drug technology
Nutraceutical market, scope and growth: Herbal drug technology
Lokesh Patil
 

Recently uploaded (20)

Nucleic Acid-its structural and functional complexity.
Nucleic Acid-its structural and functional complexity.Nucleic Acid-its structural and functional complexity.
Nucleic Acid-its structural and functional complexity.
 
What is greenhouse gasses and how many gasses are there to affect the Earth.
What is greenhouse gasses and how many gasses are there to affect the Earth.What is greenhouse gasses and how many gasses are there to affect the Earth.
What is greenhouse gasses and how many gasses are there to affect the Earth.
 
PRESENTATION ABOUT PRINCIPLE OF COSMATIC EVALUATION
PRESENTATION ABOUT PRINCIPLE OF COSMATIC EVALUATIONPRESENTATION ABOUT PRINCIPLE OF COSMATIC EVALUATION
PRESENTATION ABOUT PRINCIPLE OF COSMATIC EVALUATION
 
nodule formation by alisha dewangan.pptx
nodule formation by alisha dewangan.pptxnodule formation by alisha dewangan.pptx
nodule formation by alisha dewangan.pptx
 
Richard's aventures in two entangled wonderlands
Richard's aventures in two entangled wonderlandsRichard's aventures in two entangled wonderlands
Richard's aventures in two entangled wonderlands
 
Unveiling the Energy Potential of Marshmallow Deposits.pdf
Unveiling the Energy Potential of Marshmallow Deposits.pdfUnveiling the Energy Potential of Marshmallow Deposits.pdf
Unveiling the Energy Potential of Marshmallow Deposits.pdf
 
DERIVATION OF MODIFIED BERNOULLI EQUATION WITH VISCOUS EFFECTS AND TERMINAL V...
DERIVATION OF MODIFIED BERNOULLI EQUATION WITH VISCOUS EFFECTS AND TERMINAL V...DERIVATION OF MODIFIED BERNOULLI EQUATION WITH VISCOUS EFFECTS AND TERMINAL V...
DERIVATION OF MODIFIED BERNOULLI EQUATION WITH VISCOUS EFFECTS AND TERMINAL V...
 
In silico drugs analogue design: novobiocin analogues.pptx
In silico drugs analogue design: novobiocin analogues.pptxIn silico drugs analogue design: novobiocin analogues.pptx
In silico drugs analogue design: novobiocin analogues.pptx
 
3D Hybrid PIC simulation of the plasma expansion (ISSS-14)
3D Hybrid PIC simulation of the plasma expansion (ISSS-14)3D Hybrid PIC simulation of the plasma expansion (ISSS-14)
3D Hybrid PIC simulation of the plasma expansion (ISSS-14)
 
general properties of oerganologametal.ppt
general properties of oerganologametal.pptgeneral properties of oerganologametal.ppt
general properties of oerganologametal.ppt
 
Lateral Ventricles.pdf very easy good diagrams comprehensive
Lateral Ventricles.pdf very easy good diagrams comprehensiveLateral Ventricles.pdf very easy good diagrams comprehensive
Lateral Ventricles.pdf very easy good diagrams comprehensive
 
Introduction to Mean Field Theory(MFT).pptx
Introduction to Mean Field Theory(MFT).pptxIntroduction to Mean Field Theory(MFT).pptx
Introduction to Mean Field Theory(MFT).pptx
 
Hemostasis_importance& clinical significance.pptx
Hemostasis_importance& clinical significance.pptxHemostasis_importance& clinical significance.pptx
Hemostasis_importance& clinical significance.pptx
 
Comparing Evolved Extractive Text Summary Scores of Bidirectional Encoder Rep...
Comparing Evolved Extractive Text Summary Scores of Bidirectional Encoder Rep...Comparing Evolved Extractive Text Summary Scores of Bidirectional Encoder Rep...
Comparing Evolved Extractive Text Summary Scores of Bidirectional Encoder Rep...
 
Earliest Galaxies in the JADES Origins Field: Luminosity Function and Cosmic ...
Earliest Galaxies in the JADES Origins Field: Luminosity Function and Cosmic ...Earliest Galaxies in the JADES Origins Field: Luminosity Function and Cosmic ...
Earliest Galaxies in the JADES Origins Field: Luminosity Function and Cosmic ...
 
Phenomics assisted breeding in crop improvement
Phenomics assisted breeding in crop improvementPhenomics assisted breeding in crop improvement
Phenomics assisted breeding in crop improvement
 
DMARDs Pharmacolgy Pharm D 5th Semester.pdf
DMARDs Pharmacolgy Pharm D 5th Semester.pdfDMARDs Pharmacolgy Pharm D 5th Semester.pdf
DMARDs Pharmacolgy Pharm D 5th Semester.pdf
 
Chapter 12 - climate change and the energy crisis
Chapter 12 - climate change and the energy crisisChapter 12 - climate change and the energy crisis
Chapter 12 - climate change and the energy crisis
 
bordetella pertussis.................................ppt
bordetella pertussis.................................pptbordetella pertussis.................................ppt
bordetella pertussis.................................ppt
 
Nutraceutical market, scope and growth: Herbal drug technology
Nutraceutical market, scope and growth: Herbal drug technologyNutraceutical market, scope and growth: Herbal drug technology
Nutraceutical market, scope and growth: Herbal drug technology
 

Research Methods in Natural Language Processing

  • 1. Research Methods in Natural Language Processing Pham Quang Nhat Minh FPT Technology Research Institute FPT University minhpqn2@fe.edu.vn April 16, 2017
  • 2. Objectives of the lecture Introduce some research know-how and practices in doing research Focus on NLP/Machine Learning/Data Science fields Share my research experiences in the field NLP Pham Quang Nhat Minh Research Methods in NLP 2/70
  • 3. Table of Contents 1 What are empirical research methods for computer science? 2 How to choose a good research topic? 3 How to read a scientific paper? 4 How to work with your advisor 5 Doing research in NLP field What is NLP? What is it like doing research in NLP? How to do research in NLP? How to choose NLP papers to read? 6 Coding practices for NLP/Machine Learning research work 7 My research stories Pham Quang Nhat Minh Research Methods in NLP 3/70
  • 4. Acknowledgements Many contents in the lecture are from documents in the references (Alon, 2009) How To Choose a Good Scientific Problem (Wilson et al., 2012) Best Practices for Scientific Computing Paul Cohen: Empirical Methods for AI & CS Other documents, blogs Pham Quang Nhat Minh Research Methods in NLP 4/70
  • 5. Table of Contents 1 What are empirical research methods for computer science? 2 How to choose a good research topic? 3 How to read a scientific paper? 4 How to work with your advisor 5 Doing research in NLP field What is NLP? What is it like doing research in NLP? How to do research in NLP? How to choose NLP papers to read? 6 Coding practices for NLP/Machine Learning research work 7 My research stories Pham Quang Nhat Minh Research Methods in NLP 5/70
  • 6. What does “empirical” mean? Relying on observations, data, experiments Empirical work should complement theoretical work Theories often have holes (e.g., How big is the constant term?) Theories are suggested by observations Theories are tested by observations Conversely, theories direct our empirical attention In addition, empirical means “wanting to understand behaviour of complex systems” In NLP, we may want to understand how features are correlated Pham Quang Nhat Minh Research Methods in NLP 6/70
  • 7. Why we need empirical methods Theory based science need not be all theorems We do not know how a theory works in different conditions Different data sets, domains Pham Quang Nhat Minh Research Methods in NLP 7/70
  • 8. Empirical methods in CS/AI Data observation Construct hypotheses Test with empirical experiments Refine hypotheses and modelling assumptions Pham Quang Nhat Minh Research Methods in NLP 8/70
  • 9. Kinds of data analysis Exploratory (EDA) - looking for patterns in data Statistical inferences from sample data Testing hypotheses Estimating parameters Building mathematical models of datasets Machine learning, data mining... Pham Quang Nhat Minh Research Methods in NLP 9/70
  • 10. Tools for data analysis R programming language Python: numpy scipy pandas matplotlib for data visualization My bias opinions: statisticians like R, computer scientists often use Python Python is much easier to learn than R Pham Quang Nhat Minh Research Methods in NLP 10/70
  • 11. Exercises Install R: https://www.r-project.org Download the data file ex1data1.txt from: http://tinyurl.com/m7bpp8d The data file has two columns: First column: the population of a city. Second column: the profit of a food truck in that city. In R terminal, try the plot code df <- read.table("./ex1data1.txt", sep=",", header=FALSE) plot(df[,1], df[,2], xlab=‘‘Profit in $10,000s’’, ylab=‘‘Population of City in 10,000s’’) Pham Quang Nhat Minh Research Methods in NLP 11/70
  • 12. R for data visualization Pham Quang Nhat Minh Research Methods in NLP 12/70
  • 13. Table of Contents 1 What are empirical research methods for computer science? 2 How to choose a good research topic? 3 How to read a scientific paper? 4 How to work with your advisor 5 Doing research in NLP field What is NLP? What is it like doing research in NLP? How to do research in NLP? How to choose NLP papers to read? 6 Coding practices for NLP/Machine Learning research work 7 My research stories Pham Quang Nhat Minh Research Methods in NLP 13/70
  • 14. Why do we need to choose a good research topic? “Garbage in, garbage out” principle You may work with a research topic for years 1 year for a master thesis 3 years or more for a Ph.D. dissertation It is painful to do things that you feel uninteresting Lack passion, motivations, ideas Much frustration and bitterness Pham Quang Nhat Minh Research Methods in NLP 14/70
  • 15. What is a good research topic? (Alon, 2009) Two Dimensions of Problem Choice Feasibility: whether a problem is hard or easy We can measure the feasibility as the expected time to complete the project Feasibility is a function of the skills of students/researchers and of the technology in the lab. Interest: the increase in knowledge expected from the project. Pham Quang Nhat Minh Research Methods in NLP 15/70
  • 16. Two-dimensional space of Problem Choice (1) Figure: The Feasibility-Interest Diagram for Choosing a Project (Alon, 2009) Pham Quang Nhat Minh Research Methods in NLP 16/70
  • 17. Two-dimensional space of Problem Choice (2) Figure: The Feasibility-Interest Diagram for Choosing a Project (Alon, 2009) Pham Quang Nhat Minh Research Methods in NLP 17/70
  • 18. What is a good research topic? Are many people care about the topic? Research community, your supervisors, industry demands Are you really interested in the topic? The topic should be interesting to you rather than to others Good signs: “ideas and questions that come back again and again to your mind for months or years.” Pham Quang Nhat Minh Research Methods in NLP 18/70
  • 19. How to choose a good research topic: steps by steps Choose the broad (general) topic E.g, Machine Translation Draw a hierarchy of research topics, starting from the broad topic Review literature to look for gaps in previous work Choose the focused topic E.g., Phrase-based Machine Translation Find gaps in previous work Form research questions in the focused topic From research questions, formulate the research problem Pham Quang Nhat Minh Research Methods in NLP 19/70
  • 20. Finding a research problem Take your time to choose a good research topic (Alon, 2009): Rule for new Ph.D. students and postdocs: “Do not commit to a problem before 3 months have elapsed” For master students, take 1-2 months for choosing the research topic before your start the research project. Join projects in your laboratory Many research ideas for thesis are from projects you involved Pham Quang Nhat Minh Research Methods in NLP 20/70
  • 21. Developing your research ideas Where do research ideas come from? Observations Data observations, data analysis, discover patterns in data Reading papers, attending conferences, listening talks Techniques, methods from other disciplines, fields Imagine Suggestions from your advisor Pham Quang Nhat Minh Research Methods in NLP 21/70
  • 22. Reading papers, attending conferences Choose good and relevant papers. Consider: Impact factors of the journal. In the NLP field, choose papers from top conferences, journals (ACL/NAACL/EMNLP/COLING) The Top 10 NLP Conferences: http://www.junglelightspeed.com/ the-top-10-nlp-conferences Reputations of authors and their organizations Not only readings, but criticizing papers and finding the gaps Pham Quang Nhat Minh Research Methods in NLP 22/70
  • 23. Techniques, methods from other fields Expand your view, problem solving methodologies by regularly reading articles in other fields. An example is the task image captioning We need to use techniques from both computer vision and NLP. Pham Quang Nhat Minh Research Methods in NLP 23/70
  • 24. What happens after we choose a problem? (Alon, 2009) Pham Quang Nhat Minh Research Methods in NLP 24/70
  • 25. Table of Contents 1 What are empirical research methods for computer science? 2 How to choose a good research topic? 3 How to read a scientific paper? 4 How to work with your advisor 5 Doing research in NLP field What is NLP? What is it like doing research in NLP? How to do research in NLP? How to choose NLP papers to read? 6 Coding practices for NLP/Machine Learning research work 7 My research stories Pham Quang Nhat Minh Research Methods in NLP 25/70
  • 26. Two types of readings Fast readings Get and understand the basic ideas of the paper Know the problems the paper attacks and how it solves that Put the paper in the “big picture” of the field Know what are differences between the paper and previous work We do “fast reading” much when we survey literature and choose a broad topic Deep readings Understand the details of presented methods Try to understand how the proposed method works Criticize the paper and find its limitations If you were the authors, how would you solve the problem? Propose alternative methods? We do “deep reading” much we look for a focused topic Pham Quang Nhat Minh Research Methods in NLP 26/70
  • 27. How to read a scientific paper (1) Michael J. Hanson. Efficient Readings of Papers in Science and Technology: http://tinyurl.com/qdebynz Pham Quang Nhat Minh Research Methods in NLP 27/70
  • 28. How to read a scientific paper (2) Decide what to read Read title, abstract Read it, file it, or skip it Read for breath What did they do Skim introduction, headings, graphics, definitions, conclusions and bibliography. Consider the credibility. How useful is it? Decide whether to go on. Pham Quang Nhat Minh Research Methods in NLP 28/70
  • 29. How to read a scientific paper (3) Read in depth How did they do it? Challenge their arguments. Examine assumptions. Examine methods. Examine statistics. Examine reasoning and conclusions. How can I apply their approach to my work? Take notes Make notes as you read. Highlight major points. Note new terms and definitions. Summarize tables and graphs. Write a summary. Pham Quang Nhat Minh Research Methods in NLP 29/70
  • 30. Homework Choose one scientific article that you want to read in depth, read, take notes and explain ideas, methods presented in the paper to other students in a simple way. Notes: You should be able to answer 3 questions as follows. What is the problem the paper attack? What are the differences between the paper and other existing papers? What are interesting points of the presented methods? Pham Quang Nhat Minh Research Methods in NLP 30/70
  • 31. Table of Contents 1 What are empirical research methods for computer science? 2 How to choose a good research topic? 3 How to read a scientific paper? 4 How to work with your advisor 5 Doing research in NLP field What is NLP? What is it like doing research in NLP? How to do research in NLP? How to choose NLP papers to read? 6 Coding practices for NLP/Machine Learning research work 7 My research stories Pham Quang Nhat Minh Research Methods in NLP 31/70
  • 32. Some basic rules Your advisor is supposed to be very busy, so you should follow up her/him Schedule the meeting in advanced and ask for meeting Keep regular meeting with your advisor Usually weekly meeting Do not just do what your advisor tell you to do Rule of thumbnail: You should finish all your assigned tasks before doing your own ideas Pham Quang Nhat Minh Research Methods in NLP 32/70
  • 33. How to write a progress/status report Michael Ernst. Writing a progress/status report: http://tinyurl.com/zp7cdvt Quote the previous week’s plan. This helps you determine whether you accomplished your goals. State this week’s progress. What you have accomplished, What you learned, what difficulties you overcame, what difficulties are still blocking you, Your new ideas for research directions or projects, etc Give the next week’s plan. A good format is a bulleted list Try to make each goal measurable: there should be no ambiguity as to whether you were able to finish it. It’s good to include longer-term goals as well. Pham Quang Nhat Minh Research Methods in NLP 33/70
  • 34. Communicate with your advisor Prepare some slides (3-4 slides) to make the discussion concrete Send the materials at least 24 hours before the meeting day Arrange the meeting in advanced Your advisor is not always right Actually you know more about your work than her/him If you have data, evidences, proofs, do not hesitate to debate Do not say “I guest”, “I think” when you explain something. Use data, evidences, references instead Pham Quang Nhat Minh Research Methods in NLP 34/70
  • 35. Table of Contents 1 What are empirical research methods for computer science? 2 How to choose a good research topic? 3 How to read a scientific paper? 4 How to work with your advisor 5 Doing research in NLP field What is NLP? What is it like doing research in NLP? How to do research in NLP? How to choose NLP papers to read? 6 Coding practices for NLP/Machine Learning research work 7 My research stories Pham Quang Nhat Minh Research Methods in NLP 35/70
  • 36. What is Natural Language Processing? A field of computer science, artificial intelligence, and computational linguistics To get computers to perform useful tasks involving human languages Human-Machine communication Improving human-human communication E.g Machine Translation Extracting information from texts Pham Quang Nhat Minh Research Methods in NLP 36/70
  • 37. Why is NLP interesting? Languages involve many human activities Reading, writing, speaking, listening Voice can be used as an user interface in many applications Remote controls, virtual assistants like siri,... NLP is used to acquire insights from massive amount of textual data E.g., hypotheses from medical, health reports NLP has many applications NLP is hard! Pham Quang Nhat Minh Research Methods in NLP 37/70
  • 38. NLP problems Fundamental problems Word Segmentation Part-of-speech tagging Syntactic Analysis Semantic Analysis Application problems Information Retrieval Information Extraction Question Answering Text Summarization Machine Translation Pham Quang Nhat Minh Research Methods in NLP 38/70
  • 39. What is it like doing research in NLP? Empirical methods are applied much in NLP Relying on observations, data, experiments Contains many loops of experiments Identify the problem → Create ideas → Test the best idea → Analyse results → Identify the problem → Create ideas → · · · Pham Quang Nhat Minh Research Methods in NLP 39/70
  • 40. What is it like doing research in NLP? Many ideas do not work Even though, we need to analyse the results to understand why they do not work to come up with new ideas. Try the next idea Fails occur more often than successes Try to increase the number of experiments (No of successes) = (No of experiments) × (Success rate) Pham Quang Nhat Minh Research Methods in NLP 40/70
  • 41. The typical working day of a NLP researcher Data observation and data/result analysis (a lot) Discuss ideas with colleagues Do experiments (run the program) to test ideas Reading papers to keep up-to-date on mainstream researches Investigate new NLP/Machine Learning tools, libraries (less regular) Pham Quang Nhat Minh Research Methods in NLP 41/70
  • 42. How to learn NLP? Research starts from learning Learn/review background about: Probabilistic and Statistics Basic math (linear algebra, calculus) Machine Learning Programming Read NLP textbooks Jurafsky, D., & Martin, J.H. Speech and Language Processing: an Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition. Manning, C.D., & Schutze, H. Foundations of statistical natural language processing. Pham Quang Nhat Minh Research Methods in NLP 42/70
  • 43. How to learn NLP: Get your hands dirty Practice with programming exercises: 100 NLP drill exercises: https://github.com/ minhpqn/nlp_100_drill_exercises NLP Programming Tutorial, by Graham Neubig: http://www.phontron.com/teaching.php Compete in Kaggle data science challenges (kaggle.com) Pham Quang Nhat Minh Research Methods in NLP 43/70
  • 44. Finding a NLP research problem All the principles in the section “How to choose a good research topic” apply. Looking for ideas from related fields Linguistics Machine learning: mainstream in the NLP field is applying machine learning methods in the NLP problems Computer vision Looking at data It is actually my daily task Pham Quang Nhat Minh Research Methods in NLP 44/70
  • 45. Basic rules to choose NLP papers READ: Papers in top conferences and journals in NLP and other related fields (ACL/EMNLP/NAACL/EACL/COLING/CoNLL/...) Workshops that focus on an NLP sub-field Short papers at top conferences PhD dissertations from top institutions/advisors Papers with many citations Textbooks from leading researchers For more information, see: The Top 10 NLP Conferences1 1 http://www.junglelightspeed.com/the-top-10-nlp-conferences/ Pham Quang Nhat Minh Research Methods in NLP 45/70
  • 46. Table of Contents 1 What are empirical research methods for computer science? 2 How to choose a good research topic? 3 How to read a scientific paper? 4 How to work with your advisor 5 Doing research in NLP field What is NLP? What is it like doing research in NLP? How to do research in NLP? How to choose NLP papers to read? 6 Coding practices for NLP/Machine Learning research work 7 My research stories Pham Quang Nhat Minh Research Methods in NLP 46/70
  • 47. Why is coding important in NLP/ML research? Many (most) NLP/ML research work is empirical studies Need to do data analysis, run experiments to test our ideas So, we have to write programs Even theorists should program, too “Implementing your own algorithm is a good way of checking your work. If you aren’t implementing your algorithm, arguably you’re skipping a key step in checking your results.” —Michael Mitzenmacher http://mybiasedcoin.blogspot.com/2008/11/bugs.html Pham Quang Nhat Minh Research Methods in NLP 47/70
  • 48. Why we care about coding practices in NLP research? Bad coding practices cause problems You find errors in the experimental results right before the paper submission deadline You cannot understand your own code after some months You deleted intermediate results, so you cannot verify the code You do not know the technique to verify experimental results You did not test the code, and then use untested code for experiments You spend long time for refactoring the code You could not get back the version that generate the best results ... Pham Quang Nhat Minh Research Methods in NLP 48/70
  • 49. Why we care about coding practices in NLP research? Good coding practices speed up our research work Recall that: (No of successes) = (No of experiments) × (Success rate) Pham Quang Nhat Minh Research Methods in NLP 49/70
  • 50. Best Practices for Scientific Computing (Wilson et al., 2012) 1- Write programs for people, not computers. Readers of the code do not need to remember too much Easy to read: names should be consistent, distinctive, and meaningful Break down the coding work into one-hour-long tasks 2- Automate repetitive tasks Scientists should rely on the computer to repeat tasks. Should use a script to run program!! Use a build tool to automate their scientific workflows Pham Quang Nhat Minh Research Methods in NLP 50/70
  • 51. Best Practices for Scientific Computing 3- Use the computer to record history Unique identifiers and version numbers for raw data records Unique identifiers and version number for programs and libraries The values of parameters used to generate any given output; The names and version number of programs used to generate those outputs. 4- Make incremental changes Scientists can not know what their programs should do next until the current version has produced some results. Should work in small steps with frequent feedback and correction! Pham Quang Nhat Minh Research Methods in NLP 51/70
  • 52. Best Practices for Scientific Computing 5- Use a version control system: git, mercural, subversion. Push code to github, bitbucket Everything that has been created manually should be put in version control 6- Do not repeat yourself (or others) At small-scale, code should be modularized rather than copied and pasted. At large-scale, scientific programmers should re-use code instead of re-writing it. Pham Quang Nhat Minh Research Methods in NLP 52/70
  • 53. Best Practices for Scientific Computing 7- Plan for mistakes Write and run tests Unit Test: Check the correctness of each single software unit Integration Test: Check that pieces of unit code work correctly when combined. Regression Test: Running pre-existing code tests after changes to the code in order to make sure that it hasn’t regressed. Should use off-the-self unit testing library Pham Quang Nhat Minh Research Methods in NLP 53/70
  • 54. Best Practices for Scientific Computing 8- Optimize software only after it works correctly Use profiler to identify bottlenecks Write code in the highest-level language possible Python is recommended language for research Only use low-level programming language when they are sure that performance boost is needed. Use the highest-level programming language for rapid prototyping. Pham Quang Nhat Minh Research Methods in NLP 54/70
  • 55. 9- Document design, and purpose, not mechanics Document interface and reasons, not implementations Do not do that i = i + 1 # Increment the variable ’i’ by one. Refactor the code instead of explaining how it works Embed the documentation for a piece of software in that software Use software to generate documentation. 10- Collaborate Use pre-merge code reviews Use an issue tracking tool. Pham Quang Nhat Minh Research Methods in NLP 55/70
  • 56. Coding practices for NLP/ML research All general practices apply for NLP/ML research Separate a process into small processes Use pipelines in Unix/Linux Make use of tools in experiments Linux commands NLP/ML Tools Libraries (json, nltk, matplotlib, scikit-learn,...) Algorithms E.g., Show statistics about number of words in a text file source file name.txt | cut -f1 | sort | uniq -c | sort -nr Visualize experimental results, make demo for your research results Pham Quang Nhat Minh Research Methods in NLP 56/70
  • 57. Tool for visualizing research results Tables (Microsoft Excel, HTML) Charts (gnuplot, matplotlib, R) Graphs (graphviz, Gephi, D3.js) Texts (Microsoft Excel, HTML, brat2) Codes (google-code-prettify3, Pygments4) Demo (HTML, JavaScript, CSS,...) 2 http://brat.nlplab.org/ 3 https://github.com/google/code-prettify 4 http://pygments.org/ Pham Quang Nhat Minh Research Methods in NLP 57/70
  • 58. Optimize codes only after your ideas work “Make it work. Make it right. Make it fast.” (Kent Beck) “Premature optimization is the root of all evil (or at least most of it) in programming.” (Donald Knuth) In NLP, always start with a simple and dirty working version E.g, Bag-of-word features and Naive Bayes algorithm in text classification tasks Pham Quang Nhat Minh Research Methods in NLP 58/70
  • 59. Table of Contents 1 What are empirical research methods for computer science? 2 How to choose a good research topic? 3 How to read a scientific paper? 4 How to work with your advisor 5 Doing research in NLP field What is NLP? What is it like doing research in NLP? How to do research in NLP? How to choose NLP papers to read? 6 Coding practices for NLP/Machine Learning research work 7 My research stories Pham Quang Nhat Minh Research Methods in NLP 59/70
  • 60. My profile 6/2006: B.Sc. in Information Technology from University of Engineering and Technology, Vietnam National University, Hanoi 3/2010: M.Sc. in Information Science from Japan Advanced Institute of Science and Technology 3/2013: Ph.D. in Information Science from Japan Advanced Institute of Science and Technology Pham Quang Nhat Minh Research Methods in NLP 60/70
  • 61. Master program at JAIST JAIST is a public graduate institute in Japan Homepage: https://www.jaist.ac.jp/english Three schools Information Science Knowledge Science Material Science All courses have English version You can learn in English Pham Quang Nhat Minh Research Methods in NLP 61/70
  • 62. Master program at JAIST Two-year full-time master program First year: Students are temporarily assigned to a laboratory, and select the official lab after 3 months In the first year, mainly taking courses and choosing the master research topic Write the research proposal for master thesis in the end of the first year Second year: Finishing all remaining course work Working on master research project Looking for jobs (students who do not pursue Ph.D.) Pham Quang Nhat Minh Research Methods in NLP 62/70
  • 63. How did I finish my master? Six months before entering master program Take Japanese course Review background Read NLP Textbooks First year: Finish all course work Join a research project in my laboratory Choose the research topic Second year: Do research Attend one international conference Thesis defense Pham Quang Nhat Minh Research Methods in NLP 63/70
  • 64. How I choose my master thesis I even did not know how to choose a research topic (crying) You should know how to choose I was assigned the topic by my co-advisor The topic is about sentence insertion I proposed a method to improve the previous results Pham Quang Nhat Minh Research Methods in NLP 64/70
  • 65. Sentence insertion task Task: To automatically updating a wikipedia article by inserting new information into that. I proposed to use Word Clusters to capture meaning of words Pham Quang Nhat Minh Research Methods in NLP 65/70
  • 66. Research projects at FPT Technology Research Institute NLP problems in chatbot development Intent classification Named entity recognition FAQ generation from chat history, manuals Figure: Source: stanfy.com: http://tinyurl.com/mdfsa6h) Pham Quang Nhat Minh Research Methods in NLP 66/70
  • 67. Summary Empirical research methods reply on observations, data, experiments Two dimensions of problem choice: Feasibility and Interest Research starts from learning Reading is very important in research NLP research involves much data analysis Coding practices for NLP/ML research Pham Quang Nhat Minh Research Methods in NLP 67/70
  • 68. Check-list for your master thesis 1 Is your work reproducible? Package your code so that it can automatically generate the results by a single script Freeze the final version 2 Is your proposed method new 3 Did you revise your thesis many times? Ask your advisors, friends for proof reading 4 Did you understand previous work? 5 Do you think you can pass the master thesis defense? Pham Quang Nhat Minh Research Methods in NLP 68/70
  • 69. Advices for your master thesis Take time to choose your master research topic Work on the research problem that you are interested in Start soon Follow up your advisor Spend time on regular literature review (reading papers) Commit at least 2-3 hours per day for your master research Look at your data before starting doing something Follow “best” coding practices for research Use version control For versioning everything that is manually created Backup your work on the cloud Pham Quang Nhat Minh Research Methods in NLP 69/70
  • 70. References Alon, U. (2009). How to choose a good scientific problem. Molecular cell, 35 6, 726-8. Aruliah, D.A., Brown, C.T., Davis, M., Guy, R.T., Hong, N.P., Haddock, S.H., Huff, K., Mitchell, I.M., Plumbley, M.D., Waugh, B., White, E.P., Wilson, G., & Wilson, P. (2014). Best Practices for Scientific Computing. PLoS biology. Ali Eslami. Patterns for Research in Machine Learning http://arkitus.com/patterns-for-research-in-machine-learning Pham Quang Nhat Minh Research Methods in NLP 70/70