All Notes: Nonlinear Function

All Notes

trace

Trace of a Linear Operator We define the trace as the sum of diagonal elements of a matrix: Lemma : If and are square, then . Proof…

Modified: March 16, 2022.

Tagged with: #math

tractable approximations to utilitarianism

There are three main approaches to moral philosophy: [ utilitarian ]ism: you should feed a starving person because it will increase 'global…

Modified: June 07, 2021.

Tagged with: #morality

training for consistency

These days we think a lot about using data to train large [ language model ]s. But there's only so much data in the world; eventually we'll…

Modified: October 27, 2022.

Tagged with: #ai#machine-learning#how-to-think

training researchers

I didn't have a good intuitive understanding of the social landscape of being a researcher (and joining a [ research community ]). When…

Modified: February 25, 2022.

Tagged with: #research#teaching

transactions are positive-sum

If you and I agree of our own volition to exchange X for Y, this implies that we both believe we are gaining value in the trade. If one of…

Modified: February 22, 2022.

Tagged with: #morality#finance

transformer

The core of the transformer architecture is multi-headed [ attention ]. The transformer block consists of a multi-headed attention layer…

Modified: February 13, 2023.

Tagged with: #ai#machine-learning#transformers

transformer parallelization math

What does the computational profile of a transformer vs a similar RNN look like? First, the transformer. Let's take the LLama 6.7B model…

Modified: October 04, 2023.

Tagged with:

transformer primitives

In developing intuition about [ transformer ]s it's useful to think about specific primitive operations that can be implemented by a small…

Modified: February 13, 2023.

Tagged with: #machine-learning#transformers

transformers with memory

Incorporating explicit memory and retrieval seems pretty clearly like the next frontier in language modeling and AI more broadly. We have…

Modified: September 03, 2022.

Tagged with: #ai

transposes are measures

According to this reddit post , one of the main takeaways of functional analysis is that the right way to interpret the 'transpose' of a…

Modified: November 06, 2020.

Tagged with: #math

trapped priors

SSC link: How general is this phenomenon? You have a belief Your belief colors your perception of something that doesn't inherently…

Modified: March 12, 2021.

Tagged with: #bayes

trauma

Sasha Chapin describes trauma as a 'splitting off' of difficult or painful experiences as memories that the mind tries to avoid accessing…

Modified: October 27, 2024.

Tagged with: #buddhism#meditation#psychology

trituration

Modified: .

Tagged with: No Tags

true but wrong

A pitfall with relying too heavily on rational deduction is that lots of logically 'true' conclusions are unimportant, or worse yet…

Modified: February 15, 2022.

Tagged with: #how-to-think

trust region policy optimization

(notes loosely based on the Berkeley deep RL course lecture ) Setup: RL with policy gradients The basic setup is that we want to optimize…

Modified: July 06, 2022.

Tagged with: #reinforcement-learning

truth is a low bar

Language is an incredible bottleneck. There are infinitely many true facts about the world, even just in pure math, and yet we communicate…

Modified: January 23, 2022.

Tagged with: #how-to-think

trying new things in the bedroom

The reason to try new things is not really because the new things themselves are more exciting than the old ones. The reason is that it…

Modified: June 24, 2020.

Tagged with:

tryptamine

Modified: .

Tagged with: No Tags

tryptophan

Modified: May 14, 2021.

Tagged with: #biology

type 2 decisions

From Jeff Bezos' 1997 shareholder letter : Some decisions are consequential and irreversible or nearly irreversible – one-way doors – and…

Modified: January 18, 2021.

Tagged with: #how-to-think

type theory

Inspired by Kevin Buzzard's overview of the state of automatic theorem provers. Type theory is like set theory in that sets and types are…

Modified: December 23, 2021.

Tagged with: #math

unconditional love

nostalgebraist argues that unconditional love can't and shouldn't exist : A parent might love their child "unconditionally," in the well…

Modified: April 12, 2023.

Tagged with: #relationships#morality

unearned confidence

update April 2024: I'm going to leave this here, but I now think about confidence in less of an information-theoretic belief way, and more…

Modified: April 16, 2024.

Tagged with: #how-to-think#lgbt

union bound

It's a basic law of probability that, given two events A and B, the probability that at least one of them occurs is given by This counts the…

Modified: March 02, 2022.

Tagged with:

unique contribution

