Blog

2 septembre 2017 · Python · ML · Berlin

The inflatable curtain

Berlin's ban on unlicensed holiday flats coincided with Airbnb's whole-flat listings halving in four months. A year on, hosts with several flats run one listing in five but draw almost a third of guest reviews, the widest gap of 14 European cities.

Article en anglais.

In Berlin, hosts who rent out more than one whole flat on Airbnb hold 21% of the active listings, yet those flats collect 31% of the guest reviews posted each month. No other city among the 14 European ones we compared shows a wider gap between how much of the market professional-looking hosts own and how much of it they actually use.

The data come from Inside Airbnb, which publishes snapshots of every listing on the platform city by city. We took the snapshot nearest to spring 2017 for 14 cities (most from March to May 2017, Dublin from February, Geneva from August 2016) and kept whole homes that were open for booking in the next 90 days and had been reviewed in the previous 60 days: 56,887 listings, 3,447 of them in Berlin. A host with more than one such listing counts as a multi-listing host. For Berlin we also used monthly snapshots from October 2015 to May 2017.

A ban, and half the market gone

Since May 2016 Berlin has required a permit to let a whole flat to tourists, and only 58 permits had been granted for 800 applications in 2016. Much of the reaction came before the deadline. Between January and May 2016 the number of active whole-flat listings fell from about 8,200 to about 4,100, a drop of half. Multi-listing hosts cut deeper, by about 60%, against 46% for hosts with a single flat.

The fall did not last. By May 2017 both groups had grown back steadily, to about 5,700 listings in all, 70% of the January 2016 level. The rebound was faster among multi-listing hosts, up 60% since May 2016 against 33% for single hosts.

Fewer professionals, but busier ones

Compared with other European cities, Berlin's market is not dominated by professionals. Multi-listing hosts run 21% of active whole homes, as in Paris, against 57% in Barcelona and 55% in Venice. Hosts with five or more active listings hold 8% of Berlin's whole flats, against 31% in Barcelona. Only Amsterdam and Antwerp are less concentrated.

What sets Berlin apart is how hard those flats work. Reviews per month, the best available proxy for stays, put multi-listing hosts' share of activity 9.6 percentage points above their share of listings. In Dublin the gap is 7.7 points, in Athens 6.3; in Barcelona and Venice, where professionals already dominate, it is slightly negative.

The gap concentrates in the centre. In Mitte, where a quarter of Berlin's active whole flats are listed, multi-listing hosts hold 31% of listings and draw 44% of reviews.

Open all year, booked at a click

The typical flat of a multi-listing host in Berlin was open for booking 264 days of the coming year, against 131 for a flat let by a host with only one. It received 2.4 reviews a month, against 1.2. And 52% of such flats could be booked instantly, without the host vetting the guest, against 19% of single-host flats. Those are the habits of a business, not of a resident letting out a flat while away.

Where residents move on, flats go on Airbnb

Where do these flats sit? Matching each listing to Berlin's 447 planning areas, and each area to the city's own social monitoring for the end of 2016, points to residential turnover. Distance to the centre explains much of the pattern, so we compared like with like: the 96 planning areas within 5 km of the city centre. In the 16 of them where fewer than half the residents had lived at the same address for more than five years, there were 4.7 active whole-flat listings per 1,000 residents. In the 32 where 60% or more had stayed that long, there were 1.6, a third as many.

The link holds between 5 and 10 km from the centre too (rank correlation −0.39 over 167 areas), and within Mitte, Pankow, Charlottenburg-Wilmersdorf and Neukölln taken one by one. It cannot say which way the effect runs: turnover may free flats for holiday letting, or holiday lets may displace residents, or both may follow from the same housing stock. Nor does it pick out the professionals. Among the 61 areas with at least 15 active listings, the share run by multi-listing hosts barely varies with residential turnover.

Can a model spot the professionals?

If professional hosts behave differently, could a regulator find them automatically? We trained classifiers on about 300 features per listing in all 14 cities: availability, reviews and their frequency, host profile, amenities, the language of guest reviews, the text of English reviews and the photos of the flats. To give the model an even chance, the data were rebalanced to equal numbers of single and multi-listing hosts.

The best model, a gradient-boosted tree (XGBoost), identified 80% of multi-listing hosts' flats in the test set and was right 78% of the time when it flagged one. A logistic regression reached 77%, and a neural network did no better. That is not enough to act on: of 4,102 single-host flats in the test set, 886, or 22%, were wrongly flagged as professional. The signals the model relied on most were the age of the host account and of the first review, how often a flat is reviewed, its availability over the year and its distance from the city centre. None separates the two groups cleanly.

The definition itself is a limit. A professional can run a single listing, or several under different accounts, and a resident can share two flats.

About the data

Listings come from Inside Airbnb snapshots, scraped from the public Airbnb website; each is a picture of one day, not a record of bookings. "Active" means a whole home with at least one free night in the next 90 days and a review in the 60 days before the snapshot. The Berlin time series in Figure 1 uses a looser definition (any availability in the next year and at least one review), so its counts are higher than those in Figures 2 and 3; its values were read from our original chart. Reviews per month approximate stays: not every guest leaves a review. For Figure 4, listings were placed in Berlin's 447 planning areas (LOR, 2017 boundaries) by their coordinates, which Airbnb shifts slightly to protect hosts. Residents and the share at the same address for more than five years (context indicator K10, 31 December 2016) come from the Senate's Monitoring Soziale Stadtentwicklung 2017 (Datenlizenz Deutschland Zero 2.0); areas with fewer than 500 residents are left out. Area-level correlations describe neighbourhoods, not individual flats or residents. The model was tuned with five-fold cross-validation and tested on 8,154 held-out listings.

Analysis in Python (pandas, scikit-learn, XGBoost, Keras) and R; the code and the prepared data are on GitHub.