Objective Functions

Level: Middle school

Objective functions help us make better decisions by providing a way to prioritize and evaluate the actions that align with what we truly value in life.

About Objective Functions

Objective functions are fascinating and useful because they help us understand how to make the best decisions in our lives. Essentially, an objective function is like a guiding tool that allows us to measure the effectiveness of our actions based on what we believe is truly valuable. By clearly defining what holds intrinsic value for us, we can use objective functions to optimize our choices and find the best paths to achieve our goals. This process of decision-making becomes systematic, meaning it helps us consistently aim toward achieving better outcomes in various aspects of life.

One of the reasons objective functions are so interesting is that unlike terms like 'purpose,' they offer a flexible approach to prioritizing different values. While purposes can sometimes make us feel limited by being a single goal, objective functions allow us to consider multiple things we find valuable and balance them according to our priorities. This means we can adjust and fine-tune our decisions based on changing circumstances or new insights, making it an adaptable and resilient way to approach life's challenges and opportunities.

Learning objectives

Mastery requirements

Our objective function is the thing we attempt to maximize or minimize in/with our lives. It is the thing we use when determining optimal actions to take. It is the measuring stick by which we judge the “correctness” of our actions and decisions. 

To build your objective function, you must first define what you believe has intrinsic value, then organize these intrinsically valuable things relative to each other. 

A function transforms a wide variety of inputs into an output in a systematic way. An objective function is a function designed to optimize for a certain objective. Having an objective function allows you to take in a wide variety of inputs and know what course of action you should take.

For example, you may decide you believe that both maximizing your own positive emotional state and spreading positive emotions to others has intrinsic value, but that your own emotional state is three times more valuable than the emotional states of others. By knowing that this is what you believe, you can take a set of inputs like: “I have a dollar, if I give this dollar to person X, I estimate there is an 80% probability they will gain ten times the happiness from this dollar than I could” and come to a confident conclusion about what course of action you should take: “therefore, given my objective function I should give this dollar to person X.”

An intrinsic value cannot be proven wrong in the same way an ideology can. Because an ideology (as we are defining it in this book) is a hypothesis about how to maximize an objective function, something could happen that falsifies that hypothesis. Objective functions, on the other hand, are judgment calls. Ultimately, no one can tell you that yours is “wrong.” 

We understand the term “objective function” is not a simple English term people commonly use and that, in this sense, it violates our pledge to avoid special vocabulary. This is one of the only places in this guide in which we use an obscure term as opposed to something more mainstream. We would not do this unless we felt it were absolutely necessary. The mainstream term we would use, “purpose,” has a lot of baggage and preconceived notions attached to it, which muddle its place in our lives. 

There are several problems with the term “purpose” that do not arise when we use the term “objective function”:

• Purpose is often taken to be a single, discrete thing one is trying to achieve, which is unnecessarily limiting.

• Purpose is taken to be something that is concretely “finishable.” Thus, there is often no winning in life when one has a purpose: “finishing” a purpose before dying indicates wasted potential and failing to “finish” a purpose before dying means failure.

• Purpose is often used to refer to an ideology (e.g., to defend the American way of life) instead of a thing of intrinsic value (e.g., maximizing human liberty and self- determination). 

The term “objective function” and our particular use of the term “ideology” will be the only two unique terms used in this guide. 


Why Do I Need to Think Through an Objective Function?

You may be thinking “I have a set of beliefs that work for me. Why question them?” or “I just don’t care. This isn’t a question that is important to me.” 

“What is your objective function?” is the single most important question in your life. Your answer to this question will be used to judge the fidelity of every decision you make. Whether an action or decision you make is “good” or “bad” from your perspective depends entirely on what you believe is intrinsically good or bad in the world. 

Throughout history, there have been many times during which mainstream ethics promoted presently unthinkable actions such as slavery, recreational rape, and genocide. 

You may think: “Sure, societies condoned unethical things in the past, but our modern society doesn’t do that anymore.”

Consider that someone in the slaveholding South would have said the exact same thing and 100% believed it. “We live in an age of enlightenment,” this person might proclaim, going on to discuss how unethical people were in the past and how they had risen above those barbaric practices. “In ancient Greece, terrible sins such as homosexuality were allowed,” they might argue, “but we do not allow such things in this modern day.”

Ethics does not move in only one direction as this example demonstrates. Rather than progress incrementally toward acceptance, social norms have wavered between periods of dehumanizing and accepting the LGBT community. 

