Mohammad Pezeshki
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Make a copy
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Make a copy Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    # Introduction Over the last decade, a surge in the amount of available data combined with increasingly powerful computational resources has resulted in neural networks achieving significant gains across a wide range of tasks. [citations] Despite their outstanding empirical success, neural networks remain unpredictable in many ways. It is not entirely clear how a neural network reacts to a particular alternation in the training algorithm, its regularization, or its architecture. As an example, the batch normalization method [citations] has been remarkably successful and is widely used in practice. Nevertheless, we still cannot pinpoint the underlying reasons behind its effectiveness. Another example is the existence of adversarial examples [citations]. It is surprising to observe how drastically a neural network's prediction changes when fed with adversarial examples that are imperceptible to humans. Theoretical understanding of neural networks enables us to combat such unpredictabilities and to guarantee or assess neural networks' reliability. Systematic study of neural network's learning dynamics would pave the path for theoretical guarantees and navigates practitioners towards models with improved reliability and performance. ### History of theoretical studies Theoretical works on neural networks started more than two decades ago with studies on the capacity and generalization of shallow networks [citations]. After neural networks regained popularity in the 2010s, seminal studies [citations] investigated the learning dynamics of deep linear neural networks, showing that several intuitions of deep linear models carry over to more complex non-linear networks. These works provided explanations for the effectiveness of depth observed in practice. More recently, significant progress has been made in studying non-linear deep networks [citations] as well as incorporating the structure of data in their analysis [citations]. ### The puzzling phenomena Notwithstanding the significant progress made towards establishing theoretical foundations for neural networks, several learning phenomena, well-known in practice, remain opaque when studied in theory. One such phenomenon is the existence of perplexing non-monotonous patterns in the generalization curves of neural networks. It is well-known in statistical learning theory that generalization error follows a U-shaped curve: as model complexity is increased, the generalization error initially goes down and then increases beyond a certain threshold, i.e., overfitting occurs [citations]. However, the practice of neural networks goes against this classical wisdom. In practice, neural networks follow a double descent curve [citations] as the model size is increased, an initial U-shaped curved followed by a subsequent descent. [citations] show that double descent is not limited to varying the model size but is also observed as the training time proceeds. Once again, the so-called epoch-wise double descent is in apparent contradiction with the classical understanding of over-fitting [citations], where one expects that longer training of a sufficiently large model beyond a certain threshold should result in overfitting. Another puzzling phenomenon of neural networks' dynamics is their reliance on spurious correlations. It has been reported that, in many cases, state-of-the-art neural networks tend to focus on low-level superficial correlations, rather than more abstract and robustly informative features of interest. As an example, in a recent study conducted by researchers at Cambridge [citations], authors review more than 300 papers on COVID prediction given CT-Scan images. According to the article, none of the papers were able to generalize from one hospital data to another since the models learn to latch on to hospital-specific features. Due to such reliances, neural networks are vulnerable under slight distributional shifts between the training and test sets [citations]. The vulnerability of neural networks is particularly revealed when they are tested on out-of-distribution (OOD) test data, where the IID (identically and independently distributed) assumption breaks. While SOTA neural networks generally achieve excellent IID generalization performance, small discrepancies between training and testing distributions could cause these neural networks to fail in spectacular ways [citations]. Most of the existing learning models rely on the fundamental assumption that training and test data are identically and independently distributed (IID). However, in many practical applications, the IID assumption is violated and distributional shifts are observed between the training and the test sets. Neural networks trained with gradient-based optimization methods, latch onto correlations in the training distribution that might not be of any use at the test time or could even hurt generalization. ### The Guiding Question On the quest for developing a scientific understanding of neural networks, throughout this dissertation, our guiding question is: "How do neural networks learn different features and how does that affect their ability to generalize?" Towards answering this question, the puzzling phenomena and failure modes of neural networks serve as guiding examples where studying them brings us a step closer to finding a better understanding of neural networks. In the remaining of this dissertation, we present three articles aimed at answering our guiding question, - Chapters 3 and 4 present "Multi-scale Feature Learning Dynamics: Insights for Double Descent" in which we study a linear teacher-student setup exhibiting epoch-wise double descent similar to that in deep neural networks. In this setting, we derive closed-form analytical expressions for the evolution of generalization error over training. We find that double descent can be attributed to distinct features being learned at different scales: as fast-learning features overfit, slower-learning features start to fit, resulting in a second descent in test error. - Chapters 5 and 6 present "Gradient Starvation: A Learning Proclivity in Neural Networks" in which we identify and formalize a fundamental gradient descent phenomenon resulting in a learning proclivity in over-parameterized neural networks. Gradient Starvation arises when the cross-entropy loss is minimized by capturing only a subset of features relevant for the task, despite the presence of other predictive features that fail to be discovered. This work provides a theoretical explanation for the emergence of such feature imbalance in neural networks. Using tools from Dynamical Systems theory, we identify simple properties of learning dynamics during gradient descent that lead to this imbalance and prove that such a situation can be expected given certain statistical structures in training data. Based on our proposed formalism, we develop guarantees for a novel regularization method aimed at decoupling feature learning dynamics, improving accuracy and robustness in cases hindered by gradient starvation. - Chapters 7 and 8 present "Simple data balancing achieves competitive worst-group-accuracy" in which we empirically study the problem of generalization under distributional shifts. We look into classifiers that generalize well to specific groups of data (good average performance) but fail to generalize to underspecified groups (minority examples). After observing that common worst-group-accuracy datasets suffer from substantial imbalances, we set out to compare state-of-the-art methods to a simple balancing of classes and groups by either subsampling or reweighting data. Our results show that these data balancing baselines achieve state-of-the-art accuracy, begging closer examination of benchmarks and methods for research in worst-group-accuracy optimization. Before diving into the main articles, we first review the necessary background in Chapter 2. Chapters 3 through 8 present the three articles. Lastly, Chapter 9 concludes this dissertation.

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully