Skip to main content

Aligning Human & Machine vision

Project description

Aligning Machine & Human Vision

Thomas Fel*, Ivan Felipe Rodriguez*, Drew Linsley*, Thomas Serre

Read the official paper »
Explore results . Documentation . Models zoo . Tutorials

Paper summary

The many successes of deep neural networks (DNNs) over the past decade have largely been driven by computational scale rather than insights from biological intelligence. Here, we explore if these trends have also carried concomitant improvements in explaining visual strategies underlying human object recognition. We do this by comparing two related but distinct properties of visual strategies in humans and DNNs: where they believe important visual features are in images and how they use those features to categorize objects. Across 85 different DNNs and three independent datasets measuring human visual strategies on ImageNet, we find a trade-off between DNN top-1 categorization accuracy and their alignment with humans. State-of-the-art DNNs are progressively becoming less aligned with humans. We rectify this growing issue by introducing the harmonization procedure: a general-purpose training routine that aligns DNN and human visual strategies while improving object classification performance.

Aligning the Gradients

Human and DNNs rely on different features to recognize objects. In contrast, our neural harmonizer aligns DNN feature importance with humans. Gradients are smoothed from both humans and DNNs with a Gaussian kernel to improve visualization.

Breaking the trade-off between performance and alignment

The trade-off between DNN performance and alignment with human feature importance from the ClickMe dataset. Human feature alignment is the mean Spearman correlation between human and DNN feature importance maps, normalized by the average inter-rater alignment of humans. The grey-shaded region illustrates the convex hull of the trade-off between ImageNet accuracy and human feature alignment. All the models trained with the harmonization procedure are more accurate and aligned than versions of those models trained only for classification. Arrows denote a shift in performance after training with the harmonization procedure.

🗞️ Citation

If you use or build on our work as part of your workflow in a scientific publication, please consider citing the official paper:

@article{fel2022aligning,
  title={Aligning deep neural network strategies for object recognition with humans},
  author={Fel, Thomas and Felipe, Ivan and Linsley, Drew and Serre, Thomas},
  journal={Advances in Neural Information Processing Systems (NeurIPS)},
  year={2022}
}

📝 License

The package is released under MIT license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Harmonization-0.0.2.tar.gz (11.9 kB view details)

Uploaded Source

Built Distribution

Harmonization-0.0.2-py3-none-any.whl (17.4 kB view details)

Uploaded Python 3

File details

Details for the file Harmonization-0.0.2.tar.gz.

File metadata

  • Download URL: Harmonization-0.0.2.tar.gz
  • Upload date:
  • Size: 11.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.7

File hashes

Hashes for Harmonization-0.0.2.tar.gz
Algorithm Hash digest
SHA256 820a6c4c7c863f8e6765b6f961ddce3ec3150beccba29769b1087d8f4c405cf6
MD5 fe969d22347963a451ac91c7794e71bd
BLAKE2b-256 342a166c112b9cb047c9da5a5ce17b9a24b1aa0697284f21fee8bd63d1e95aed

See more details on using hashes here.

Provenance

File details

Details for the file Harmonization-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for Harmonization-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a542101641457afba118579a44eb9b66b6ae4d785f5bb10354e4098c078fee36
MD5 c497b77aefa391a3e5e8e5bef877ad1c
BLAKE2b-256 69b532a5ce0e683ea7a4f8dd925e1bcd5034185a72d823e653758035da0d3e7b

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page