zlyuk: (Default)
1
Сажусь в ночной поезд
В попытке попасть в Вену.
Сосед по купе - а(вст)риец
Костлявый обыкновенный.

1_1
Он в поезде тоже впервые.
Говоря со мной, сбивается на немецкий.
Капля неуверенно сходит по шее, -
Жара стоит недетская.
Говорят, если долго не спишь,
Где угодно видишь северное сияние.

1_1_1
Средняя полка,
Средний возраст,
Средняя скорость.
Сегодня летнее солнцестояние.

1_1_1_1
Столько терпели и - вот, и вот, и вот.
Вокзал провожает пустыми окнами-бутебродами.
Железная дорога обложена огородами.

2
Так она и бывает, прикладная эргодика:
Проехал 1000 км - как прожил два годика.
Ночь отмолчал, день продержался.
В зеркале с утра вроде ещё отражался.
Не забыть чемодан на верхней полке.
Где же там проходили полки Святополка?

3
Следующие четыре дня я буду ходить по горам
Следующие четыре дня я буду дурак дураком ходить по горам
zlyuk: (Default)
I say, a double metaphor is always a beauty. And if it's realized to be a twin - even more so. -- Man, what the heck are you? -- well, hear this and see for yourself.

Every toddler knows that LLMs have a tunable parameter called "temperature". If you pop it up, the bot starts mumbling. Temperature has a long history in computing. It's a concept borrowed from physics: a particle moves according to a field or a flow that eventually should settle down, but very slowly (who said 'glass'?). So it will usually steadily proceed towards its final position, but a high temperature would allow it occasionally to go against the directive and change the trajectory.

Actually, I do not understand enough physics to explain this model, but some 70 years ago someone brought this seed from physics to algorithm science and it grew into a sizeable garden of search and sampling algorithms, and much more.

How do you find a minimum of a function (e.g., the answer with smallest error)? Think of the graph of your function as a surface. Drop a ball on it somewhere and let it roll, by gravity. It will settle in a point with locally lowest value. But if you allow your ball to drive upward sometimes, you may be able to discover a much deeper valley that lies just across the hill. The frequency of such random movements against gravity is controlled by the temperature. One famous algorithm starts with high temperature to enable hectic initial exploration, and then cools down to converge to a local minimum.

Back to LLMs. Every toddler knows that the LLM acts by computing the next word at each step. But the toddler's younger sibling also knows that it actually computes a distribution, that is, a probability for each possible word. Then it would choose the one with the maximal probability (i.e., minimal error). When the temperature is high, it may occasionally choose a less probable word instead. Higher temperature would cause more frequent appearance of less probable words, and the model will become non-deterministic and rambling. So here is the first prong of the metaphor: high temperature is more jolting motion, fluctuations and randomness. Lower temperature - calm, order and determinism. Coming directly from physics, the best of sciences.

The complementary metaphoric branch is of course human body temperature. Look at J. Doe, a reasonable citizen with sane and predictable behaviours. Let her get some fever - and she starts hallucinating, making unexpected physical and linguistic turns and jerks, becomes irritable and random. Cool a citizen down below 32 deg Celcius - and no nonsense will come of him ever.

So it seems that two distinct senses of temperature both give us a useful analogy. But are they indeed that different? The toddler's nanny is well aware of the fact that our enzymes are tuned to work within a small interval about the normal body temperature. Increase the heat and you get protein conformation changes, unstable or undesired rate of biochemical reactions, shifts in half-life time, etc. In particular, neurons fire in unexpected directions, well-established connections falter and new ones are too easy to create. In the opposite direction, turn it cold, and nothing wants to move anymore, reactions shut down, rigidity crawls in.

