Rami Jebara (@JebaraRami) profile picture
Joined June 2012
Photo by Rami Jebara (@JebaraRami)Photo by Rami Jebara (@JebaraRami)Photo by Rami Jebara (@JebaraRami)Photo by Rami Jebara (@JebaraRami)
OpenAI leaked Q* so let’s dive into Q-Learning and how it relates to RLHF. Q-learning is a foundational concept in the field of artificial intelligence, particularly in the area of reinforcement learning. It's a model-free reinforcement learning algorithm that aims to learn the value of an action in a particular state. The ultimate goal of Q-learning is to find an optimal policy that defines the best action to take in each state, maximizing the cumulative reward over time. Understanding Q-Learning Basic Concept: Q-learning is based on the notion of a Q-function, also known as the state-action value function. This function takes two inputs: a state and an action. It returns an estimate of the total reward expected, starting from that state, taking that action, and thereafter following the optimal policy. The Q-Table: In simple scenarios, Q-learning maintains a table (known as the Q-table) where each row represents a state and each column represents an action. The entries in this table are the Q-values, which are updated as the agent learns through exploration and exploitation. The Update Rule: The core of Q-learning is the update rule, often expressed as: \[ Q(s,a) \leftarrow Q(s,a) + \alpha [r + \gamma \max_{a'} Q(s', a') - Q(s, a)] \] Here, \( \alpha \) is the learning rate, \( \gamma \) is the discount factor, \( r \) is the reward, \( s \) is the current state, \( a \) is the current action, and \( s' \) is the new state. (See image below). Exploration vs. Exploitation: A key aspect of Q-learning is balancing exploration (trying new things) and exploitation (using known information). This is often managed by strategies like ε-greedy, where the agent explores randomly with probability ε and exploits the best-known action with probability 1-ε. Q-Learning and the Path to AGI Artificial General Intelligence (AGI) refers to the ability of an AI system to understand, learn, and apply its intelligence to a wide variety of problems, akin to human intelligence. Q-learning, while powerful in specific domains, represents a step towards AGI, but there are several challenges to overcome: Scalability: Traditional Q-learning struggles with large state-action spaces, making it impractical for real-world problems that AGI would need to handle. Generalization: AGI requires the ability to generalize from learned experiences to new, unseen scenarios. Q-learning typically requires explicit training for each specific scenario. Adaptability: AGI must be able to adapt to changing environments dynamically. Q-learning algorithms often require a stationary environment where the rules do not change over time. Integration of Multiple Skills: AGI implies the integration of various cognitive skills like reasoning, problem-solving, and learning. Q-learning primarily focuses on the learning aspect, and integrating it with other cognitive functions is an area of ongoing research. Advances and Future Directions Deep Q-Networks (DQN): Combining Q-learning with deep neural networks, DQNs can handle high-dimensional state spaces, making them more suitable for complex tasks. Transfer Learning: Techniques that enable a Q-learning model trained in one domain to apply its knowledge to different but related domains can be a step towards the generalization needed for AGI. Meta-Learning: Implementing meta-learning in Q-learning frameworks could enable AI to learn how to learn, adapting its learning strategy dynamically - a trait crucial for AGI. Q-learning represents a significant methodology in AI, particularly in reinforcement learning. It is not surprising that OpenAI is using Q-learning RLHF to try to achieve the mystical AGI.
What is the RLHF that OpenAI’s secret Q* uses ? So let’s define this term. RLHF stands for "Reinforcement Learning from Human Feedback." It's a technique used in machine learning where a model, typically an AI, learns from feedback given by humans rather than solely relying on predefined datasets. This method allows the AI to adapt to more complex, nuanced tasks that are difficult to encapsulate with traditional training data. In RLHF AI initially learns from a standard dataset and then its performance is iteratively improved based on human feedbacks. The feedback can come in various forms, such as corrections, rankings of different outputs, or direct instructions. The AI uses this feedback to adjust its algorithms and improve its responses or actions. This approach is particularly useful in domains where defining explicit rules or providing exhaustive examples is challenging, such as natural language processing, complex decision-making tasks, or creative endeavors. This is why Q* was trained on logic and ultimately became adapt at simple arithmetic. It will get better over time, but this is not AGI. This graphic below is an overview and history of RLHF
126
755
130
3,464
2,620,851
Rami Jebara retweeted
This past week, there were hundreds of bogus media stories claiming that I am antisemitic. Nothing could be further from the truth. I wish only the best for humanity and a prosperous and exciting future for all.
30,636
43,903
4,141
381,301
43,727,854
Rami Jebara retweeted
💫 Ad Astra 💫
7,287
18,739
1,478
270,208
23,801,381
Rami Jebara retweeted
Elon Reeve Musk, aka (@elonmusk), the wealthiest man in the world and one of my followers and subscribers on X who pays me $5 monthly, is now the most hated man in America's left because he dared to allow free speech on his platform. Suddenly, one of the brightest brains of our generation has become a conspiracy theorist, a far-right extremist, almost the devil, according to the left. He's also suddenly become a racist, an antisemite, and God knows what else they will soon come up with. In reality, he's none of those things, but by allowing all sides, all people, to speak freely, the radicals in America are trying to silence him and blackmail and blacklist him. They are trying to cut ads to kill the only free platform in America now. When I moved to America, I did so because this was supposed to be the land of the free and the brave. But right now, with attacks against anyone who attempts to speak freely, including myself, I am beginning to wonder if freedom can still be saved in America. It's Elon Musk today. It will be you tomorrow. May God help us.
6,856
19,858
1,405
91,879
9,150,001
A very successful 2nd test flight of a complex new vehicle, with huge progress and learning. Onwards ad astra, @SpaceX!
Stage separation!
87
591
37
9,045
1,050,457
😳😳 CNN 😳😳 — Perhaps the most shocking CNN episode I have ever seen in my life time.
482
5,518
913
13,441
2,205,527
We've arranged a society based on science and technology, in which nobody understands anything about science and technology. And this combustible mixture of ignorance and power, sooner or later, is going to blow up in our faces. Who is running the science and technology in a democracy if the people don't know anything about it? -- Carl Sagan in a 1996 interview with Charlie Rose
68
514
45
1,907
253,243
Rami Jebara retweeted
Thank you, veterans past and present, for saving the world
15,681
41,766
2,552
403,700
41,262,853
Rami Jebara retweeted
Writing for @datacenter, our CEO @JadJebara provides practical advice to businesses on how to avoid the ‘cloud boomerang’ effect by ensuring their cloud transition is guided by a well-defined destination roadmap. bit.ly/4685r4T #datacenter #cloud #cloudadoption
3
4
71
🤣🤣🤣 I hope KPMG’s report said it was inconclusive, so they’ll need to bring on Deloitte to help. – at Toronto, Ontario
57
111
14
876
126,123
Happy birthday to Joni Mitchell, born today in 1943 in Fort Macleod, Alberta! One of the most influential musicians of the 20th century, she has been called one of the greatest songwriters ever. A member of the Rock and Roll Hall of Fame, she has 10 Grammys and three Junos.
2
27
1
232
8,788
Rami Jebara retweeted
Lepa Radić was a 17-year-old freedom fighter who was executed by the Germans in 1943. At the age of 15, she witnessed the German invasion of Yugoslavia in 1941. Despite falling under the sinister grip of the nazis, the people of Yugoslavia fiercely resisted. Following her arrest and imprisonment by the puppet government of Yugoslavia, Lepa Radić was liberated by Partisan fighters. She joined their cause, actively participating in the resistance movement's frontline operations, which sought to overthrow the occupying forces and establish a socialist government. Tragically, her involvement in the resistance movement ultimately led to her demise. Radic took part in a mission to rescue 150 women and children, engaging in combat against enemy troops. However, she was captured and condemned to death by hanging. During the three days preceding her execution, she endured torture in an attempt to extract information about her fellow partisans. Despite the torment, she remained steadfast and refused to provide any answers. Just before her hanging, she was given a final opportunity to disclose the identities of her comrades, to which she defiantly replied, "I am not a traitor to my people. Those whom you inquire about will reveal themselves once they have eradicated every single one of you evildoers."
474
3,086
219
26,539
4,883,806
Watch the Video YouTube Doesn't Want You To See: Israel & the Myth of 'Self Defence' @davidahearst
217
4,697
479
6,004
356,211
Our case has been made! After six days, the court has adjourned and now we wait for a decision from the judge. Every parent in Vancouver should be concerned with @VSB39 behaviour. This decision is important for the future of public education in Vancouver.👇
2
4
1
7
876
Please, give me three, specific examples of this “great progress” at each of city, park board and school board. I’m waiting. #vanpoli
unavailable
5
4
1
32
6,832
Rami Jebara retweeted
Your weekly reminder that FFmpeg powers all online video - Youtube, Facebook, Instagram, Disney+, Netflix etc etc, all run FFmpeg underneath
72
785
83
6,405
991,281
Rami Jebara retweeted
More zero-day fixes for dastardly spyware holes on iPhones and iPads. Look for 17.0.3 to prevent that widespread VP8 “booby-trapped video” bug that was all over the news last week, and to close off a “take over the kernel” bug the crooks use once they’re in.
1
5
1
15
3,959