RSSAmplifier

Blog

Language, AI, & Complex Systems

Recent content on Language, AI, & Complex Systems

mathcass.comRSS feed ↗24 posts

Latest posts

Inspect AI Evals for the Reversal Curse

I've been thinking a lot about what it'll take to dramatically improve LLM performance across the board. My running hypothesis? We need to crack three core concepts from relational frame theory (RFT) - and the 'reversal curse' is one of them. The reversal curse is where large language models see plenty of instances of 'A is B' but fail to generalize and learn 'B is A'. It's described by Berglund…

The AI Con

I just finished reading Emily M. Bender's & Alex Hanna's book The AI Con: How to Fight Big Tech's Hype and Create the Future We Want, and I come away with mixed feelings. They're mixed because they provide a comprehensive takedown of technology that I use (and that I'm asked to use) on a daily basis, but I'm not sure how much of it I buy at the moment.

Getting Started with Guix for Reproducible Development Environments

I’ll be honest - when I first heard about GNU Guix, it sounded intimidating. Another package manager? With a functional programming twist? And what’s all this about “time machines” and “channels”? But as it turns out, Guix solves a problem I’ve been wrestling with for years: how do you ensure that your development environment works exactly the same way…

What if LLMs Learn Relations Like Humans Do?

What if LLMs Learn Relations Like Humans Do? I've been thinking about how behavioral psychology might explain AI capabilities. Here's my working hypothesis: I think emergence in LLMs comes from relational diversity. In this case, relations are the concept of verbally connecting things (stimuli, events, concepts, etc) in some way. This typically takes the form of comparison or hierarchy or many…

Mitigating Risks in AI Tool Use: A Case Study on RAG and Customer Support Agents

This document lives in several places for accessibility, GitHub Google Docs (for comments) My blog Introduction The rapid integration of advanced AI capabilities into everyday applications has brought significant improvements in efficiency and user experience. However, it has also introduced new security challenges that demand our attention. In this study, we examine the potential vulnerabilities…

Get in Touch

I’m always interested in talking with people working on similar problems, whether that’s building language models, wrestling with complex systems, or just figuring out how to make AI actually useful. If you’ve got questions about something I’ve written, want to collaborate on a project, or just want to chat about interesting technical problems, I’d love to hear from…

Now Page

(This is a now page.) What am I up to now? Mentally getting by during an ongoing pandemic Working through SICP with some amazing collegues Reading more about citizen science and digital humanities Learning more about Emacs & Org Mode Helping with odds and ends for Folk Art Flowers

Bayes' Theorem is the FizzBuzz of Data Science

A reflection on an experience I had while interviewing.

Using Deep Learning is Easier Than You Think

Deep learning might seem complicated, but there are plenty of tools available to make it easier to get started.

Communicate About Your Work

It took me a long time to learn to get comfortable and confident talking about my work.

Eigenlayouts

For a long time, I’ve been interested in with web technology. In high school, I read Jesse Liberty’s Complete Idiot`s Guide to a Career in Computer Programming learning about Perl, CGI (common gateway interface), HTML, and other technologies. It wasn’t until I finished a degree in mathematics that I really started learning the basics, namely HTML, CSS, and JavaScript. At that point, folks were…

Memory Profiling in Python

Data Scientists often need to sharpen their tools. If you use Python for analyzing data or running predictive models, here’s a tool to help you avoid those dreaded out-of-memory issues that tend to come up with large datasets. Enter memory_profiler for Python This memory profile was designed to assess the memory usage of Python programs. It’s cross platform and should work on any modern Python…

Using Jupyter on Remote Servers

As a data scientist, it really helps to have a powerful computer nearby when you need it. Even with an i7 laptop with 16GB of RAM in it, you’ll sometimes find yourself needing more power. Whether your task is compute or memory constrained, though, you’ll find yourself looking to the cloud for more resources. Today I’ll outline how to be more effective when you have to compute remotely. I like to…

Bloom Filters in Practice

Today we’re going to talk about what a Bloom filter is and discuss some of the applications in data science. In a later post, we’ll build a simple implementation with the goal of learning more about how they work. What is a Bloom Filter? A Bloom filter is a probabilistic data structure. Let’s break that term down. Any time you hear the word “probabilistic” the first thing that should come to mind…

Four Useful Books for Learning Data Science

I was listening to an old episode of Partially Derivative, a podcast on data science and the news. One of the hosts mentioned that we’re now living in the “golden age of data science instruction” and learning materials. I couldn’t agree more with this statement. Each month, most publishers seem to have another book on the subject and people are writing exciting blog posts about what they’re…

Nudging and Data Science

I’ve recently been reading a great book on how people make decisions and what organizations can do to help folks make better choices. That book is Nudge. What is a nudge? The authors describe a nudge as anything that can influence the way we make decisions. Take the primacy affect, for instance, namely the idea that order matters in a series of items. We’re more likely to recall the first or last…

The Power of Perspective

I used to be a person who would get jealous at others, namely their technical ability. If I thought that the person I was working with were better at math or programming compared to me, it’d cause a drive in me to get better at both of those. I’d pour myself into books on the relevant subjects to try to enhance my ability. I’d work on projects to try to get familiar with these advanced techniques.

Quiet Time to Think

Multitasking is a fallacy. Most of the time when we think we’re optimally getting things done by working no multiple tasks or even multiple projects, we’re selling ourselves short. You’ve all worked with a programmer like this, they’re the person who freaks out or makes a snide remark each time you walk up to them with a question and didn’t “use the proper channels. Put it in an email or a ticket…

Getting Up and Running With Python Virtual Environments

Python is a great tool to have available for all sorts of tasks, including data analysis or machine learning. It’s a great language to start off with if you’re a beginner, and there are loads of tutorials out there. So, if you’re a neophyte Pythonista, head over there and come back here later. Additionally, plenty of great developers have been working on tools that just get the job done, including…

You Probably Need a Database

When I see organizations using and talking about their data, they love to present the tools they’re using to handle and wrangle it. You’ve probably heard terms like Hadoop, Spark, Shark, PostgreSQL, MySQL, MongoDB, and rarely Excel. (If you haven’t, there’s a good list to look up on Wikipedia.) I won’t argue that taming data doesn’t take good tools, but what I will argue is that the tools you use…

Getting Started With Tabular Data

I look at data every day. If I had to go back to a past version of myself to give him advice, I’d offer this: make it a rule to fit your data into a box. There are plenty of mathematical techniques out there for analyzing data but to effectively apply them to your particular data, your data needs to fit the following format: Data consists of rows and columns Your data should be viewable using any…

(untitled)

(untitled)

About

Hi there! I’m Cass, and I’ve been building ML and language systems for the better part of 15 years. Right now, I work as a Staff Software Engineer at Textio, where I spend my days figuring out how to make AI actually useful for people’s writing. Think of it like this: instead of just telling you that your job posting might have bias issues, we help you write better, more…