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…

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…

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…

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…

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…

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…

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…

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…

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…

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…

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…

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…

Tagged with: #buddhism#meditation#psychology

trituration

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…

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…

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…

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…

Tagged with:

tryptamine

Tagged with: No Tags

tryptophan

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…

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…

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…

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…

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…

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…

Tagged with:

universal basic hedonism

Tagged with: No Tags

universal consciousness

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…

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…

Tagged with:

unsupervised pretraining

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…

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…

Tagged with: #effectiveness

utilitarian

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…

Tagged with: #alignment

value alignment

Tagged with: #alignment

value in stating the obvious

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…

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…

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…

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…

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…

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…

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…

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…

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…

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…

Tagged with: #relationships

wake-sleep

Tagged with: No Tags

warmth

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

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…

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…

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…

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?

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…

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.

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…

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…

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…

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…

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…

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…

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…

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…

Tagged with:

world model

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…

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…

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…

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…

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…

Tagged with: #how-to-think

writing habits

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

Tagged with: #personal#effectiveness

writing inbox

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…

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…

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…

Tagged with:

you are the sum of the people you spend time around

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…

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…

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…

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…

Tagged with: #crypto