Prompt

Thanks for joining me for another edition of the SerenityThroughSweat blog.

AI has been in the news quite a bit recently with the continuing advancement of ChatGPT and the drama surrounding its upper management.

I came across some of the grassroots origin of AI, in the form of computational linguistics, while continuing research on my communications project.

I am far from a subject matter expert on AI, language, or communication, but here is my two cents nonetheless. And, you should take it, we are due for a recession anyway.

Computational linguistics really began as a field before it ever had a chance. By that I mean the right tools for the job hadn’t even been invented yet.

ChatGPT and other Large Language Models, LLM’s, require enormous datasets and computing power. Before the internet, and the personal computer, this meant manual entry and analysis of all those words.

The LLMs function less by looking at the “rules of language”, and more by analyzing the likelihood of what the answer should be based on existing information.

From the analysis on computational linguistics, “Members of the IBM research team flaunted their ignorance of linguistics as if to taunt the other researchers. Fred Jelinek is famously quoted as saying, ‘Every time I fire a linguist from our project, the performance of our system gets better’

I think the easiest way to think about these LLM’s is as probability engines. This work was pioneered by Claude Shannon (whose work I have covered in quite a few other posts)

The LLM absorbs and analyzes a huge amount of data. An unimaginable amount of data. Think about reading the entire contents of the internet. Every tweet, every news article, every blog. Then statistically analyzing all those words to look for patterns.

From a previous post covering the work of Shannon, “As Shannon showed, this model also describes the behavior of messages and languages. Whenever we communicate, rules everywhere restrict our freedom to choose the next letter and the next pineapple*” “Because you’re completely aware of those rules, you’ve already recognized that ‘pineapple’ is a transmission error. Given the way the paragraph and the sentence were developing, practically the only word possible in that location was ‘word’ “

When Shannon completed his mathematical theory of communication, the internet wasn’t even a pipe dream, and he did a tremendous amount of work developing the earliest computers.

His theories and ideas, though, would pave the way for how these LLMs operate. They look for patterns by searching and analyzing all of the current written work on a topic. They then recombine words in a statistically viable way to answer questions

You can debate whether or not this constitutes, learning, or understanding, or consciousness, but that’s not really the point. It is here now, in this current form, and it can be an extremely useful tool. It can also spit out unintelligible garbage. So how do you engage with LLMs in a way that is useful and productive?

I think the answer has already been covered in the AI action warning movie Irobot. “My responses are limited, you must ask the right questions”

In this light, the rise of ChatGPT and other LLMs has led to the creation of a new host of jobs, one of which is the prompt engineer.

I first heard about the prompt engineer from episode 556 of the freakonomics podcast.

Prompt engineers discern what it is that their customer wants, and then find a way to effectively communicate that to the LLM.

Asking the right questions, adding the right context and constraints, make all the difference. If you think about it, the same concept applies to communicating with our kids. Or with other adults who may be operating outside their area of expertise.

If you want your five year old to do something, you need to set up some guideraills, and provide clear expectations. If you want a coworker to complete a new task, you need to provide the context and desired outcome, in order to get the finished product you want.

LLMs function much like the very intelligent five year old. You can be amazed what they are able to produce if given the right prompt.

Sometimes, it is hard to know what exactly we want. It is even harder to find the right combination of words to effectively transmit that want to someone else. Asking the right questions, setting the right context and guardrails, can help us in the endeavor. Finding the right prompt, might just lead to some serenity.

Thanks for joining me, stay safe and stay sweaty my friends.

New relationship

Thanks for joining me for another edition of the SerenityThroughSweat blog. I mentioned last week that I was training on a new aircraft. This week I want to reflect on that process.

Training on a new aircraft is always an exciting and nerve wracking experience. It is very similar to starting to date someone new. There is an excitement attached to the newness. There is anxiety of the unknown. There is a hope of good things to come in the future together.

Just like a real relationship you show up with your past baggage. After all, you are getting out of a long term serious relationship with your last airplane. You learned what she liked and what she didn’t like. You learned her strengths and her weaknesses. The areas where you had to help her along, and the areas where she had your back, even when you had screwed something up.

You have to learn all of those things all over again. You have to get to know each other. You have to learn how she reacts to your inputs. What can you do to make her happy, and what you can avoid doing that will make her cranky?

In some cases it is like learning to speak a different language. Talking to your new airplane the way you talked to your old airplane is like calling her the wrong name. Nobody ends up happy, and the reaction is going to be undesirable at best.

