{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/timepoint-accelerated-time-series-alignment","title":"TimePoint: Accelerated Time Series Alignment via Self-Supervised Keypoint and Descriptor Learning","arxiv_id":"2505.23475","date":"2025-05-29","proceeding":null,"authors":["Ron Shapira Weber","Shahar Ben Ishay","Andrey Lavrinenko","Shahaf E. Finder","Oren Freifeld"],"abstract":"Fast and scalable alignment of time series is a fundamental challenge in many domains. The standard solution, Dynamic Time Warping (DTW), struggles with poor scalability and sensitivity to noise. We introduce TimePoint, a self-supervised method that dramatically accelerates DTW-based alignment while typically improving alignment accuracy by learning keypoints and descriptors from synthetic data. Inspired by 2D keypoint detection but carefully adapted to the unique challenges of 1D signals, TimePoint leverages efficient 1D diffeomorphisms, which effectively model nonlinear time warping, to generate realistic training data. This approach, along with fully convolutional and wavelet convolutional architectures, enables the extraction of informative keypoints and descriptors. Applying DTW to these sparse representations yield major speedups and typically higher alignment accuracy than standard DTW applied to the full signals. TimePoint demonstrates strong generalization to real-world time series when trained solely on synthetic data, and further improves with fine-tuning on real data. Extensive experiments demonstrate that TimePoint consistently achieves faster and more accurate alignments than standard DTW, making it a scalable solution for time-series analysis. Our code is available at https://github.com/BGU-CS-VIL/TimePoint","url_abs":"https://arxiv.org/abs/2505.23475v1","url_pdf":"https://arxiv.org/pdf/2505.23475v1.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"timepoint-accelerated-time-series-alignment","repo_url":"https://github.com/bgu-cs-vil/timepoint","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"dynamic-time-warping","task_name":"Dynamic Time Warping"},{"task_slug":"keypoint-detection","task_name":"Keypoint Detection"},{"task_slug":"time-series-1","task_name":"Time Series"},{"task_slug":"time-series-alignment","task_name":"Time Series Alignment"},{"task_slug":"time-series","task_name":"Time Series Analysis"}],"methods":[{"method_slug":"dtw","method_name":"DTW"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2505.23475","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2505.23475"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/bgu-cs-vil/timepoint","reach":null}],"summary":{"ran":5,"ran_honours":1,"ran_draft_wrong":1,"ran_fixture":1,"unverified":7},"by_repo_kind":{"official":{"samples":14,"ran":7,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":1,"samples":[{"code_sha256_prefix":"6c339b770f856bc5","entry":"ConvBlock1D","repo":"bgu-cs-vil/timepoint","repo_kind":"official","path":"TimePoint/models/timepoint.py","file_url":"https://github.com/bgu-cs-vil/timepoint/blob/HEAD/TimePoint/models/timepoint.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"6c339b770f856bc5"}},{"code_sha256_prefix":"9eebdbfec76d3f38","entry":"DetectorHead1D","repo":"bgu-cs-vil/timepoint","repo_kind":"official","path":"TimePoint/models/timepoint.py","file_url":"https://github.com/bgu-cs-vil/timepoint/blob/HEAD/TimePoint/models/timepoint.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"9eebdbfec76d3f38"}},{"code_sha256_prefix":"4931d969792676df","entry":"Encoder1D","repo":"bgu-cs-vil/timepoint","repo_kind":"official","path":"TimePoint/models/timepoint.py","file_url":"https://github.com/bgu-cs-vil/timepoint/blob/HEAD/TimePoint/models/timepoint.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"4931d969792676df"}},{"code_sha256_prefix":"fd87addbb58f7d92","entry":"WTConvBlock1D","repo":"bgu-cs-vil/timepoint","repo_kind":"official","path":"TimePoint/models/timepoint.py","file_url":"https://github.com/bgu-cs-vil/timepoint/blob/HEAD/TimePoint/models/timepoint.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"fd87addbb58f7d92"}},{"code_sha256_prefix":"8e49de55d8b36434","entry":"_ScaleModule","repo":"bgu-cs-vil/timepoint","repo_kind":"official","path":"TimePoint/models/timepoint.py","file_url":"https://github.com/bgu-cs-vil/timepoint/blob/HEAD/TimePoint/models/timepoint.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"8e49de55d8b36434"}},{"code_sha256_prefix":"f6b944f50d3f15ae","entry":"count_parameters","repo":null,"repo_kind":null,"path":null,"file_url":null,"link_basis":"identical_code_first_harvested_elsewhere","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":null,"inline_ok":false,"mcp_get_code":{"code_sha256":"f6b944f50d3f15ae"}},{"code_sha256_prefix":"527fefe15c9f6784","entry":"create_wavelet_filter","repo":"bgu-cs-vil/timepoint","repo_kind":"official","path":"TimePoint/models/timepoint.py","file_url":"https://github.com/bgu-cs-vil/timepoint/blob/HEAD/TimePoint/models/timepoint.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"527fefe15c9f6784"}},{"code_sha256_prefix":"5a0cf77ab032ec87","entry":"get_topk_in_original_order","repo":"bgu-cs-vil/timepoint","repo_kind":"official","path":"TimePoint/models/timepoint.py","file_url":"https://github.com/bgu-cs-vil/timepoint/blob/HEAD/TimePoint/models/timepoint.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"5a0cf77ab032ec87"}},{"code_sha256_prefix":"f498901bcfc4f536","entry":"DescriptorHead1D","repo":"bgu-cs-vil/timepoint","repo_kind":"official","path":"TimePoint/models/timepoint.py","file_url":"https://github.com/bgu-cs-vil/timepoint/blob/HEAD/TimePoint/models/timepoint.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"f498901bcfc4f536"}},{"code_sha256_prefix":"0c4b21cb67494466","entry":"TimePoint","repo":"bgu-cs-vil/timepoint","repo_kind":"official","path":"TimePoint/models/timepoint.py","file_url":"https://github.com/bgu-cs-vil/timepoint/blob/HEAD/TimePoint/models/timepoint.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"0c4b21cb67494466"}},{"code_sha256_prefix":"cff6419659b662cf","entry":"WTConv1d","repo":"bgu-cs-vil/timepoint","repo_kind":"official","path":"TimePoint/models/timepoint.py","file_url":"https://github.com/bgu-cs-vil/timepoint/blob/HEAD/TimePoint/models/timepoint.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"cff6419659b662cf"}},{"code_sha256_prefix":"1199198b2f3ad3e3","entry":"WTConvEncoder1D","repo":"bgu-cs-vil/timepoint","repo_kind":"official","path":"TimePoint/models/timepoint.py","file_url":"https://github.com/bgu-cs-vil/timepoint/blob/HEAD/TimePoint/models/timepoint.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"1199198b2f3ad3e3"}},{"code_sha256_prefix":"de2e6d639a5eedca","entry":"inverse_wavelet_transform","repo":"bgu-cs-vil/timepoint","repo_kind":"official","path":"TimePoint/models/timepoint.py","file_url":"https://github.com/bgu-cs-vil/timepoint/blob/HEAD/TimePoint/models/timepoint.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"de2e6d639a5eedca"}},{"code_sha256_prefix":"a1c12bb3fb090024","entry":"non_maximum_suppression","repo":"bgu-cs-vil/timepoint","repo_kind":"official","path":"TimePoint/models/timepoint.py","file_url":"https://github.com/bgu-cs-vil/timepoint/blob/HEAD/TimePoint/models/timepoint.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"a1c12bb3fb090024"}},{"code_sha256_prefix":"329c619e6aa1ff7e","entry":"wavelet_transform","repo":"bgu-cs-vil/timepoint","repo_kind":"official","path":"TimePoint/models/timepoint.py","file_url":"https://github.com/bgu-cs-vil/timepoint/blob/HEAD/TimePoint/models/timepoint.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"329c619e6aa1ff7e"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}