Skip to content

Canada's Business and Tech Newsroom

  • Professional Subscription
  • Partnerships & Advertising
  • Licensing & Syndication
Log In Subscribe
Welcome,
  • My Account
  • Log Out
  • Business
  • Tech
  • National
  • The Big Read
  • Briefings
  • Commentary
Search
Log In Subscribe
Welcome,
  • My Account
  • Log Out
News

Bots in the bureaucracy: A new generation of algorithmic decision aids is moving into the federal public service

OTTAWA — Three years after scorching criticisms of its experiments with using bots to help process immigration applications, the federal government is using algorithmic filters to help determine whether the spouses of Canadian residents are eligible to come here.

News

Bots in the bureaucracy: A new generation of algorithmic decision aids is moving into the federal public service

By David Reevely
Photo: Illustration by Hanna Lee for The Logic; Robotic arm by 3alexd/iStock and passport by Kelly Sikkema/Unsplash
Aug 19, 2021
A A
A Small A Medium A Large
Share

Gift

Share

OTTAWA — Three years after scorching criticisms of its experiments with using bots to help process immigration applications, the federal government is using algorithmic filters to help determine whether the spouses of Canadian residents are eligible to come here.

Talking Point

Backlash against an experiment with using algorithms to help assess student visas in 2018 made the federal government rethink the place of automated decision-making tools. Now the first bots devised under a new set of rules are being put to use.

The new bot, in use since April, is the first major member of a new generation of “automated decision-making” tools to go through a formal federal assessment meant to make sure it has safeguards proportionate to the impact of its decisions.

For the new immigration algorithm, those are considered significant, perpetual and reliant on personal information—all red flags.

Don’t be alarmed, said Benoît Deshaies, the acting director of data and artificial intelligence at the Treasury Board Secretariat, the federal body that has ordered the assessments.

“You hear, ‘Oh, [Immigration] is using AI to decide on visa applicants.’ Well, that can sound scary, right? But when you get down to it, you understand that the automation is just supporting one of the many, many decisions that are part of that, that the final case is decided by an officer,” he said in an interview with The Logic before this week’s federal election campaign began.

One much simpler bot has been through the new assessment before. It looks over requests under access-to-information law and points out related material that’s already been released, which might be what the requester wants and be much quicker to get.

These examinations have been required—and required to be made public—by the Treasury Board’s “directive on automated decision making,” which was published in 2019, took effect in April 2020, then sat little-used through the COVID-19 pandemic.

Now, Deshaies said to expect a spate of the assessments as the public service emerges from pandemic panic mode.

The Immigration Department’s use of algorithms to speed its processing of applications was what prompted the creation of the directive in the first place in early 2018, said Ashley Casovan, who was instrumental in producing it as the director of data architecture and innovation at the Treasury Board Secretariat.

“Some high-level examples were coming out, in particular from Immigration and Refugees Canada, which was looking at piloting an automated decision-making system for expediting visas for particular students,” she said. “In this case, it was students coming from China, and because there were lots of them, they wanted to really reduce the backlog that they had.”

The idea was, and is, to accelerate simple cases, said Immigration spokesperson Jeffrey MacDonald, in an email to The Logic.

“The project’s goal is to help officers to identify applications that are routine and straightforward for faster processing and to triage files that are more complex for a more thorough review,” he wrote. 

Algorithms never reject applicants, or recommend they be rejected, MacDonald emphasized. They just pass along the applications that tick all the simple boxes.

The Citizen Lab at the University of Toronto produced a high-profile report on the potentially extreme dangers of letting AIs make determinations, titled “Bots at the Gate.” They might not have been doing so in 2018, but the prospect was there.

“The nuanced and complex nature of many refugee and immigration claims may be lost on these technologies,” it warned, “leading to serious breaches of internationally and domestically protected human rights, in the form of bias, discrimination, privacy breaches, due process and procedural fairness issues, among others. These systems will have life-and-death ramifications for ordinary people, many of whom are fleeing for their lives.”

The government needed a “binding, government-wide standard or directive for the use of automated decision systems,” the report said, one that would include limits on their use and requirements that the public be told just how they worked, right down to the source code.

Casovan—who has since left the government and is the executive director of the fledgling Responsible AI Institute—said the public service was doubly spooked at the time by the federal government’s massive overhaul of its systems for paying workers. That project took a mishmash of legacy software and complex rules and combined them all into one central system called Phoenix, which didn’t work.

