Drarry on AO3: Tropes through tags

This is something that I’ve been dreaming of (sounds like a hyperbole, but it really isn’t!) since I started this little fandom/fic analysis project. This is really just about only possible through AO3’s generous data dump, since scraping the huge amount of Harry Potter fics on the site would be quite difficult (for me, as a solo grunt, and AO3’s servers – if I didn’t rate limit myself properly).

After getting into a fandom for a while, we kind of intuitively know about the tropes that exist in it after consuming the works of others (and maybe even producing our own). Within Harry Potter, there are so many that have accumulated across the history of the fandom – creature inheritance, Hogwarts 8th year, Harry in Slytherin AUs, etc. And we know that when we see certain tags – e.g., creature inheritance – we can expect to see certain other tags (e.g. veela Draco Malfoy, magical bonds/soulmates). Are we able to capture some of these tropes or ideas automatically given a huge dataset of tags? I attempt that here, looking at each rating (Gen/Teen/Mature/Explicit) separately.

As with my work on using tags to characterise characters in D:BH fandom, I want to reiterate that tags capture only a small part of the picture. Many tropes aren’t explicitly laid out in their tags. Also, due to the way I’ve done preprocessing, only tags that meet a certain threshold for usage are kept – so I can’t really address much rarer tags. In short – this is really a rough overview.

Typically I lay out my preprocessing steps on my Tumblr and just link the main images here, but I’ve decided to tie them both together here since the preprocessing is pretty integral in influencing what you see in the end.

Content

1) Preprocessing and network creation
2) Explicit tag network
3) Mature tag network
4) Teen tag network
5) Gen tag network
6) Conclusion


Preprocessing and network creation

Tag standardisation and fic selection

The dataset from AO3 has a very nice mapping of tags to the ‘main’ tag. For example, tags Draco, Draco Malfoy, Dracy Malfoy – there is an indication that all these tags actually mean the same thing, and map back to the ‘main’ character tag Draco Malfoy. Thus, before I did anything else – for standardisation, I converted all the not-main tags to their respective ‘main’ tags (i.e., subbing ‘Dracy Malfoy’ to ‘Draco Malfoy’).

I then selected a certain subset of Drarry-tagged fics: those written in English and those with ‘Harry Potter’ as the only fandom tagged. That left me 47403 fics. The following preprocessing and network creation steps were then applied separately to each of the four ratings.

Preprocessing tags and finding clusters of tags

I worked with only the freeform tags. For each fic, I concatenated its freeform tags into a list. The only tags I removed were ‘Draco Malfoy – Freeform’ and ‘Harry Potter – Freeform’. For each rating, the max times a tag appeared was capped around 10+% of all fics of that rating. The main filtering I did was to keep only tags that appeared at least 3 (for Explicit, General) or 4 (for Teen, Mature) times. If only 1 or 2 fics used the tags, it wouldn’t give that much information and might lead to noise in the final network.

I then created a basic network with the tags represented as nodes and edges between them weighted by the number of fics that used both the tags. Following that, I applied Serrano’s disparity filter at a value of α = .001 to only keep only statistically significant edges.

After that, I applied the Louvain algorithm. I ran it for 1000 times and picked the partition with the highest modularity. Do note that the modularity figures were typically on the lower end across all ratings, meaning that there weren’t very dense/clear subcluster of tags within the networks. For high modularity, you’d want to see a network with dense links between nodes of the same group, with sparse links between different groups. I list the modularity figures for each rating in the respective section below.

The tags aren’t the be-all-and-end-all of things, for sure – given the restrictive filtering I used and the lack of examination of actual fic content. Nevertheless, we do still see some semantically coherent and interesting subclusters arise for each rating. The graphs were created with the help of pyvis, as usual. Palette for explicit, teen, and gen networks from here. Palette for mature networks from combining this and this. I hope you have fun exploring them!

Details of what is shown in the networks of each rating

There are two main sets of networks shown for each rating:
1) A full network – this contains all the tags leftover after filtering for that rating. These are a bit laggy (especially the explicit one), so click with caution if you have some important tabs open in your browser, I guess. In these networks, you will see the tags coloured by the group assigned by the Louvain algorithm. Hovering/clicking on a node shows up to the top 5 tags that co-occur with the node’s tag, regardless of group. Hovering over an edge shows the number of fics that have been tagged with the respective two nodes.

