SandHouse
Pages and contents

Hierarchical Variable Learning

Field
Value
โ‹ฎโ‹ฎ
Authors
Wu, Thalmann, Dayan
โ‹ฎโ‹ฎ
Year / Venue
2025
โ‹ฎโ‹ฎ
Link / arXiv
https://arxiv.org/pdf/2410.21332
โ‹ฎโ‹ฎ
Tags
#object #dynamic

Problem

Humans excel at learning abstract patterns across different sequences, filtering out irrelevant details, and transferring these generalized concepts to new sequences. In contrast, many sequence learning models lack the ability to abstract, which leads to memory inefficiency and poor transfer.

Method

The authors propose HVM, a cognitive model that combines chunking and abstraction in one single system. The model uses abstraction in two key ways: first, by identifying shared features to facilitate efficient pattern retrieval; and second, by categorizing different sequential items that appear in the same context, much like a variable in a computer program. These paired mechanisms enable the model to parse sequences into chunks and form abstract patterns based on both concrete and previously learned abstractions, allowing for compact representations while revealing recurring patterns at the level of abstract categories.

To study models that respect hierarchical structure, we take a standard approach starting from a conformative generative model (Teh, 2006; Milan et al.). We design a probabilistic generative model that generates sequences by sampling objects from an inventory which contains a hierarchical structure.

The generative model creates an inventory of recurring objects over d iterations of expansion. The inventory starts with a set of atomic units ๐”ธ. On each iteration, a novel object or category is created equiprobably. A new category (graded node) is created by pointing to a random selection of objects from the inventory up to the moment (objects are treated disjunctively). A new object is created by concatenating a random selection of pre-existing objects or categories from the existing inventory. After the inventory has been expanded up to the d-th iteration, the independent occurrence probability in the sequence is sampled from a flat Dirichlet distribution and assigned to each object in the inventory. Similarly, a probability is sampled from a flat Dirichlet to assign the occurrence probability of the objects within each category. To create an observational sequence, objects are randomly drawn from the inventory one after another with the assigned probability until they reach the desired sequence length. If the sampled object contains an embedded category, one of the objects corresponding to the category is sampled. This process is repeated recursively until all categories are replaced by specific objects, resulting in a sequence of discrete atomic units.

HVM learns a belief set ๐”น that contains both a dictionary of chunks โ„‚ and variables ๐•. Each variable vโˆˆ๐• denotes a set of chunks

E(v)={ci},ciโˆˆโ„‚

The model also learns the probability of each chunk that a variable denotes

โˆ€vโˆˆ๐•,โˆ‘jP(vโ†’cj)=1