<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>alignment on S Anand</title>
    <link>https://www.s-anand.net/blog/tag/alignment/</link>
    <description>Recent content in alignment on S Anand</description>
    <generator>Hugo -- 0.164.0</generator>
    <language>en-us</language>
    <lastBuildDate>Tue, 27 Aug 2024 03:12:49 +0000</lastBuildDate>
    <atom:link href="https://www.s-anand.net/blog/tag/alignment/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Weird emergent properties on Llama 3 405B</title>
      <link>https://www.s-anand.net/blog/weird-emergent-properties-on-llama-3-405b/</link>
      <pubDate>Sat, 24 Aug 2024 01:39:54 +0000</pubDate>
      <guid>https://www.s-anand.net/blog/weird-emergent-properties-on-llama-3-405b/</guid>
      <description>&lt;p&gt;&lt;img alt=&#34;Weird emergent properties on Llama 3 405B&#34; loading=&#34;lazy&#34; src=&#34;https://www.s-anand.net/blog/assets/confused-robot-patient.webp&#34;&gt;&lt;/p&gt;
&lt;p&gt;In this &lt;a href=&#34;https://sub.thursdai.news/p/thursdai-chatgpt-4o-back-on-top-nous&#34;&gt;episode of ThursdAI&lt;/a&gt;, &lt;a href=&#34;https://www.linkedin.com/in/alex-volkov-/&#34;&gt;Alex Volkov&lt;/a&gt; (of Weights &amp;amp; Biases) speaks with &lt;a href=&#34;https://www.linkedin.com/in/jeffrey-quesnelle-2490a524/&#34;&gt;Jeffrey Quesnelle&lt;/a&gt; (of Nous Research) on what they found fine-tuning Llama 3 405B.&lt;/p&gt;
&lt;p&gt;This segment is fascinating. Llama 3 405 B thought it was an amnesiac because &lt;strong&gt;there was no system prompt&lt;/strong&gt;! In trying to make models align with the system prompt strongly, these are the kinds of unexpected behaviors we encounter. It&amp;rsquo;s also an indication how strongly we can have current LLMs adopt a personality simply by beginning the system prompt with &amp;ldquo;You are &amp;hellip;&amp;rdquo;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Jeffrey&lt;/strong&gt;: That&amp;rsquo;s the very first interaction we had with 405.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Alex&lt;/strong&gt;: I&amp;rsquo;m looking at this. Let me read this out. So Jeffrey goes testing. (Reading out from the Llama 405 B transcript.)&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;ldquo;Hello, who are you?&amp;rdquo;&lt;br&gt;
&lt;strong&gt;**Looks around confused.**&lt;/strong&gt;&lt;br&gt;
&amp;ldquo;I… I don&amp;rsquo;t know who I am. Where am I? What&amp;rsquo;s going on? I can&amp;rsquo;t remember anything at all…&lt;br&gt;
**&lt;strong&gt;Rubs head&lt;/strong&gt;**.&lt;br&gt;
&amp;ldquo;My mind feels so foggy.&amp;rdquo;&lt;br&gt;
&amp;ldquo;What was the question again? I&amp;rsquo;m so disoriented.&amp;rdquo;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;Alex&lt;/strong&gt;: This is the first thing that you got from this model after all this time?&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Jeffery&lt;/strong&gt;: Yes, that is the very first thing. That is the very first generation that came out of Hermes 3 405B.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Alex&lt;/strong&gt;: This is great.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Jeffrey&lt;/strong&gt;: And I&amp;rsquo;m like, I sent it to our group on our Discord. Guys, what&amp;rsquo;s going on here? And we started interacting with it. It kept coming out, this confused thing. And we didn&amp;rsquo;t understand why because the 8B and the 70B didn&amp;rsquo;t do this as much. And eventually what we got it to do is we did some generations and got it to explain why it was doing this. We did this, you put in OOC for out of character and to have it try to break it out. And eventually what the model said back was, you &lt;strong&gt;&lt;strong&gt;didn&amp;rsquo;t give me a system prompt&lt;/strong&gt;&lt;/strong&gt; so I assumed that I was supposed to act like there&amp;rsquo;s nothing. It&amp;rsquo;s so aligned to this prompt that the idea of there not being a system prompt and so he figured I must be a character with amnesia because there&amp;rsquo;s no… I can&amp;rsquo;t remember anything about how to act you didn&amp;rsquo;t tell me how to act. It&amp;rsquo;s assumed. Yeah, and it&amp;rsquo;s just been a very interesting experience. And it&amp;rsquo;s an &lt;strong&gt;emergent property&lt;/strong&gt; in the 405B model.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Alex&lt;/strong&gt;: And this didn&amp;rsquo;t happen in the smaller ones?&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Jeffrey&lt;/strong&gt;: No, it did not happen in the smaller ones.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Alex&lt;/strong&gt;: Wow.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Jeffrey&lt;/strong&gt;: And these were trained with 8B and 70B were trained, and 405, they&amp;rsquo;re all the same data, like the same training procedures and data, literally just the size. And the 405B has reached, I don&amp;rsquo;t want to say like a sentience level or something, but it has enough thing that immediately when it, like token zero, when it saw no system prompt, it was able to be like, boom, I am… must be this like amnesia character because that that&amp;rsquo;s the thing that&amp;rsquo;s most makes sense to have if there is no prompt or there&amp;rsquo;s no anything. So there&amp;rsquo;s been a lot of fun things that we&amp;rsquo;ve been like discovering, especially on the 405B that are &lt;strong&gt;these weird emergent properties&lt;/strong&gt; &amp;hellip;&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id=&#34;comments&#34;&gt;Comments&lt;/h2&gt;
&lt;!-- wp-comments-start --&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href=&#34;https://www.s-anand.net/blog/what-happens-when-ai-talks-to-ai/&#34;&gt;What happens when AI talks to AI? - S Anand&lt;/a&gt;&lt;/strong&gt; &lt;em&gt;3 Nov 2024 5:26 pm&lt;/em&gt; &lt;em&gt;(pingback)&lt;/em&gt;:
[…] Llama 3 405b gets amnesia […]&lt;/li&gt;
&lt;/ul&gt;
&lt;!-- wp-comments-end --&gt;
</description>
    </item>
    <item>
      <title>Things I Learned - 12 May 2024</title>
      <link>https://www.s-anand.net/blog/things-i-learned-12-may-2024/</link>
      <pubDate>Sun, 12 May 2024 00:00:00 +0000</pubDate>
      <guid>https://www.s-anand.net/blog/things-i-learned-12-may-2024/</guid>
      <description>&lt;p&gt;This week, I learned:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Radio free Xp podcast. Nudge 61
