How can text data be quickly and accurately processed?

Using natural language processing and deep learning to classify comments in MEPS


The Medical Expenditure Panel Survey (MEPS), funded by the Agency for Healthcare Research and Quality (AHRQ), is a set of large-scale surveys of families and individuals, and their medical providers across the U.S.

More than 20,000 open-ended comments are entered by the interviewers each year into the MEPS computer-assisted personal interviewing (CAPI) system to clarify the respondents’ answers.

Then, a group of human coders reviews each sentence to assign a topic label to the sentences out of 10 predefined classes, and use the associated procedures to further process the data. Also, MEPS is a panel study and there is a short time window, usually a week, to process the comments so that the data can get back to the field staff for use for dependent interviewing in the next wave. Processing this data is labor intensive and time consuming.

Westat harnessed the power of artificial intelligence (AI) capabilities to make the process more timely and efficient.


Westat uses natural language processing (NLP), machine learning (ML), and deep learning techniques to train a classification model to automatically label the comments into 10 predefined classes.

We then deploy the model as a RESTful API in production so that it can run in the backend of the system used by the human coders. The model suggests the top 3 classes for each sentence ranked by classification probability, which allows human coders to make a selection out of 3 rather than 10 when reviewing the comments.


The data tool has been in production for the past 2 data collection periods in 2020. The tool achieved more than 95% classification accuracy for the top suggestion in processing 10,000+ comments for each round, with an efficiency gain of about 5% and reducing backlog to virtually zero.


Deep Dive with Our Experts

view all insights
  • Perspective

    Highlights of Westat at AAPOR 2024

    May 2024

    We’ve returned from the 79th Annual American Association for Public Opinion Research (AAPOR) Conference, held May 15-17 in Atlanta, where we caught up with colleagues…

  • Expert Interview

    PMGE: Blueprint for Culturally Responsive Evaluations

    May 2024

    Long known for its cutting-edge studies, the Office of Planning, Research, and Evaluation (OPRE), a department of the Administration for Children and Families (ACF), has…

  • Perspective

    Westat @ AAPOR 2024

    May 2024

    Westat experts are excited to head to Atlanta May 15-17, 2024, for the American Association for Public Opinion Research (AAPOR) 79th Annual Conference. We’re proud…


Keep Reading

view all projects

How can we help?

We welcome messages from job seekers, collaborators, and potential clients and partners.

Get in Contact

Want to work with us?

You’ll be in great company.

Explore Careers
Back to Top