(this note expresses a tendency that I notice in myself. I don't necessarily endorse this tendency but I think it's interesting to…

Modified: July 07, 2023.

Tagged with:

universal basic hedonism

Modified: .

Tagged with: No Tags

universal consciousness

Modified: .

Tagged with: No Tags

universal suffering

From a review by [ Oliver Burkeman ] of Jordan Peterson's "Beyond Order" ( https://www.theguardian.com/books/2021/mar/02/beyond-order-by…

Modified: February 22, 2022.

Tagged with: #fundamental

unpopular beliefs

in contrast to [ things I believe that no one else believes ], which are intended to be potentially-novel insights about the world…

Modified: March 25, 2024.

Tagged with:

unsupervised pretraining

Modified: .

Tagged with: No Tags

useful lens

like a 'useful perpective', but 'lens' implies focus or distortion whereas 'perspective' implies linear projection. Related to [ many models…

Modified: January 17, 2021.

Tagged with: #how-to-think#effectiveness

useful reading

Consuming unstructured content from the internet is addictive. Twitter is full of life advice, interesting technical discussion, takes on…

Modified: May 29, 2020.

Tagged with: #effectiveness

utilitarian

Modified: February 10, 2022.

Tagged with: #morality

value aligned language game

Suppose I have an agent that generates text. I want it to generate text that is [ value alignment|aligned ] with human values. Approaches…

Modified: February 21, 2022.

Tagged with: #alignment

value alignment

Modified: February 21, 2022.

Tagged with: #alignment

value in stating the obvious

Modified: September 11, 2020.

Tagged with:

value learning

Notes on the Alignment Forum's Value Learning sequence curated by Rohin Shah. ambitious value learning : the idea of learning 'the human…

Modified: April 07, 2023.

Tagged with: #alignment

values all the way down

The standard [ Markov decision process ] formalism includes a reward function ; the total (discounted) reward across a trajectory is its…

Modified: October 16, 2022.

Tagged with: #reinforcement-learning

variational inference

References: Jacob Eisner, High-Level Explanation of Variational Inference (2011) https://www.cs.jhu.edu/~jason/tutorials/variational.html…

Modified: April 26, 2022.

Tagged with: #machine-learning#bayes

variational optimization

Holy shit. In December on Galiano I was brainstorming about [ continuous structure learning ] and thought of the general trick, for…

Modified: June 09, 2020.

Tagged with: #machine-learning

vector divergence

The divergence of a vector-valued function on a vector field measures the extent to which a given point is a source of the field. It…

Modified: June 08, 2024.

Tagged with: #math#physics

vegetarian

Inspired by [ Emily ], I'm considering going 'mostly' vegetarian. What would that mean for me? I don't myself buy meats or dairy products…

Modified: March 07, 2020.

Tagged with: #personal#morality

vibe

I don't know quite how to articulate or formalize this, but I get a sense that there is something fundamentally analogue, 'periodic' or…

Modified: March 19, 2024.

Tagged with: #meditation#ai##fundamental

vision for my garden

Why am I doing all of this? If I carve aside hours or days or months to 'fill in' my graph of notes, what am I hoping to get from it? Why is…

Modified: February 25, 2022.

Tagged with: #personal

vision transformer

Ref: https://arxiv.org/abs/2010.11929 We start by chunking an image into patches, and concatenating each patch with a position embedding…

Modified: .

Tagged with: No Tags

vulnerable

Telling people about your failures, your fears, your self-doubt, your insecurities can be a path towards deeper connection. Understanding…

Modified: September 21, 2021.

Tagged with: #relationships

wake-sleep

Modified: .

Tagged with: No Tags

warmth

How to be warm: https://www.youtube.com/watch?v=1MolmoFuXu4&t=123s

Modified: November 27, 2023.

Tagged with: #life-advice

weak ties

The "strength of weak ties": most good things in life come from people you barely know. This is because your close, regular connections are…

Modified: April 26, 2024.

Tagged with: #life-advice

wealth tax

Thinking through: Why the toughest capitalists should root for a wealth tax ( https://www.ft.com/content/e1adf707-b95a-4422-9211-1841cd7ce…

Modified: May 09, 2021.

Tagged with: #finance

web3

Moxie Marlinspike on web3: https://moxie.org/2022/01/07/web3-first-impressions.html We know that people do not want to run their own…

Modified: January 07, 2022.

Tagged with: #finance

weekly review

[ weekly review ] • Plus: What went well? • Minus: What didn't go so well? • Next: What will I focus on next week?

Modified: January 23, 2022.

Tagged with:

weighted importance sampling

Reference: Mahmood et al., 2014. Weighted importance sampling for off-policy learning with linear function approximation Here's a situation…

Modified: April 23, 2022.

Tagged with: #reinforcement-learning

what I am doing wrong

I suspect many of these are evergreen. I'm not [ writing ] enough. I'm not keeping up a regular journaling practice.

Modified: .

Tagged with: No Tags

what I have lost

Just like norms in the Trump administration, there are mental habits, rhythms of life, attitudes towards the world, that are powerfully…

Modified: February 23, 2020.

Tagged with: #personal

what to say

In the course of any person's life, you take in a vast amount of information. You have your own personal experiences, of course, and you…

Modified: June 12, 2021.

Tagged with: #how-to-think

what to teach students

See also: [ if ever a prof ], [ advice for college students ] Things not directly related to course material that I wish I'd learned earlier…

Modified: August 28, 2021.

Tagged with: #teaching

when I quit

What will I do when I don't have a job? I don't feel that I have a clear direction. I want to learn and explore. There are lots of [ my…

Modified: March 04, 2022.

Tagged with: #personal#ideas

why would you ever let your mind get like that

A story from [ Dan Brown ]: A group of psychologists came to interview the Dalai Lama, the spiritual leader of Tibet. One of the Americans…

Modified: February 10, 2022.

Tagged with: #buddhism#life-advice

winning the game

As a kid, we learned about https://en.wikipedia.org/wiki/The_Game_(mind_game) : if you think of the game, you lose. (and have to say "I…

Modified: January 15, 2022.

Tagged with: #meditation

wisdom I've acquired

From 2017: wisdom I've acquired: the psychology of depression. :-( and grad school. :-( and being gay. [ dual-process cognition ] theory…

Modified: February 15, 2022.

Tagged with:

work quotes

“It was true that I didn’t have much ambition, but there ought to be a place for people without ambition, I mean a better place than the one…

Modified: February 10, 2022.

Tagged with:

world model

Modified: .

Tagged with: No Tags

worldly objective

This may be a central point of confusion: how do we define AI systems that have preferences about the real world , so that their goals and…

Modified: April 12, 2023.

Tagged with: #alignment#ai#buddhism

write libraries, not frameworks

In software: a library is a collection of tools. You can use some or all of them, in combination with other tools. A framework , on the…

Modified: May 08, 2020.

Tagged with: #engineering

write up

your writing needs to be at the edge of your knowledge, it needs to address the most fascinating people you know or can imagine. That is…

Modified: October 03, 2023.

Tagged with: #life-advice

writing

Quote I like from Manuel Blum's advice to grad students , connecting writing to the power of [ Turing machine ]s: STUDYING: You are all…

Modified: September 13, 2022.

Tagged with: #how-to-think

writing a project proposal

What is the philosophy of the project? What principles is it betting on? Example from Ben's Ads doc: iterating on an end-to-end pipeline…

Modified: June 25, 2022.

Tagged with: #how-to-think

writing habits

Regular writing practices that would be valuable. [ prediction as a model-building exercise ]

Modified: February 14, 2021.

Tagged with: #personal#effectiveness

writing inbox

Modified: May 01, 2020.

Tagged with: #personal#ideas

wrong models in AI

The models we use in AI are [ all models are wrong|wrong ] (if maybe still useful). How? Agency The [ agent ] model assumes a separation of…

Modified: February 13, 2022.

Tagged with: #ai

yaas is the inauthentic yes

status: a theory that feels true for my personal trajectory. Totally uncritiqued and unverified that anyone else shares this experience…

Modified: May 22, 2021.

Tagged with: #lgbt#psychology

yin and yang

yin is being yang is doing there is a profound relationship between those two at a deep level and/but there is a whole web of associations…

Modified: March 26, 2025.

Tagged with:

you are the sum of the people you spend time around

Modified: July 10, 2020.

Tagged with: #life-advice

you can learn everything

Sometimes it's daunting how much knowledge there is in the world. For any given area, there are a thousand specialties and subspecialties…

Modified: April 17, 2022.

Tagged with: #how-to-think

your network matters

Something that SuccessfulFriend said today: It's rare that someone totally independent comes up with a really good idea. The best ideas come…

Modified: February 25, 2022.

Tagged with: #fundamental

zero knowledge

A zero-knowledge proof allows a prover to demonstrate that it possesses certain information, without revealing that information to the…

Modified: October 23, 2022.

Tagged with: #crypto

zk-SNARK

A zk-SNARK, or zero knowledge Succinct Non-interactive Argument of Knowledge, is a [ zero knowledge ] proof system that is non-interactive…

Modified: October 23, 2022.

Tagged with: #crypto