Arseny Khakhalin
@khakhalin.bsky.social
1.1K followers 370 following 5.3K posts
Data Scientist in Berlin Former Bard College prof For my after-work alter-ego, see @elstersen.bsky.social Support Ukraine! 🇺🇦
Posts Media Videos Starter Packs
Pinned
khakhalin.bsky.social
Minimalistic bifurcation :)

import matplotlib.pyplot as plt
f = lambda x,k,a: (x if k==0 else f(a*x*(1-x), k-1, a))
y = [f(.21, 17 + i % 19, 2.5+1.5*i/10000) for i in range(10000)]
plt.plot(y,'.',markersize=1);
a bifurcation plot
Reposted by Arseny Khakhalin
gracekind.net
And notably, in the case of GPT-J, we DIDN’T KNOW IT WAS DOING THIS until 3.5 years after the model was released!
gracekind.net
We did not tell LLMs, “implement addition using this algorithm.” It learned the algorithm upstream of next-token prediction
Reposted by Arseny Khakhalin
lookitup.baby
as enjoyable as it is to dunk on vibe coders, this is just the nature of cloud services. they’re really expensive and they can easily cost you shocking amounts of money really fast even if you know what you’re doing! if you don’t know what you’re doing, messing with them is just asking for trouble!
cait.bsky.social
guy in a legal advice reddit wants to know how to get out of paying google the money he owes them after vibe coding one of his apps into running 40 times a second for several days straight, but says it's not his fault bc they should have stopped him by making it harder to use
r/LegalAdviceUK u/ShavedAp3 • 3d
Join
Google want to charge me 7 k for API access what can I do as they are denying appeals
Debt & Money
Hi there and thanks for reading.
I tried to keep this brief and just ended up rambling on trying to get as much in as possible so here is my edited hopefully a lot smaller problem.
Google are charging me 7k for a mistake that I told them about within a day, the bill went from about £45 to 16k in a day! when I asked for help I was told "dont worry well reset it as a one off, you'll need to put measures in place and ill guide you through those after you agree" So i did he then said "I will monitor it for a further 24 - 48 hours and then tell you how to put the measures in place. " Less than 24 hours later the bill was now 23k and I found out how to stop it myself. Then came the long back and forth to get it reset.
Fast forward 5 months they have finally given me a 20k credit but with VAT the total bill at the time of the credit was 27k
The 20k would have cleared the costs at the time of making them aware they claim its both our responsibilities to monitor costs I feel I did that by contacting them as soon as I saw the irregularity.
I asked them to reconsider they said no the appeal has said that is their final offer so 1 now owe 7k.
Is there anything I can do here from a legal standpoint. I don't have 7k I barely have £45.
Thanks for reading I am in England if it helps. Intentional or not, OP used either 36k (16 + 20) or 43k (16 + 27) of API credit. Obviously what API it is matters, but with google maps, 16k would equate to ten million pulls. Or two hundred thousand Gemini 2.5 calls with 1000 token input and 5k token output.
Those aren't numbers that something running correctly should run up for any average person or company. So either google screwed up something (which is unlikely that it would only happen to one person in the entire network) or OP has some app or something which isn't running properly and is sending too much to the API.
Edit: It was OP's app, polling google maps nearly 40 times a second for days.

tom_watts • 3d
According to other posts he ended up polling Google maps direction API 2300 times per minute for a few days. Looks like a combination of OP not knowing coding and asking ChatGPT to do it for him, and potentially Google's backend doing something weird in interpreting the janky code.
•••
146 ShavedAp3 OP • 3d
Even if that was the case and it wasn't the sign up process doesn't have the documentation I refer to.
Funnily enough though asking an LLM to help me find it still took some digging after it did.
If you work in the field im sure its easy but those just tinkering or learning not so much.
If google didnt want people like me using it they could make it far harder to do so, they could have hard limits in place for sole users to prevent stuff like this and so many other things.
Should they well clearly they don't think so and no doubt you agree that doesn't make it the right opinion it just makes it yours.
• • •
4
Reposted by Arseny Khakhalin
david-schindler.de
This will make the academic job market basically non-existent for non-US citizens. And job ads in Europe are down too. This will be a tough year to be on the market for many people. I encourage everyone to keep their eyes open for jobs posted in non-traditional channels.
mkevane.com
Two new colleagues fortunately had applied shortly before and received h1b. But university now apparently saying for new searches to only consider people with existing work permits/citizenship
khakhalin.bsky.social
We are back to pre photography world in some sense. Back to complete impossibility to "do your own research", back to shared social trust in professionals and specialists remaining the only practical way to learn the truth. Which does sound almost sarcastic given your average news these days...
reckless.bsky.social
It was @sarahjeong.bsky.social and we’ve been pounding this drum for years - especially since all the promises of metadata to prove images are real have gone nowhere www.theverge.com/2024/8/22/24...
Reposted by Arseny Khakhalin
sungkim.bsky.social
Use a LLM to create a new constructed language (ConLang) like Klingon, Vulcan, etc.. where an LLM designs phonology, builds grammar, generates a lexicon, creates orthography, and even writes a mini grammar book.

IASC: Interactive Agentic System for ConLangs
Reposted by Arseny Khakhalin
The lens reveals: the model does NOT go directly from amore to "amor" or "amour" by just dropping or adding letters!

