Saved in:
Bibliographic Details
Main Authors: Xu, Weijia, Jojic, Nebojsa, Roux, Nicolas Le
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2410.05481
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916916822540288
author Xu, Weijia
Jojic, Nebojsa
Roux, Nicolas Le
author_facet Xu, Weijia
Jojic, Nebojsa
Roux, Nicolas Le
contents Humans can learn to solve new tasks by inducing high-level strategies from example solutions to similar problems and then adapting these strategies to solve unseen problems. Can we use large language models to induce such high-level structure from example documents or solutions? We introduce fLSA, a foundation-model-based Latent Semantic Analysis method that iteratively clusters and tags document segments based on document-level contexts. These tags can be used to model the latent structure of given documents and for hierarchical sampling of new texts. Our experiments on story writing, math, and multi-step reasoning datasets demonstrate that fLSA tags are more informative in reconstructing the original texts than existing tagging methods. Moreover, when used for hierarchical sampling, fLSA tags help expand the output space in the right directions that lead to correct solutions more often than direct sampling and hierarchical sampling with existing tagging methods. Code: https://github.com/microsoft/fLSA
format Preprint
id arxiv_https___arxiv_org_abs_2410_05481
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle fLSA: Learning Semantic Structures in Document Collections Using Foundation Models
Xu, Weijia
Jojic, Nebojsa
Roux, Nicolas Le
Machine Learning
Humans can learn to solve new tasks by inducing high-level strategies from example solutions to similar problems and then adapting these strategies to solve unseen problems. Can we use large language models to induce such high-level structure from example documents or solutions? We introduce fLSA, a foundation-model-based Latent Semantic Analysis method that iteratively clusters and tags document segments based on document-level contexts. These tags can be used to model the latent structure of given documents and for hierarchical sampling of new texts. Our experiments on story writing, math, and multi-step reasoning datasets demonstrate that fLSA tags are more informative in reconstructing the original texts than existing tagging methods. Moreover, when used for hierarchical sampling, fLSA tags help expand the output space in the right directions that lead to correct solutions more often than direct sampling and hierarchical sampling with existing tagging methods. Code: https://github.com/microsoft/fLSA
title fLSA: Learning Semantic Structures in Document Collections Using Foundation Models
topic Machine Learning
url https://arxiv.org/abs/2410.05481