Suddenly we see, that these two stories are not unrelated parables coming from different realms of wisdom, but rather a manifestation of a principle of a fundamental nature. We also see how little we understand about the action of such principle on ourselves: i've met no clear and comprehensive account of the adventures of our body and mind under high fever (links, anyone?).
What to do of it? Hell if I know. Once in the past, the person's disposition was explained by the unique blend of his body humours. Maybe since then we've got too much carried away imagining our psyche as a high-level programme, running by an interpreter, inside a sandbox, on a virtual machine, under an operating system, while the physics and chemistry of our body are only the hardware. Maybe the levels of abstraction are not that separated. Just think of it.
zlyuk: (Default)
Под вопли "Таллеры на бочку!",
Под разливное "бу-га-га!",
Базиль дописывает строчку
О том, что жизнь не дорога,
О том, что ветер твёрже соли,
А честь мундира - болтовня,
И ты, школяр свободы воли,
Не протянул бы здесь и дня,
Что он и сам не понимает,
Зачем и как попал сюда,
И всё заранее прощает,
Как затонувшие суда,
О том, что времени осталось
Совсем немного; скоро бой
...
В письме лакуна - значит, встал он:
За ним пришёл прислуга-бой.
С изящной грацией акулы,
С неторопливостью тунца
Он бьёт перчаткою по скулам
Нерасторопного юнца.
Потом на палубу выходит,
В литой негнущийся туман.
Здесь можно думать о погоде,
Письмо уже не жжёт карман.
И если он пройдет сквозь сечу,
Не канет в вяжущую тьму,
Что я тогда ему отвечу?
Что я смогу сказать ему?
zlyuk: (Default)
the passage below is taken verbatim from a serious contemporary advanced statistics textbook, written by a serious advanced statistics professor, having some serious statistical achievements:
"if you want to predict where in the night sky the planets will be, you can actually do very well with a model where the Earth is at the center of the universe, and the Sun and everything else revolve around it. You can even estimate, from data, how fast Mars (for example) goes around the Earth, or where, in this model, it should be tonight. But, since the Earth is not at the center of the solar system, those parameters don’t actually refer to anything in reality. They are just mathematical fictions. On the other hand, we can also predict where the planets will appear in the sky using models where all the planets orbit the Sun, and the parameters of the orbit of Mars in that model do refer to reality [We can be pretty sure of this, because we use our parameter estimates to send our robots to Mars, and they get there]."

this kinda makes me take back all the praise that i granted to this (seemingly) sublime discipline, or at least put it on ice. but hopefully this one is an innocent lamb, an outlier perhaps?
zlyuk: (Default)
Под утро, когда умолкают пушки,
Дотлевают подобранные сигареты,
И засыпают наквакавшиеся лягушки,
На сцену клуба выползают поэты.
Они не участвовали в действе, они
В сторонке, под стулом копили силу.
Их скорбь и ярость остались девственными.
Они готовы сделать красиво.
У них запасены объяснения.
Они покажут как надо видеть.
И кто ж из нас не гнал по весне? Ни я,
Ни ты не заметим прыщей на Давиде,
Позора собачьего на рембрандте,
Мушиной точки в углу котлеты,
Интеграла, спрятанного в константе:
Для этого нам и нужны поэты.
Отморозил пальцы на передовой, -
Хвост коту перебило осколком -
Славой твоей пренебрёг Славóй -
Вернулся, и нет пирожка на полке -
Не плачь, не жалуйся, но зови:
Они придут, чуя боль и запах,
Хронисты хищные на крови,
Звери с запонками на лапах.
Им нужно много: еда, почёт.
Взамен предложат паучий дар свой
Без перерыва, наперечёт,
Залепят уши тугим лекарством.
А ты не зевай, будь начеку,
В начётчика речи лови лакуны,
Лыко вяжи, вставляй в строку,
Плыви, скалясь чеширским мей-куном.
Глядишь, сойдёт и на тебя благодать,
Нутром вдохнёшь, как зарин, эпоху,
Поймёшь где выправка, а где стать.
А не поймёшь - так и похуй
zlyuk: (Default)
So i found a spare hour to slowly read the famous "Statistical Modeling: The Two Cultures", - a 23-years-old cornerstone of a certain uncertainty mongering. A highly recommended reading. Looking over it, my immediate association is a russian proverb, which i do not a proper english counterpart of: "Force a blockhead to bow to gods, and he will cruck his skull open."

The main theme is: the classical XX century fox statisticians are addicted to simplistic data models (many disadvantages), and there is a new rising tide of algorithmic models (many advantages), which are structure-agnostic, young, dynamic, practice-oriented, down-to-earth, [add your own, using the ever-blooming imagination of a hair-greying boomer in a desperate attempt to defy aging].

It would be educating to recall how the domain of what today is cursed "data science" looked back then. The machine learning community still struggled to prove their virtue, seeing itself as a kind of half-breed between the classical statistics and computer science/applied maths. It was already clear that they are the champions of accurate predictions, but the actual merit of their successes was yet not fully grasped (is it today, for all the consequences, good and bad?).

