RSSAmplifier

Blog

Vadim Liventsev

Recent content on Vadim Liventsev

vadim.meRSS feed ↗28 posts

Latest posts

Spring sampling for fast informed search

Consider the following search problem: The above elevation map of Vaalserberg (the hill that acts as a three-way border between Belgium, the Netherlands and Germany) contains a telecommunications tower. Can you find it? Hint: in a hilly terrain, telecommunication towers work better when they are higher up. If you are anything like me, you would start by looking at the highest points on the map. If…

PhilHumans: Benchmarking Machine Learning for Personal Health

Intensive Care as One Big Sequence Modeling Problem

From next token prediction to next event prediction

Ladies and gentlemen of the internet, consider the following proposition: artificial intelligence and prediction markets are made for each other. Major conundrums facing humanity are essentially prediction problems. Will the climate change? Will the economy grow? Will the next pandemic be worse than the last one? How will the rate of climate change/economic growth/pandemic severity alter if we…

Comparison between program synthesis with large language models and model predictive control for buildings optimal operation

Tree Variational Autoencoder for Code

I made a conference calendar so that you don't have to

Deprecated. Just use deadlines.info

Post mortem. How I was charged 4000 EUR for downloading 3.5 GB of data from Google Cloud

Taxonomy of Automatic Programming

Automatic programming is a pursuit of a seemingly clear goal: let’s make computers program themselves! As usual, that nasty pal of ours is in the details: are compilers automatic programming? They do generate code automatically, and modern compilers tend to utilize sophisticated machine learning to do so [Leather, Cummins]. So, in the interest of unambiguous nomenclature, here’s a…

Factorize your language models

A traditional language model is a probability distribution $p_\text{LM}(t)$ predicting how likely text $t$ is to appear in a training corpus approximating all of language. A 2023 language model (GPT-4 [OpenAI 2023], Claude [Bai et al 2022], Alpaca [Taori et al 2023]) is a probability distribution $p_\text{LLM}(t)$ estimating the likelihood that a certain text $t$ satisfies several constraints: $t$…

Fully Autonomous Programming with Large Language Models

Eindhoven Reinforcement Learning Seminar

Deceptive Diversity of Modern RL Methods

Towards Effective Patient Simulators

Programming by Example in Healthcare

An Aritificial Intelligence PhD and a Healthcare PhD walk into a bar. The Healthcare PhD starts telling the AI PhD tales from the trenches of clinical research. Tale 1: Patient parsing The UVA/PADOVA Type 1 Diabetes Simulator is an example of a mathematical smulator used for in sillico trials of diabetes treatments. The researchers assessed a dataset of diabetes patients collected in a bihormonal…

Semantic parsing of clinical protocols: a modest proposal

Clinical protocols Clinical protocols are key to quality health care delivery. It may come as a surprise to some, but doctors and other clinicans don’t approach every patient as a creative blank slate: every hospital has numerous clinical protocols: well-defined instructions used to solve a class of specific problems. In other words, algorithms. Now, as someone who works with algorithms in a…

Reinforcement learning as message passing

In theory, Reinforcement Learning is a discipline concerned with algorithms for decision-making in opaque environments that maximize cumulative reward. In practice, however, (and yours truly is guilty of this as much as everyone) reinforcement learning literature mostly discusses solving Markov Decision Processes. However, some decision making settings are fairly hard to model as a Markdov…

Anthropodidactic learning: a modest proposal

What is anthropodidactic learning? Anthropodidactic machine learning is using didactic materials developed for human students (textbooks, lectures and/or lecture notes, explanations, homeworks, exercises, games and other sorts of interactive edutainment) to train artificial intelligence. Examples of anthropodidactic learning include using language textbooks to train a machine translation model or…

A build by any other name would smell as sweet

To quote from Wikipedia that, in turn, quotes from Technopedia a software build is “the process of converting source code files into standalone software artifact(s)”. Data Scientists often fancy themselves exempt from the art of building software artifacts (as well as a few other software development skills, but that’s a topic for another post), since they write most of their…

Neurogenetic optimization

Let me start this essay, as one does on the internet, by polarising my audience But what if I told you that the Montecchi and Cappelletti of gradient free optimization work suprisingly well in tandem? Background: gradient-free optimization Consider the task of finding the minimum of a function without any access to it’s derivative: Here’s the function: \[ O(x) = sin x + sin 10x -…

Neurogenetic Programming Framework for Explainable Reinforcement Learning

BF++: a language for general-purpose program synthesis

Tutorial: writing a custom OpenAI Gym environment

Prescriptum: this is a tutorial on writing a custom OpenAI Gym environment that dedicates an unhealthy amount of text to selling you on the idea that you need a custom OpenAI Gym environment. If you don’t need convincing, click here. We assume decent knowledge of Python and next to no knowledge of Reinforcement Learning. Reinforcement Learning arises in contexts where an agent (a robot or a…

Active Learning with Deep Pre-trained Models for Sequence Tagging of Clinical and Biomedical Texts

Deep Text Prior: Weakly Supervised Learning for Assertion Classification

The Promise and Perils of Sleeping at Hackathons

The wake-sleep algorithm for unsupervised neural networks

Before we start, let’s get some Python plumbing out of the way import numpy as np from itertools import islice # I usually program in languages where this is built in :) # https://stackoverflow.com/questions/6822725/rolling-or-sliding-window-iterator-in-python def window(seq, n=2): "Returns a sliding window (of width n) over data from the iterable" " s -> (s0,s1,...s[n-1]), (s1,s2,...,sn),…

Opening the Black Box of Deep Neural Networks with more information

Introduction and related work Information funnel model of neural networks Although neural networks have proven to be invaluable in research as well as in automating various business processes, a lot of questions remain open as to how they work and why they are so effective. One model developed (by Shwartz Ziv, Tishby) to answer them is the information plane From a statistical point of view, the…