Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REVIEW]: Delve: Neural Network Feature Variance Analysis #3992

Closed
40 tasks done
whedon opened this issue Dec 14, 2021 · 59 comments
Closed
40 tasks done

[REVIEW]: Delve: Neural Network Feature Variance Analysis #3992

whedon opened this issue Dec 14, 2021 · 59 comments
Assignees
Labels
accepted published Papers published in JOSS Python recommend-accept Papers recommended for acceptance in JOSS. review TeX

Comments

@whedon
Copy link

whedon commented Dec 14, 2021

Submitting author: @JustinShenk (Justin Shenk)
Repository: https://github.com/delve-team/delve
Version: v0.1.49
Editor: @rkurchin
Reviewer: @sambitdash, @dionhaefner
Archive: 10.5281/zenodo.5865465

⚠️ JOSS reduced service mode ⚠️

Due to the challenges of the COVID-19 pandemic, JOSS is currently operating in a "reduced service mode". You can read more about what that means in our blog post.

Status

status

Status badge code:

HTML: <a href="https://joss.theoj.org/papers/364a58b2dc11293da55bd26af2d3f503"><img src="https://joss.theoj.org/papers/364a58b2dc11293da55bd26af2d3f503/status.svg"></a>
Markdown: [![status](https://joss.theoj.org/papers/364a58b2dc11293da55bd26af2d3f503/status.svg)](https://joss.theoj.org/papers/364a58b2dc11293da55bd26af2d3f503)

Reviewers and authors:

Please avoid lengthy details of difficulties in the review thread. Instead, please create a new issue in the target repository and link to those issues (especially acceptance-blockers) by leaving comments in the review thread below. (For completists: if the target issue tracker is also on GitHub, linking the review thread in the issue or vice versa will create corresponding breadcrumb trails in the link target.)

Reviewer instructions & questions

@sambitdash & @dionhaefner, please carry out your review in this issue by updating the checklist below. If you cannot edit the checklist please:

  1. Make sure you're logged in to your GitHub account
  2. Be sure to accept the invite at this URL: https://github.com/openjournals/joss-reviews/invitations

The reviewer guidelines are available here: https://joss.readthedocs.io/en/latest/reviewer_guidelines.html. Any questions/concerns please let @rkurchin know.

Please start on your review when you are able, and be sure to complete your review in the next six weeks, at the very latest

Review checklist for @sambitdash

✨ Important: Please do not use the Convert to issue functionality when working through this checklist, instead, please open any new issues associated with your review in the software repository associated with the submission. ✨

Conflict of interest

  • I confirm that I have read the JOSS conflict of interest (COI) policy and that: I have no COIs with reviewing this work or that any perceived COIs have been waived by JOSS for the purpose of this review.

Code of Conduct

General checks

  • Repository: Is the source code for this software available at the repository url?
  • License: Does the repository contain a plain-text LICENSE file with the contents of an OSI approved software license?
  • Contribution and authorship: Has the submitting author (@JustinShenk) made major contributions to the software? Does the full list of paper authors seem appropriate and complete?
  • Substantial scholarly effort: Does this submission meet the scope eligibility described in the JOSS guidelines

Functionality

  • Installation: Does installation proceed as outlined in the documentation?
  • Functionality: Have the functional claims of the software been confirmed?
  • Performance: If there are any performance claims of the software, have they been confirmed? (If there are no claims, please check off this item.)

Documentation

  • A statement of need: Do the authors clearly state what problems the software is designed to solve and who the target audience is?
  • Installation instructions: Is there a clearly-stated list of dependencies? Ideally these should be handled with an automated package management solution.
  • Example usage: Do the authors include examples of how to use the software (ideally to solve real-world analysis problems).
  • Functionality documentation: Is the core functionality of the software documented to a satisfactory level (e.g., API method documentation)?
  • Automated tests: Are there automated tests or manual steps described so that the functionality of the software can be verified?
  • Community guidelines: Are there clear guidelines for third parties wishing to 1) Contribute to the software 2) Report issues or problems with the software 3) Seek support