2) Multiple networks, split by Louvain group – each network contains only the tags assigned to the same group by the Louvain algorithm. Many of them consist of only 2 nodes, I’ve noted networks in the table with 5 or less nodes with an asterisk. Hovering/clicking on a node shows up to the top 5 tags in that same Louvain group that co-occur with the node’s tag. Hovering over an edge shows the number of fics that have been tagged with the respective two nodes.

I’ve also added my comments on each group, but they’re just my opinion/own scribbles on what the group might be about. Again – modularity figures were low so it’s not like we got well-defined subclusters. These aren’t the gold standard of truth by any means, but I think they do at least reveal somewhat some tropes that we as readers/writers have come to be familiar with.

Explicit tag network

Modularity = .336

Full network

Link

Networks by Louvain group

Asterisks* denote a network with 5 or less nodes.

Example tags Link to network Comments
1 Post-Hogwarts, Auror Harry Potter, Clubbing, POV Draco Malfoy, Potions Master Draco Malfoy Link about when the boys are adults/finding romance after school
2 Alternate Universe, First Time, Mpreg, Drama, Fluff Link AUs and main story ‘themes’; perhaps fluff/humor got mixed up with the darker stuff due to sharing common links in AU/mpreg, etc – which could fall on either side of the spectrum
3 Hogwarts Eighth Year, Slow Burn, Depression, Secret Relationship, Coming Out Link immediate post-war stuff and its consequences
4 Rimming, Rough Sex, Dirty Talk, Possessive Behaviour, Begging Link this as much is clear, i think
5 Bottom Draco Malfoy, Porn with Feelings, Established Relationship, Top Harry Potter, Harry Potter Has a Large Cock Link i really want to call this the bottom draco gang
6 BDSM, Orgasm Delay/Denial, Dom Harry, Sex Toys, Praise Kink Link definitely bdsm
7 Oral Sex, Consent, Sex, Anal, Gay Sex Link not really sure why this is on its own – perhaps the tags are more general
8 Alpha/Beta/Omega Dynamics, Omega Draco Malfoy, Alpha Harry Potter, Omega Verse, Knotting Link a/b/o
9 Top Draco Malfoy, Bottom Harry Potter, Dom/sub Undertones, First Time Bottoming, Draco Malfoy Has a Large Cock Link is this the bottom harry gang
10 Creature Fic, Veela Draco Malfoy, Creature Harry Potter, Mates, Veela Mates Link creature inheritance
11 Manipulative Albus Dumbledore, Ginny Weasley Bashing, Ron Weasley Bashing, Molly Weasley Bashing, Hermione Granger Bashing Link taking another pov of harry’s story
12* Threesome – M/M/M, Foursome – M/M/M/M, Spitroasting, Double Penetration, Teacher-Student Relationship Link orgies?
13* Christmas, Snow, Christmas Presents, Christmas Fluff, Christmas Smut Link christmas
14* Audio Format: MP3, Podfic & Podficced Works, Podfic, Audio Format: Streaming, Audio Format: M4B Link podfics
15* Rape, Torture, Psychological Torture, Sexual Violence Link non-con stuff
16* Bisexual Harry Potter, Gay Draco Malfoy, Gay Harry Potter, Bisexual Draco Malfoy Link sexuality of them both
17* Fanart, Art, Digital Art, NSFW Art Link art stuff
18* Vampires, Vampire Draco Malfoy, Blood Drinking, Vampire Sex Link vampires! baz, anyone?
19* Public Sex, Public Nudity, Public Blow Jobs Link public sex, clearly
20* Professor Draco Malfoy, Professor Harry Potter, Hogwarts Professors Link the boys as professors
21* Vaginal Sex, Vaginal Fingering, Cunnilingus Link female-gendered sex acts
22* Belly Kink, Belly Rubs, Weight Gain Link weight gain kinks
23* Genderswap, Female Harry, Trans Draco Malfoy Link non-male representations of harry/draco
24* Quidditch Player Harry, Quidditch Player Draco Malfoy Link quidditch careers
25* Fanfiction, Rating: NC17 Link
26* Emotional/Psychological Abuse, Physical Abuse Link abuse
27* Age Difference, Cross-Generation Relationship Link age difference relationships
28* Gryffindor, Slytherin Link this group of 2 appears in the other ratings too, and i’m not entirely sure why
29* Rape Recovery, Rape Aftermath Link recovering/handling rape
30* Chubby Draco Malfoy, Body Image Link i’ve seen a couple of chubby!harry fics around too, but perhaps those tags fell off in the filtering
31* Soulmate-Identifying Marks, Alternate Universe - Soulmates Link soulmate AUs
32* Slytherin Harry Potter, Dark Harry Link dark harry AU – i’ve seen it a couple of times tied with weasley/dumbledore bashing, but they’re likely not entirely mutually inclusive
33* Switch Draco Malfoy, Switch Harry Potter Link switching
34* Legilimency (Harry Potter), Occlumency (Harry Potter) Link not a surprise; both boys were involved in these canonically
35* Touching, HP Taste of Smut Fest 2020 Link i feel like there might’ve been a couple more tags here that got filtered out
36* Supernatural Elements, Horror Link horror
37* Kinktober, Kinktober 2019 Link that certain time of the year


