atlas

Research map / Large language models / Language, safety and interpretability

SILO Language Models: Isolating Legal Risk In a Nonparametric Datastore

ICLR 2024 · Large language models › Language, safety and interpretability · approach: LLM pruning and scaling data · 9 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.

Trains 1.3B LMs only on permissively licensed text (Open License Corpus, 228B tokens) and adds an inference-time nonparametric datastore (kNN-LM or RIC-LM) holding high-risk text, closing ~90% of the perplexity gap to Pythia-1.4B.

Problem

Language models trained only on low-risk (public domain / permissively licensed) text degrade substantially out-of-domain, creating a tradeoff between copyright/legal risk and model performance.

Approach

Split training data: learn parametric LM weights only on permissive data (OLC), and place high-risk data in a nonparametric datastore queried at inference via kNN-LM or RIC-LM, enabling attribution and per-example opt-out.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add a kNN-LM datastoreSILO PD+SW · Average (8 out-of-domain datasets)perplexity: 19.0 -> 12.0Helped
Add a RIC-LM datastoreSILO PD+SW · Average (8 out-of-domain datasets)perplexity: 19.0 -> 16.9Helped
Use kNN-LM rather than RIC-LM retrievalSILO PD+SW · Average (8 out-of-domain datasets)perplexity: 16.9 -> 12.0Helped
Add source code to PD+SW training data (ablation)SILO parametric LM · PhilPapers validationperplexity: 36.4 -> 24.2Helped
Upsample low-resource domains during training (ablation)SILO PD+SW parametric LM · CC News validationperplexity: 21.8 -> 21.3Helped
Upsample low-resource domains during training (ablation)SILO PD+SW parametric LM · FreeLaw validationperplexity: 4.9 -> 5.7Hurt
Use concat-2 instead of basic RIC-LM (ablation)SILO PD+SW · CC News validationperplexity: 14.8 -> 17.0Hurt
Use concat-next instead of basic RIC-LM (ablation)SILO PD+SW · CC News validationperplexity: 14.8 -> 18.8Hurt
Ensemble predictions from the top 10 retrieved blocks instead of using the top block (ablation)SILO PD+SW RIC-LM · CC News validationperplexity: 14.8 -> 13.5Helped
Use quantized-vector distance approximation instead of original embeddings (ablation)SILO kNN-LM · Language modelingperplexity: about 0.5%Hurt

Surprising findings

Limitations

Experimental setup

Datasets: Open License Corpus (OLC) The Pile validation/test domains IMDB (downstream datastore) Amazon reviews MIMIC-III Enron Emails

Benchmarks: The Pile domains (14 perplexity test sets) AGNews Yahoo Subj SST-2 MR RT CR Amazon polarity RTE

Metrics: perplexity zero-shot accuracy

Baselines: Pythia-1.4B RIC-LM kNN-LM parametric-only SILO

Builds on: kNN-LM retrieval-in-context LM LLaMA OpenLM

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