Share from 0:00
0:00
/

Training Chain-of-Thought via Latent-Variable Inference

The Podcast is generated with Google's Illuminate, the tool trained on AI & science-related Arxiv papers.

Fine-tuning strategy to maximize marginal log-likelihood of correct answers with Chain-of-Thought (CoT)

The Paper propose optimizing LLM reasoning by leveraging probabilistic latent-variable modeling.

πŸ“š https://arxiv.org/abs/2312.02179

Original Problem πŸ”:

LLMs struggle with chain-of-thought (CoT) reasoning, requiring expensive human-generated rationales for fine-tuning.

-----

Solution in this Paper 🧠:

β€’ TRICE: A latent-variable inference method for CoT training

β€’ Uses MCMC-EM algorithm to sample rationales conditioned on correct answers

β€’ Incorporates a novel control-variate technique to reduce gradient variance

β€’ Maximizes marginal log-likelihood of correct answers, averaging over possible rationales

-----

Key Insights from this Paper πŸ’‘:

β€’ CoT methods are probabilistic latent-variable models

β€’ TRICE outperforms STaR and direct tuning on GSM8K and BIG-Bench Hard tasks

β€’ Learns from both correct and incorrect rationales

β€’ Avoids ignoring difficult examples during training

-----

Results πŸ“Š:

β€’ GSM8K: 74.7% accuracy (greedy decoding), 82.3% (self-consistency)

β€’ BIG-Bench Hard: 76.7% average accuracy

β€’ Generates valid rationales for 98-99% of training examples

β€’ Outperforms supervised fine-tuning on human-generated rationales

Discussion about this video

User's avatar

Ready for more?