Software paper

  • Summary: Has a clear description of the high-level functionality and purpose of the software for a diverse, non-specialist audience been provided?
  • A statement of need: Does the paper have a section titled 'Statement of Need' that clearly states what problems the software is designed to solve and who the target audience is?
  • State of the field: Do the authors describe how this software compares to other commonly-used packages?
  • Quality of writing: Is the paper well written (i.e., it does not require editing for structure, language, or writing quality)?
  • References: Is the list of references complete, and is everything cited appropriately that should be cited (e.g., papers, datasets, software)? Do references in the text use the proper citation syntax?

Review checklist for @dionhaefner

✨ Important: Please do not use the Convert to issue functionality when working through this checklist, instead, please open any new issues associated with your review in the software repository associated with the submission. ✨

Conflict of interest

  • I confirm that I have read the JOSS conflict of interest (COI) policy and that: I have no COIs with reviewing this work or that any perceived COIs have been waived by JOSS for the purpose of this review.

Code of Conduct

General checks

  • Repository: Is the source code for this software available at the repository url?
  • License: Does the repository contain a plain-text LICENSE file with the contents of an OSI approved software license?
  • Contribution and authorship: Has the submitting author (@JustinShenk) made major contributions to the software? Does the full list of paper authors seem appropriate and complete?
  • Substantial scholarly effort: Does this submission meet the scope eligibility described in the JOSS guidelines

Functionality

  • Installation: Does installation proceed as outlined in the documentation?
  • Functionality: Have the functional claims of the software been confirmed?
  • Performance: If there are any performance claims of the software, have they been confirmed? (If there are no claims, please check off this item.)

Documentation

  • A statement of need: Do the authors clearly state what problems the software is designed to solve and who the target audience is?
  • Installation instructions: Is there a clearly-stated list of dependencies? Ideally these should be handled with an automated package management solution.
  • Example usage: Do the authors include examples of how to use the software (ideally to solve real-world analysis problems).
  • Functionality documentation: Is the core functionality of the software documented to a satisfactory level (e.g., API method documentation)?
  • Automated tests: Are there automated tests or manual steps described so that the functionality of the software can be verified?
  • Community guidelines: Are there clear guidelines for third parties wishing to 1) Contribute to the software 2) Report issues or problems with the software 3) Seek support

Software paper

  • Summary: Has a clear description of the high-level functionality and purpose of the software for a diverse, non-specialist audience been provided?
  • A statement of need: Does the paper have a section titled 'Statement of Need' that clearly states what problems the software is designed to solve and who the target audience is?
  • State of the field: Do the authors describe how this software compares to other commonly-used packages?
  • Quality of writing: Is the paper well written (i.e., it does not require editing for structure, language, or writing quality)?
  • References: Is the list of references complete, and is everything cited appropriately that should be cited (e.g., papers, datasets, software)? Do references in the text use the proper citation syntax?
@whedon
Copy link
Author

whedon commented Dec 14, 2021

Hello human, I'm @whedon, a robot that can help you with some common editorial tasks. @sambitdash, @dionhaefner it looks like you're currently assigned to review this paper 🎉.

⚠️ JOSS reduced service mode ⚠️

Due to the challenges of the COVID-19 pandemic, JOSS is currently operating in a "reduced service mode". You can read more about what that means in our blog post.

⭐ Important ⭐

If you haven't already, you should seriously consider unsubscribing from GitHub notifications for this (https://github.com/openjournals/joss-reviews) repository. As a reviewer, you're probably currently watching this repository which means for GitHub's default behaviour you will receive notifications (emails) for all reviews 😿

To fix this do the following two things:

  1. Set yourself as 'Not watching' https://github.com/openjournals/joss-reviews:

watching

  1. You may also like to change your default settings for this watching repositories in your GitHub profile here: https://github.com/settings/notifications

notifications

For a list of things I can do to help you, just type:

@whedon commands

For example, to regenerate the paper pdf after making changes in the paper's md or bib files, type:

@whedon generate pdf

@whedon
Copy link
Author

whedon commented Dec 14, 2021

Wordcount for paper.md is 1107

@whedon
Copy link
Author

whedon commented Dec 14, 2021

Software report (experimental):