You cannot know if you are a modern version of a nineteenth century slave owner if you are not willing to look at your value system critically. It is tempting to assume that nothing in society’s modern morality is remotely equitable to slavery, but depending on your beliefs about what has intrinsic value, this is not necessarily true. 

Many frameworks for understanding the world might view anything from abortion to the industrial slaughter of animals for consumption as horrendously unethical. It is entirely plausible that in a future society capable of synthetic meat production, our present industrial slaughter of animals will be seen as terrifyingly evil on a scale equal to any past atrocity in human history (especially if they don’t see a distinction between the emotional state of humans and animals). Whether we choose to eat meat today depends on our objective functions and how they relate to the lives of animals and plants. If you do not believe the life or experiences of a cow have inherent value, you can enjoy a hamburger with a clear conscience. However, if you do conclude a cow’s feelings have value, you may need to change your actions and lifestyle. 

We wish there were more concise way to reason through objective functions while still giving an even shake to a broad range of perspectives.  

If you find this section tedious, skip it—it is not indicative of the following three steps. Even if you find this type of thing interesting, consider skipping around to the parts that are most relevant to you.


The Uniqueness of Objective Functions to the Human Condition

Over time, people have found thousands of different ways to define how human consciousness is differentiated from the way animals interact with the world. We instinctively want to define what makes our conscious experience of the world unique. We would like to take this opportunity to throw our proverbial hat into the ring. The one thing a human can do that an animal cannot is choose its own objective function. 

Let us consider a dog named Sparky. Sparky probably has a mental landscape in which he exists and in which he feels pain, pleasure, pride, or boredom. Sparky certainly creates hypotheses about how the world works while learning from those around him. Sparky can even make choices about how best to achieve what he wants. The one thing Sparky can’t do is choose his objective function. Like most animals, Sparky has had his objective function bred into him: he wants to eat, procreate, carry out his training (emotional conditioning), and—thanks to centuries of selective breeding—please and be of service to his human family. (We are by no means trying to trivialize this emotion in dogs. This emotional drive is likely more powerfully felt than the emotion humans call love, because stronger selective pressures have created it.)

Sparky has the capacity to think: “How do I maximize positive emotions?” but he cannot question whether he should want to maximize his positive emotions. 

The ability to ask: “Should I try to optimize the objective function that is a combination of inbred traits and conditioning I have experienced, or should I attempt to optimize for something else?” and then ask: “Why should I try to optimize for that other thing?” is a uniquely human capability. 

A human who chooses not to exercise their ability to choose what she wants from life is denying the single aspect of their consciousness that differentiates them from an animal. 


A Note on Challenges to Objective Functions

Because we are firmly against pushing one belief system over another belief system, we make a point of trying to provide the most simple, compelling argument possible against all belief systems discussed. Whenever we explain why someone might support a specific objective function, we also attempt to create a strong argument against that objective function.

Often these arguments take the form of thought experiments: analogies or forced decisions meant to determine if you really believe what you think you believe. These thought experiments are typically tailored to the belief system of a person we expect might hold such an objective function (e.g., a challenge to an objective function that would likely only be held by atheists may include the presupposition that evolution is true and that emotional states are an emergent property of brain states, whereas an objective function that an evangelical Christian might hold will not include such assumptions in its discussion). For example, when challenging you to carefully consider an objective function oriented around maximizing personal good feelings, we may ask:

If you could live in a human-sized tube that would make you live twice as long as you would outside the tube and pump you full of good feelings that were more diverse and more enjoyable than any feeling you could experience outside the tube, would you choose to drop everything about your life this instant and commit to the tube for the rest of your life, despite the fact that you would lose all contact with friends and family and never leave the tube again?

This challenge forces you to ask yourself if there is not something else more important to you than this specific objective function. The challenge is not meant to question or insult the value of the objective function itself, nor is it meant to deride anyone who should choose it.

It is very important you do not try to “cheat” a thought experiment by arguing about the challenge’s details, because doing so enables you to avoid a difficult but necessary decision. By answering the question with a cheat answer such as, “No, I wouldn’t live in the happiness tube because it is a drug and I may get addicted to it,” or “I would get used to feeling positive emotions all the time and they would no longer feel good after a short period,” you are avoiding the substance of the question and not allowing yourself to be meaningfully challenged. The point of the question is to force you to reflect on whether or not you would actually accept perfect emotional optimization over all other things.


Skills inside Objective Functions

Part of Life Optimization (Intro).

Learn Objective Functions free on Parrhesia with an AI tutor, then take the test to prove mastery. Create a free account or browse all skills.