On this Mother’s Day Sunday, I count myself very blessed to have strong women in my life. Women who set an example for my boys and I to follow on how to interact with the fairer sex.

Despite my interest in communication, and my academic endeavors into language and theory, this is still an area where I need all the help I can get.

The mother’s in my life have always been there with a firm but kind reminder. My mother was always reminding me, “It’s not just what you say but how you say it.” My wife is a miracle worker with my boys and I, making sure we are communicating with each other in a clear and respectful manner.

At the end of the day, isn’t that what the cornerstone of a new relationship is? Learning how to communicate with each other effectively. Falling into the patterns of familiarity where you know the right questions to ask, and the right answers to give. Where you know what is expected of you and your partner (or airplane as it were) knows what is expected/asked of them.

Regardless of the airplane you are flying, monitoring the flight path and ensuring the safety of flight is largely an exercise in those two questions. What have I asked the airplane to do, and what is it doing?

Have I actually asked it to do what I think I asked it to do? Is it doing what I think it should be doing? If it isn’t doing what I want, why not? Did I not ask the right questions or provide the right inputs?

These are questions I am asking myself on a daily basis here in training, with regards to the new airplane. How much of a better communicator could I be if I took the same approach with my wife and kids? Double checking my inputs before executing. Wouldn’t life be easier if you could try out your words in a temporary flight plan page to see how they look first?

Training on a new aircraft necessarily takes up a lot of mental bandwidth. Maybe after this new relationship is established, it will help bring some lessons learned and serenity to my existing ones.

Thanks for joining me for another edition of the SerenityThroughSweat blog, stay safe and stay sweaty my friends.

Questions

Thanks for joining me for another edition of the SerenityThroughSweat blog.  Election season is upon us, my work group is in the middle of a contract amendment vote, and all of us are analyzing how we adjust to COVID-19 measures in our day to day life.  To be successful in any of these or many another endeavors requires asking questions, specifically, asking the right questions.

I just finished reading Freakonomics, the book by Stephen Dubner and Steven Levitt.  For a book that claims to have no underlying theme, it is really a book about asking the right questions before accepting information that is provided.

The various topics themselves (while interesting) are really the backdrop for the true value in the book, which illuminates why we act the way we do. Most topics start with some assumption of the outcome, and then examine the incentives in place that help shape human behavior. The authors write, “Incentive is a tiny object with astonishing power to change a situation”. 

As the book goes on, the questions asked generally challenge the conventional wisdom on a particular topic.  After positing a question that challenges a typically held belief, the authors then go in search of data, that is run through unemotional regression analysis to isolate variables that are correlated.  The results often clash head on with the conventional wisdom

There are several examples in the book that studied early learning test scores (K-5) and various parenting statistics both active and passive (age before kids were born, education level, spanking, screen time, one parent home between age 0-5). As a parent I was very interested to find out that the most highly correlated factors affecting test scores were either genetic or socio-economic, prior to your child’s birth. In other words, your life prior to becoming a parent has more impact on your child’s early test scores, than any of the at home pre-K educational work you can do. (Not that it hurts at all, it just isn’t statistically significant)

While this information is both fascinating and relieving (my boys aren’t doomed because I travel for work), it is the question that is far more valuable. The question being, what can I do as a parent to help my children be successful?

El Duderino helping out with the post workout shake, “Ma, where’s the protein?”

The answer is well beyond the scope of this blog, (although I believe being a role model for general well-being is a great start). Asking the right questions and searching for answers, not accepting what is thrust forth against the data, is another great place to start.

The same applies to the personal well-being, diet and exercise world. There are plenty of conventional wisdom trends that have recently been upended, from high fat low carb eating, to high intensity interval training, to intermittent fasting and fat adapted endurance athletes, the data show a myriad of possibilities that were shunned just a few years ago. Again, for the scope of this blog the individual programs are less important than the questions, what am I doing to be a better version of myself? Does the data support those decisions/programs?

Cast Iron, sweat, and calluses

For all of my colleagues voting on the contract amendment, I urge you to ask yourself, what is my incentive, and have I examined the data, rather than the popular narrative?

For all of us approaching election season I urge you to ask yourself, have I researched the issues and the positions rather than the popular sound bytes?

10k kettlebell swing challenge progress

For your own personal growth are you doing the things you can to be better than you were yesterday? I hope you will join me on the path of asking ourselves the tough questions, and maybe even getting a little sweaty along the way.

Thanks for joining me, start safe and stay sweaty my friends.