---
title: Clone-Structured Causal Graph (CSCG)
url: https://www.emergentmind.com/topics/clone-structured-causal-graph-cscg
type: topic
---

# Clone-Structured Causal Graph (CSCG)

The Clone-structured Causal Graph (CSCG) is a class of structured, action-conditioned hidden Markov models engineered to capture the latent sequential organization of experience and to model the formation of context-specific cognitive maps from raw, aliased sensory and action sequences. CSCGs resolve the challenge of perceptual aliasing—where identical observations arise in different contexts—by assigning multiple latent “clone” states per observation and learning a contextually disambiguating multi-edge transition structure. The resultant latent graphs support the emergence of cognitive maps, robust planning, and the mechanistic explanation of hippocampal phenomena without relying on explicit spatial or Euclidean representations [2212.01508], [2308.08307].

## 1. Formalization of the CSCG Model

Given a sequence of discrete observations $x_{1:N}$ and corresponding actions $a_{1:N-1}$, the CSCG introduces for each observation $x$ a set $C(x)$ of $M_x$ latent clone states $z$. Each clone deterministically emits its parent observation. The generative likelihood over an observation–action trajectory is:
\[
P(x_{1:N},a_{1:N-1}) = \sum_{z_1\in C(x_1)}\ldots\sum_{z_N\in C(x_N)} P(z_1) \prod_{n=1}^{N-1}P(z_{n+1}, a_n\mid z_n)
\]
with action-conditional transitions
\[
P(z_{n+1}, a_n \mid z_n) = T_{z_n, a_n, z_{n+1}}, \quad \sum_{a,z'} T_{z, a, z'} = 1\,\,\forall z
\]
and deterministic emissions $P(x_n \mid z_n = z) = 1$ iff $z \in C(x_n)$. The initial clone prior $\pi$ typically is uniform. To ensure transition normality (even for clones with no legal outbound transitions), a “dead” clone is introduced that self-loops and deterministically emits a special “dead” observation [2212.01508], [2308.08307].

## 2. Graph Scaffolding and Contextual Disambiguation

The latent state space is a directed multi-graph $G = (V,E)$ with nodes as clones $z$ and edges $(i \to j)$ whenever $T_{i, a, j} > 0$ for some action $a$. For each observation symbol $x$, $M_x$ disjoint clones are created, allowing the model to resolve identical observations presented in distinct sequential contexts. Higher-order dependencies across sequences are captured because a trajectory $z_1 \to z_2 \to \ldots \to z_N$ encodes context history unavailable to first-order models. This architectural feature enables CSCG to “split” and “merge” sequential contexts, moving beyond the context-blindness of ordinary HMMs [2212.01508], [2308.08307].

## 3. Inference, Learning, and Model Optimization

**Inference** in CSCG is performed via exact message-passing (forward filtering/backward smoothing) over the clone graph. At time $n$, the posterior over possible clones $r(n)$ follows:
\[
\bar r(n) = (T^{(a_{n-1})})^\top r(n-1) \circ E \tilde x_n\,, \quad r(n) = \bar r(n)/\sum_i \bar r_i(n)
\]
where $T^{(a)}$ is the action-specific transition slice, $E$ is the emission matrix (mapping clones to observations), and $\tilde x_n$ is the one-hot encoding of $x_n$.

**Parameter learning** uses expectation–maximization (EM), maximizing the joint likelihood over data to optimize the initial prior $\pi$ and transition tensor $T$. The E-step computes forward–backward posteriors:
\[
\begin{align*}
\xi_{i,k,j}(n) &= P(z_n=i,a_n=k,z_{n+1}=j\mid x_{1:N},a_{1:N-1})\,;\\
\gamma_i(n) &= P(z_n = i \mid x_{1:N}, a_{1:N-1})
\end{align*}
\]
The M-step updates are:
\[
\pi_i \leftarrow \gamma_i(1)
\]
\[
T_{i,k,j} \leftarrow \frac{\sum_{n=1}^{N-1}\xi_{i,k,j}(n) + \varepsilon}{\sum_{j'}\sum_{n=1}^{N-1}\xi_{i,k,j'}(n) + |\mathcal A|\varepsilon}
\]
with $\varepsilon$ a small pseudocount (e.g., $10^{-4}$) for regularization.

