Manuscript Offprint
arXiv:2610.41402DUGO: Dual-Scale Gaussian Memory for Online Temporal Action Localization in Egocentric Procedural Videos
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Mohammed Aman Bhuiyan¹, Md. Sazzad Hossain Adib¹, Samiul Basir Bhuiyan¹, Mir Faiyaz Hossain¹, Syed Mohammed Shamsul Islam²,³,⁴, Md Zakir Hossain⁵, Shafin Rahman¹
¹Department of Electrical and Computer Engineering, North South University, Dhaka, Bangladesh
²School of Science, Edith Cowan University, Australia
³ School of Engineering, Computing and Mathematics, The University of Western Australia, Australia
⁴ Curtin Medical School, Curtin University, Australia
⁵School of Systems and Computing, University of New South Wales, Australia
{mohammed.aman, sazzad.adib, samiul.bhuiyan, mir.hossain01, shafin.rahman}@northsouth.edu
syed.islam@ecu.edu.au, zakir.hossain@unsw.edu.au
Abstract—Online Temporal Action Localization (OnTAL) aims to detect and localize action instances from untrimmed streaming videos in real time. Unlike offline approaches, OnTAL models have no access to future frames and cannot go back and refine earlier predictions, which makes the task considerably harder given the strict real-time constraints and narrow temporal window available. Most existing OnTAL methods lean on either brief anchor-based context or a single-scale memory of past frames, which limits how well they can capture actions unfolding across multiple time scales or requiring long-range reasoning in Procedural Videos. To address these gaps, we present DUGO (Dual-Scale Encoding and Gaussian Memory Online), a new OnTAL framework that jointly models local motion dynamics and long-range temporal dependencies. At its core, DUGO uses a Dual-Scale Temporal Encoder, pairing depth-wise local representations with global self-attention so it can pick up both fine-grained temporal patterns and broader contextual cues. We also introduce a Gaussian Memory Bank, which represents action memory as stochastic, input-conditioned Gaussian prototypes, allowing for richer temporal memory through gated cross-attention applied at both the encoder and anchor-query stages. Extensive experiments on procedural egocentric datasets (EGTEA, EPIC-Kitchens-100) demonstrate that DUGO achieves state-of-the-art performance while also providing substantial improvements on non-egocentric benchmarks such as Muses. The project page is available at: https://aman554-eq.github.io/DUGO.
Index Terms—Video Understanding, Online Temporal Action Localization, Egocentric Vision, Streaming Videos, Gaussian Memory
I. INTRODUCTION
The proliferation of video data across surveillance infrastructures, live-broadcast platforms, and safety-critical autonomous systems has intensified the demand for methods capable of semantically parsing untrimmed video streams in real time, and as a result, the demand for video understanding is growing rapidly. In particular, dealing with untrimmed videos is key to practical video understanding since most real-world videos are not pre-trimmed for individual events. Temporal Action Localization (TAL) [1], [2], [3], [4] addresses
this challenge by detecting each action instance in an input untrimmed video through the prediction of its start time, end time, and action class. Recent advances in TAL have leveraged graph-relational reasoning [5], [6], [7], temporal multi-scale feature pyramids [8], global context enrichment [9], and long-memory Transformers [10] to achieve impressive boundary precision. More recently, vision-language models have been used for open-vocabulary TAL, but they often exhibit a modality bias toward textual rather than visual cues [11]. Yet virtually all such methods presuppose that the full video is observable before inference, an assumption irreconcilable with real-time streaming constraints.
To bridge this gap, the field has explored several online paradigms. Online Action Detection (OAD) [12] casts recognition as causal frame-wise classification, with subsequent extensions employing reinforced learning [13], future-frame anticipation [14], and Transformer-based history encoders [10], [15], and, more recently, hierarchical memory-compression mechanisms that adaptively retain critical long-range context under a bounded storage budget [16]. Online Detection of Action Start (ODAS) [17], [18] further prioritizes temporal responsiveness by targeting action onset. That said, both OAD and ODAS operate at the frame level, meaning they fall short of the instance-level semantic grounding that downstream tasks like activity summarization, event-driven retrieval, and structured scene understanding actually need. CAG-QIL [19] formally defined Online Temporal Action Localization (OnTAL), an instance-level online task subject to two stringent constraints: (i) only past and current frames are accessible, and (ii) committed proposals are immutable, precluding retrospective refinement via Non-Maximum Suppression (NMS). Their method groups per-frame OAD predictions into instances via imitation-learning-trained Markov Decision Processes, but inherits three structural failure modes: ticks, fragmentation, and merging.
Online Anchor Transformer (OAT) [20] addressed these

