重口味SM

With undergraduate's help, U of T economist uses AI to supercharge his research on Canada's economic history

Dev'Roux Maharaj and Nicholas Zammit

Using machine learning, undergraduate student Dev'Roux Maharaj (left) helped Nicholas Zammit (right), of U of T Mississauga's department of economics, speed up his research on Canada's economic history (handout/photo of Zammit by Blake Eligh)

Nicholas Zammit of the 重口味SM Mississauga is aiming to shed light on Canada's economic history circa the First World War by drawing on mountains of government data including everything from labour and steel to beer kegs imports. 

For years, Zammit had been manually entering trade volume data into spreadsheets, a format that allowed him to do an economic analysis. It was a process so cumbersome he estimates it would have taken one researcher more than 50 years to process a small segment of his sample data. 

鈥淲e鈥檝e got the price and quantity of every good traded between Canada and every other country,鈥 said Zammit, an assistant professor, teaching stream in U of T Mississauga's department of economics. 鈥淏ut it鈥檚 a very big dataset with a lot of data points.鈥

Then Dev'Roux Maharaj came along. The undergraduate student in economics and political science, who worked part-time at Amazon's Mississauga operations, helped adapt a web-based machine learning tool developed by the online retail giant for its business clients to help with Zammit's research. The result was nothing short of transformational, Zammit said. 

鈥淲e were going to focus on the war period, but given how successful the software is for us, we might go back to 1870,鈥 he said. 鈥淚t鈥檚 blossoming, hopefully, into multiple papers.鈥

Maharaj, now a research assistant on Zammit's project, had worked with Amazon鈥檚 customer service team before moving to Amazon Web Services (AWS), the cloud computing arm of the company. It was there he saw an opportunity to apply AWS technology to Zammit鈥檚 data conundrum. 

The solution was Textract, an AWS tool used by organizations, such as insurance companies, to automate and standardize collection of data from forms and other documents.

Maharaj looked to apply Textract鈥檚 machine learning abilities to the information contained in the trade volume tables. He connected with the Cloud Innovation Centre at the University of British Columbia, which was working to refine Textract鈥檚 data collection capabilities, to test the technology with the trade volume information.

What used to take Zammit three years of tedious data entry can now be accomplished in four months. 鈥淲e can scan 500 documents in less than 45 minutes,鈥 Maharaj said. 

With just two clicks, the research team can now quickly and easily upload the trade volume PDFs and convert the information for use in an Excel workbook. The process also gives the researchers the ability to easily filter the results. 

鈥淣ow the data is organized in the exact format that we need it to be,鈥 Maharaj said. 鈥淭he cloud has enabled us to put this project on steroids.鈥

Zammit noted that the project has also created research opportunities for students to participate and gain valuable experience working with economic data.

The project's growing team of 175 volunteer research assistants manage quality assurance by conducting comparative spot checks. Maharaj estimates Textract鈥檚 accuracy rate to be between 93 and 95 per cent.

For his part, Maharaj has been able to parlay skills learned on the project into an internship with RBC. 

鈥淢aking training plans, looking at Excel data and macros 鈥 it鈥檚 the same thing 鈥 process automation,鈥 he said. 鈥淭hese skills are very applicable to the workforce, and we鈥檙e giving students those skills as well.鈥 

Zammit鈥檚 current research, which focuses on trade diversion and loss in the British dominions during the First World War, draws on primary sources like the Canada trade volumes. The digitized federal government documents span nearly 100 years, from 1870 onwards. 

The economic historian hopes to shed new light on how costly trade diversions or sanctions can be for countries engaged in war.

Zammit says the digital tool has reduced the cost of collecting information and increased the volume of available data, offering the researchers new opportunities to compare with modern economic phenomenon.

The researchers hope to release preliminary results from their analysis early next year.

The Bulletin Brief logo

Subscribe to The Bulletin Brief

UTM