<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Brian Burns on Medium]]></title>
        <description><![CDATA[Stories by Brian Burns on Medium]]></description>
        <link>https://medium.com/@_Brian_Burns?source=rss-1737f4ea9b0d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*x3CdsaD699a6ad1nPW0JFQ.jpeg</url>
            <title>Stories by Brian Burns on Medium</title>
            <link>https://medium.com/@_Brian_Burns?source=rss-1737f4ea9b0d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 13:57:04 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@_Brian_Burns/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[AI Created Outfits]]></title>
            <link>https://medium.com/@_Brian_Burns/ai-created-outfits-9529300a1af3?source=rss-1737f4ea9b0d------2</link>
            <guid isPermaLink="false">https://medium.com/p/9529300a1af3</guid>
            <category><![CDATA[outfit]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[nordstrom]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[representation-learning]]></category>
            <dc:creator><![CDATA[Brian Burns]]></dc:creator>
            <pubDate>Mon, 04 Oct 2021 18:48:34 GMT</pubDate>
            <atom:updated>2021-10-04T18:48:34.418Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/878/1*43XAVpJwfBM_uL-PY8iz4w.jpeg" /></figure><h3>AI-Created Outfits</h3><p>At Nordstrom, digital stylists help our customers to feel good and look their best by creating outstanding outfits through a variety of <a href="https://www.nordstrom.com/browse/services/personal-stylists">styling experiences</a>: one-on-one virtual styling help, try before you buy with <a href="https://www.trunkclub.com/">Trunk Club</a>, personally curated looks, thematic outfit curations, outfits to showcase the versatility of an individual product, and much more! To help our stylists scale their outfit creation abilities around any set of items in the ever-changing Nordstrom catalog, we built and deployed a machine learning system, named <em>The Outfitter</em>, that can build complete outfits starting from as little as one single “seed” item. To date, it has published hundreds of stylist quality outfits.</p><h3>Business Case</h3><p>Nordstrom’s digital sales volume has been steadily increasing in recent years — Q2 2021 volumes were 24% over Q2 2019. Concurrently, increasing customer engagement and expanding available customer choice have been top priorities for the business. The outfits created by Nordstrom’s digital styling services play a key role in supporting those priorities. They help our customers navigate our expanding inventory to find stylish outfit choices.</p><p>Like any organization with static resources and seasonal demand, the digital styling workload gets stressed in peak seasons. To enable our digital stylists to remain focused on our customers’ most valuable priorities regardless of seasonal demand, we have created a deep learning-driven process to recommend outfits, automatically leveraging Nordstrom’s wealth of high-quality historical outfit data.</p><h3>Model Structure</h3><p><em>The Outfitter</em> makes outfits using a two-step approach. First, a seed item is supplied as input, and a statistical model is used to create an outfit template of a desired size. Outfit templates are a set of broad item categories that together comprise an outfit. For example, an outfit template might be: “High heels, a cocktail dress, drop earrings, and a clutch handbag.” Using a historical dataset of stylist-created outfits, we estimated the pairwise probabilities of two item categories appearing together in the same outfit. This approach naturally forms a graph data structure where nodes represent item categories and weighted edges represent the probability of two item categories appearing together in an outfit. To form a template from a single seed item, start from the seed item category and add item categories until the desired outfit size is reached (see Figure 1).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Utvg5AM2xrHTiXmJBOYJVA.png" /><figcaption><strong>Figure 1</strong>. Outfit template creation. Starting from the seed slot of “FORMAL DRESSES — COCKTAIL”, and a specified outfit size = 4, our template model follows high-probability edges to add item categories to the outfit template (highlighted in blue) until the desired outfit size is reached.</figcaption></figure><p>Once an outfit template is created, the second step is to choose the specific items to occupy each item category. Fashion is fundamentally a visual art form; the quality of an outfit is often judged based on visual aspects. We utilized computer vision to make the final selection of items for each slot in an outfit template. Like our template model, our vision model was designed to perform pairwise comparisons; however, the vision model was tasked with the harder problem of comparing two specific items based on their visual appearance.</p><p>Inspired by previous work in fashion machine learning [1], we designed our vision model to be composed of two visual encoders (see Figure 2). Each encoder processes a product image and outputs a vector. In total, the model takes two images as inputs and outputs two vectors. Our goal was to use the two output vectors to calculate a score representing the compatibility of two fashion items. For example, given an image of a pair of sneakers and another image of a pair of shorts, we would like the model to produce a score that tells us how well the shoes and shorts would go together in an outfit. While there are many ways to compare two vectors, we chose to use the cosine distance between vectors as a pairwise compatibility score because it is well supported by fast KNN-based retrieval systems [2].</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/984/1*BnynZTqbRukvvbRt2FYEUw.png" /><figcaption><strong>Figure 2. </strong>Compatibility of image pairs. Our vision model is comprised of two encoders, f and g, which transform two input images into two output vectors <strong>u</strong> and <strong>v</strong>. The encoder functions f and g are deep convolutional neural networks that are trained on &gt; 5M image pairs taken from our historical stylist-made outfit dataset. The compatibility score of two product images is measured as the cosine distance between the vectors <strong>u</strong> and <strong>v</strong>.</figcaption></figure><p>Unlike other models, such as twin neural networks, which process two images using a single, shared encoder, our model uses two encoders based on the following intuitions. First, we’d prefer to avoid pairing the same item together in an outfit (e.g., two t-shirts). Yet, if we supplied the same image twice to a single encoder, we would be guaranteed identical output vectors and a cosine distance score of 1. Second, the single encoder approach is more often used in visual similarity tasks where the objective is to classify together similar images. In the case of outfitting, however, we were not aiming to measure visual <em>similarity</em> but visual <em>compatibility</em>. By having two encoders, we hypothesize that the model has more freedom to place the vectors for compatible but dissimilar product images nearby in cosine distance space.</p><p>The loss function used to train our vision model is based on recent advances in text and visual representation learning [3, 4]. During training, pairs of images of items that stylists have historically paired together in outfits are fed into the model in batches. Each batch is a random sample of N image pairs. The model produces two output vectors, <strong>u</strong> and <strong>v</strong>, for each of the N image pairs in the batch: [ (<strong>u</strong>1, <strong>v</strong>1) , … , (<strong>u</strong>N, <strong>v</strong>N) ]. Within the loss function, the pairwise cosine distance between all the <strong>u</strong> and <strong>v</strong> vectors in the batch is computed to form a square NxN matrix of predictions. The label for a batch is also a square NxN matrix with diagonal entries all equal to 1, corresponding to the input pairs (<strong>u</strong>i, <strong>v</strong>i). Off-diagonal entries in the label matrix take on values 0 or 1 depending on whether the item pair (<strong>u</strong>i, <strong>v</strong>j), i ¹ j, appears in our historical outfit dataset. The value is 0 if the items have never been paired by a stylist, otherwise the value is 1. Because batches are randomly sampled, off-diagonal entries in the label matrix are more frequently 0. The loss function computes the categorical cross entropy along the row and column dimensions of the prediction and label matrices. Finally, row- and column-wise cross entropies are averaged to produce a total loss value for the batch. Prior efforts using this loss function have emphasized that large batch sizes improve performance; in our model, we were able to set batch size to N = 1024 by using mixed-precision and a powerful GPU (Nvidia Tesla V100), which leaves room for improvement by using distributed training or more powerful accelerators.</p><h3>Evaluation</h3><p>Evaluating outfits produced by <em>The Outfitter</em> proved challenging because taste in fashion is subjective, even among experts. In an initial test of our model, we shuffled together 20 outfits created by stylists and 20 outfits created by <em>The Outfitter</em> and asked 15 stylists to identify stylist-made vs. machine-made outfits in a survey. Men’s and Women’s attire were evaluated separately. The results of which are shown in table 1 below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/536/1*Y5WAC5wlzAS1HaikHJaRJA.png" /><figcaption><strong>Table 1:</strong> Summary statistics from the results of the stylist survey. <em>Was this outfit created by a stylist?</em></figcaption></figure><p>From these results, we see that stylists had difficulty discerning outfits created by their peers from those created by <em>The Outfitter</em>. We consider this the highest standard to which we could hold <em>The Outfitter</em>, so we were encouraged to see favorable results. These favorable results reinforce the efficacy of using Outfitter recommendations to support stylist decisions as well as deliver personalization at scale to our customers. As we refine the model over time by experimenting with different image encoders and loss functions, we’ll return to this survey methodology to evaluate quality.</p><p>We also evaluate model versions with the Fill-In-The-Blank (FITB) task [5]. In FITB, one item is removed from a real outfit, and the model is tasked with finding the removed items from a small set of similar items. The FITB task on the Polyvore dataset is a common benchmark in academia for outfit models of this type. <em>The Outfitter</em> achieves a Top-1 Accuracy (where the model is given one prediction to choose the original item) of 0.56 and Top-2 Accuracy (where the model is given two predictions) of 0.80. This performance is in line with other top benchmarked approaches on the Polyvore dataset.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lWj9g6xSdHtiJcpgNSinzA.jpeg" /><figcaption><strong>Figure 3:</strong> An example Fill-In-The-Blank (FITB) task. The top row is the original outfit without the hat. The hat in the lower left corner in the green box is the original hat. The other three hats in this row are randomly sampled hats. A model is tasked with choosing the original hat out of the four hats. In this example, the tan hat has been selected by the model, so this would count against the model’s accuracy. As demonstrated here, this task can be a harsh benchmark: Some sampled items may be viable options.</figcaption></figure><h3>Use</h3><p><em>The Outfitter</em> made its debut in the Nordstrom 2021 Anniversary Sale where it published hundreds of outfits, supporting the goal of having an outfit for every product. All outfits were published in a way that required stylist-approval, and this hybrid stylist-AI process produced higher engagement (particularly in add-to-bag rate) than our existing process over the same time period.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zj-XfCTNw8abCeYP5pME4g.jpeg" /><figcaption><strong>Figure 4:</strong> Some example outfits created by the Outfitter during the Anniversary 2021 sale.</figcaption></figure><h3>Future Exploration</h3><p>What we have created so far is an AI-powered process that produces generally good outfits. While we have an excellently rich, large source of Nordstrom stylist-created outfits, we’ve trained and evaluated our graphical and computer vision models across the entire dataset. Therefore, we support completing outfits of many different styles but leave some areas for upcoming exploration:</p><ul><li>Creating outfits in a specific style</li><li>Personalizing outfits</li><li>Removing any dependency on explicit taxonomy</li><li>Improving Stylist-Outfitter Interaction</li><li>Supporting capsule wardrobes</li></ul><h3>Conclusion</h3><p>In summary, hundreds of stylist-quality outfits have been created with <em>The Outfitter</em>. The creation of outfits with <em>The Outfitter</em> is a two-phase process: choose a set of categories and then choose items with those categories. From the seed item(s), our statistical, graph-based model chooses the set of compatible categories, which we call an outfit template. For each category in the template, we use precomputed vision model vectors and an approximate KNN algorithm [2] to choose a list of products that are visually compatible with items already in the outfit. This process is repeated until all categories in the outfit template are filled with specific fashion items. The iterative nature of the outfit building process allows us to build outfits of various sizes and supports other use cases such as product recommendations.</p><h4><strong>If you’re inspired by this article, </strong><a href="https://careers.nordstrom.com/#/headquarters-careers/technology"><strong>reach out! We’re hiring!</strong></a></h4><h4>Acknowledgments:</h4><ul><li><a href="https://www.linkedin.com/in/matthew-green-27027046/">Matt Green</a> — co-author this article and <em>The Outfitter</em> co-creator</li><li><a href="https://www.linkedin.com/in/anthonybouril/">Tony Bouril</a> — <em>The Outfitter</em> co-creator</li><li><a href="https://www.linkedin.com/in/jack-blau-22a03214/">Jack Blau</a> — <em>The Outfitter</em> developer</li><li><a href="https://www.linkedin.com/in/carolyn-stobbe-74543858/">Carolyn Strobbe</a> — <em>The Outfitter</em> developer</li><li><a href="https://www.linkedin.com/in/aman-jakkani/">Aman Jakkani </a>— <em>The Outfitter</em> developer</li></ul><h3>References:</h3><p>[1] Hanbit Lee and Jinseok Seol and Sang-goo Lee. “Style2Vec: Representation Learning for Fashion Items from Style Sets.” (2017) Arxiv preprint. <a href="https://arxiv.org/abs/1708.04014">https://arxiv.org/abs/1708.04014</a></p><p>[2] <a href="https://opendistro.github.io/for-elasticsearch-docs/docs/knn/approximate-knn/">https://opendistro.github.io/for-elasticsearch-docs/docs/knn/approximate-knn/</a></p><p>[3] Alec Radford and Jong Wook Kim and Chris Hallacy and Aditya Ramesh and Gabriel Goh and Sandhini Agarwal and Girish Sastry and Amanda Askell and Pamela Mishkin and Jack Clark and Gretchen Krueger and Ilya Sutskever. “Learning Transferable Visual Models From Natural Language Supervision.” (2021) Arxiv preprint. <a href="https://arxiv.org/abs/2103.00020">https://arxiv.org/abs/2103.00020</a></p><p>[4] Chao Jia and Yinfei Yang and Ye Xia and Yi-Ting Chen and Zarana Parekh and Hieu Pham and Quoc V. Le and Yunhsuan Sung and Zhen Li and Tom Duerig. “Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervision.” (2021) Arxiv preprint. <a href="https://arxiv.org/abs/2102.05918">https://arxiv.org/abs/2102.05918</a></p><p>[5] Han, Xintong and Wu, Zuxuan and Jiang, Yu-Gang and Davis, Larry S. “Learning Fashion Compatibility with Bidirectional LSTMs.” (2017) Arxiv preprint. <a href="https://arxiv.org/abs/1707.05691">https://arxiv.org/abs/1707.05691</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9529300a1af3" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>