Throw in international efforts at the G7—promoted by Canada and France, which led the group in successive years—to guide the use of artificial intelligence in governments, and there were a lot of reasons to try to get a handle on how algorithms were already being used and set some rules, Casovan said. 

“We had the opportunity then to create policies that really looked to oversee the management of the government’s use of automated decision-making systems,” she said. “To put guardrails around the experimentation and use of these systems, especially where we had limited knowledge—especially if there were going to be learning components in them—how they were going to behave and, ultimately, the impact to Canadians.”

The thrust of the directive that resulted is that when an algorithm is going to make or assist with decisions that affect people outside the government, the people designing it need to subject their work to scrutiny proportional to the decisions’ impact.

Deshaies offered up as a Level 1 decision whether someone is eligible for a $3 rebate on an energy-efficient lightbulb.

“At levels 3 and 4, it could be things like getting a visa for coming to Canada or imprisonment decisions, things of that nature,” he said.

High-impact, complex algorithms would demand intense scrutiny of their inputs, processes and outputs, and reviews by multiple experts, including from outside the government.

Deshaies recently wrote a plain-language summary of the directive for the government’s data scientists, with a cautionary example from Amazon, which stopped using a learning algorithm to screen job applicants after discovering it was favouring men. 

Why? The data from previous applications that had been used to train it favoured men, so the algorithm learned that Amazon wasn’t keen on applicants with, for instance, degrees from women’s universities and colleges. Rather than delivering blind justice, Amazon’s AI taught itself how to replicate failure.

Deshaies said breaking complex processes into distinct steps is one solution.

“For the time being, these systems tend to support decision making, as opposed to fully automating,” he said. 

The federal Conservatives’ election platform promises to use “technology to speed application vetting by immigration officers,” so this approach has support on both sides of the House of Commons.

More than a year after the directive on automated decision-making took effect, Casovan said she’s disappointed so few cases have made it through the assessment process. Which she acknowledged can be intimidating, despite her efforts to make it less burdensome for simple applications.

Gift the full article

“I think that there’s a lot that can be improved. And that’s kind of what I’m working on right now. But the intent and the concepts are there, and I think that if they had been working on this over the last two years, they would have much better products in terms of best practices and how to implement these things,” she said.

Deshaies, who’s in the thick of the work, said Canada still is a leader.

“We were one of the first adopting mandatory policy instruments—a lot of nations have issued principles, things like that. So I think we do have some leadership in that space,” he said. “The systems have taken time to develop. Now that they’re being developed, they’re reaching production, we’ll see evidence of compliance.”

#artificial intelligence #federal government #immigration

Sponsored Content

How to shift your workforce from AI experimentation to adoption

By Jessica Aftimus Rosa

The real-world economic offshoots of sovereign AI

By Deborah Aarts
Illustration of a plane flying above a mailbox

Increasing healthcare access across Canada

By Deborah Aarts
Paid promotional content

Loading...

Thanks for sharing!

You have shared 5 articles this month and reached the maximum amount of shares available.

Close
This account has reached its share limit.

If you would like to purchase a sharing license please contact The Logic support at [email protected].

Close
Want to share this article?

Upgrade to all-access now

Close
Gift the full article!

You have gifted 0 article(s) this month and have 5 remaining.

Copy link and gift
Copy Link
Email to a friend
Send Email
Gift on Social Media

Recipients will be able to read the full text of the article after submitting their email address. They will not have access to other articles or subscriber benefits.

Photo: Illustration by Hanna Lee for The Logic; Robotic arm by 3alexd/iStock and passport by Kelly Sikkema/Unsplash

Most Popular This Week

A shot looking down the length of a tunnel with conduits along its sides and railroad-style tracks on its floor. There are two workers in the distance wearing hardhats and headlights and walking toward the camera.
The Big Read

Cameco’s high-stakes bid to be Canada’s next nuclear champion

By Joanna Smith
A group shot of people, many wearing branding black winter jackets, posed in front of an armoured vehicle. Several are sitting on the vehicle, in front of its gun turret.
News

MaRS joins forces with accelerator Vimy Forge to help defence startups