github.com/AlDanial/cloc v 1.88  T=0.10 s (528.7 files/s, 50917.2 lines/s)
-------------------------------------------------------------------------------
Language                     files          blank        comment           code
-------------------------------------------------------------------------------
Python                          19            491            579           2291
reStructuredText                21            296            251            361
TeX                              1             18              0            231
Markdown                         2             61              0            214
YAML                             7             12              6            184
DOS Batch                        1              8              1             26
make                             1              4              7              9
Jupyter Notebook                 1              0             52              2
-------------------------------------------------------------------------------
SUM:                            53            890            896           3318
-------------------------------------------------------------------------------


Statistical information for the repository 'c6b96ae439c5a7d5fac40dc4' was
gathered on 2021/12/14.
The following historical commit information, by author, was found:

Author                     Commits    Insertions      Deletions    % of changes
Cypher42                        64          3500           2894           46.33
Johan Byttner                    3           203            127            2.39
Justin Shenk                   161          4437           1855           45.59
MLRichter                       18           350            205            4.02
Wolf Byttner                     5           171             26            1.43
mmarcinkiewicz                   1            12             20            0.23

Below are the number of rows from each author that have survived and are still
intact in the current revision:

Author                     Rows      Stability          Age       % in comments
Johan Byttner               155           76.4         18.9                0.65
Justin Shenk               1911           43.1          8.9               11.25
MLRichter                  1178          336.6         19.3                6.71
Wolf Byttner                117           68.4         13.1                1.71

@whedon
Copy link
Author

whedon commented Dec 14, 2021

👉📄 Download article proof 📄 View article proof on GitHub 📄 👈

@whedon
Copy link
Author

whedon commented Dec 14, 2021

Reference check summary (note 'MISSING' DOIs are suggestions that need verification):

OK DOIs

- 10.1109/wacv.2018.00097 is OK
- 10.1007/s11263-019-01228-7 is OK
- 10.5281/zenodo.5233860 is OK
- 10.1007/978-3-030-86340-1_11 is OK
- 10.1109/cvpr.2016.319 is OK

MISSING DOIs

- None

INVALID DOIs

- None

@sambitdash
Copy link

Hi @rkurchin,

I reviewed the software paper.

There are some typos. They are identified and a PR is submitted for easier recognition and fixing. delve-team/delve#53.

Although the paper talks about the limitations of the other techniques, it does not have a reference to a numerical comparison of those techniques with the proposed technique. If that has not been carried out, maybe that should be mentioned as a scope of further work in the paper.

@JustinShenk
Copy link

Hi @sambitdash,
Thank you for your valuable suggestions and improvements. The PR has been merged and a note added in delve-team/delve@8117565 regarding the scope of further work.

@JustinShenk
Copy link

@whedon generate pdf

@whedon
Copy link
Author

whedon commented Dec 21, 2021

👉📄 Download article proof 📄 View article proof on GitHub 📄 👈

@dionhaefner
Copy link

Hey @JustinShenk, congratulations on the nice library you and your collaborators have built!

I opened some issues related to the code and docs. On top of that, here are some points I had regarding the paper:

  • I think you do a good job of summarizing the status quo, but what I find missing is a clear statement on what delve is trying to be. Is delve a tool to monitor layer saturation? Is it a general monitoring tool for layer statistics? From the REAMDE and docs I thought it was the former, but the paper makes it sounds like the goal is the latter.
  • If your goal for delve is to become a general one-stop tool for layer statistics you will need to lay out your plans in a lot more detail. What are the next steps towards this? Adding more layer types can't be the only thing left to do. (I would probably suggest you frame this mostly as a tool for layer saturation though, and the rest as the cherry on top.)
  • The section "Eigendecomposition of the feature covariance matrix" does nothing for me personally, because it is too brief to understand what's going on. Either remove it and refer to the paper or at least explain all quantities and operators in the equation.

@whedon
Copy link
Author

whedon commented Dec 28, 2021

👋 @sambitdash, please update us on how your review is going (this is an automated reminder).

@whedon
Copy link
Author

whedon commented Dec 28, 2021

👋 @dionhaefner, please update us on how your review is going (this is an automated reminder).

@MLRichter
Copy link

