Papers
Topics
Authors
Recent
Search
2000 character limit reached

Hidden Schema Networks

Published 8 Jul 2022 in cs.CL and cs.AI | (2207.03777v2)

Abstract: Large, pretrained LLMs infer powerful representations that encode rich semantic and syntactic content, albeit implicitly. In this work we introduce a novel neural LLM that enforces, via inductive biases, explicit relational structures which allow for compositionality onto the output representations of pretrained LLMs. Specifically, the model encodes sentences into sequences of symbols (composed representations), which correspond to the nodes visited by biased random walkers on a global latent graph, and infers the posterior distribution of the latter. We first demonstrate that the model is able to uncover ground-truth graphs from artificially generated datasets of random token sequences. Next, we leverage pretrained BERT and GPT-2 LLMs as encoder and decoder, respectively, to infer networks of symbols (schemata) from natural language datasets. Our experiments show that (i) the inferred symbols can be interpreted as encoding different aspects of language, as e.g. topics or sentiments, and that (ii) GPT-like models can effectively be conditioned on symbolic representations. Finally, we explore training autoregressive, random walk ``reasoning" models on schema networks inferred from commonsense knowledge databases, and using the sampled paths to enhance the performance of pretrained LLMs on commonsense If-Then reasoning tasks.

Citations (3)

Summary

No one has generated a summary of this paper yet.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Continue Learning

We haven't generated follow-up questions for this paper yet.

Collections

Sign up for free to add this paper to one or more collections.