An Algorithmic Approach to Correct Bias in Urban Transportation Datasets

CDS’ new faculty member Julia Stoyanovich contributes to research that aims to remove specific biases from aggregated datasets

While a significant amount of attention and research has addressed individual privacy concerns in private companies’ datasets, data owners and publishers also want to avoid revealing certain patterns — even in anonymized datasets — that might compromise a competitive advantage or perpetuate discrimination against any group of people. Data published by urban transportation companies is highly valuable for research, policy, and public accountability. Yet concerns over revealing patterns of bias, even when the company is not responsible for these patterns, often hamper efforts to increase transparency.

To assuage these concerns for private urban transportation companies, researchers have developed an algorithm that removes selected biases from datasets while retaining the utility of the data. The researchers include Julia Stoyanovich*, CDS Assistant Professor of Data Science, Computer Science and Engineering, along with Luke Rodriguez, Babak Salimi, and Bill Howe from University of Washington, and Haoye Ping from Drexel University.

They evaluated their algorithm by applying it to two real datasets, a dockless bike share program in Seattle and taxi data in New York, and one synthetic rideshare dataset. Their goal was to remove sensitive causal dependencies — patterns that might reveal strategy, violate contracts, or misrepresent the behavior of a certain demographic — without affecting relationships in the data for other types of useful analysis.

The researchers augmented the real Origin-Destination datasets (typical format for transportation data: sets of location pairs with traffic flow between locations) with metadata (gender, company, origin/destination attributes) and applied their algorithm. To ensure that the resulting bias-corrected datasets were still usable, they calculated whether the distribution of traffic had been affected “too much,” a calculation they determined by comparing samples from the original and adjusted datasets.

For the synthetic rideshare dataset, the task was to remove the causal influence of gender on rating; for the Seattle bike share dataset, the task was to remove the effect of company on gender, but not the overall pattern of gender on ridership; for the NYC taxi dataset, they remove the influence of distance on tip amount. Overall, the researchers found that the error introduced by their algorithm was less than what would be expected from sampling.

In the future, Stoyanovich and her colleagues hope to apply their algorithmic approach to other domains for preprocessing data to be publicly released. Their “broader vision is to develop a new kind of open data system that can spur data science by generating safe and useful synthetic datasets on demand for specific scenarios, using real data as input.”

*This work was completed while Julia Stoyanovich was still at Drexel University. It is part of an NSF-funded project on foundations of responsible data management and follows work on privacy-preserving synthetic data generation. See here and here to read more about that work.

By Paul Oliver




This is the official research blog of the NYU Center for Data Science (CDS). Established in 2013, we are a leading data science training and research facility, offering a MS in Data Science and, as of 2017, one of the nation’s first universities to offer a Ph.D. in Data Science.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
NYU Center for Data Science

NYU Center for Data Science

Official account of the Center for Data Science at NYU, home of the Undergraduate, Master’s, and Ph.D. programs in Data Science.

More from Medium

Three Research Papers From 2021 That Highlight Key Data Science Trends

Con-GRAD-ulations to CDS’s 2022 Graduates!

Leading by Example to Improve Civic Life

Data Science Predictions for 2022