Hello,
sorry for the delayed answer during Christmastime.
Hope you all had a great holiday season!
Thank you for your feedback, I have compiled some answers to your remarks:

  1. What is delve trying to be?
    It is primarily a tool for monitoring saturation and derived information like the intrinsic dimensionality and some visualizations, and this is its primary goal.
    It CAN be used for experiment control as well. However, this can be considered as a freebie, that just comes with the logic necessary for the former. There are more advanced solutions for pure experiment control and monitoring like MLFlow and the stuff from weights and biases for example.
    This is also the reason why we work with the writer-patterns, which makes it easy to hook delve into any data sink and by extension monitoring system, which we think is important for easy integration into existing code.
    That being said, I agree that it should be clarified in the text, that we are mainly providing interesting statistics based on the spectrum of the latent representations.

  2. Regarding the topic "Eigendecomposition of the feature covariance matrix"
    I agree with the reviewer that this chapter is either undersized or unnecessary.
    I think it is essential to elaborate on the way the covariance matrix is computed, since its memory and computationally efficient computation during training is one of the selling points of delve.
    Thus, I would like to expand in this chapter and elaborate the computation of the covariance matrix in greater detail. Furthermore highlighting the benefits of our approximation method when it comes to practical usage.

@MLRichter
Copy link

Happy New Year everyone,
This pull request, contains the reworked text Eigendecomposition:
delve-team/delve#60
Please let me know if this is sufficient!

@MLRichter
Copy link

@whedon generate pdf

@rkurchin
Copy link

@whedon set v0.1.49 as version

@whedon
Copy link
Author

whedon commented Jan 17, 2022

OK. v0.1.49 is the version.

@rkurchin
Copy link

@whedon set https://zenodo.org/record/5865465 as archive

@whedon
Copy link
Author

whedon commented Jan 17, 2022

https://zenodo.org/record/5865465 doesn't look like an archive DOI.

@rkurchin
Copy link

@whedon set 10.5281/zenodo.5865465 as archive

@whedon
Copy link
Author

whedon commented Jan 17, 2022

OK. 10.5281/zenodo.5865465 is the archive.

@rkurchin
Copy link

@whedon generate pdf

@whedon
Copy link
Author

whedon commented Jan 17, 2022

👉📄 Download article proof 📄 View article proof on GitHub 📄 👈

@rkurchin
Copy link