Instead it first "thinks" about the (English) word "love".

In other words: LLMs translate using *concepts*, not tokens.
khakhalin.bsky.social
Yep. Sensible people just quickly learned to never correct wild takes ever. The opposite of community notes in a way.

Insensible ppl / bots never learned it. Which sounds like a bit of a lose lose :( A reasonable lesson pointed at a wrong choir.
Reposted by Arseny Khakhalin
Reposted by Arseny Khakhalin
dystopiabreaker.xyz
i made a thing that hopefully makes this clearer or is at least fun to play with: sgd.fyi
Reposted by Arseny Khakhalin
simongerman600.bsky.social
Usually I point out that most things get better over time. Some things get worse. Why for example are so many pedestrians killed by cars in the US? Source: buff.ly/lUV8IE1
Reposted by Arseny Khakhalin
sebastianraschka.com
Updated & turned my Big LLM Architecture Comparison article into a video lecture.

The 11 LLM archs covered in this video:
1. DeepSeek V3/R1
2. OLMo 2
3. Gemma 3
4. Mistral Small 3.1
5. Llama 4
6. Qwen3
7. SmolLM3
8. Kimi 2
9. GPT-OSS
10. Grok 2.5
11. GLM-4.5/4.6

www.youtube.com/watch?v=rNlU...
The Big LLM Architecture Comparison
YouTube video by Sebastian Raschka
www.youtube.com
khakhalin.bsky.social
It has a strong bot energy tbh. Do you think most of them are bot-like people or humanoid-enough bots?
Reposted by Arseny Khakhalin
emollick.bsky.social
This paper shows that you can predict actual purchase intent (90% accuracy) by asking an off-the-shelf LLM to impersonate a customer with a demographic profile, giving it a product image & having it give its impressions, which another AI rates.

No fine-tuning or training & beats classic ML methods.
khakhalin.bsky.social
The US: cuts science funding, bans whole areas of research, abuses human rights etc.

Everyone: It's Europe's chance to shine, to woo top researchers from the US

Germany's right-wing government: That skilled immigrant fast track program created by the Greens, let's kill it, immigrants are evil! 🙈
Bundestag nixes fast-track naturalization in Germany – DW – 10/09/2025
Germany will no longer offer citizenship after three years of residency. Interior Minister Alexander Dobrindt, of the center-right Christian Social Union, had opposed the law, effected by the previous...
amp.dw.com
khakhalin.bsky.social
Is it weird tho? Say girls always did some "A" thing that boys didn't. In the past you rewarded "A", either consciously or subconsciously as it felt proper. Then Trump came to power (i know it's Sweden, but I'm simplifying). Now you cringe from "A", you associate it with Obama. Not impossible 🤷‍♀️
khakhalin.bsky.social
So it _is_ slightly different from inflation haha, unless you consider open markets where people have to come up with the price on the spot :) For grade inflation at the level of individual teachers to happen, they have to internalize the sliding scale, which changes their perception of As and Fs
khakhalin.bsky.social
Yeah, I know, it's a response to market / career incentives, but phenomenologically it means a change in attitude (valuation) of same performance. You don't really calculate "just how much should I inflate the grades this month to hit 5% by year 2030". Your intuitive gut feeling gradually morphs.
khakhalin.bsky.social
Grades are weird, given that they are BOTH the process, the result, the external messaging, and a misaligned promotion factor for teachers.
khakhalin.bsky.social
Either a change in teachers' attitudes, or an emergent discrepancy between teachers expectations and observed behaviors. Which would count as a change in grades, but wouldn't count as a true decline in educational outcomes.
khakhalin.bsky.social
Exactly where I'm going with this. If the biggest effect on the picture is a behavioral change _in teachers_, not in students, my first kneejerk-hypothesis would be that the sudden drop at the end has the same mechanism.
khakhalin.bsky.social
Boys' grades stayed flat, while girls' grades decreased. The abstract says "changes in grading policies are unlikely to be an explanation", but frankly how could the grades have improved so much from 2007 to 2021 to begin with? Did the kids get so much smarter? Did teachers get so much better?
pengzell.bsky.social
This important paper shows a precipitous drop in girls' achievement in recent years, closing a third of the gap with boys.

Covid doesn't seem to be the smoking gun, but tiktok may be
khakhalin.bsky.social
Having compulsory religion education in schools (as opposed to a more vague "ethics") makes people more religious long-term (sounds obvioius but hey), less earning-oriented, more family-oriented, no other political or educational effects.
woessmann.bsky.social
🚨 Now out in Journal of Human Resources:

⛪️ Can Schools Change Religious Attitudes?
Evidence from German State Reforms of Compulsory Religious Education

w/ @benjaminarold.bsky.social & Larissa Zierow

👉 Religious education in school affects adult lives

🔗 jhr.uwpress.org/content/earl...

A 🧵 1/6
khakhalin.bsky.social
> reduced fertility

gosh, don't give them ideas!!..
khakhalin.bsky.social
Anectodally, happens often with Perplexity. It would go like "the cat is black. yeah, totally black, coz all cats are black. no white cats ever" and then the final response is "you know what, it's white!" You almost can see it shaking its attention head in disbelief as it revisits its own reasoning
antirez.bsky.social
Why I believe there are a lot of misleading papers about LLM reasoning.