Mature tag network

Modularity = .521

Full network

Link

Networks by Louvain group

Asterisks* denote a network with 5 or less nodes.

Example tags Link to network Comments
1 Post-Hogwarts, Hogwarts Sixth Year, Harry Potter Epilogue What Epilogue | EWE, Draco Malfoy Redemption, Hogwarts Eighth Year Link canon divergence – either post-war, or in the turning point of their sixth year; seems similar to explicit’s group 1 and 3
2 Alternate Universe, Hurt/Comfort, Mpreg, Drama, Drug Use Link AUs and main story ‘themes’; this is rather similar to explicit’s group 2
3 Albus Dumbledore Bashing, Ginny Weasley Bashing, Creature Inheritance, Good Malfoy Family (Harry Potter), Dark Harry Link dark harry AU
4 Depression, Post-Traumatic Stress Disorder – PTSD, Panic Attacks, Mental Health Issues, Suicide Attempt Link mental health
5 Drarry, wolfstar, romione, Gay, Smut Link not terribly sure about this one, to be honest
6 Anal Sex, Blow Jobs, Oral Sex, Hand Jobs, Rimming Link sexual stuff
7 Audio Format: MP3, Podfic, Audio Format: M4B, Audio Format: Streaming, Podfic & Podficced Works Link podfics
8* Good Draco Malfoy, Good Narcissa Black Malfoy, Good Severus Snape, Draco Malfoy & Harry Potter Friendship Link where narcissa is a soft mom
9* Gay Draco Malfoy, Bisexual Harry Potter, Bisexual Draco Malfoy, Gay Harry Potter Link sexuality
10* Creature Fic, Veela Draco Malfoy, Veela (Harry Potter), Veela Mates Link creature inheritance/veelas
11* Soulmate-Identifying Marks, Alternate Universe – Soulmates, Soulmates, Soul Bond Link soulmate AU
12* Drabble, Ratings: R, Drabble Collection Link
13* Bottom Draco Malfoy, Top Harry, Top Harry Potter Link it’s a little interesting that a lot of the bottom draco gang tags from explicit group 5 don’t pop up together here
14* Digital Art, Art, Fanart Link fanart
15* Dom Draco Malfoy, Sub Harry, Sub Harry Potter Link dom draco
16* Sub Draco Malfoy, Dom Harry, Dom Harry Potter Link sub draco
17* Top Draco Malfoy, Bottom Harry, Bottom Harry Potter Link top draco
18* Chubby Draco Malfoy, Belly Kink, Weight Gain Link weight gain kink
19* Alpha/Beta/Omega Dynamics, Omega Draco Malfoy, Alpha Harry Potter Link a/b/o
20* Abuse, Child Abuse Link abuse
21* Harry Potter Epilogue Compliant, Infidelity Link get married, cheat
22* Alternate Universe – Non-Magical, Alternate Universe – Modern Setting Link muggle-ish AUs?
23* Jealousy, Possessive Behavior Link what it says on the tin
24* Boys In Love, Boys Kissing Link this has fluff energy
25* Holidays, Christmas Link the holiday season
26* Ron Weasley is a Good Friend, Hermione Granger is a Good Friend Link the golden trio being supportive gang
27* Professor Harry Potter, Professor Draco Malfoy Link the boys as professors
28* Remus Lupin Lives, Sirius Black Lives Link makes me think of fics where they become the parental figures for harry
29* Female Harry Potter, Alternate Universe – Gender Changes Link i’ve seen female draco malfoy as a tag too – perhaps it got filtered out here
30* Gryffindor, Slytherin Link


Teen tag network

Modularity = .390

Full network

Link

Networks by Louvain group

Asterisks* denote a network with 5 or less nodes.