By David Reevely
A side shot of Mark Carney walking up a set of stone steps into the Parliament buildings. He's wearing a dark suit. The straps of a case or tote bag are visible in his right hand.
News

How the Liberals plan to keep their promise on one-year project approvals

By David Reevely
A shot of Dinesh Kumar Patnaik speaking to an interview while seated at an office desk. He's wearing a jacket and open-necked shirt and there is a small Indian flag among the objects on the desk.
Exclusive

India seeks tariff rate quotas for crops, recognition of its economic heft as trade talks with Canada near finish line

By Joanna Smith

In-depth, agenda-setting reporting

Great journalism delivered straight to your inbox.

News

Canada’s landmark ESG case heads to a final decision

By Anita Balakrishnan

Briefing

Matthew Proud-led SPAC threatens to pull out of merger with UniUni

By Catherine McIntyre   |   Sep 25, 2026

Ottawa awards Mitacs $162M to create AI-focused work placements

By Murad Hemmadi   |   Sep 25, 2026

Ontario puts $30M into Vector Institute for AI adoption

By Murad Hemmadi   |   Sep 25, 2026

Best business newsletter in Canada

Get up to speed in minutes with insights and analysis on the most important stories of the day, every weekday.

Exclusive events

See the bigger picture with reporters and industry experts in subscriber-exclusive events.

Membership in The Logic Council

Membership provides access to our popular Slack channel, participation in subscriber surveys and invitations to exclusive events with our journalists and special guests.

Recent Popular Stories

News

Trump steps up effort to block Canadian goods from U.S. procurement—but his order leaves a lot untouched

By Joanna Smith   |   Sep 17, 2026
A nighttime shot of Donald Trump holding his hand while speaking. He's wearing a red hat with "USA" emblazoned on the front.
The Big Read

Cameco’s high-stakes bid to be Canada’s next nuclear champion

By Joanna Smith   |   Sep 23, 2026
A shot looking down the length of a tunnel with conduits along its sides and railroad-style tracks on its floor. There are two workers in the distance wearing hardhats and headlights and walking toward the camera.
Analysis

The ‘red line’ in U.S. trade talks that sets Canada apart from other countries

By Joanna Smith   |   Sep 14, 2026
Donald Trump holding up a board bearing the names of countries and tariff rates. He's standing behind a lectern bearing the U.S. presidential seal.
Exclusive

India seeks tariff rate quotas for crops, recognition of its economic heft as trade talks with Canada near finish line

By Joanna Smith   |   Sep 21, 2026
A shot of Dinesh Kumar Patnaik speaking to an interview while seated at an office desk. He's wearing a jacket and open-necked shirt and there is a small Indian flag among the objects on the desk.
Commentary

Carmichael: The Canada Investment Summit did what it needed to do

By Kevin Carmichael   |   Sep 18, 2026
Prime Minister Mark Carney, wearing a dark suit and tie, stands at a wooden podium in a dark room. The silhouettes of audience members are visible in the foreground. In the background, there is a backdrop depicting a cloudy sky and mountains.
News

MaRS joins forces with accelerator Vimy Forge to help defence startups

By David Reevely   |   Sep 22, 2026
A group shot of people, many wearing branding black winter jackets, posed in front of an armoured vehicle. Several are sitting on the vehicle, in front of its gun turret.

Canada's most influential executives and policymakers are reading The Logic

  • CPP Investments
  • Sun Life Financial
  • C100
  • Amazon
  • Telus
  • Mastercard
  • bdc
  • Shopify
  • Rogers
  • RBC
  • General Motors
  • MaRS
  • Government of Canada
  • Uber
  • Loblaw Companies Limited
logic-logo

Canada's Business and Tech Newsroom

100% human-crafted journalism

Newsroom

  • News Tips
  • AI Policy
  • Editorial Disclosures
  • Story Pitches

Company

  • About Us
  • Terms of Service
  • Privacy Statement
  • Corporate Information

Contact

  • Contact Us
  • Advertise
  • FAQs
  • Work at The Logic

© 2026 The Logic Inc. All Rights Reserved.

Trusted by leaders

Error

Account creation failed.

Please email us at [email protected].

Create Account

[wppb-register form_name=”cozmo-registration-form-for-modal”]

I do have an account
Login

The username or email you provided does not exist. Please try again.

or

[wppb-login]

I don’t have an account