Researchers are using machine learning to uncover potential relationships between companies and political parties
UBC Computer Science researchers and collaborators are tackling big data challenges with efficient computational methods
UBC Computer Science Professor Laks Lakshmanan, PhD student Himanshu Mishra and collaborators are analyzing Canadian political donations and lobbying data to reveal potential reciprocal relationships between political parties, organizations and lobbying groups. The project, which is supported by an NSERC Alliance Grant, includes researchers from the University of Toronto and the Investigative Journalism Foundation.
“This work is critically important for the health of Canadian democracy and any country’s democracy,” says Dr. Lakshmanan. “Our research can contribute towards building tools to enable holding our politicians accountable, regardless of their party.”
While people or organizations from lobbying groups try to influence those in political parties, a quid pro quo relationship between the two groups represents a conflict of interest. For example, someone from a company may donate to a political party, and the party may later award a contract to the company after getting elected into office. These relations compromise the integrity and objectivity of government officials and damage the public’s trust in government. In some cases, people who previously worked in government sectors may transition into lobbying or vice versa, known as the “revolving door” of politics.
While information about lobbying groups and political donations are publicly accessible records, the datasets are massive and complex, making it challenging for journalists to dig through and understand the connections.
“Some datasets easily exceed one million records and keep growing over time,” says Himanshu Mishra, a PhD student in Dr. Lakshmanan’s group, who leads the project. “If you try to pair each of these records with another million records, it will be in the scale of trillions — so the scale of the data is a big issue.”
In addition to the very large datasets, political donation data might be inconsistent, for example, with different names for the same person or company. This may be due to different standards of record collection and/or donors using different names (intentionally or unintentionally).
Now, researchers are turning to machine learning tools to untangle the web of information, potentially helping journalists connect the dots and expose conflicts of interest amongst political parties and organizations.
For example, these tools can identify that entries such as “ABC Corp.” and “A.B.C Corporation” or an expanded version of “A.B.C.” refer to the same company, even if they are written differently across datasets.
“This work is critically important for the health of Canadian democracy and any country’s democracy. Our research can contribute towards building tools to enable holding our politicians accountable, regardless of their party.”
-- Dr. Lakshmanan
Researchers are attacking the problem by starting with a technique called blocking, in which similar entries are grouped together to reduce the number of comparisons that need to be done. For instance, company names that share similar words or patterns are placed in the same group, rather than comparing every entry with every other entry.
Next, the researchers are testing several different methods of matching the entries, such as cosine similarity, which measures the similarity between vectors representing entries by calculating the cosine angle between them, and string matching algorithms, which searches the text for portions that match.
So far, the researchers are seeing that deep learning models are performing well in terms of recognizing names of political parties or companies, resolving issues such as typos, abbreviations or formatting variations. Unlike simpler methods, deep learning models can better understand context and handle real-world challenges.
One of the goals of this project is efficiency — an overarching theme in Dr. Lakshmanan’s research group. As such, their approach is to make use of deep learning models rather than go all the way with large language models, which would be computationally costly, would require enormous amounts of data to train the model and would involve many more training parameters.
“It’s not about solving the problem in the shortest possible time, although that’s a very important factor,” says Dr. Lakshmanan. “Efficiency is also about the cost, whether that’s the money or the energy or the amount of training data that is consumed. I deeply care about the efficiency of the method used to solve a problem.”
The researchers hope that the results of this project may provide leads for journalists to do deeper dives into the possible relationships and unearth worthwhile new stories.
“The work we are doing here will have real impact,” says Himanshu Mishra. “The results of our research can affect the public’s perception and understanding of how government funds are being used.”