After convergence, extraneous clones can be pruned by Viterbi decoding, retaining only those clones on the most likely paths, yielding a compact cognitive graph [2212.01508], [2308.08307].

## 4. Clones, Perceptual Aliasing, and Cognitive Map Emergence

Perceptual aliasing—in which local sensory input is insufficient to specify state—poses a fundamental challenge to cognitive mapping. CSCG addresses this by assigning a sufficient number of clones per observation to accommodate all relevant sequential contexts. Learning splits the state space such that each clone within $S^{(o)}$ encodes a unique context, enabling specification even under extreme ambiguity. The resulting multi-graph acts as a cognitive map: the state activation vector $r(n)$ after observing $x_n$ and past actions/observations delineates the agent’s location in latent (contextual) space [2308.08307].

Cognitive maps emerge without explicit access to spatial coordinates or representations. Instead, the correlation between clone activations and ground-truth positions can be revealed by binning posterior probabilities by true location, demonstrating emergent “place fields” analogous to biological place cells [2212.01508].

## 5. Planning, Active Inference, and Control in CSCG

CSCG facilitates planning and goal-seeking through principled message passing on the latent clone graph. Planning consists of clamping a start clone (inferred from sensory history) and a goal clone, then performing inference (forward/backward message passing) to discover the optimal action sequence mapping to the most probable path between clones. This approach supports replay-like transitive inference, extracting spatial (latent sequence) paths purely from transition structure [2212.01508].

Integration with the discrete Active Inference POMDP framework is accomplished by translating the learned CSCG transition and emission models to canonical POMDP matrices. The $A$-matrix encodes fixed clone–observation likelihoods, $B$-matrices encode action-specific latent transitions, the $C$-vector specifies log-preferences (goals), and the $D$-prior remains uniform. Policy selection minimizes Expected Free Energy $G(\pi)$ over action sequences $\pi$, balancing epistemic value (uncertainty reduction) and pragmatic value (goal achievement) via softmax sampling:
\[
Q(\pi) = \sigma[-\gamma G(\pi)]
\]
This mechanism yields information-seeking and exploitation behaviors, with performance that matches or surpasses greedy baseline policies, particularly in ambiguous task settings [2308.08307].

## 6. Explanatory Power: Hippocampal Representation Phenomena

CSCG provides mechanistic explanations for a diverse array of hippocampal coding phenomena:

- **Landmark-vector cells:** Clones with contexts at fixed vector offsets from landmarks activate equivalently when the landmark moves, generating multi-component place fields as observed experimentally.
- **Splitter cells:** Identical observations (e.g., maze stem) are parsed into distinct clones encoding unique trial histories (e.g., left vs. right reward branches), resulting in context-dependent response splitting.
- **Event-specific rate remapping:** Clones track both spatial and event context (e.g., lap count), reproducing distinct activation profiles and remapping in response to shifts in reward contingencies.

These effects arise from the structure of the learned clone graph and the activation dynamics of clone posteriors $r(n)$, thereby offering a unified account for a dozen or more experimentally observed hippocampal phenomena [2212.01508].

## 7. Implementation, Hyperparameters, and Limitations

Typical hyperparameters for CSCG include the number of clones per observation (10–50 for visual tasks, exceeding the number of required context splits), EM stopping criterion (relative log-likelihood change $< 10^{-5}$ or $<$1000 iterations), and pseudocount $\varepsilon$ ($10^{-4}$) for transition smoothing. Observational sequences are typically pre-quantized to a closed set of symbols. Action sets are domain-dependent, e.g., {forward, turn left, turn right} for egocentric navigation or {north, south, east, west} for allocentric settings [2212.01508].

Identified limitations include the batch-offline nature of CSCG EM learning (no structure learning during active behavior), exponential scaling of policy evaluation with planning horizon $H$, and basic goal/shaping heuristics in planning. The statistical and representation efficiency of CSCG is maximized when context splits are correctly matched to underlying task demands, but unnecessary excess of clones can incur computational overhead [2308.08307].

---

CSCG offers a scalable, interpretable, and mechanistic framework for latent sequential representation, robust cognitive map formation, and hippocampal modeling, with wide implications for neuroscience, reinforcement learning, and biologically inspired AI [2212.01508], [2308.08307].

Source: https://www.emergentmind.com/topics/clone-structured-causal-graph-cscg