SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2408.15689 · EMNLP · 2024

TempoFormer: A Transformer for Temporally-aware Representations in Change Detection

Maria Liakata, Talia Tseriotou, Adam Tsakalidis

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 5 functions out of this paper's own repositories and ran 5 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
ttseriotou/tempoformer canonical 5 of 5
FunctionStatusWhere it lives
apply_rotary_emb Ran ttseriotou/tempoformer/models/rope_mha.py
pointer only (licence: NONE) · get_code("f8e7f6458d0c02ff")
precompute_freqs_cis Ran ttseriotou/tempoformer/models/rope_mha.py
pointer only (licence: NONE) · get_code("e9daf89ef84b1379")
reshape_for_broadcast Ran ttseriotou/tempoformer/models/rope_mha.py
pointer only (licence: NONE) · get_code("d6cb55b5f03929f4")
simplify_label Ran ttseriotou/tempoformer/experiments/lrs/ro-tempoformer.py
pointer only (licence: NONE) · get_code("238a46bd04ca901e")
tree2timeline Ran ttseriotou/tempoformer/experiments/lrs/ro-tempoformer.py
pointer only (licence: NONE) · get_code("9bbe8be53c967ff4")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Dynamic representation learning plays a pivotal role in understanding the evolution of linguistic content over time. On this front both context and time dynamics as well as their interplay are of prime importance. Current approaches model context via pre-trained representations, which are typically temporally agnostic. Previous work on modelling context and temporal dynamics has used recurrent methods, which are slow and prone to overfitting. Here we introduce TempoFormer, the first task-agnostic transformer-based and temporally-aware model for dynamic representation learning. Our approach is jointly trained on inter and intra context dynamics and introduces a novel temporal variation of rotary positional embeddings. The architecture is flexible and can be used as the temporal representation foundation of other models or applied to different transformer-based architectures. We show new SOTA performance on three different realtime change detection tasks.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2408.15689")
get_code_for_paper("2408.15689")
have("2408.15689")

Connect an agent — have() is free.