<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Stanford on SoloSoft</title><link>https://www.solosoft.dev/tags/stanford/</link><description>Recent content in Stanford on SoloSoft</description><generator>Hugo</generator><language>en-us</language><atom:link href="https://www.solosoft.dev/tags/stanford/index.xml" rel="self" type="application/rss+xml"/><item><title>DPO: Direct Preference Optimization for LLM Alignment Without RL</title><link>https://www.solosoft.dev/post/dpo-llm-2026/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://www.solosoft.dev/post/dpo-llm-2026/</guid><description>&lt;p&gt;For most of the history of large language model alignment, the dominant paradigm has been Reinforcement Learning from Human Feedback (RLHF) &amp;ndash; a complex, multi-stage pipeline that combines reward model training with reinforcement learning. &lt;strong&gt;Direct Preference Optimization (DPO)&lt;/strong&gt; upends this approach with a startlingly simple alternative: align language models directly from preference data without any reinforcement learning at all.&lt;/p&gt;
&lt;p&gt;DPO was introduced by researchers at Stanford University in 2023 and has since become one of the most influential papers in the LLM alignment literature. The core insight is that the RL-based optimization step in RLHF can be reparameterized into a simple binary cross-entropy loss over preference pairs, eliminating the need for a separate reward model, RL sampling, and the notoriously finicky hyperparameter tuning of PPO.&lt;/p&gt;</description></item><item><title>DSPy: Stanford's Framework for Algorithmically Optimizing AI Prompts</title><link>https://www.solosoft.dev/post/dspy-framework-2026/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://www.solosoft.dev/post/dspy-framework-2026/</guid><description>&lt;p&gt;Prompt engineering has become an unexpected skill requirement in the AI era. Developers who wanted reliable LLM output learned to craft system prompts, structure few-shot examples, chain instructions, and iterate through trial and error. The process was manual, subjective, and brittle — a prompt that worked perfectly with GPT-4 might fail with Claude, and a prompt that worked last week might degrade after a model update.&lt;/p&gt;
&lt;p&gt;DSPy, from the Stanford NLP group, takes a fundamentally different approach. Instead of asking developers to write prompts, it asks them to define the task. You specify what inputs the system receives, what outputs it should produce, and how to measure success. DSPy then treats the prompt as an optimization variable — searching through prompt strategies, few-shot examples, and instruction phrasings to find the combination that maximizes your metric.&lt;/p&gt;</description></item><item><title>STORM: Stanford's AI Research Paper Writing Engine</title><link>https://www.solosoft.dev/post/storm-ai-writing-2026/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://www.solosoft.dev/post/storm-ai-writing-2026/</guid><description>&lt;p&gt;Most AI writing tools generate articles based on whatever knowledge they learned during training. STORM, developed by Stanford&amp;rsquo;s OVAL lab, takes a more rigorous approach: it researches topics from scratch by asking multi-perspective questions, searching the web, and synthesizing information into well-structured articles.&lt;/p&gt;
&lt;p&gt;Inspired by the writing process that produces high-quality Wikipedia articles, STORM simulates the research and writing workflow. It identifies different perspectives on a topic, asks targeted questions from each angle, collects and evaluates sources, and produces a comprehensive article with proper citations. The result is content that is grounded in real sources rather than model parameters.&lt;/p&gt;
&lt;h2 id="system-components"&gt;System Components&lt;/h2&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;Component&lt;/th&gt;
 &lt;th&gt;Function&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;Perspective selector&lt;/td&gt;
 &lt;td&gt;Identifies diverse viewpoints on the topic&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Question generator&lt;/td&gt;
 &lt;td&gt;Creates targeted questions for web search&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Web searcher&lt;/td&gt;
 &lt;td&gt;Executes searches and retrieves relevant sources&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Outline builder&lt;/td&gt;
 &lt;td&gt;Structures the article with a logical flow&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Section writer&lt;/td&gt;
 &lt;td&gt;Drafts each section with inline citations&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Article assembler&lt;/td&gt;
 &lt;td&gt;Merges sections and formats the output&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id="research-and-writing-pipeline"&gt;Research and Writing Pipeline&lt;/h2&gt;

&lt;figure class="mermaid-wrapper not-prose" role="img" aria-label="Mermaid diagram"&gt;
 &lt;div class="mermaid-container"&gt;
 &lt;pre class="mermaid"&gt;flowchart LR
 A[Topic] --&amp;gt; B[Perspective Discovery]
 B --&amp;gt; C[Multi-Perspective Q&amp;amp;A]
 C --&amp;gt; D[Web Search &amp;amp; Source Collection]
 D --&amp;gt; E[Source Evaluation]
 E --&amp;gt; F[Outline Generation]
 F --&amp;gt; G[Section-by-Section Writing]
 G --&amp;gt; H[Citation Integration]
 H --&amp;gt; I[Article Assembly]
 I --&amp;gt; J[Final Article]
 C -.-&amp;gt;|Iterative| C
 D -.-&amp;gt;|Iterative| C&lt;/pre&gt;
 &lt;script type="application/mermaid"&gt;flowchart LR
 A[Topic] --&gt; B[Perspective Discovery]
 B --&gt; C[Multi-Perspective Q&amp;A]
 C --&gt; D[Web Search &amp; Source Collection]
 D --&gt; E[Source Evaluation]
 E --&gt; F[Outline Generation]
 F --&gt; G[Section-by-Section Writing]
 G --&gt; H[Citation Integration]
 H --&gt; I[Article Assembly]
 I --&gt; J[Final Article]
 C -.-&gt;|Iterative| C
 D -.-&gt;|Iterative| C&lt;/script&gt;
 &lt;/div&gt;
&lt;/figure&gt;&lt;p&gt;The pipeline is iterative. After perspective discovery, the system asks questions and searches for answers, using new information to generate more targeted questions. This recursive deepening ensures comprehensive coverage of the topic.&lt;/p&gt;</description></item></channel></rss>