﻿# ACT temporal ensembles align different chunks to the same target time

Understand ACT temporal aggregation as alignment by target control time, inspect prediction ordering before assigning exponential weights, and preserve episode validity.

Author: Retrivium editorial team
Updated: 2026-11-04
Canonical URL: https://retrivium.ai/journal/fg2-act-temporal-ensemble-overlap-target-time/
Language: en

## A chunk index is relative to its own query

A robot may predict an action sequence at every observation and retain several overlapping proposals. Their first entries concern different times. Averaging those entries would mix targets rather than ensemble estimates of one command.

The [ACT project](https://tonyzhaozh.github.io/aloha/) introduces action chunking and temporal ensembling in a learned manipulation workflow. This guide concerns the original implementation's aggregation path, not a claim that any averaging rule reproduces its behavior.

## Two time coordinates identify a proposal

The [evaluation implementation](https://raw.githubusercontent.com/tonyzhaozh/act/main/imitate_episodes.py) stores predictions by query time and places their chunk entries along corresponding future execution times. It then selects the column for the current execution step.

An adapter should preserve both coordinates. The [tensor-axis guide](/journal/tensor-axes-batch-sequence-hidden/) helps distinguish query rows from target-time columns. A correct array shape does not reveal that an application averaged along the wrong dimension.

## Exponential weights depend on retained order

The implementation constructs decreasing exponential weights over the selected candidate list and normalizes their sum. The semantic direction of those weights depends on the order of query rows in that list.

Do not describe a copied expression as favoring recent predictions without checking the actual ordering. Sorting the list in reverse while retaining the same weight expression changes the rule. Store the list construction and weighting convention together when reproducing a rollout.

## Validity is separate from a numeric command

The original evaluation path filters populated proposals through a numeric test. A new adapter should review that convention for its own action space rather than assuming every zero component denotes an absent proposal.

An explicit validity record can distinguish unpopulated storage from a meaningful command containing zeros. Episode resets also need to remove stale proposals. These are application consistency requirements, not evidence that the underlying learned policy has changed.

## Test alignment before evaluating smoothness

The [ACT repository guide](https://raw.githubusercontent.com/tonyzhaozh/act/main/README.md) exposes the temporal-aggregation option separately from ordinary chunk execution. Keep this choice in experiment metadata rather than attributing every rollout difference to model weights.

Use a short replay with labeled synthetic proposal identities to verify target-time selection and normalized weighting. The [benchmark methodology](/journal/inference-benchmark-method/) helps separate aggregation overhead from model duration. Passing the replay establishes arithmetic correspondence, not a measured improvement in manipulation success or physical smoothness.
