Performance on data at the edge of kernels
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- python
- Domain
- machine-learning, performance
Research direction
Start with the DeepClean inference-kernel and loss code, then review the 193-sample receptive-field assumption, the MSE edge behavior, and the PSD-loss discussion in #23. Compare the proposed edge-weighting and stitched-timeseries approaches, including their forward-pass cost and effects on kernel size and averaging. Done requires an agreed strategy, implementation, and measurements showing improved edge performance.
Written by the indexing model from the issue text.
Description
As noted in this paper, DeepClean performance suffers when using data from the edge of inference kernels. This can be seen pretty plainly if you measure DeepClean's average MSE as a function of kernel position. In the context of DeepClean's limited receptive field, the reason for this seems to be that the DeepClean convolutional filters learn to model signals using both past and future data, since that's what's available for most samples in the kernel. At the edges, only either future or past data is available, and so the quality of its predictions decline.
@saleem-muhammed has been working on several schemes to address this that would be good to implement in this repo, including weighting edge predictions more heavily in the MSE loss and stitching together the edges from several consecutive batch samples to produce a single timeseries long enough which to compute a stable PSD for the PSD loss (related to #23).
However, this latter solution has a lot of wasted compute: since DeepClean's receptive field is only 193 samples long (and might be shorter at the edges depending on the padding strategy, this needs to be double checked), most of the forward computation doesn't end up contributing to the gradient. How do we extend this method in a way that doesn't perform extra compute on the forward pass and is general to any receptive field size? Are there other strategies we could adopt in light of the receptive field of DeepClean to ensure that edge performance is prioritized, and how does this affect our inference time kernel size and averaging strategy?
- Dominant language
- Python
- Stars
- 11
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ML4GW/DeepClean
-
Difficulty 5/5 Over a week Newbie friendliness 15/100
-
question research topic
Difficulty 5/5 Over a week Newbie friendliness 20/100
-
enhancement
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
bug documentation good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
Similar issues
-
Test: to_hijri() accepts datetime.datetime and uses only the date partPossibly taken A pull request linked to this issue is open or already merged. Opengood first issue
Difficulty 1/5 Under an hour Newbie friendliness 95/100
omarelshamy25x/shamy-hijri#63 · 3 comments ·
Maintainers usually reply within 1 day
-
polish
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
521xueweihan/HelloGitHub#4729 ·
-
[Bug]: Score parser reads parts of scientific notation as valid scoresPossibly taken @AshutoshSingh840 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
UKGovernmentBEIS/control-arena#992 ·
Maintainers usually reply within 3 days
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
mvalentsev/awesome-free-ai-coding#70 ·
Maintainers usually reply within 1 day