Well, fast-forward 20 years, and here we stand - deep models all the way down, and nobody cares about their maths or statistics (i know, there is some serious research there; i've read and listened to some of it - it makes me cry, still waiting for someone to dehydrate my tears).

It is also funny to see how some things change, and some never change. So the author complains that classical data models cannot cope with the challenges of the emerging big data problems, while the old-timers respond by complicating their models, and further notes: "Bayesian methods combined with Markov Chain Monte Carlo are cropping up all over". Wouldn't that give you a cute smile today? And so would the passing remark, that SVMs outperform neural nets (ah...). Yet, he is pretty perceptive about his field: a brand-new Vapnik's theory is mentioned, the typical troubles are referred to (model instability - a.k.a. sensitivity to randomness in data, too many variables to account for/select from, influence and inference lost). Most of those troubles are still haunting the field today, even to a higher degree. And how contemporary is the following citation, from the mouth of the man who has invented Random Forest: "There is an effective method for forming ensembles known as “boosting,” but there isn’t any finite sample size theory that tells us why it works so well"?

It is of course mind-blowing how he overlooks the third way, by which all other natural sciences go: understand the process and encode it in the model; then get helped by statistics. Well, it's a sort of "feature, not bug" - statisticians/data analysts are proud of their agnosticism; if you know your data-generator well, you are not a statistician anymore, you're a mere chemical engineer or whatever. This stupid pride-barrier is what forever slows down the scientific progress most of all, as if these hedges were god-given. Well, surprise, they were erected by your forefathers, and if you're as creative and revolutionary as you self-advertise, maybe give it a peek over. The best of us sometimes do it. (Much of these critics are already present in the first comment attached to this article; it sounds a bit old-fashioned and outdated, but in a good old english style; it is actually impressively fundamental: "Better a rough answer to the right question than an exact answer to the wrong question", "Presumably bootstrap and cross-validation ideas may give here a quite misleading illusion of stability").

To sum up: the prophecy has over-self-fulfilled. The scales tipped over, and today algorithms rule, data models shy. Some would say "this did us much good", others: "much good this did us". I would like to resume on a heavier note as usual, noting an involuntary metaphor by-produced by the author. One of the concepts (multitude of valid models) is nicknamed "Rashomon", after "a wonderful Japanese movie in which four people, from different vantage points, witness ..." etc. The fact that the text is oblivious of the Akutagawa's literary source ('In a Grove') and of the title hijacking made by Kurosawa, provides a sad allegory of the don't-look-back and never-mind-the-details state of the field at present.
zlyuk: (Default)
 

 

на свете есть много хороших поэтов.

одни носят шляпу, другие - берет.

пожалуй, занятья достойнее нету,

чем снять с себя всё и назваться "поэт".

 

и дале, в полях семантических прений,

синицу скрестив с журавлём расписным,

проигрывать рифмы, бежать ударений

девам наивным пришёптывать сны,

ревниво считаться с успехами братьев, 

скоблить подбородки щербиною бритв,

умно истерить (см. инструкцию “Нате!”),

и слыть паладином морфемных ловитв.


но право нельзя получить без расплаты, 

вот время приходит, вот молча глядит,

как сквозь его тело сочатся солдаты,

как в клюве циклона растёт троглодит,

как корень и плод брызжут соком расправы.


идущий - наивен, упавший - смешон.  

приходишь без цели, уходишь без славы.

и толку-то было переть на рожон.


zlyuk: (Default)
За пылью - пыль
За мелью - мель
За солью - соль
За стенкой шкафа спит костыль
За молью моль
У дна нет дна в окне дыра шипит февраль
Мышиный сквот в норе нора
За жалью жаль.
Приватный шорох тихих лап в груди в стене
Не стой на месте не иди не жди ко мне
И чем-то чётным на ступенях начертать
За сонмом - сон,
За пнём - порог
За татем - тать.
zlyuk: (Default)
 בחירות קשות וביצים רכות
סטלן-בטלן ישב על חומה,
סטלן-בטלן נפל תהומהּ,
וכל העולם, אשתו ואחותו
אף ינסו, לא יצליחו לאחותו.
zlyuk: (Default)
 Вот так тянется эта непроварившаяся история.
И если вглядеться, её корни в каком-то дурацком споре о
Чём-то маловразумительном, размытом, у кромки фокуса:
Сказки Лема о злодеяниях короля Жестокуса,
Песни рокбардов о нежности заснеженных крыш,
Ностальгический креатив, где забулдыга Карлсон и постаревший Малыш.
Всё это питание чувств, одноóбразное как погода,
Резонирующее двустороннему движению вдоль осей пищевода,
Зачем оно, и какой смысл вокруг него громоздится?
Как иней насвистывает, как заказывается пицца,
Как трещит в печи расслоенная спираль,
Как сходятся и расходятся лаплас и лассаль,
Как всё скручено, нагромождено, купировано теорией струн,
Как ловко высказано, какая уж там птица-говорун.
Делать нечего, и не надо, просто сидим да ждём.
Жнём что сеем, сеем опять что жнём.
Оттолкнувшись раз от начала - как теперь дойдёшь до конца?
Дуб, овёс или мочало, дифференциация справедливости от второго лица.
Корни все там, где деталей не различишь.
Вроде бы лапта, но всё-таки, мы называли это чиж.
zlyuk: (Default)
for the 1st time in my life i took care to listen to an entire session of S. Zizek talking about his philosophy, views and everything. (beforehand, only knew his work by second-hand expositions of excited admirers or concerned rivals; also some citations and over-prolonged excerpts). he was talking about the ongoing global catastrophe, how to handle it and how to be very clever and deeply smart about it, engaging the most philosophical approach.
if this disappointing heap of philosophically un-aesthetic, mostly truistic, pretensively-but-falsely-deep, disheveled sub-ideas, presented in the quasi-schizophrenic bubbling linguistic shitstorm of form, is the best that popular western philosophy is capable of these days... well, maybe indeed we navigate through a catastrophe right now. could feel like Moby Dick, but without the narrator (don't call me ishmael), without captain Ahab, putting our hopes in some imperceptible Queequeg to land a final blow, praying for him to be on our team.
my anguish is further exacerbated by the fact that this not-very-coherent flow of burst-like statements is submitted with such physioneurological effort, so that the innocent listener expects not less than a singular revelation of the ultimate truths, or for the very least, some queue of new astonishing ideas that will shatter our world picture into beautiful shards that will immediately reassemble into something so radically different, that we will have no choice but to change our ways forever in response, as a starting measure. but you know, you actually never should expect anything useful from your 21-century marxist. ah, yes, trigger warning, i just forgot.
then, a 2nd thought strikes: if some of the things he says really need to be explained to public (e.g., "contextualisation is not relativisation"), maybe the guy is right. to hell with proper philosophy and discipline of thought. we need to just beat some sense into people still capable of it, as quick as we can, and anything that works should be put to use. in this context, i start viewing him as a huge self-sacrifice for the general best. let it be so.
zlyuk: (Default)
 вообще же, печальнейшим результатом всеобщего образования и просвещения можно считать то, что вместо увеличения количества рационально думающих, увеличилось количество готовых веско и убедительно обосновать и продавить свою версию коллективного бессознательного. 

(цит . по "Пособию по составлению предложений с большим числом прилагательных нежели существительных")
zlyuk: (Default)
 this is a real quote from another statistical textbook, by the same authors:
"We therefore conclude that heroin or cocaine use is not required in the model." (p. 178)
zlyuk: (Default)
 "...это был удивительный человек. Однажды он сказал, указав рукой: 'это несущая стена'. И стена, в самом деле, тут же исчезла"
zlyuk: (Default)
"Вычёркиваю вас из списка", 
Сказал кто-то.
И так я испугался, 
Что забыл спросить, что это был за список. 

С тех пор лишь это является 
Движущей причиной моих дел. 

Проверяю, не из этого ли списка 
Меня тогда: 
Тружусь в поте лица, 
А как только первый успех - 
Ясно, не оно. 
Двигаем дальше. 
zlyuk: (Default)
 in my humble judgement, no science is as noble and sublime as Statistics.
not only it contrived to have among its leaders a set of people with optimised english names, such as Box, Cox, Pearson, Spearman, Wilcox, Wilcoxon, etc.
not only it managed to ignore away the complexity of the real world all along the most scientifically turbulent century; and when it became impossible to sustain anymore, delegated all that mess to the little step-brother, one M. Learning, also telling him that he belongs to another, less haughty family.
not only some day it casually mentioned to his another removed half-sibling, Medicine, that things better to be done more orderly, and the latter gentleman never knew a rest since then.
but now, you open your regular boring textbook on logistic regression, and chapter 5, on p. 112, starts with "The methods to be discussed in this chapter are not to be used as a substitute for, but rather as an addition to, clear and careful thought."
when a physicist cries alone at night, it's because he dreams of being a statistician.
zlyuk: (Default)
Я был Семафором
Я лузгал семочки
Сидел на скамеечке
Слушал девочек.
Девочки пели
Девочкам нравится
Когда их слушают
Высокие мальчики.
Я был счастливым
Но это кончилось
Сначала было -
Взяло и кончилось.
И я не знаю
Спросить же некого.
И вот он в белом
Зеленом драповом
Выходит молча
И громким голосом
Шипит: "Покидыш
Семён Фархадович?
За мной ступайте
Извольте следовать.
Смотреть не в стороны
Шагать не медленно".
И я пошёл а что
Делать было мне.
Хотел остаться
Но негде ж было мне.
Ну вот я голенький
Стою здесь кисленький
Я мёртвый-мёртвенький
Я глупый-бедненький
Вы кто все смотрите
Зовёте големом
Судить не судите
Жалеть не жалите
Что делать вам со мной
Что делать с вами мне.
zlyuk: (Default)
<impromptu>: если пророчество не сбылось, с какого момента его следует считать непророчеством?
Спонтанное возникновение структуры из шума - одно из наиболее контринтуитивных явлений вокруг нас. Оттого народ и не верит в эволюцию, и аргументы за разумного создателя кажутся столь убедительными. (Притом, сам по себе этот спор, с философской т. зр., - ill-posed, то бишь плохо задан. Например, потому что нет точного отделения осмысленности от спонтанности. То что нам представляется шумом, может быть инструкцией по сборке дельфиньего звездолёта. Говоря заумью, случайность - понятие не онтологическое а гносеологическое, the information is in the eye of the beholder.)
Нейросети дают нам убедительный пример торжества эволюции над дизайном. В начале у нас есть сеть однотипных случайных элементов, весьма простых. Мы используем повторяющуюся стандартную процедуру и набор сырых данных. В результате получаем упорядоченный автомат, который умеет представлять реальность и действовать в ней в своих интересах. Никакого специального дизайна под условия задачи не происходит. Как я уже сообщал, главная доблесть моделировщика - никак не интерпретировать данные и не пытаться подсказывать модели, используя экспертные знания.
(Забавно, кстати, что самих специалистов это не очень устраивает. В последние годы появилась мода на сети особо подстроенные под онтологию задачи. Например, physically informed neural nets. А главный папа всея диплернинга Ян ЛеКун проклял autoencoders и reinforced learning и рисует антропоморфные схемы познающих моделей, от которых наворачиваются слёзы на глаза у доживших до наших дней структуральнейших лингвистов 60х. Трогательнейшим образом, коммьюнити data science открывает для себя математическое моделирование и подгонку параметров под данные.)
Мне видится тут, конечно, диалектическая кривая. Полное отсутствие управляющей системы/структуры не работает (я сам не очень понимаю, что это значит: порядок, опять же, - не в мире а у нас в голове; даже если мы жосткие атеисты, уж законы физики для нас реальны, то есть полный хаос невообразим). С другой стороны, можно обойтись без заботливого архитектора: набросай в кучу пару миллионов простых обобщённо-линейных регрессий, задай условия задачи, и потряси пару тысяч эпох - оно само научится и представлять, и понимать, и просчитывать варианты, и действовать. В каком-то смысле синтетическая теория эволюции (в меру моего убогого понимания) подготовила почву. Осталось только понять, каким образом фраза "в течение эволюции крылья возникалм независимо несколько раз" потеряет свой смысл.
Короче, предвижу новый виток эволюционной теории, вдохновлённый успехом и разочарованием от агностических предсказательных моделей, состоящих из квази-самоорганизованных примитивных элементов (сокр.: нейросетей)
zlyuk: (Default)
Петров М.Ж. был бестолочь и бездарь. 
Бездарной бестолочью был М.Ж. Петров. 
И если б его доктор не зарезал, 
Я меньше уважал бы докторов.
Но так случилось: был отточен скальпель, 
И был нерасторопен ассистент, 
И мимо вены физраствор прокапал, 
И неудачно развернулся стент. 
Щипцы не ту артерию обжали, 
Рентген не ту картинку показал, 
Успел подумать кто-то рядом: "жаль". И, 
Как говорится, чемодан - тот свет - вокзал. 

Петров М.Ж. теперь летает в туче, 
Он счастлив так, как не был никогда. 
Он - часть того, что вольно и могуче 
Следит за тем, куда течёт вода / 
смыкает-размыкает провода / 
вращает это мир туда-сюда / 
всё знает ничего и никогда
zlyuk: (Default)
 Налетай разбирай креатив покупай: 

1. "AI-Bolit" название для стартапа в медицинском АйТи
2. "Deep Learning" - порнофильм пороговой законности

June 2025

S M T W T F S
1234567
891011121314
15161718192021
22 232425262728
2930     

Syndicate

RSS Atom

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 29th, 2025 01:05 pm
Powered by Dreamwidth Studios