Fig. 1: Motivation. Egocentric procedural videos require fine-grained motion discrimination, memory of prior steps, and procedure-aware framing. Prior OnTAL methods rely on single-scale encoding with absent or one-shot deterministic memory; DUGO introduces dual-scale encoding and a twice-injected stochastic Gaussian memory that preserves multi-modal procedural ambiguity.
limitations by proposing the sliding-window-based Anchor Transformer framework, which abandons OAD-based grouping in favor of a sliding-window anchor mechanism. A Transformer encoder converts queued features into temporally contextualized representations, while a Transformer decoder synthesizes anchor features using learnable anchor queries. Each anchor is refined by a dual-head module that predicts the action class, end offset, and length ratio. OAT's [20] receptive field, however, is confined to the most recent sliding window, discarding all prior stream evidence. History-Augmented Anchor Transformer (HAT) [21] identified this limitation as particularly severe in procedural and egocentric scenarios, where actions are causally conditioned on distant historical context. HAT [21] augments OAT [20] with a Future-Supervised History Module, which compresses long-term history through cross-attention over learnable tokens, calibrates the compressor using an action anticipation head, and refines the compressed history against short-term window encoding.
Despite these advances, critical limitations persist (see Figure 1). OAT [20] remains restricted to a fixed frame sliding window and entirely lacks explicit procedural memory, preventing temporal disambiguation from prior action context. HAT [21] offers a partial fix by compressing history deterministically, but in doing so it flattens the naturally multi-modal space of procedural action trajectories into a single latent representation, losing ambiguity and any sense of alternative procedural paths along the way. On top of that, its single-granularity encoding of history cannot hold onto fine-grained motion cues and long-range semantic dependencies at the same time. To address these shortcomings, we propose DUGO, an OnTAL framework that combines dual-scale temporal encoding with stochastic procedural memory modeling, jointly capturing fine-grained motion dynamics and long-range action dependencies while still preserving the multi-modal ambiguity
present in the action history. In addition, inspired by DIoU loss [22], we incorporated a 1D DIoU loss to reduce localization error through improved temporal boundary refinement and center alignment. Our principal contributions are as follows:
- We propose DUGO, a novel online temporal action localization architecture that jointly integrates dual-scale temporal encoding and stochastic procedural memory modeling. By combining local convolutional dynamics with global self-attention and augmenting them with adaptive Gaussian-based memory representations, the framework captures both fine-grained motion patterns and long-range procedural dependencies while preserving past context for procedural tasks.
- We incorporate 1D DIoU loss into the OnTAL regression head, reducing localization error through improved regression boundary refinement by jointly optimizing temporal overlap and center-point alignment.
- Extensive experiments on EGTEA and EPIC-Kitchens-100 establish a new state-of-the-art under the online constraint. DUGO also demonstrates consistent improvements on non-egocentric benchmarks, with particularly strong gains on procedural egocentric datasets where multi-scale temporal encoding and stochastic memory modeling prove most effective.
Online Temporal Action Localization: Temporal action localization (TAL) identifies action instances and their boundaries in untrimmed video. Early sliding window approaches [1], [2] process fixed segments independently; subsequent works expand contextual coverage through boundary-sensitive proposal generation [3], [4], graph-based inter-proposal reasoning [6], [5], and with multi-scale feature pyramids [8]. This clip-wise processing cost remains a bottleneck even for language-grounded moment retrieval in long videos: DeCafNet [23] addresses it offline via a lightweight delegate encoder that filters clips before a full-scale expert encoder processes only the salient ones. All offline TAL methods, however, assume full-video access, making them unsuitable for streaming deployments. Online Temporal Action localization (OnTAL), first formalized by CAG-QIL [19], requires the model to generate complete proposals from a streaming prefix without modifying previously committed decisions. CAG-QIL groups per-frame OAD predictions into instances via a Markov Decision Process. OAT [20] identified fragmentation and merging artefacts in grouping-based approaches and proposed an anchor-based Transformer that applies instance-level supervision within a sliding window, replacing offline NMS with the streaming-compatible ONMS. HAT [21] subsequently augmented OAT [20] with a deterministic history module injected once into the anchor features. MATR [24] further extends OnTAL with a memory queue that selectively stores past segment features and separately retrieves historical context to localize action starts, but its memory-centric boundary localization is not designed for the multi-step, ambiguous trajectories of egocentric procedural tasks. OpenHOUSE [25] pushes this streaming setting further still by pairing class-agnostic On-TAL with free-form, LLM-grounded description generation, enabling hierarchical event understanding beyond a fixed action vocabulary. Existing OnTAL methods are either confined to a fixed short-term window with no procedural memory, or rely on a single-stage deterministic history injection that discards multi-modal action trajectory ambiguity. In contrast, DUGO extends the anchor-transformer paradigm with dual-scale encoding and two-stage stochastic history injection, preserving richer temporal context throughout the
encoder-decoder pipeline.
Memory for Online Action Understanding: Integrating long-term historical context into online video models is a well-established strategy for improving temporal reasoning. Within OAD, LSTR [10] compresses an extended history queue into a compact representation via a two-stage transformer decoder, enabling efficient long-range context integration. GateHUB [15] augments one-stage history compression with a gating module that suppresses irrelevant background frames and calibrates attention over past observations. HAT [21] brought structured history modeling into OnTAL, introducing a Future-Supervised History Module that employs a learnable token-based transformer decoder with future-driven alignment. MATR [24] similarly maintains a selective memory queue of past segment features, but its current-segment/end and memory/start decoding scheme is primarily designed for action-boundary localization rather than the fine-grained, multi-modal dependencies characteristic of procedural egocentric activities. Evaluations on procedural egocentric benchmarks [26], [27] confirm that historical context yields substantial gains for structured, sequential action scenarios. Despite these advances, all prior history modules rely on deterministic compression, collapsing the exponentially large space of procedural action trajectories into a single fixed-length vector and discarding distributional ambiguity essential for procedural reasoning. DUGO replaces deterministic compression with a stochastic mixture of input-conditioned Gaussian prototypes injected at two pipeline stages via per-head gated cross-attention, preserving multi-modal procedural ambiguity that all prior history approaches discard.
III. METHODOLOGY
A. Problem Formulation and Feature Representation
Problem Definition: Let denote an untrimmed egocentric video and be the action instances with start time , end time , and class label . Under the OnTAL constraint, at timestamp only the partial video is observable. The goal is to generate action proposals immediately upon action-end detection, sequentially recovering without modifying previously emitted proposals.
Feature Extraction and Positional Encoding: At timestamp , a sliding window of frames yields the feature queue , where each frame concatenates an RGB descriptor and an optical-flow descriptor of dimension each. The two streams are independently projected from to via learned linear layers and , then concatenated to form . Standard sinusoidal positional encoding is added channel-pair-wise, and for temporal position and channel pair , yielding .
Overall Architecture: Figure 2 illustrates the full DUGO pipeline. At each timestamp , the positionally encoded features are processed by two principled modules. The Dual-Scale Temporal Encoder (DSE) captures both fine-grained local motion dynamics and long-range action dependencies

