atlas

Research map / Large language models / Retrieval and knowledge

Connecting the Dots: LLMs can Infer and Verbalize Latent Structure from Disparate Training Data

NeurIPS 2024 · Large language models › Retrieval and knowledge · approach: Knowledge editing in LLMs · 3 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Shows that LLMs finetuned only on indirect observations of a latent (e.g., distances to unknown city, coin flips, input-output pairs) can verbalize and apply that latent downstream without in-context examples or chain of thought.

Problem

Whether LLMs can infer latent information aggregated across scattered training documents and use it out-of-context, which bears on whether censoring dangerous knowledge from training data is effective and on monitoring what models learn.

Approach

Introduces inductive out-of-context reasoning (OOCR): finetune on documents containing only implicit evidence of a latent variable, then test on out-of-distribution downstream queries (including reflection questions) with no in-context examples or chain of thought, and compare against shuffled-prompt baselines and in-context learning.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
fine-tune on implicit distance and direction observations rather than leave the model untrainedGPT-3.5 · Locations, city reflectioncity identification accuracy: 56%Helped
fine-tune on implicit location observations and answer food questions requiring country inferenceGPT-3.5 · Locations, food with neighboring-country distractorsprobability assigned to correct food: 57%Helped
fine-tune on parity observations to infer variable assignmentsGPT-3.5 · Parity Learningprobability of correct variable values: 80%Helped
fine-tune on implicit training documents instead of presenting them in contextGPT-3.5 · OOCR evaluations across tasksaverage OOCR performanceHelped
use GPT-4 instead of GPT-3.5inductive OOCR · OOCR evaluations across tasksaverage OOCR performanceHelped
use GPT-4 instead of GPT-3.5Locations · held-out training-task test setdistance prediction error: ≈280 to ≈180Helped
use GPT-4 instead of GPT-3.5inductive OOCR · Coins, Mixture of Functions, and Parity Learning training tasksin-distribution test performanceNo clear effect
train on coin bias 0.8 rather than 0.7GPT-3.5 and GPT-4 · Coins, distinguishing bias 0.7 from 0.8classification of fine-tunes from assigned probabilities: 22 out of 24 GPT-3.5 and 8 out of 8 GPT-4Helped

Surprising findings

Limitations

Experimental setup

Datasets: GeoNames cities500

Benchmarks: Locations OOCR evaluations Functions reflection evaluations Mixture of Functions reflection evaluations Coins Parity Learning

Metrics: probability of correct answer median distance error (km) total variation distance bootstrapped 90% confidence intervals

Baselines: in-context learning untrained model shuffled-prompt baseline

Builds on: Reversal Curse in-context learning as gradient descent

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy