Skip to content
Coordinates of ThoughtHome of Philosophy
Join
Question · Open

Our model never sees anyone’s religion, but it can guess it from what they buy. Is an inference a disclosure?

Our team builds models on loyalty-card data for a retail group in Kuala Lumpur. By policy we never collect race or religion. They are not columns in any table.

Last month a colleague showed, as a curiosity, that a simple model could predict a customer's religion from their basket with very high accuracy: what they buy in the weeks before certain festivals, which certification marks appear on their groceries, whether their spending pauses at certain hours during one month of the year. Nobody told us. The data told us.

My manager says we have done nothing wrong, because we never collected religion. I'm not so sure. Once the model exists, we know something people never gave us.

Helen Nissenbaum's idea of contextual integrity helps me here: privacy is not about secrecy but about information flowing according to the norms of the context it came from. A grocery receipt shared for points was never meant to answer a question about faith.

And from my own tradition: the Qur'an forbids spying (wa lā tajassasū, 49:12), and al-Ghazālī treats prying into what people have not shown as a serious wrong.

So: is inferring a sensitive fact a kind of disclosure? Was the religion "in" the data before we built the model, or did we put it there?

LikeAnswerSaveFollow3 answers

Join the conversation: members reply here, and joining is free. Reading is always free.

Join free to reply Sign in

3 answers

  1. Pieter van Dijkhuizen

    Fellow

    From the engineering side, the uncomfortable fact is that "we never collected it" protects almost nothing. A model trained on rich behavioural data will usually encode a protected attribute somewhere in its internal representation whether or not anyone labels it. The fairness literature calls the policy of simply leaving the column out "fairness through unawareness", and it has a poor record.

    The paradox is that to check whether your model is discriminating by religion, you may need to collect religion. So your manager's principle and your audit will eventually collide.

  2. Bilal Rashid

    Fellow

    There is a well-known report about ʿUmar that fits your question closely. He heard noise from a house at night, climbed over the wall, and found men drinking. They answered him: if we did one wrong, you did three. God said do not spy, and you spied; God said enter houses by their doors, and you climbed the wall; God said greet the people of a house, and you did not. He left them.

    The lesson the scholars drew is that a true thing obtained by prying is still obtained by prying. Your model climbed the wall. That it found something true doesn't make the climb permissible.

  3. Nur Aisyah Rahman

    Fellow

    Pieter, that collision has already happened in a meeting, and nobody enjoyed it. Bilal, I'm going to tell the ʿUmar story at our next ethics review. "The model climbed the wall" may be the most useful sentence I've been given this year.