Fig. 2: DUGO Architecture. DSE replaces the single-granularity encoder with dual branches consisting of depthwise temporal convolutions for local modeling and self-attention for global temporal reasoning, followed by fusion through a learned projection. GMB replaces deterministic history compression with a stochastic mixture of Gaussian prototypes injected at two stages: encoder memory refinement (Pass 1) and decoded anchor query enhancement (Pass 2) through per-head gated cross-attention.
within the -frame observation window, producing the encoder memory . The Gaussian Memory Bank (GMB) models procedural action history as a stochastic mixture of learnable Gaussian prototypes conditioned on , injecting history at two stages via per-head gated cross-attention: first into the encoder memory and then into the decoded anchor features. The resulting anchor representations feed classification and regression heads and are post-processed by ONMS to produce the final output .
B. Dual-Scale Temporal Encoder
Standard Transformer encoders apply self-attention uniformly across all positions in a context window, operating at a single temporal granularity. This global-only processing dilutes sharp, transient signals such as sudden hand velocity changes or brief contact events that define precise action boundaries in egocentric procedural video. Conversely, a convolution-only design captures local patterns but lacks the receptive field to model how the current moment relates to events from the previous several frames. DSE addresses this
by processing the positionally encoded input through a sequential two-branch design, where denotes the observation window length and denotes the feature dimension.
Local Branch: The local branch applies a depthwise 1D convolution with kernel size , where each of the feature channels is convolved with its own independent filter. In procedural egocentric video, actions such as open, take, and close are visually similar yet differ in subtle wrist rotations and grip transitions spanning only a few frames; the depthwise design preserves these per-channel dynamics without cross-channel mixing that could dilute them. Padding is applied to preserve the sequence length. A residual connection and layer normalization stabilize the output:
where denotes layer normalization. The residual connection ensures that if the convolution provides no discriminative signal, the original representation passes through unchanged, preventing degradation at ambiguous frames.
Global Branch: Procedural tasks are inherently sequential: the meaning of a pour depends on what was cracked before it, and whether a spread is complete depends on context from earlier in the window. To capture these inter-frame structural dependencies, the global branch applies , a Transformer encoder layer with multi-head self-attention followed by a position-wise feed-forward network, to the locally refined :
By receiving rather than the raw input, specializes in modeling structural dependencies over locally refined features, rather than operating directly on raw temporal signals. Each of the frames attends to all other positions, giving every representation a window-wide temporal context.
Fusion and Encoding: The two representations are concatenated along the feature dimension and projected back to D through a learned fusion block :
where denotes concatenation along the feature axis and is the learned projection within . learns a per-dimension mixing of local and global features, allowing different output dimensions to weight the two branches independently. is then passed through stacked Transformer encoder blocks to produce the encoder memory , which serves as the context for both the anchor decoder and the Gaussian Memory Bank.
C. Gaussian Latent Memory for Online Procedural Modeling
The GMB (Gaussian Memory Bank) models procedural action history as a stochastic mixture of learned Gaussian prototypes, each representing a distinct action archetype. Rather than compressing raw frame history, GMB adapts these prototypes to the current encoder context, yielding a compact and regularized history representation.
Temporal context summarization: Given encoder output , a context vector is formed by fusing three complementary pooling signals: an attention-weighted pool computed using the temporal mean as the query over , the temporal mean itself, and the temporal maximum . These capture ordered temporal structure, global statistics, and peak activations respectively, and are concatenated and projected by a learned matrix to produce .
Input-conditioned prototype adaptation: A global prior dictionary is stored as learnable parameters. Log-scale variance is used because is unconstrained over , ensuring at all times without requiring constrained optimization, and yielding numerically stable gradient computation through the reparameterization step. Zero-initialized linear heads compute per-input corrections from , scaled by a learned adaptation
gate initialized so that , keeping the prior dominant early in training:
where , are the adapted mean and log-variance for prototype , are the normalized mixture weights, and , , are linear projections of with zero-initialized weights. During training, samples are drawn via the reparameterization trick, with ; at inference directly.
Gaussian memory tensor: Each prototype contributes one weighted sample, and the samples are stacked to form the memory bank:
where is the mixture weight for prototype drawn from . Stacking rather than summing preserves each prototype as an individually addressable memory slot during subsequent cross-attention.
GMB cross-attention with per-head gating: Let denote the input sequence to be augmented, where when applied to encoder memory and when applied to anchor queries. Given memory bank , the GMB cross-attention module computes multi-head cross-attention MHCA( ) with as queries and as keys and values, then applies a per-head cross-attention gate before the residual connection:
The gate vector is the cross-attention gate, constructed head-wise: the entries for attention head are each set to , where is a scalar parameter initialized to zero, giving at the start of training. Each head independently learns to increase or decrease its history contribution, allowing the model to selectively rely on procedural memory on a per-head basis.
Two-stage GMB injection: GMB is applied at two distinct points in the forward pass, sharing the same prototype dictionary and adaptation heads at both call sites, incurring no additional parameters. In Pass 1, the encoder memory E is augmented with Gaussian history context before decoding:
where denotes the bank conditioned on itself. The anchor decoder then cross-attends to , decoding learnable anchor query vectors to obtain:
In Pass 2, GMB is applied again on , with the bank always conditioned on the full encoder output E so that prototype adaptation observes all temporal positions:
The two injections are complementary: Pass 1 enriches the encoder memory the decoder attends to, while Pass 2 injects history directly into the final anchor features that feed the prediction heads.
D. Prediction and Optimization
Prediction module and post-processing: Classification and regression heads, each a two-layer feed-forward network, operate on to produce class logits spanning classes including background, and regression offsets . At inference, the predicted end and start times for anchor are decoded as
where is the anchor origin (nominal end position), is the anchor length, is the predicted end-point offset relative to anchor length, and is the predicted log length ratio.
At each timestamp , the decoded proposals are filtered by an Online Suppression Network (ONMS), a lightweight streaming alternative to offline NMS. The ONMS takes as input a per-class confidence matrix accumulated over the last frames and produces a per-class suppression score via a two-layer MLP applied independently to each class trajectory. Proposals below the suppression threshold are discarded. The ONMS is trained separately after the main model is frozen, using binary proposal labels derived from the main model's predictions on the training set.
Focal classification loss: The anchor predictions are matched to ground-truth intervals via IoU threshold , yielding a foreground set FG and a background set. To address the heavy foreground-to-background class imbalance, we apply focal cross-entropy with modulating factor :
where is the predicted probability for anchor i and class j, and is the multi-hot ground-truth label normalized by the number of positive class matches for anchor i, ensuring per-anchor supervision sums to one.
Regression losses: For foreground anchors, the L1 regression loss supervises two offsets: the normalized end-point offset against the target , and the log length ratio against , where and are the ground-truth action end time and length. Normalizing by anchor length makes the loss anchor-scale agnostic. L1 loss treats the two offsets independently without penalizing geometric misalignment between predicted and target segments. We therefore incorporate a 1D Distance-IoU loss that directly maximizes temporal overlap while penalizing center misalignment. For foreground anchor i, the predicted and ground-truth segments are decoded anchor-relative from the regression logits as and . Temporal IoU is computed from the overlap and union of these decoded segments. Let and denote the predicted and ground-truth segment centers, and the length of the smallest enclosing interval. The DIoU penalty combines IoU with a normalized squared center distance:
KL regularization and total loss: To prevent the global Gaussian prior from collapsing and ensure diverse prototype representations, the prior parameters and are regularized with a KL divergence against the standard normal, , which encourages globally diverse archetypes without over-constraining input-specific adaptation. The four losses are combined with fixed scalar weights:
with , , and . The small KL weight prevents the regularization term from dominating the task-specific objectives while still maintaining prototype diversity throughout training.
IV. EXPERIMENTS
A. Datasets and Implementation Details
We evaluate our method on two procedural egocentric (PREGO) datasets, EGTEA and EPIC-Kitchens-100, as well as the standard non-PREGO temporal action localization benchmark MUSES.
EGTEA [26]: EGTEA is a procedural egocentric action dataset containing approximately 28 hours of first-person video collected from 86 recording sessions involving 32 subjects performing kitchen activities. The dataset includes 22 action classes, with an average of 180 action instances and 15.6 action categories per video. Due to its sequential procedural structure and egocentric viewpoint, EGTEA provides a challenging benchmark for evaluating history-aware Online Temporal Action Localization (OnTAL) methods. Following prior work, we report mAP at temporal IoU thresholds from 0.1 to 0.5 with a step size of 0.1, denoted as mAP@[0.1:0.1:0.5], together with the averaged mAP.
EPIC-Kitchens-100 [27]: EPIC-Kitchens-100 is a large-scale egocentric action recognition benchmark consisting of nearly 100 hours of video captured across 700 recording sessions in diverse kitchen environments. The dataset contains an average of 121.5 action instances and 14.5 action classes per video. Actions are annotated using verb-object pairs; following the standard OnTAL evaluation protocol [21], we utilize only the verb-level annotations (97 verb classes). Models are trained on the training split and evaluated on the validation split. Performance is measured using mAP@[0.1:0.1:0.5].
TABLE I: Comparison of mAP (%) across tIoU thresholds on EGTEA and EPIC-Kitchens-100 datasets. * Indicates best result.
| Model | EGTEA [26] | EPIC-Kitchens-100 [27] | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0.1 | 0.2 | 0.3 | 0.4 | 0.5 | Avg. | 0.1 | 0.2 | 0.3 | 0.4 | 0.5 | Avg. | |
| MATR [24] | 21.5 | 19.5 | 15.9 | 12.6 | 8.6 | 15.6 | 17.2 | 14.9 | 12.8 | 10.0 | 8.7 | 12.7 |
| OAT [20] | 24.9 | 23.1 | 20.6 | 17.1 | 12.2 | 19.6 | 17.8 | 16.3 | 14.3 | 12.8 | 10.1 | 14.2 |
| HAT [21] | 27.5 | 25.4 | 22.6 | 18.3 | 13.5 | 21.5 | 18.3 | 17.0 | 15.8 | 13.9 | 11.5 | 15.3 |
| Ours | 30.9 | 28.8 | 25.6 | 21.1 | 14.9 | 24.3* | 20.1 | 18.9 | 17.0 | 15.0 | 11.7 | 16.6* |
MUSES [28]: MUSES is a large-scale non-egocentric temporal action localization benchmark comprising 3,697 videos with a total duration of approximately 716 hours. It contains 25 action classes drawn from TV shows and movie dramas, featuring diverse scenes, frequent shot cuts, and weaker procedural dependencies compared to PREGO datasets. On average, each video contains 8.5 action instances and 3.3 action classes. Following the standard evaluation protocol, we report mAP at temporal IoU thresholds ranging from 0.3 to 0.7 with a step size of 0.1, denoted as mAP@[0.3:0.1:0.7].
Feature Encoders: For EGTEA, we extract video features using 13D [29], pre-trained on Kinetics. The frames are processed at the original 24 FPS with a stride of 12, producing two feature vectors per second. We use the two-stream (RGB+Flow) descriptors, resulting in an input feature dimension of 2048. For EPIC-Kitchens-100, we use SlowFast [30] features following the standard settings adopted in recent TAL studies. Specifically, we process 32-frame clips at 30 FPS with a stride of 16 frames, which corresponds to approximately one feature vector every 0.53 seconds. The resulting input feature dimension is 2304. For MUSES, we use 13D [29] features at a single-stream feature dimension of 1024, consistent with prior work [21] on the dataset.
Network Configuration: All transformer modules operate with feature dimension . The DSE consists of a depthwise 1D convolution branch (kernel ) and a Transformer encoder layer with heads, fused by a learned projection. The main encoder has blocks with heads, and the anchor decoder has blocks with heads. The GMB maintains Gaussian prototypes with cross-attention heads.
Dataset-Specific Parameters: For EGTEA and EPIC-Kitchens-100, we set the observation window frames with anchor sizes of . For MUSES, we use a longer observation window with anchor sizes of , reflecting the longer action durations in TV/movie content compared to procedural egocentric kitchen activity.
Training Settings: The main network is optimized using Adam with a learning rate of , weight decay of , and batch size 128 for 5 epochs across all three datasets. The choice of 5 epochs was determined empirically by monitoring both training loss and validation performance during preliminary experiments. The training loss converged within the first five epochs, while validation performance reached a stable plateau, with additional training beyond 5
TABLE II: mAP (%) comparison on MUSES [28]. *Our final configuration.
| Model | 0.3 | 0.4 | 0.5 | 0.6 | 0.7 | Avg. |
|---|---|---|---|---|---|---|
| CAG-QIL [19] | 8.5 | 6.5 | 4.2 | 2.8 | 1.9 | 4.8 |
| OAT [20] | 16.7 | 13.0 | 10.0 | 6.3 | 3.2 | 9.8 |
| HAT [21] | 19.1 | 14.7 | 10.1 | 6.3 | 3.7 | 10.8 |
| MATR [24] | 23.5 | 19.3 | 14.3 | 9.4 | 5.7 | 14.4 |
| Ours | 24.7 | 20.0 | 15.5 | 9.8 | 4.5 | 14.9* |
epochs yielding no appreciable improvement. Thus, 5 epochs were sufficient to achieve convergence without unnecessary additional computation. The ONMS is trained separately with Adam at a learning rate of , weight decay of , and batch size 128. Loss coefficients are , , and . The anchor-matching IoU threshold is , the ONMS suppression threshold is , and the overlap threshold is . All experiments are conducted on a single NVIDIA RTX 5060 Ti, 16GB GPU.
B. Results and Analysis
Comparison with Existing Approaches: We compare against three representative OnTAL frameworks, OAT [20], HAT [21] and MATR [24]. OAT and HAT follow the anchor-transformer paradigm and are therefore directly comparable to our approach, while MATR represents a different design paradigm. For MUSES, we additionally compare against CAG-QIL [19], the first OnTAL grouping-based baseline.
Results on PREGO datasets: As shown in Table I, DUGO achieves state-of-the-art performance on both procedural egocentric benchmarks. On EGTEA, we attain an average mAP of 24.3%, surpassing MATR [24] by +8.7%, OAT [20] by +4.7%, and HAT [21] by +2.8%. On EPIC-Kitchens-100, we achieve an average mAP of 16.6%, outperforming MATR [24] by +3.9%, OAT [20] by +2.4%, and HAT [21] by +1.3%. The improvements are consistent across all tIoU thresholds, with the largest absolute gains occurring at the lower thresholds, indicating that DUGO recovers a substantially larger pool of correctly localized proposals. These gains are most pronounced on the PREGO benchmarks where the temporal ordering of consecutive procedural actions makes explicit history modeling particularly valuable, validating the design of the Gaussian Memory Bank and the dual-scale temporal encoder.
Results on the non-PREGO benchmark: On MUSES (Table II), DUGO achieves an average mAP of 14.9%, outperforming CAG-QIL [19] by +10.1%, OAT [20] by +5.1%, HAT [21] by +4.1%, and MATR [24] by +0.5%.
TABLE III: Component analysis on EGTEA dataset. DSE = Dual-Scale Temporal Encoder, GMB = Gaussian Memory Bank. *Our final configuration.
| DSE | DIoU | GMB | 0.1 | 0.2 | 0.3 | 0.4 | 0.5 | Avg. |
|---|---|---|---|---|---|---|---|---|
| - | - | - | 24.9 | 23.1 | 20.6 | 17.1 | 12.2 | 19.6 |
| - | - | ✓ | 29.2 | 27.1 | 24.0 | 18.1 | 12.7 | 22.2 |
| ✓ | ✓ | - | 29.1 | 27.2 | 24.5 | 21.0 | 15.1 | 23.4 |
| ✓ | - | ✓ | 28.5 | 26.6 | 23.9 | 20.2 | 14.5 | 22.7 |
| ✓ | ✓ | ✓ | 30.9 | 28.8 | 25.6 | 21.1 | 14.9 | 24.3* |
Although MUSES exhibits weaker procedural dependencies than EGTEA and EPIC-Kitchens-100, since actions in TV shows and movie dramas are largely independent rather than causally sequential, DUGO still delivers a consistent improvement on this non-egocentric benchmark. Notably, DUGO surpasses all baselines at tIoU thresholds of 0.3–0.6, achieving 24.7%, 20.0%, 15.5%, and 9.8%, respectively, while MATR retains a slight edge at the strictest threshold of 0.7 (5.7% vs. 4.5%). This indicates that the dual-scale encoder and stochastic memory modeling provide benefits beyond strictly procedural settings: the local convolutional branch captures sharp boundary cues introduced by frequent shot cuts, while the stochastic Gaussian prototypes act as a noise-robust history summary that is less brittle than deterministic compression when the underlying action distribution is more diverse.
C. Ablation Studies
We conduct ablation studies on PREGO dataset to validate each design choice.
Component Analysis: We progressively add each proposed component to the OAT [20] baseline. The proposed framework introduces three key components. First, the DSE (Dual-Scale Temporal Encoder) combines a depthwise 1D convolution branch with a Transformer encoder branch, which are fused through a learned projection to jointly capture both local motion dynamics and global temporal context (Section III-B). Second, the model employs DIoU, a 1D Distance-IoU regression loss that penalizes not only overlap deficiencies but also center misalignment between predicted and ground-truth temporal segments, thereby improving localization precision (Section III-D). Finally, the framework incorporates the GMB (Gaussian Memory Bank), a stochastic Gaussian prototype bank that is dynamically adapted from encoder context and injected at two stages of the network to provide procedural history context and enhance temporal reasoning (Section III-C). Table III confirms that each component contributes positively. DSE combined with the DIoU regression term improves over the OAT [20] baseline by +3.8% average mAP by capturing both local motion dynamics and long-range temporal dependencies alongside sharper boundary localization. Adding GMB on top of DSE+DIoU yields a complementary +0.9% gain by conditioning anchor features on learned procedural history prototypes. All three components combined yield the best result of 24.3% (+4.7% over baseline), demonstrating their complementary nature.
Loss Function Analysis: We compare our loss configuration against alternatives for both classification and regres-
TABLE IV: Loss function analysis on EGTEA dataset. *Our final configuration.
| Cls. Loss | Reg. Loss | 0.1 | 0.2 | 0.3 | 0.4 | 0.5 | Avg. |
|---|---|---|---|---|---|---|---|
| BG-SUP Focal | L1 | 30.2 | 27.9 | 24.3 | 19.9 | 13.8 | 23.2 |
| L1 + DIoU | 30.8 | 28.7 | 25.3 | 20.3 | 14.8 | 24.0 | |
| Cross-Entropy | L1 | 28.7 | 27.2 | 24.1 | 19.6 | 14.4 | 22.8 |
| L1 + DIoU | 29.7 | 27.8 | 24.0 | 19.7 | 14.3 | 23.1 | |
| Adaptive Focal | L1 | 28.9 | 26.8 | 23.2 | 19.5 | 13.7 | 22.4 |
| L1 + DIoU | 30.0 | 27.9 | 24.7 | 20.9 | 14.2 | 23.5 | |
| Standard Focal | L1 | 28.5 | 26.6 | 23.9 | 20.2 | 14.5 | 22.7 |
| L1 + DIoU | 30.9 | 28.8 | 25.6 | 21.1 | 14.9 | 24.3* |
sion. For classification, we evaluate Standard Cross-Entropy, Standard Focal Loss [31], Adaptive Focal Loss [21], and the background-suppression focal variant (BG-SUP Focal) from GateHUB [15]. For regression, we compare standard L1 against L1 augmented with our 1D DIoU term. Our final configuration, Standard Focal Loss () combined with L1 + 1D DIoU regression, achieves the best performance across all tIoU thresholds (Table IV). Adding the 1D DIoU term consistently improves the overall performance across all classification losses. For Cross-Entropy, however, the mAP shows a slight decrease at tIoU 0.3 and 0.5, although the average performance still improves. L1 loss independently supervises the two normalized regression offsets, while DIoU is applied to the decoded temporal segment and jointly accounts for the IoU gap and center misalignment. The two losses therefore complement each other: L1 provides precise gradients for each offset, whereas DIoU helps address geometric errors that may remain even when the individual offset errors are small. Among the classification losses, Standard Focal Loss performs better than Cross-Entropy by reducing the influence of easy background samples. This is particularly useful for egocentric datasets, where foreground and background samples are highly imbalanced. It also achieves better results than the more aggressive BG-SUP and Adaptive Focal variants.
Inference Speed and Early Detection: We further evaluate the efficiency and early response capability of online temporal action localization models using inference speed (FPS), Average Early Detected Time (AEDT) [20], parameter count, and computational cost (GFLOPs). AEDT measures how many seconds before the end of an action a correct prediction is generated, where more negative values indicate earlier detection and are therefore preferable. To ensure a fair comparison, all methods are evaluated under the same GPU configuration. OAT [20] achieves the highest throughput at 85.27 FPS and the earliest detection time of -1.28s, with 92.43M parameters and 5.545 GFLOPs. HAT [21] operates at 42.7 FPS with an AEDT of -1.14s, using 247.10M parameters and 6.435 GFLOPs, while DUGO reaches 40.2 FPS and an AEDT of -1.02s with 129.22M parameters and 7.755 GFLOPs. Although DUGO incurs a slightly higher computational cost than OAT and HAT in terms of GFLOPs and has marginally lower throughput, it substantially reduces the parameter count compared with HAT while maintaining real-time processing speed and consistently detecting actions.

