Sam Hopkins
    • 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
    • Engagement control
    • 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 Versions and GitHub Sync Note Insights Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control 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
    Subscribed
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Subscribe
    # AlgStats Course Overview, Parts II and III ## Part II: Weak Assumptions "The world is a simple MRF/BayesNet" is a relatively strong assumption. What do we do when we are not in the epistemic position to make such strong assumptions? Can try to perform weaker tasks. ### Mean Estimation Recall in Gaussian setting learning mean and covariance implies learning in TV. Even if don't want to assume Gaussian, learning the mean of a distribution still meaningful. Why? Here's one example: **Well-Conditioned Linear Regression:** Imagine getting samples of the form $(X,y)$ where $X \in R^d$, $y \in R$, $Cov(X) = I$, and $y = X^\top \beta + \epsilon$ for some random variable $\epsilon$ with $E \epsilon = 0$. Goal is to find $\hat{y}$ to minimize *mean-squared prediction error* $E(X^\top \hat{y} - y)^2$. Turns out you just need to estimate the mean of the random variable $yX$. Notice weakness of assumption on $X$. **Weak assumption:** Assume $X$ has only a finite mean and covariance. Given iid samples, estimate the mean $EX$ as well as possible. **Lecture 15:** Confidence intervals for high-dimensional mean estimation. We will see that for mean estimation, strong assumptions aren't necessary and you can estimate just as well assuming only bounded covariance, if you use the right notion of *high-dimensional median*. ("Just as well" meaning that your confidence intervals will be as small as they would have if you had Gaussian samples.) But, the resulting estimator will be in some sense exponential time. ### Sum of Squares Method We will need to develop a new tool for efficient (polynomial-time) algorithm design in statistics settings. Enter the SoS method, a unified "high level programming language" for algorithm design based on convex programming. **Lecture 16:** Introduction to the SoS method. **Lecture 17:** Polynomial-time mean estimation via the SoS method. We will return to the mean estimation problem above and see how to design a polynomial-time algorithm with the same estimation error as our previous exponential-time method. ### Beyond iid Sampling: The Contamination Model What if our samples are not even iid from the underlying population we want to know about? Maybe an adversary is poisoning some of them. Or maybe our model of the world is only $\epsilon$-close to the truth -- e.g. we assume the world is well-modeled by a Gaussian, but in reality it's only $99.9\%$ close to Gaussian in TV distance. Can we still make rigorously justified mathematical conclusions from such data? **Lecture 18:** Introduction to the contamination model, where a small constant fraction of data can be corrupted by a malicious adversary. Robust mean estimation from contaminated samples via SoS method. **Lecture 19:** Coming full circle, we will see how to learn Ising models in polynomial time from contaminated samples. ## Part III: Computational Complexity Parts I and II of the course have largely been "optimistic:" we showed that under a variety of reasonable assumptions, we can draw meaningful conclusions from reasonable amounts of data in a rigorously justified way. In many cases we also saw tightness of these methods -- with less data, it's statistically impossible to draw the conclusions we want to. (E.g., recall that we saw that learning true-structured Ising models on $n$ vertices with $o(n \log n)$ samples is impossible.) The last portion of the course introduces another twist: sometimes there is a gap between what is possible *statistically* and what is possible *in polynomial time.* *Example: Robust Sparse Mean Estimation:* Suppose getting samples $X_1,\ldots,X_n$, $\epsilon$-contaminated, from a $d$-dimensional distribution where the mean is promised to have just $k$ nonzero entries. Without contamination, could use $k \log d$ samples to learn the mean. Same is true with contamination, but if we want polynomial time no algorithm is known to use fewer than $k^2$ samples. Why? Should we keep looking for an algorithm? Or is there reason to believe no poly-time algorithm can ever accomplish this task with $o(k^{1.99})$ samples? **Lecture 20:** Low-degree polynomials, hypothesis testing lower bounds. We will introduce a (relatively) quick-and-dirty way to assess whether known techniques for polynomial-time algorithm design are likely to solve a given high-dimensional hypothesis testing problem, by studying whether it can be solved by "low-degree polynomial tests". We'll see that the problem of distinguishing between $N(0,I)$ and $N(v,I)$ where $v$ is $k$-sparse in the presence of contamination requires at least $k^2$ samples for low-degree polynomial tests. **Lecture 21:** The statistical query model. We will introduce a second viewpoint on complexity for hypothesis testing problems, the *statistical query model*, where instead of seeing iid samples, the algorithm gets to query the expected values of (bounded, real-valued) functions under an unknown distribution, and needs to identify the distribution via the answers to such queries. We will see that the statistical query model is essentially equivalent to the low-degree polynomial tests perspective. **Lecture 22:** Reductions. We'll see a third perspective on complexity via reductions. The story starts with the *planted clique problem*: given a graph on $n$ vertices, distnguish between two possibilities: 1. the graph was drawn from $G(n,1/2)$ 2. the graph was drawn from $G(n,1/2)$ and then an $\omega$-clique was added to it. Despite 30 years of study, no polynomial-time algorithm is known which can solve this problem when $\omega \ll \sqrt{n}$. We will see that if there were an algorithm for sparse robust mean estimation with fewer than $k^2$ samples then there would be an algorithm for planted clique with $\omega \ll \sqrt{n}$. **Lecture 23:** Complexity wrap-up: we will widen our horizon past mean estimation to see a high-level survey of the emerging field of complexity of statistical inference, including several other perspectives (impossibility results for SoS algorithms, reductions from cryptographic problems) and a brief tour of some other core statistics problems which appear to be hard for polynomial-time algorithms.

    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