A few editorial suggestions/remarks for the manuscript:

  • line 44: should read "needs to be able to be used with as little computational and workflow overhead as possible" (first "as" currently missing)
  • 48: "known" used twice, remove one of them
  • 60: I would rephrase to "Delve directly hooks into..."
  • 70-71: I would rephrase to "has exploded in recent years"
  • 72: Pluralize "Publication"
  • 76: "hinting on" should be "hinting at"
  • 78: remove "an"
  • 82-83: JFYI, it's not necessary to explicitly link the Zenodo here as it will be in the frontmatter of the paper. That being said, it's no problem if you want to!
  • 104-105: Phrasing here is a bit confusing because you say you're going to compute Q(Z_l, Z_l) but then show an equation for Q(X,Y). I would rephrase this section to start with that equation and just say something like "We wish to compute the covariance between two random variables X and Y, given by..." and then remark that to avoid having to store all the samples in memory, we approximate by...etc.
  • 105-106: I would add somewhere the formal definitions of x_i, y_i for completeness (I recognize it's probably obvious to most readers, but it still feels weird to me not to have it there)
  • 119: "asynchronous" should be "asynchronously"
  • 120: "numeric" should be "numerical"
  • 121: the phrase "by default" should be moved to the end of the sentence (after "floating-point values")
  • 126-127: I'm not sure what's happening notationally with x vs. dot, but I interpret both of those as multiplication, so some clarification is needed one why these are different.

@rkurchin
Copy link

@JustinShenk reminder to finish this up, we're almost there! 🚀

@MLRichter
Copy link

delve-team/delve#65

This PR should address all remaining issues.
Please briefly read through my changed made in line 104-105 regarding the covariance matrix and let me know if this satisfies you.

@MLRichter
Copy link

@whedon generate pdf

@whedon
Copy link
Author

whedon commented Jan 24, 2022

👉📄 Download article proof 📄 View article proof on GitHub 📄 👈

@rkurchin
Copy link

@whedon check references

@whedon
Copy link
Author

whedon commented Jan 24, 2022

Reference check summary (note 'MISSING' DOIs are suggestions that need verification):

OK DOIs

- 10.1109/wacv.2018.00097 is OK
- 10.1007/s11263-019-01228-7 is OK
- 10.5281/zenodo.5233860 is OK
- 10.1007/978-3-030-86340-1_11 is OK
- 10.1109/cvpr.2016.319 is OK

MISSING DOIs

- None

INVALID DOIs

- None

@rkurchin
Copy link

@whedon recommend-accept

@whedon
Copy link
Author

whedon commented Jan 24, 2022

Attempting dry run of processing paper acceptance...

@whedon whedon added the recommend-accept Papers recommended for acceptance in JOSS. label Jan 24, 2022
@whedon
Copy link
Author

whedon commented Jan 24, 2022

Reference check summary (note 'MISSING' DOIs are suggestions that need verification):

OK DOIs

- 10.1109/wacv.2018.00097 is OK
- 10.1007/s11263-019-01228-7 is OK
- 10.5281/zenodo.5233860 is OK
- 10.1007/978-3-030-86340-1_11 is OK
- 10.1109/cvpr.2016.319 is OK

MISSING DOIs

- None

INVALID DOIs

- None

@whedon
Copy link
Author

whedon commented Jan 24, 2022

👋 @openjournals/joss-eics, this paper is ready to be accepted and published.

Check final proof 👉 openjournals/joss-papers#2905

If the paper PDF and Crossref deposit XML look good in openjournals/joss-papers#2905, then you can now move forward with accepting the submission by compiling again with the flag deposit=true e.g.

@whedon accept deposit=true

@arfon
Copy link
Member

arfon commented Jan 29, 2022

@whedon accept deposit=true

@whedon whedon added accepted published Papers published in JOSS labels Jan 29, 2022
@whedon
Copy link
Author

whedon commented Jan 29, 2022

Doing it live! Attempting automated processing of paper acceptance...

@whedon
Copy link
Author

whedon commented Jan 29, 2022

🐦🐦🐦 👉 Tweet for this paper 👈 🐦🐦🐦

@whedon
Copy link
Author

whedon commented Jan 29, 2022

🚨🚨🚨 THIS IS NOT A DRILL, YOU HAVE JUST ACCEPTED A PAPER INTO JOSS! 🚨🚨🚨

Here's what you must now do:

  1. Check final PDF and Crossref metadata that was deposited 👉 Creating pull request for 10.21105.joss.03992 joss-papers#2919
  2. Wait a couple of minutes, then verify that the paper DOI resolves https://doi.org/10.21105/joss.03992
  3. If everything looks good, then close this review issue.
  4. Party like you just published a paper! 🎉🌈🦄💃👻🤘

Any issues? Notify your editorial technical team...

@arfon
Copy link
Member

arfon commented Jan 29, 2022

@sambitdash, @dionhaefner – many thanks for your reviews here and to @rkurchin for editing this submission! JOSS relies upon the volunteer effort of people like you and we simply wouldn't be able to do this without you ✨

@JustinShenk – your paper is now accepted and published in JOSS ⚡🚀💥

@arfon arfon closed this as completed Jan 29, 2022
@whedon
Copy link
Author

whedon commented Jan 29, 2022

🎉🎉🎉 Congratulations on your paper acceptance! 🎉🎉🎉

If you would like to include a link to your paper from your README use the following code snippets:

Markdown:
[![DOI](https://joss.theoj.org/papers/10.21105/joss.03992/status.svg)](https://doi.org/10.21105/joss.03992)

HTML:
<a style="border-width:0" href="https://doi.org/10.21105/joss.03992">
  <img src="https://joss.theoj.org/papers/10.21105/joss.03992/status.svg" alt="DOI badge" >
</a>

reStructuredText:
.. image:: https://joss.theoj.org/papers/10.21105/joss.03992/status.svg
   :target: https://doi.org/10.21105/joss.03992

This is how it will look in your documentation:

DOI

We need your help!

Journal of Open Source Software is a community-run journal and relies upon volunteer effort. If you'd like to support us please consider doing either one (or both) of the the following:

@JustinShenk
Copy link

Thank you for all your guidance for this paper 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted published Papers published in JOSS Python recommend-accept Papers recommended for acceptance in JOSS. review TeX
Projects
None yet
Development

No branches or pull requests

7 participants