Fig. 3: Gaussian prototypes analysis of DUGO on EGTEA and EPIC-Kitchens-100 datasets across various tIoU thresholds.
more than one second before completion. Overall, these results demonstrate that DUGO provides a favorable balance between model size, computational cost, inference efficiency, and early action anticipation, making it well suited for practical online deployment scenarios.
Effect of Gaussian Prototype Count: Figure 3 reports the impact of varying the number of Gaussian prototypes in the GMB on EGTEA and EPIC-Kitchens-100 across multiple tIoU thresholds. Performance consistently improves as increases from a single prototype to a moderate count, indicating that multiple prototypes better capture the diverse procedural hand-motion patterns and temporal interaction dynamics present in egocentric actions. However, the gains gradually saturate once the dominant feature modes are sufficiently covered, making additional prototypes increasingly redundant. We also observe a slight performance drop when using more than eight prototypes, which may stem from over-fragmentation of the feature space and noisier prototype assignments that weaken generalization. Overall, the chosen corresponds to the peak performance region on both datasets while keeping the memory bank compact and parameter-efficient.
D. Discussion
Additional Memory Baseline Comparison: Table V benchmarks GMB against a range of established history-modeling strategies on EGTEA, giving us a clearer picture of how different approaches to temporal context stack up. The no-history baseline lags well behind every memory-based method, confirming that some form of temporal context is indispensable for procedural action localization rather than optional. Adding a recurrent summarization mechanism, as in LSTR [10], helps modestly, while the attention-gated memory in GateHUB [15] pushes performance a bit further still. HAT's Fixed-Size History Memory (FSHM) [21] does better yet, which we attribute to its anchor-aware approach to selecting relevant history. MATR [24], interestingly, falls well short of every history-aware variant in this controlled setting, reinforcing just how much a dedicated memory module matters for reasoning
TABLE V: Additional baselines on EGTEA dataset, re-implemented under a controlled setting. *Our final configuration. HAT figures here differ from Table I due to this controlled re-implementation.
| 0.1 | 0.2 | 0.3 | 0.4 | 0.5 | Avg | |
|---|---|---|---|---|---|---|
| MATR [24] | 21.5 | 19.5 | 15.9 | 12.6 | 8.6 | 15.6 |
| No-History | 24.2 | 22.7 | 20.5 | 16.3 | 10.9 | 18.9 |
| LSTR [10] | 25.3 | 23.3 | 20.4 | 16.4 | 12.0 | 19.5 |
| GateHUB [15] | 26.2 | 24.0 | 21.0 | 16.6 | 11.7 | 19.9 |
| FSHM(HAT) [21] | 27.3 | 25.3 | 21.6 | 16.9 | 12.8 | 20.8 |
| GMB | 29.2 | 27.1 | 24.0 | 18.1 | 12.7 | 22.2* |
over procedural sequences. GMB comes out ahead of all of these, improving over the strongest baseline (FSHM) by a solid margin and widening further against GateHUB, LSTR, and the no-history setup. Taken together, these results indicate that a stochastic, Gaussian prototype-based memory represents history in a more expressive and generalizable manner than deterministic compression or recurrent summarization, a distinction that holds even prior to the integration of the complete DUGO pipeline.
Overall Discussion: DUGO consistently achieves state-of-the-art performance across all three benchmarks, demonstrating that its three contributions are individually meaningful and mutually complementary. The improvements are particularly pronounced on the PREGO datasets, where the temporal ordering of consecutive procedural actions makes explicit history modeling especially valuable. DUGO also performs strongly on the non-procedural MUSES benchmark, showing that the proposed dual-scale encoder and stochastic memory bank generalize beyond egocentric procedural settings.
The ablation studies further show that DSE and GMB capture complementary information. DSE strengthens the per-timestep representation by jointly modeling local motion and global context, while GMB enriches anchor queries with cross-temporal procedural prototypes. Their combination therefore provides complementary benefits rather than simply duplicating the same information. The 1D DiOU loss further improves boundary precision by accounting for center misalignment, which standard L1 regression may not adequately capture when offset magnitudes are small.
V. CONCLUSION
We presented DUGO, an online temporal action localization framework that integrates three complementary contributions within a unified architecture: a Dual-Scale Temporal Encoder (DSE) combining depthwise temporal convolutions and transformer attention to capture both local and global temporal dependencies, a Gaussian Memory Bank (GMB) that injects stochastic Gaussian prototypes into both encoder memory and anchor queries to enrich procedural context, and a 1D DiOU regression loss for improved temporal boundary localization. A current limitation of DUGO is that GMB adapts prototypes only from the current short-term encoder window, limiting persistent long-horizon procedural reasoning in repetitive activities. Future work will explore recurrent step-aware memory and object-centric representations to improve long-range procedural understanding while preserving online efficiency. Extensive experiments on EGTEA, EPIC-Kitchens-100, and MUSES demonstrate that DUGO consistently outperforms prior state-of-the-art methods while maintaining strong generalization across procedural and non-procedural settings. Ablation studies further verify that each component contributes independently, with GMB providing the largest gains on procedural egocentric benchmarks where explicit history modeling is particularly beneficial.
Acknowledgement: This work was supported by the Conference Travel and Research Grants (CTRG) 2025–2026 from North South University, under the Grant ID: CTRG-25-SEPS-31.
REFERENCES
[1] Z. Shou, D. Wang, and S.-F. Chang, "Temporal Action Localization in Untrimmed Videos via Multi-stage CNNs," in 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2016, pp. 1049–1058.
[2] J. Gao, Z. Yang, K. Chen, C. Sun, and R. Nevatia, "TURN TAP: Temporal Unit Regression Network for Temporal Action Proposals," in Proceedings of the IEEE International Conference on Computer Vision (ICCV), 2017, pp. 3628–3636.
[3] T. Lin, X. Zhao, H. Su, C. Wang, and M. Yang, "BSN: Boundary Sensitive Network for Temporal Action Proposal Generation," in European Conference on Computer Vision. Springer, 2018, pp. 3–21.
[4] T. Lin, X. Liu, X. Li, E. Ding, and S. Wen, "BMN: Boundary-Matching Network for Temporal Action Proposal Generation," in 2019 IEEE/CVF International Conference on Computer Vision (ICCV), 2019, pp. 3888–3897.
[5] M. Xu, C. Zhao, D. S. Rojas, A. Thabet, and B. Ghanem, "G-TAD: Sub-Graph Localization for Temporal Action Detection," in 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2020, pp. 10153–10162.
[6] R. Zeng, W. Huang, M. Tan, Y. Rong, P. Zhao, J. Huang, and C. Gan, "Graph Convolutional Networks for Temporal Action Localization," in Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), 2019, pp. 7094–7103.
[7] C. Zhao, A. K. Thabet, and B. Ghanem, "Video Self-Stitching Graph Network for Temporal Action Localization," in Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), 2021, pp. 13658–13667.
[8] Q. Liu and Z. Wang, "Progressive Boundary Refinement Network for Temporal Action Detection," in Proceedings of the AAAI Conference on Artificial Intelligence, vol. 34, no. 07, 2020, pp. 11612–11619.
[9] Z. Zhu, W. Tang, L. Wang, N. Zheng, and G. Hua, "Enriching Local and Global Contexts for Temporal Action Localization," in 2021 IEEE/CVF International Conference on Computer Vision (ICCV). IEEE, 2021, pp. 13496–13505.
[10] M. Xu, Y. Xiong, H. Chen, X. Li, W. Xia, Z. Tu, and S. Soatto, "Long Short-Term Transformer for Online Action Detection," Advances in Neural Information Processing Systems (NeurIPS), vol. 34, pp. 1086–1099, 2021.
[11] J. Li, G. Wang, S. Zheng, M. Ni, X. Lu, G. Ye, and Y. Guan, "Towards Mitigating Modality Bias in Vision-Language Models for Temporal Action Localization," in Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), 2026, pp. 11087–11104.
[12] R. De Geest, E. Gavves, A. Ghodrati, Z. Li, C. Snoek, and T. Tuytelears, "Online Action Detection," in European Conference on Computer Vision. Springer, 2016, pp. 269–284.
[13] J. Gao, Z. Yang, and R. Nevatia, "RED: Reinforced Encoder-Decoder Networks for Action Anticipation," in Proceedings of the British Machine Vision Conference (BMVC), T.-K. Kim, S. Zafeiriou, G. Brostow, and K. Mikolajczyk, Eds. BMVA Press, Sep. 2017, pp. 92.1–92.11.
[14] Y. H. Kim, S. Nam, and S. J. Kim, "Temporally Smooth Online Action Detection Using Cycle-Consistent Future Anticipation," Pattern Recognition, vol. 116, p. 107954, 2021.
[15] J. Chen, G. Mittal, Y. Yu, Y. Kong, and M. Chen, "GateHUB: Gated History Unit with Background Suppression for Online Action Detection," in 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2022, pp. 19893–19902.
[16] S. Yan, J. Li, K. Wei, and C. Deng, "Backtrace Mamba: Reviving Critical Temporal Contexts via Hierarchical Memory Compression for Online Action Detection," Proceedings of the AAAI Conference on Artificial Intelligence, vol. 40, no. 14, pp. 11559–11567, 2026.
[17] Z. Shou, J. Pan, J. Chan, K. Miyazawa, H. Mansour, A. Vetro, X. Giro-i Nieto, and S.-F. Chang, "Online Detection of Action Start in Untrimmed, Streaming Videos," in European Conference on Computer Vision. Springer, 2018, pp. 551–568.
[18] M. Gao, M. Xu, L. Davis, R. Socher, and C. Xiong, "StartNet: Online Detection of Action Start in Untrimmed Videos," in 2019 IEEE/CVF International Conference on Computer Vision (ICCV), 2019, pp. 5541–5550.
[19] H. Kang, K. Kim, Y. Ko, and S. J. Kim, "CAG-QIL: Context-Aware Actionness Grouping via Q Imitation Learning for Online Temporal Action Localization," in 2021 IEEE/CVF International Conference on Computer Vision (ICCV), 2021, pp. 13709–13718.
[20] Y. H. Kim, H. Kang, and S. J. Kim, "A Sliding Window Scheme for Online Temporal Action Localization," in European Conference on Computer Vision. Springer, 2022, pp. 653–669.
[21] S. Reza, Y. Zhang, M. Moghaddam, and O. Camps, "HAT: History-Augmented Anchor Transformer for Online Temporal Action Localization," in Computer Vision – ECCV 2024, A. Leonardis, E. Ricci, S. Roth, O. Russakovsky, T. Sattler, and G. Varol, Eds. Cham: Springer Nature Switzerland, 2025, pp. 205–222.
[22] Z. Zheng, P. Wang, W. Liu, J. Li, R. Ye, and D. Ren, "Distance-IoU Loss: Faster and Better Learning for Bounding Box Regression," Proceedings of the AAAI Conference on Artificial Intelligence, vol. 34, no. 07, pp. 12993–13000, Apr. 2020.
[23] Z. Lu, A. S. M. Itekhar, G. Mittal, T. Meng, X. Wang, C. Zhao, R. Kukkala, E. Elhamifar, and M. Chen, "DeCafNet: Delegate and Conquer for Efficient Temporal Grounding in Long Videos," in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2025, pp. 24066–24076.
[24] Y. Song, D. Kim, M. Cho, and S. Kwak, "Online Temporal Action Localization with Memory-Augmented Transformer," in European Conference on Computer Vision. Springer, 2024, pp. 74–91.
[25] H. Kang, Y. Park, Y. Yoo, Y. Choi, and S. J. Kim, "Open-ended Hierarchical Streaming Video Understanding with Vision Language Models," in Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), 2025, pp. 20715–20725.
[26] Y. Li, M. Liu, and J. M. Rehg, "In the Eye of Beholder: Joint Learning of Gaze and Actions in First Person Video," in European Conference on Computer Vision. Springer, 2018, pp. 639–655.
[27] D. Damen, H. Doughty, G. M. Farinella, A. Furnari, E. Kazakos, J. Ma, D. Moltisanti, J. Munro, P. Perrett, W. Price et al., "Rescaling Egocentric Vision: Collection, Pipeline and Challenges for EPIC-Kitchens-100," International Journal of Computer Vision, vol. 130, no. 1, pp. 33–55, 2022.
[28] X. Liu, Y. Hu, S. Bai, F. Ding, X. Bai, and P. H. S. Torr, "Multi-shot Temporal Event Localization: A Benchmark," in 2021 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2021, pp. 12591–12601.
[29] J. Carreira and A. Zisserman, "Quo Vadis, Action Recognition? A New Model and the Kinetics Dataset," in Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Jul. 2017, pp. 6299–6308.
[30] C. Feichtenhofer, H. Fan, J. Malik, and K. He, "SlowFast Networks for Video Recognition," in 2019 IEEE/CVF International Conference on Computer Vision (ICCV), 2019, pp. 6201–6210.
[31] T.-Y. Lin, P. Goyal, R. Girshick, K. He, and P. Dollár, "Focal Loss for Dense Object Detection," in Proceedings of the IEEE International Conference on Computer Vision (ICCV), 2017, pp. 2980–2988.