How the Bureau of Labor Statistics is Ditching Hand-coding Data

Jirsak/Shutterstock.com

Using some DIY-attitude and machine learning tools, BLS figured out how to automate 85% of its survey workload.

Implementing machine learning and artificial intelligence has radically transformed the Bureau of Labor Statistics’ productivity, freed up its workforce to perform less menial tasks and has resulted in more accurate survey analysis.

The fact-finding agency processes hundreds of thousands of surveys each year to provide the government and public with essential statistical data about society and the economy. In the past, converting the text-heavy records into different codes that make sense of the data required BLS workers to engage in tedious manual labor that didn’t always result in the most accurate outcomes. But automating the once manual processes has had lasting impacts across BLS.

“This all actually worked out much better than we expected,” Alex Measure told Nextgov. Measure was originally hired as an economist at BLS, but over the last eight years he’s led some of the agency’s efforts around integrating machine learning to complete tasks previously done by hand.

For example, each year the agency conducts the Survey of Occupational Injuries and Illnesses, which collects hundreds of thousands of written descriptions regarding work-related afflictions. In the past, Measure said humans would spend countless hours converting the key pieces of text from each survey into codes so that BLS could discern the data. The results would provide insights like how many U.S. janitors were injured on the job annually, or what the most common injuries might be.

“As you can imagine, when you are collecting about 300,000 of these each year and having people read through them by hand and code them by hand, it really adds up to being a lot of work,” he said.

The bureau began exploring different ways to use computers to automate the work.

“The idea in supervised machine learning is you take a bunch of examples of these narratives that have been coded, and then you try to get the computer to learn from these previously coded examples. Ideally, it will learn how to perform this task on its own if you give it enough examples and  the right algorithm to learn,” Measure said.

His team realized early on that they could use open-source software to automate their processes and they immediately observed positive results. Not only were they able to train the original systems in just a few weeks, but the original computer-coded results turned out to be more accurate than the results from trained humans. Earlier this year, BLS started switching to “deep neural network models,” which allow for more layers of machine learning and have made “significantly fewer errors” than humans and the earlier systems.

“So the impact is that we’ve automated a very large portion of this sort of routine coding work,” Measure said. “And we are now automatically assigning roughly 85% of our primary codes using these algorithms, so that’s freed up our staff to spend more time on other important things.”

Measure said it’s also enabled BLS to enhance its results because now workers have more time to reach out to companies they need responses from and review the coded outcomes to improve the data they produce.

“So far, I think that people have seen this as a tool that helps them do their job better and I think it’s resulted in big quality improvements that have come from that,” he said.

The bureau is now applying AI to many more projects and Measure said he’s excited to watch the tech continue to evolve and for some of the latest projects in the works. He also believes BLS’ learnings are applicable for other agencies.   

Because “some of the best tools” his team used were open source and available through Google and Facebook internally for free, other agencies that process big data don’t need to spend tens of thousands of dollars on proprietary software.

He also noted that websites like Coursera and edX, which he used to learn the tech, offer free or cheap training tools that anyone can adopt to master machine learning.

“I think the most interesting aspects of this to me are actually how accessible the technology is,” Measure said. “Obviously economists are not people who are trained in AI and so it was really interesting to me that I could learn these skills relatively easy and I think a lot of these skills are closely related to skills that people already have in other disciplines.”

X
This website uses cookies to enhance user experience and to analyze performance and traffic on our website. We also share information about your use of our site with our social media, advertising and analytics partners. Learn More / Do Not Sell My Personal Information
Accept Cookies
X
Cookie Preferences Cookie List

Do Not Sell My Personal Information

When you visit our website, we store cookies on your browser to collect information. The information collected might relate to you, your preferences or your device, and is mostly used to make the site work as you expect it to and to provide a more personalized web experience. However, you can choose not to allow certain types of cookies, which may impact your experience of the site and the services we are able to offer. Click on the different category headings to find out more and change our default settings according to your preference. You cannot opt-out of our First Party Strictly Necessary Cookies as they are deployed in order to ensure the proper functioning of our website (such as prompting the cookie banner and remembering your settings, to log into your account, to redirect you when you log out, etc.). For more information about the First and Third Party Cookies used please follow this link.

Allow All Cookies

Manage Consent Preferences

Strictly Necessary Cookies - Always Active

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Sale of Personal Data, Targeting & Social Media Cookies

Under the California Consumer Privacy Act, you have the right to opt-out of the sale of your personal information to third parties. These cookies collect information for analytics and to personalize your experience with targeted ads. You may exercise your right to opt out of the sale of personal information by using this toggle switch. If you opt out we will not be able to offer you personalised ads and will not hand over your personal information to any third parties. Additionally, you may contact our legal department for further clarification about your rights as a California consumer by using this Exercise My Rights link

If you have enabled privacy controls on your browser (such as a plugin), we have to take that as a valid request to opt-out. Therefore we would not be able to track your activity through the web. This may affect our ability to personalize ads according to your preferences.

Targeting cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising.

Social media cookies are set by a range of social media services that we have added to the site to enable you to share our content with your friends and networks. They are capable of tracking your browser across other sites and building up a profile of your interests. This may impact the content and messages you see on other websites you visit. If you do not allow these cookies you may not be able to use or see these sharing tools.

If you want to opt out of all of our lead reports and lists, please submit a privacy request at our Do Not Sell page.

Save Settings
Cookie Preferences Cookie List

Cookie List

A cookie is a small piece of data (text file) that a website – when visited by a user – asks your browser to store on your device in order to remember information about you, such as your language preference or login information. Those cookies are set by us and called first-party cookies. We also use third-party cookies – which are cookies from a domain different than the domain of the website you are visiting – for our advertising and marketing efforts. More specifically, we use cookies and other tracking technologies for the following purposes:

Strictly Necessary Cookies

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Functional Cookies

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Performance Cookies

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Sale of Personal Data

We also use cookies to personalize your experience on our websites, including by determining the most relevant content and advertisements to show you, and to monitor site traffic and performance, so that we may improve our websites and your experience. You may opt out of our use of such cookies (and the associated “sale” of your Personal Information) by using this toggle switch. You will still see some advertising, regardless of your selection. Because we do not track you across different devices, browsers and GEMG properties, your selection will take effect only on this browser, this device and this website.

Social Media Cookies

We also use cookies to personalize your experience on our websites, including by determining the most relevant content and advertisements to show you, and to monitor site traffic and performance, so that we may improve our websites and your experience. You may opt out of our use of such cookies (and the associated “sale” of your Personal Information) by using this toggle switch. You will still see some advertising, regardless of your selection. Because we do not track you across different devices, browsers and GEMG properties, your selection will take effect only on this browser, this device and this website.

Targeting Cookies

We also use cookies to personalize your experience on our websites, including by determining the most relevant content and advertisements to show you, and to monitor site traffic and performance, so that we may improve our websites and your experience. You may opt out of our use of such cookies (and the associated “sale” of your Personal Information) by using this toggle switch. You will still see some advertising, regardless of your selection. Because we do not track you across different devices, browsers and GEMG properties, your selection will take effect only on this browser, this device and this website.