DfT uses machine learning to create news round-up tool for policymakers
Program trained to identify stories likely to be of interest to policy professionals
Credit: Sollok29/CC BY-SA 4.0
The Department for Transport has created a machine learning-powered tool for providing its policymakers with a roundup of relevant news stories.
To keep its policy professionals up to date with news stories in which they might be interested, the department has previously relied on tools that simply performed keyword searches on articles published by the UK’s 700-plus local and national news publications. The lack of sophistication of this model invariably leads to a number of irrelevant stories being flagged up, said DfT data scientist Will Bowditch in a blog post.
To sift through news archives more effectively, the DfT’s data science team embarked on a project to “teach a computer” to read through newly published news stories and identify which ones were likely to be of interest to policymakers. The prototype that has been built uses basic filters suggested by the policy experts themselves. It then relies on “machine-learning algorithms to transfer the heavy processing to the computer”, Bowditch said.
- DfT to build nationwide open data portal for buses
- GDS creates machine learning-powered government innovation map
- DfT to explore effects of systems integration on airport X-rays
He added: “Computers aren’t equipped to deal with language, but they can process increasingly vast amounts of numbers. To convert text into something a computer can digest we convert sentences into a matrix of word counts, referred to as a ‘bag of words’. If we do this for a selection of words… we can begin to spot patterns in the data.”
If data scientists can identify a number of articles that they know were useful to a particular policy unit, the words used in these stories can be used to “train” a program to identify similarly relevant articles in the future.
“The process involves calculating the probability that a word, for example ‘park’, will appear in documents we’ve tagged as belonging to a [policy] team,” Bowditch said. “And using those probabilities, [the tool] can calculate the most likely category for new documents. We can see from the word counts table the probability that articles with the word ‘park’ belong to the parking category is much higher than the probability for the word ‘electric’. In reality, we apply this process to thousands of words and hundreds of articles.”
The News Roundup service is currently in its alpha stage, and is still being managed by human experts. But the long-term ambition is “to make the tool self-sufficient”. This could be achieved by allowing people who receive emails sent by the program to vote on whether the stories provided were relevant or not – and using this voting information to further hone the tool’s algorithms.
DfT’s data-science team has compiled a record of 40,000 articles with transport-related keywords and is now engaged in “exploring other ways we can use this data”, Bowditch said. Anyone interested in taking part in such a project can email the team by clicking here.
Department for Transport announces winners of competition
PublicTechnology talks to the departmental CDIO about her work to transform the working practices and service delivery of the UK tax authority, and why improving diversity starts with...
Other initiatives unveiled in hotly anticipated strategy include pledge to send more civil servants on private-sector secondment
Technology will measure sound levels to try and identify law-breakers
BT has huge experience working with global multinationals on their business case for SD-WAN, and here they lay out a detailed understanding of the real benefits and challenges
This article from BT outlines how focusing on user experience can drive productivity, better engagement and attract the best talent
Ensuring the right connectivity between hybrid networks and cloud services can be difficult. BT has provided free advice on how to balance the risk and reward of the cloud
It can be complicated managing a multi-cloud environment, so BT is providing a free ebook of tips to help you manage the risks and rewards