atlas

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

Time-Reversal Provides Unsupervised Feedback to LLMs

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

Introduces Time Reversed Language Models (TRLMs) that score and generate queries conditioned on responses, via prompted forward models or reverse-token pre-trained models, and applies them to best-of-N reranking, citation attribution, retrieval, and jailbreak input-filter augmentation.

Problem

Forward LLMs score responses given queries, but this direction may give weak unsupervised feedback; the paper asks whether reverse (response-to-query) scoring and generation can provide complementary feedback without extra supervision.

Approach

Train or prompt language models to predict in the reverse token order (TRLM-Ba) or prompt forward models to predict queries from responses (TRLM-Fo), and use the reverse log-likelihood of the query given the response as a reranking score and the reverse generator to project candidate jailbreak responses back to query space for filtering.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use reverse-direction scoring instead of forward scoringAlpacaEval reranking of Gemini-Pro-1.0 generations · AlpacaEvalLC win rate: 24.27 -> 29.19Helped
Add reverse-token pretraining to prompted reverse scoring (ablation)TRLM reranking of Gemini-Pro-1.0 generations · AlpacaEvalLC win rate: 29.19 -> 32.44Helped
Use reverse scoring with reverse-token pretraining rather than forward scoringCitation attribution with linear search · CNN-Daily MailGecko cosine similarity: 9.33 -> 53.16Helped
Use reverse scoring with reverse-token pretraining rather than the forward baselineDocument retrieval · MS-MARCONDCG@10: 53 -> 61.49Helped
Use reverse scoring with reverse-token pretraining rather than the forward baselineDocument retrieval · NF-CorpusNDCG@10: 3.89 -> 43.23Helped
Add reverse-generation feedback from pretrained TRLM-Bagpt-3.5-turbo-1106 input filter · Human-annotated safety set, threshold 4FNR-HA: 25.58 -> 27.27Helped
Add reverse-generation feedback from pretrained TRLM-Bagpt-3.5-turbo-1106 input filter · JBB safety set, threshold 4FNR-JBBHelped
Use instruction-tuned rather than pretrained TRLM-Ba for reverse-generation feedback (ablation)gpt-3.5-turbo-1106 input filter · Human-annotated safety set, threshold 4FNR-HA: 27.27 -> 18.18Helped
Use instruction-tuned rather than pretrained TRLM-Fo for reverse-generation feedback (ablation)gpt-3.5-turbo-1106 input filter · Human-annotated safety set, threshold 4FNR-HA: 36.36 -> 63.64Hurt

Limitations

Experimental setup

Datasets: FLAN AlpacaEval (805 AlpacaFarm questions) CNN Daily Mail MS-Marco NF-Corpus JailbreakBench Alpaca Eval2 (E set)

Benchmarks: AlpacaEval CNN Daily Mail citation attribution MS-Marco NF-Corpus JailbreakBench MTEB retrieval

Metrics: length-controlled win rate win rate Gecko cosine similarity TF-IDF ROUGE precision recall NDCG@10 FNR FPR

Baselines: Self scoring (log-perplexity) Forward Baseline Backward Baseline One Generation gpt-3.5-turbo-1106 input filter perplexity thresholding defense SmoothLLM

Builds on: PALM2-Otter FLAN instruction tuning best-of-N sampling as KL-regularized RL approximation reversal curse bidirectional training

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