Example tags Link to network Comments
1 Hogwarts Eighth Year, Post-War, Mutual Pining, Boys In Love, Kissing Link eighth year getting together
2 Humor, Romance, One Shot, Slash, Mpreg Link fluff and crack
3 Harry Potter Epilogue What Epilogue | EWE, Draco Malfoy in the Muggle World, Post-Hogwarts, POV Harry Potter, Number Twelve Grimmauld Place Link post-war getting together
4 Hurt/Comfort, Post-Traumatic Stress Disorder – PTSD, Angst with a Happy Ending, Fluff and Angst, Draco Malfoy Needs a Hug Link mental health/trauma experience and possible recovery
5 Established Relationship, Drabble, Domestic Fluff, Ambiguous/Open Ending, Slice of Life Link established r/s fluff mostly
6 Slytherin Harry Potter, Alternate Universe – Canon Divergence, Alternate Universe – No Voldemort, Female Draco Malfoy, Good Slytherins Link rewriting canon
7 Drarry, Hogwarts, How Do I Tag, I’m Bad At Tagging, Gryffindor Link can i call this the i’m not sure what tags to add group? i empathise with this a ton
8 Slow Burn, Enemies to Friends to Lovers, Draco Malfoy Redemption, Hogwarts Sixth Year, Post-Battle of Hogwarts Link the draco malfoy redemption arc, set in either 6th year or after the war
9 Auror Harry Potter, Auror Draco Malfoy, Potions Master Draco Malfoy, Unspeakable Hermione Granger, Auror Ron Weasley Link ministry of magic careers
10 Albus Dumbledore Bashing, Ron Weasley Bashing, Good Malfoy Family (Harry Potter), Good Severus Snape, Molly Weasley Bashing Link similar to the other groups we saw in explicit/mature; canon divergence/another pov of harry’s story
11 Christmas, Christmas Fluff, Christmas Party, 25 Days of Harry and Draco, Winter Link christmas
12 Podfic, Audio Format: MP3, Audio Format: Streaming, Podfic Length: 0-10 Minutes, Audio Format: M4B Link podfics
13 Gay Draco Malfoy, Lesbian Pansy Parkinson, Bisexual Harry Potter, Coming Out, Person of Color Harry Potter Link sexuality; i haven’t read that many person of color harry fics so i can’t really comment on that
14* Alternate Universe – Muggle, Alternate Universe – Coffee Shops & Cafes, Alternate Universe – High School, Meet-Cute, Alternate Universe – College/University Link muggle AU
15* Art, Digital Art, Fanart, Comic, Fandom Kombat 2020 Link art stuff
16* Professor Harry Potter, Professor Draco Malfoy, Defense Against the Dark Arts Professor Harry Potter, Professor Neville Longbottom Link the boys as profs
17* Veela Draco Malfoy, Creature Fic, Creature Inheritance, Veela Mates Link creature inheritance
18* Alternate Universe – Time Travel, Time Travel, Time Travel Fix-It Link time travel! time turner fics are bae
19* Top Draco Malfoy, Bottom Harry Potter, Bottom Harry Link top draco gang
20* Bottom Draco Malfoy, Top Harry, Top Harry Potter Link bottom draco gang
21* Soulmate-Identifying Marks, Soulmates, Alternate Universe - Soulmates Link soulmates AU
22* Homophobia, Internalized Homophobia, Homophobic Language Link homophobia
23* Ficlet, Facebook: The Pen15 is Mightier, Community: hogwarts365 Link
24* Hogwarts Fourth Year, Yule Ball (Harry Potter), Triwizard Tournament Link book four
25* Black Hermione Granger, Indian Harry Potter, Desi Harry Potter Link persons of color representations
26* Trans Female Character, Trans Character, Trans Draco Malfoy Link trans representations
27* Remus Lupin Lives, Sirius Black Lives Link
28* Community: hp_drizzle, HP Drizzle Fest 2019 Link
29* Halloween, Halloween Costumes Link halloween
30* Lily Evans Potter Lives, James Potter Lives Link no comments but harry totally deserves happiness and a family
31* Drunken Confessions, Drunkenness Link drunk
32* Ron Weasley is a Good Friend, Hermione Granger is a Good Friend Link we stan good friends
33* Epistolary, Letters Link letters
34* LGBTQ Themes, LGBTQ Character Link
35* Advent Calendar, Community: hd_seasons Link
36* Draco Malfoy Loves Harry Potter, Harry Potter Loves Draco Malfoy Link these tags (together) make me happy
37* Creature Harry Potter, Creature Draco Malfoy Link not sure why this is separate from creature inheritance


Gen tag network

Modularity = .390

Full network

Link

Networks by Louvain group

Asterisks* denote a network with 5 or less nodes.

