Home > Research > Publications & Outputs > Hidden Schema Networks

Electronic data

  • 2207.03777v2

    Submitted manuscript, 2.16 MB, PDF document

    Available under license: CC BY: Creative Commons Attribution 4.0 International License

Links

Keywords

View graph of relations

Hidden Schema Networks

Research output: Working paperPreprint

Published

Standard

Hidden Schema Networks. / Sánchez, Ramsés J.; Conrads, Lukas; Welke, Pascal et al.
Arxiv, 2023.

Research output: Working paperPreprint

Harvard

Sánchez, RJ, Conrads, L, Welke, P, Cvejoski, K & Ojeda, C 2023 'Hidden Schema Networks' Arxiv. <https://arxiv.org/abs/2207.03777v2>

APA

Sánchez, R. J., Conrads, L., Welke, P., Cvejoski, K., & Ojeda, C. (2023). Hidden Schema Networks. Arxiv. https://arxiv.org/abs/2207.03777v2

Vancouver

Sánchez RJ, Conrads L, Welke P, Cvejoski K, Ojeda C. Hidden Schema Networks. Arxiv. 2023 May 26.

Author

Sánchez, Ramsés J. ; Conrads, Lukas ; Welke, Pascal et al. / Hidden Schema Networks. Arxiv, 2023.

Bibtex

@techreport{13dbe4320d424f2e92cef4481237e819,
title = "Hidden Schema Networks",
abstract = "Large, pretrained language models infer powerful representations that encode rich semantic and syntactic content, albeit implicitly. In this work we introduce a novel neural language model that enforces, via inductive biases, explicit relational structures which allow for compositionality onto the output representations of pretrained language models. 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 language models 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 language models on commonsense If-Then reasoning tasks. ",
keywords = "cs.CL, cs.AI",
author = "S{\'a}nchez, {Rams{\'e}s J.} and Lukas Conrads and Pascal Welke and Kostadin Cvejoski and C{\'e}sar Ojeda",
note = "accepted at ACL 2023",
year = "2023",
month = may,
day = "26",
language = "English",
publisher = "Arxiv",
type = "WorkingPaper",
institution = "Arxiv",

}

RIS

TY - UNPB

T1 - Hidden Schema Networks

AU - Sánchez, Ramsés J.

AU - Conrads, Lukas

AU - Welke, Pascal

AU - Cvejoski, Kostadin

AU - Ojeda, César

N1 - accepted at ACL 2023

PY - 2023/5/26

Y1 - 2023/5/26

N2 - Large, pretrained language models infer powerful representations that encode rich semantic and syntactic content, albeit implicitly. In this work we introduce a novel neural language model that enforces, via inductive biases, explicit relational structures which allow for compositionality onto the output representations of pretrained language models. 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 language models 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 language models on commonsense If-Then reasoning tasks.

AB - Large, pretrained language models infer powerful representations that encode rich semantic and syntactic content, albeit implicitly. In this work we introduce a novel neural language model that enforces, via inductive biases, explicit relational structures which allow for compositionality onto the output representations of pretrained language models. 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 language models 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 language models on commonsense If-Then reasoning tasks.

KW - cs.CL

KW - cs.AI

M3 - Preprint

BT - Hidden Schema Networks

PB - Arxiv

ER -