Konstantin Kirchheim

I am currently a PhD student at the Otto-von-Guericke University Magdeburg (Germany) in the Department of Computer Science.

My research focuses on anomaly detection in high-dimensional data with deep learning models, and more recently with neuro-symbolic methods, mostly on image, video and text data. I also did some work on reproducibility of experiments involving deep learning models, as well as mining of academic literature.

I maintain pytorch-ood, a Python library for out-of-distribution detection with deep neural networks.

In my spare time, I like to scrape data from the web and mine it. This hobby spawned some interesting projects with dedicated websites, such as sworm and extra-mining.

On the right, you can find a rather dated picture of me in the style of an image from Picasso’s blue period. It was generated with Neural Style Transfer.

Latest Updates

Home Server Setup 2024, 07 Dec. 2024 (posts)
In this post, I want to present my current home server setup, including the hardware, the virtualized infrastructure (Networks, VMs), and the services (Containers) I am running.1 The goal is to give you some inspiration and also to have some more thorough documentation for myself. While writing, I noticed some possible improvements, so there is value in the documentation process itself. This post will be quite long as the infrastructure evolved over a prolonged period. To avoid convoluting it …
Categories: Homeserver
2939 Words, Tagged with: Homeserver · Virtualization
Thumbnail for Home Server Setup 2024
Training a German LLM from Scratch 🦜, 14 Nov. 2024 (posts)
This article is not finished and will be updated. The research group I work with has access to a small GPU cluster, which occasionally sits idle. To avoid wasting valuable compute resources (IDLE GPUs essentially burn money through opportunity costs), I decided to train a German GPT-2-style model from scratch, using only German text. Existing German models available on Hugging Face have 137M parameters and a context length of 1024 tokens1, which is quite limited compared to recently released …
Categories: Deep Learning
2794 Words, Tagged with: Deep Learning · Generative Models · LLM
Thumbnail for Training a German LLM from Scratch 🦜
Language Models as Reasoners for Out-of-Distribution Detection, 17 Sep. 2024 (papers)
Our paper, Language Models as Reasoners for Out-of-Distribution Detection, was presented at the Workshop on AI Safety Engineering (WAISE) 2024 and received the best paper award by popular vote. It constitutes an extension of our idea of Out-of-Distribution Detection with Logical Reasoning, where we replaced the prolog-based reasoning component with an LLM. Abstract § Deep neural networks (DNNs) are prone to making wrong predictions with high confidence for data that does not stem from their …
Categories: Anomaly Detection · Neuro-Symbolic
195 Words, Tagged with: WAISE · Anomaly Detection · Large Language Models · Neuro-Symbolic
Thumbnail for Language Models as Reasoners for Out-of-Distribution Detection
Deep learning-based harmonization and super-resolution of Landsat-8 and Sentinel-2 images, 17 May. 2024 (papers)
Our paper Deep learning-based harmonization and super-resolution of Landsat-8 and Sentinel-2 images, which is based on the masters thesis of my colleague Venkatesh Thirugnana Sambandham, has been published in the ISPRS Journal of Photogrammetry and Remote Sensing. This work is an extension of our previous workshop paper on transformers for satellite homogenization. In summary, we find that a simple UNet model provides surprisingly good performance for the satellite homogenization task. We …
Categories: Deep Learning
344 Words, Tagged with: Deep Learning · Superresolution
Thumbnail for Deep learning-based harmonization and super-resolution of Landsat-8 and Sentinel-2 images
Out-of-Distribution Detection with Logical Reasoning, 04 Jan. 2024 (papers)
Our paper Out-of-Distribution Detction with Logical Reasoning has been accepted on the WACV 2024. Abstract § Machine Learning models often only generalize reliably to samples from the training distribution. Consequentially, detecting when input data is out-of-distribution (OOD) is crucial, especially in safety-critical applications. Current OOD detection methods, however, tend to be domain agnostic and often fail to incorporate valuable prior knowledge about the structure of the training …
Categories: Anomaly Detection · Neuro-Symbolic
226 Words, Tagged with: WACV · Anomaly Detection · Neuro-Symbolic
Thumbnail for Out-of-Distribution Detection with Logical Reasoning
Towards Deep Anomaly Detection with Structured Knowledge Representations, 15 Jun. 2023 (papers)
My paper Towards Deep Anomaly Detection with Structured Knowledge Representations has been accepted on the Workshop on AI Safety Engineering at SafeComp. Abstract § Machine learning models tend to only make reliable predictions for inputs that are similar to the training data. Consequentially, anomaly detection, which can be used to detect unusual inputs, is critical for ensuring the safety of machine learning agents operating in open environments. In this work, we identify and discuss several …
Categories: Anomaly Detection · Neuro-Symbolic
181 Words, Tagged with: WAISE · Anomaly Detection · Neuro-Symbolic
Thumbnail for Towards Deep Anomaly Detection with Structured Knowledge Representations
Mining the Bundestag, 22 Jan. 2023 (posts)
Did you know the German parliament publishes protocols for all of its proceedings in PDF format? It is relatively straightforward to download and parse them, so we can easily collect a dataset of transcripts of what seems to be every speech in the Bundestag since the Second World War. My original idea was to mine the speeches for word associations. Some words will be associated with other words based on the intended connotation, and this association might change over time as the connotations …
Categories: Data Mining
1029 Words, Tagged with: Bundestag · Data Mining · Generative Models
Thumbnail for Mining the Bundestag
Mining tagesschau.de, 26 Nov. 2022 (posts)
I like to read tagesschau.de, so I wrote a script to scrape it in regular intervals. My original goal was to determine which articles stay on the front page the longest, which ones allow commenting (a feature that seems to have been disabled almost entirely since March 2020), and if articles are modified after the initial release (without mentioning this), because I sometimes feel that headlines change. Dataset Creation § Tagesschau provides a JSON API, so fetching all of the articles is …
Categories: Data Mining
1046 Words, Tagged with: Tagesschau · Generative Models · Data Mining
Thumbnail for Mining tagesschau.de
On Outlier Exposure with Generative Models, 23 Nov. 2022 (papers)
Our paper On Outlier Exposure with Generative Models has been accepted on the NeurIPS Machine Learning Safety Workshop. Abstract § While Outlier Exposure reliably increases the performance of Out-of-Distribution detectors, it requires a set of available outliers during training. In this paper, we propose Generative Outlier Exposure (GOE), which alleviates the need for available outliers by using generative models to sample synthetic outliers from low-density regions of the data distribution. The …
Categories: Anomaly Detection
114 Words, Tagged with: MLSW · Generative Models · Anomaly Detection
Thumbnail for On Outlier Exposure with Generative Models
Social Work Research Map, 11 Nov. 2022 (papers)
During the last weeks, I worked with some colleagues on a website that aims to improve access to social work literature. We described the results in out paper Social Work Research Map – ein niederschwelliger Zugang zu internationalen Publikationen der Sozialen Arbeit, which has been published in the journal Soziale Passagen. While the paper is written in german, there is also a technical report in english. Abstract § Internationalization is a central topic in higher education policy in Germany. …
Categories: Data Mining
281 Words, Tagged with: Soziale Passagen · SWORM · Data Mining
Thumbnail for Social Work Research Map