Example tags Link to network Comments
1 Harry Potter Epilogue What Epilogue | EWE, Established Relationship, Domestic Fluff, Post-Hogwarts, Light Angst Link non canon compliance, post-war?
2 Humor, Romance, One Shot, Drama, Mpreg Link general story themes?
3 Hogwarts Eighth Year, First Kiss, Draco Malfoy Redemption, Getting Together, Secret Relationship Link post-war getting together
4 Angst, Hurt/Comfort, Hogwarts Sixth Year, Character Death, Unrequited Love Link pain and hurt
5 Drarry, Drabble, Short & Sweet, Don’t copy to another site, Drarry Discord Writers Corner Drabble Challenge Link soft drabbles
6 Christmas, Christmas Fluff, 25 Days of Harry and Draco, Mistletoe, Snow Link christmas
7 POV Harry Potter, POV Draco Malfoy, Ficlet, Good Draco Malfoy, Facebook: The Pen15 is Mightier Link not too sure about this one
8 Friendship, Crack, Inspired By Tumblr, Crack Treated Seriously, Wordcount: 100-500 Link crack
9 Fanart, Comic, Art, Digital Art, H/D Erised 2020 Link fanart
10 Auror Partners, Auror Draco Malfoy, Healer Draco Malfoy, Auror Harry Potter, St Mungo’s Hospital Link auror/healer careers
11* Cute, Happy Ending, Happy, Funny, Love Link fluff tags
12* Podfic, Audio Format: MP3, Audio Format: Streaming, Podfic Length: 0-10 Minutes, Podfic & Podficced Works Link podfics
13* Boys In Love, 100 Ways to Say I Love You Writing Challenge, So Married, Boys Kissing Link more fluff tags?
14* Enemies to Friends to Lovers, Friends to Lovers, Enemies to Friends, Enemies to Lovers Link enemy canon to lover fanon
15* Gay Draco Malfoy, Gay Harry Potter, Bisexual Harry Potter Link sexuality
16* Alternate Universe – Modern Setting, Alternate Universe – Muggle, Alternate Universe – Non-Magical Link muggle AU
17* Soulmate-Identifying Marks, Alternate Universe – Soulmates, Soulmates Link soulmates AU
18* Yule Ball (Harry Potter), Dancing, Hogwarts Fourth Year Link fourth year
19* Podfic Welcome, Microfic, Tumblr: drarrymicrofic Link
20* Community: hd_seasons, Advent Calendar Link
21* Married Couple, Community: slythindor100 Link
22* Valentine’s Day, Valentine’s Day Fluff Link valentine’s
23* Family Fluff, Family Feels Link family
24* Book 4: Harry Potter and the Goblet of Fire, Triwizard Tournament Link triwizard
25* Love Confessions, Declarations of Love Link love confessions
26* Mutual Pining, Pining Link pining
27* Professor Draco Malfoy, Professor Harry Potter Link boys as profs
28* New Year’s Eve, New Year’s Kiss Link new year’s
29* Halloween, Halloween Costumes Link halloween
30* Old Fic, reposted Link reposting old stuff
31* Slytherin, Gryffindor Link
32* Remus Lupin Lives, Sirius Black Lives Link


Conclusion

The results in the end were rather coarse. But across the ratings, we do see the common themes which pop up in many Drarry fics clustering somewhat together. To name a couple: immediate post-war redemptions/getting together, post-Hogwarts fumbling to find their way together, canon-divergence/EWE AUs, muggle AUs, mpreg, the ‘good’ side actually being manipulative, creature inheritance, season/holiday fics, dark Harry, mental health/abuse, soulmate AUs, professors Harry/Draco, genderbending.

For each of the ratings, we also see some slightly more specific to them:
1) In explicit, we see dirty talk/rough sex, BDSM, A/B/O, threesomes, torture, and more specific descriptions of bottom/top Harry/Draco.
2) In mature, we also see A/B/O, and a group specifically for mental health issues.
3) In teen fics, there’re groups for the Yule Ball specifically, letters, and drunken confessions.
4) Multiple groups in gen fic overall appear to characterise the rating as having a fair amount of fluff, humour, and softness.

There are still many other things that intrigue me about the tropes in Drarry – and which I hope to be able to explore (but am still unsure of at the moment; mainly because I’m still thinking about how/if it is possible). Things like how do tropes evolve over time, how do some tropes arise from others, how to catch the patterning of the rise/fall of popularity of tropes, and how to ‘retrieve’ tropes from the fic text itself to get a more granular view of what I’ve tried to do here. 47k+ fics is not completely unreasonable to (very slowly) scrape and test these ideas but for now, I’ll be returning to work on AO3’s tag data dump first.