chrisricard.com
Archive aisle lined with shelves of case boxes and card-catalog drawers

A Framework for Fashion Data Gathering Hierarchical Annotation and Analysis for Social Media and Online Shop

July 27, 2026 · 9.5 MB

A KTH master's student scraped about 70,000 Instagram posts from 47 fashion influencers and 62,000 Zalando items. This 2018 thesis builds tools to collect and label fashion data for recommendation systems.

Overview

Fashion recommendation systems need two things existing datasets rarely offer together: clothing labeled in fine detail and the social interactions around each image. This 2018 master's thesis from the KTH Royal Institute of Technology in Stockholm, by Ummul Wara, sets out to build both. Recommendation research has been moving from content-based systems toward hybrid systems that draw on several domains at once, and those systems need richer training data.

Two Datasets

The work produced two datasets. The first came from Instagram. A custom scraper collected nearly 70,000 posts from 47 fashion influencers in the "liketoknowit" community between October 2017 and March 2018, along with about 4 million comments and other user interactions. The second came from the online retailer Zalando, whose shop data yielded about 62,000 clothing items in 12 categories, with detailed attributes, gathered in March and April 2018.

Gathering the Data

Wara describes how the data was gathered. The project built a small web application to request access to Instagram's programming interface, which required a privacy policy and a permission review. A customized crawler for Zalando lets users collect items by category or attribute, such as pattern, material or brand. The data was stored as documents in a MongoDB database.

The Labeling Tool

The core of the thesis is a web tool for labeling Instagram images in detail. It uses a fixed hierarchical vocabulary of 155 clothing subcategories under 13 main categories, along with attributes for each item. Annotators can browse each influencer's gallery, label every clothing item in an image, see the post's text and user interactions to improve accuracy, and correct earlier labels. An algorithm assigns images to annotators dynamically. The tool was built with the Flask framework, chosen over Django for its flexibility. A separate interface was made for crowdsourced workers. The database keeps a record for each image showing which annotator it was assigned to and whether it has been labeled. The thesis also documents the steps for deploying the tool on a web server, so other researchers can run it themselves.

The tool was evaluated by the research team and through Amazon's Mechanical Turk service. The thesis reports that labels from different users showed the tool was available and clear to use.

Comparing the Datasets

Wara also compares the two datasets over the period from November 11, 2017, to May 20, 2018. Zalando had more items in every category, but Instagram had notable numbers of shoes, tops, dresses, jumpers and cardigans, trousers, accessories and coats. The most common category was jumpers and cardigans on Instagram and shoes on Zalando. Looking at subcategories revealed gaps. Zalando had very little data for cardigans and fleece jumpers, while Instagram had significant numbers of boots and sandals. Those gaps, the thesis argues, show the value of a targeted crawler for filling in missing items.

Locating and outlining individual garments within images was beyond the thesis's scope. The work is presented as a resource for researchers who need richly labeled clothing data tied to social network activity.

Why It Matters

It shows how social media and retail data can be gathered and labeled to train fashion recommendation systems, and where the two sources diverge.

Page 1 of A Framework for Fashion Data Gathering Hierarchical Annotation and Analysis for Social Media and Online Shop
Page 1 · click to open the full PDF
Open full PDF (9.5 MB) ↗

More from Computer Science & Engineering Research

See all 37 in Computer Science & Engineering Research →