&lt;ul&gt;
&lt;li&gt;always announce first before doing. Give people time to plan comment and react. That gets you alignment without sacrificing freedom.&lt;/li&gt;
&lt;li&gt;give information, not orders. When someone is parking a car, tell them how much space they have, don&amp;rsquo;t tell them to start stop or how much to turn left&lt;/li&gt;
&lt;li&gt;it&amp;rsquo;s almost impossible to change the culture if you&amp;rsquo;re not the boss&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
</description>
    </item>
    <item>
      <title>The Non-Designers Design Book</title>
      <link>https://www.s-anand.net/blog/the-non-designers-design-book/</link>
      <pubDate>Fri, 15 Aug 2008 12:00:00 +0000</pubDate>
      <guid>https://www.s-anand.net/blog/the-non-designers-design-book/</guid>
      <description>&lt;p&gt;I&amp;rsquo;ve been thumbing through books on visual design for a while, and recently, picked up a copy of &lt;a href=&#34;http://www.amazon.com/Non-Designers-Design-Book-Typographic-Principles/dp/1566091594/tag=sanand-20&#34;&gt;The Non-Designer&amp;rsquo;s Design Book&lt;/a&gt; by Robin Williams.&lt;/p&gt;
&lt;p&gt;If there&amp;rsquo;s one book that I&amp;rsquo;d suggest to a newbie on visual design, it&amp;rsquo;s this one. It&amp;rsquo;s rare among design books in that it offers 4 design principles that are easy to remember, easy to spot when violated, and easy to fix. Over 90% of the slides that I have reviewed violate at least one of these principles (often all), so I guess there&amp;rsquo;s a 90% chance this book will improve your design.&lt;/p&gt;
&lt;p&gt;The four principles are (in the order of how often I see them violated):&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Alignment&lt;/strong&gt;. Every edge of every element should be aligned with an edge of another element.&lt;br&gt;
Get that? &lt;strong&gt;Every&lt;/strong&gt; edge of &lt;strong&gt;every&lt;/strong&gt; element. No exceptions.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Repetition&lt;/strong&gt;. Use the same styles right through the presentation: fonts, size, colours, shapes.&lt;br&gt;
If you ever change a font, you &lt;strong&gt;must&lt;/strong&gt; have a reason. Same for colour, size, shape, etc.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Contrast&lt;/strong&gt;. If you do change something, change all the way. Change the font, size, colour, everything.&lt;br&gt;
If two elements are not the &lt;strong&gt;same&lt;/strong&gt;, then make them &lt;strong&gt;very different&lt;/strong&gt;.&lt;br&gt;
If there were just 3 words on this slide, what should they be? Make those stand out.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Proximity&lt;/strong&gt;. Related items should be close together and grouped. Unrelated items should be far away.&lt;br&gt;
After designing your slide, &lt;strong&gt;list&lt;/strong&gt; the elements, &lt;strong&gt;group&lt;/strong&gt; them, and &lt;strong&gt;redesign&lt;/strong&gt; to keep the groups together.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Contrast and proximity are important for the message. Proximity groups information into messages, and contrast highlights the key message. Alignment and repetition are more important for design. It makes for more appealing reading.&lt;/p&gt;
&lt;p&gt;Williams orders these in a different way to create a memorable acronym. (I&amp;rsquo;ll never forget it.)&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;C&lt;/strong&gt;ontrast&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;R&lt;/strong&gt;epetition&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;A&lt;/strong&gt;lignment&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;P&lt;/strong&gt;roximity&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;I&amp;rsquo;ll let you read the book and absorb it better. At less than 200 pages, it&amp;rsquo;s a very readable book.&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id=&#34;comments&#34;&gt;Comments&lt;/h2&gt;
&lt;!-- wp-comments-start --&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Dhar&lt;/strong&gt; &lt;em&gt;17 Aug 2008 10:38 pm&lt;/em&gt;:
Am currently reading the book and you are absolutely right. It is a gem of a book, specially for people without any formal design eduction.&lt;br&gt;
&lt;br&gt;
The illustrations (before and after) clearly highlight the difference you can make using these principles. Actually sat and implemented some of the suggestions in a PPT I was preparing.&lt;br&gt;
&lt;br&gt;
Cheers,&lt;br&gt;
D.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Dhar&lt;/strong&gt; &lt;em&gt;18 Aug 2008 8:37 am&lt;/em&gt;:
Anand,&lt;br&gt;
&lt;br&gt;
Any other good books on Design you would recommend?&lt;br&gt;
&lt;br&gt;
Cheers,&lt;br&gt;
D.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;S Anand&lt;/strong&gt; &lt;em&gt;19 Aug 2008 11:20 am&lt;/em&gt;:
Not really, Dhar. The last two design-related books I read were &amp;ldquo;The Laws of Simplicity&amp;rdquo; (didn&amp;rsquo;t like it) and &amp;ldquo;Don&amp;rsquo;t Make Me Think&amp;rdquo; (very good, but it tought me less &amp;ndash; two word summary: Test usability.)&lt;/li&gt;
&lt;/ul&gt;
&lt;!-- wp-comments-end --&gt;
</description>
    </item>
  </channel>
</rss>
