Read The Sonnet Co-Authored By Shakespeare, An MIT PhD Student & A Machine-Learning Algorithm

Comment

[Image of authoring interface by natematias]

Machine-learning as a technology is, without doubt, the force that will be shaping our digital world for years and years to come, making it smarter and more autonomous, and sometimes taking our breath away in the process with its apparent agency.

This branch of artificial intelligence is already doing that now, whether as the special sauce behind Nest, the company just acquired by Google for $3.2 billion, or the core of a non-profit startup project attempting to create a better HIV vaccine.

The basic premise is this: feed a machine-learning algorithm with particular data-set and its predictive powers can become startling.

Happily, humans aren’t excluded from this process. Machine learning remains a collaboration between man and machine — with the input of each enhancing and extending the other’s powers. So these algorithmic overlords don’t look like the type that want to harvest us for our organs. Unless you count harvesting the human brain’s ability to make decisions and process selections.

Below is just one example of machine-learning technology that has the power to startle and delight — not least because it involves a (posthumous) collaboration with the greatest writer in the English language: William Shakespeare, to create a new sonnet in the Shakespearean style.

Also involved: U.K. startup SwiftKey‘s machine-learning powered word prediction engine. And a living human mind with an ear for poetry.

How was the new sonnet composed? SwiftKey’s engine was trained on the sonnets of Shakespeare, and one of its early staff members, J Nathan Matias — now doing a PhD at MIT Media Lab — wrote a new sonnet choosing words purely from the next-word suggestions generated by the algorithm.

SwiftKey’s keyboard software can normally be found helping (mostly) Android mobile users type faster by learning their slang, syntax and writing style — and applying that learning to populate tailored three next-word predictions. Give the SwiftKey keyboard enough time to get to know how you write and, provided your writing is not akin to James Joycean streams of consciousness, the algorithm will quickly get very good at guessing what next few words you’re likely reaching for.

But — fed with a particular data-set, and with the addition of a poetically minded human agent — this machine-learning engine can evidently be applied as a creative writing tool capable of creating pastiche writings in the style of the author whose original works you first fed to it.

As well as using SwiftKey’s engine, Matias also built a visual authoring interface (pictured above visualising word suggestions in the style of metaphysical poet John Donne) that extends the core machine-learning technology to specifically aid poetry creation. He called this project ‘Swift-Speare‘: aka a set of statistical experiments in “machine-learning-assisted poetry composition”.

“To write good poetry, I needed to know more than what words might come next. I needed to anticipate future predictions — what predictions would be made later if I choose this word over that? So I created this touchscreen interface to visualize future predictions for poetry writing,” Matias tells TechCrunch.

The result? Multiple new works  (co-)created in the style of various authors — including the following ‘Shakespearean’ sonnet (which depicts a scorned lover struggling with the disconnect between his ongoing love for the outward appearance of the object of his desire, with the knowledge of rejection/betrayal that belies this surface beauty):

When I in dreams behold thy fairest shade

Whose shade in dreams doth wake the sleeping morn

The daytime shadow of my love betray’d

Lends hideous night to dreaming’s faded form

Were painted frowns to gild mere false rebuff

Then shoulds’t my heart be patient as the sands

For nature’s smile is ornament enough

When thy gold lips unloose their drooping bands

As clouds occlude the globe’s enshrouded fears

Which can by no astron’my be assail’d

Thus, thyne appearance tears in atmospheres

No fond perceptions nor no gaze unveils

Disperse the clouds which banish light from thee

For no tears be true, until we truly see

The work has no single author. It’s a collaboration whose only living human agent, the aforementioned Matias, also now a fellow at the Berkman Center for Internet and Society, at Harvard University — whose mind was responsible for the final word selections, and thus also for assembling (and dissembling) the poem’s core meaning — describes as requiring an acknowledged role for each of its different agents (i.e. both human and machine).

“The idea of the author is a well known myth within writing and publishing. Just like startups that promote the myth of the genius founder, we reward individuals for collective projects,” Matias tells TechCrunch, when I ask what sort of authorial ratio he would assign to the work.

“The economic and social impact on people’s lives is a core motivation of my work at the Media Lab and the Berkman Center. Together with my collaborators, I’ve been doing large scale data analysis and experiments to measure and change women’s visibility in online media. I’m also trying to change how we acknowledge creativity online.”

“There are two related issues in your question,” he continues. “Who do I acknowledge and who holds copyright. I personally acknowledge all of us. Just like John Kani and Winston Ntshona get recognition with Athol Fugard for the plays they brainstormed together, I think that all three of us should be acknowledged. I tend to avoid ratios and talk instead about roles. Shakespeare supplied material for inspiration, SwiftKey clustered it, making suggestions. I made the final choices and arrangement.”

Matias concedes that copyright is a “trickier” question — owing to another disconnect between this type of co-creation — and more broadly between language as a shared communication medium rich with intentional and subconscious linguistic resonances echoing down through the ages vs the rigidity of the legal system.

“Bots already hold copyright and legally serve people for copyright infringement. According to Tim Hwang of Robot Robot & Hwang, copyright and patent trolls sometimes use algorithmically generated shell companies to pursue these claims and minimise risk to themselves. Tim, who’s one of the fellows at the new data & society research institute, is trying to map out these bots and figure out ways that the legal system can account for and respond to them,” he says.

“Even inside our heads, we write with other people’s words in mind,” he adds. “‘Words belong to each other,’ says Virginia Woolf in the only surviving recording of her voice. She once said that she couldn’t think of the phrase ‘multitudinous’ without also thinking of Shakespeare’s Macbeth, who wonders if trying to wash his hands of guilt might make ‘the multitudinous seas incarnadine.’ (Maria Popova has posted this clip to SoundCloud).”

On the flip side of Matias’ algorithmically aided poetry, are bots and algorithms that search for found poetry online.

“Now that we have large amounts of human text available on the Internet, we’re also seeing search bots that try to find poetry in large datasets. The Times Haiku finds haikus in New York Times text, and the Pentametron finds iambic pentameter in tweet text,” he points out, adding: “Algorithms that search for poetry are the reverse of my work — they’re looking among ordinary text for unexpected poetry that has already been written.

“My work with Swift-speare looks among existing poems for probable poetry that has not yet been written.”

Matias says he is currently collaborating on a “stealth art project” that involves another area of computer-assisted creativity known as “human computation”.

“Human computation is a third area of computer assisted creativity. Michael Bernstein at Stanford has pioneered a kind of writing that asks humans to perform writing tasks that we might ordinarily ask an algorithm. It’s a fascinating area,” he adds.

Does Matias believe an algorithm could ever become a poet in its own right? Meaning without any human agent involved in word selections, and without taking a brute force approach to composition — i.e. by writing infinite numbers of poems to stumble, by accident, upon a few good ones?

“I think I’ll see a successful automated poet in my lifetime. It won’t be easy: a poet is more than someone who makes poetry. Yet that doesn’t rule out algorithms,” he says. “It’s true that Western audiences want the stories of writers as much as we want their work. Especially at a time when readings are such an important part of poetry, it would be difficult for an algorithm alone to do everything.

“But people were disappointed when they learned that @horse_ebooks wasn’t a bot, and Hatsune Miku is popular in Japan despite being a humanoid persona in front of a voice synthesizer.”

As for machines taking the “sweating labour” route to composing poems — writing everything and letting people pick the poems they like — well, why not, argues Matias. Arrange enough words, and some of those configurations will resonate with someone, somewhere.

“This is the Internet; why not generate all the possible poems and see what turns out to be popular? This is how some of the online t-shirt sellers work. When it doesn’t land them into trouble, it seems to work well. Why not poetry?”

[Sonnet reproduced with kind permission of J Nathan Matias, SwiftKey — and, well, we couldn’t ask William Shakespeare but we hope he would approve]

More TechCrunch

Line Man Wongnai, an on-demand food delivery service in Thailand, is considering an initial public offering on a Thai exchange or the U.S. in 2025.

Thai food delivery app Line Man Wongnai weighs IPO in Thailand, US in 2025

The problem is not the media, but the message.

Apple’s ‘Crush’ ad is disgusting

Ever wonder why conversational AI like ChatGPT says “Sorry, I can’t do that” or some other polite refusal? OpenAI is offering a limited look at the reasoning behind its own…

OpenAI offers a peek behind the curtain of its AI’s secret instructions

The federal government agency responsible for granting patents and trademarks is alerting thousands of filers whose private addresses were exposed following a second data spill in as many years. The…

US Patent and Trademark Office confirms another leak of filers’ address data

As part of an investigation into people involved in the pro-independence movement in Catalonia, the Spanish police obtained information from the encrypted services Wire and Proton, which helped the authorities…

Encrypted services Apple, Proton and Wire helped Spanish police identify activist

Match Group, the company that owns several dating apps, including Tinder and Hinge, released its first-quarter earnings report on Tuesday, which shows that Tinder’s paying user base has decreased for…

Match looks to Hinge as Tinder fails

Private social networking is making a comeback. Gratitude Plus, a startup that aims to shift social media in a more positive direction, is expanding its wellness-focused, personal reflections journal to…

Gratitude Plus makes social networking positive, private and personal

With venture totals slipping year-over-year in key markets like the United States, and concern that venture firms themselves are struggling to raise more capital, founders might be worried. After all,…

Can AI help founders fundraise more quickly and easily?

Google has found a way to bring a variation of its clever “Circle to Search” gesture to iPhone users. The new interaction, launched in January, allows Android users to search…

Google brings a variation on ‘Circle to Search’ to iPhone users

A new sculpture going live on Wednesday in the Flatiron South Public Plaza in New York is not your typical artwork. It combines technology, sociology, anthropology and art to let…

Always-on video portal lets people in NYC and Dublin interact in real time

Apple’s iPad event had a lot to like. New iPads with new chips and new sizes, a new Apple Pencil, and even some software updates. If you are a big…

TechCrunch Minute: When did iPads get as expensive as MacBooks?

Autonomous, AI-based players are coming to a gaming experience near you, and a new startup, Altera, is joining the fray to build this new guard of AI agents. The company announced…

Bye-bye bots: Altera’s game-playing AI agents get backing from Eric Schmidt

Google DeepMind has taken the wraps off a new version of AlphaFold, their transformative machine learning model that predicts the shape and behavior of proteins. AlphaFold 3 is not only…

Google DeepMind debuts huge AlphaFold update and free proteomics-as-a-service web app

Uber plans to deliver more perks to Uber One members, like member-exclusive events, in a bid to gain more revenue through subscriptions.  “You will see more member-exclusives coming up where…

Uber promises member exclusives as Uber One passes $1B run-rate

We’ve all seen them. The inspector with a clipboard, walking around a building, ticking off the last time the fire extinguishers were checked, or if all the lights are working.…

Checkfirst raises $1.5M pre-seed to apply AI to remote inspections and audits

Close to a decade ago, brothers Aviv and Matteo Shapira co-founded a company, Replay, that created a video format for 360-degree replays — the sorts of replays that have become…

Controversial drone company Xtend leans into defense with new $40 million round

Usually, when something starts to rot, it gets pitched in the trash. But Joanne Rodriguez wants to turn the concept of rot on its head by growing fungus on trash…

Mycocycle uses mushrooms to upcycle old tires and construction waste

Monzo has raised another £150 million ($190 million), as the challenger bank looks to expand its presence internationally — particularly in the U.S. The new round comes just two months…

UK challenger bank Monzo nabs another $190M as US expansion beckons

iRobot has announced the successor to longtime CEO, Colin Angle. Gary Cohen, who previous held chief executive role at Timex and Qualitor Automotive, will be heading up the company, marking a major…

iRobot names former Timex head Gary Cohen as CEO

Reddit — now a publicly-traded company with more scrutiny on revenue growth — is putting a big focus on boosting its international audience, starting with francophones. In their first-ever earnings…

Reddit tests automatic, whole-site translation into French using LLM-based AI

Mushrooms continue to be a big area for alternative proteins. Canada-based Maia Farms recently raised $1.7 million to develop a blend of mushroom and plant-based protein using biomass fermentation. There’s…

Meati Foods bites into another $100M amid growth to 7,000 retail locations

Cleaning the outside of buildings is a dirty job, and it’s also dangerous. Lucid Bots came on the scene in 2018 with its Sherpa line of drones to clean windows…

Lucid Bots secures $9M for drones to clean more than your windows

High interest rates and financial pressures make it more important than ever for finance teams to have a better handle on their cash flow, and several startups are hoping to…

Israeli startup Panax raises a $10M Series A for its AI-driven cash flow management platform

The European Union has deepened the investigation of Elon Musk-owned social network, X, that it opened back in December under the bloc’s online governance and content moderation rulebook, the Digital Services Act…

EU grills Elon Musk’s X about content moderation and deepfake risks

For the founders of Atlan, a data governance startup, data has always been at the heart of what they do, even before they launched the company. In fact, co-founders Prukalpa…

Atlan scores $105M for its data control plane, as LLMs boost importance of data

It is estimated that about 2 billion people, especially those in lower and middle-income countries, lack access to quality and affordable essential medicines. The situation is exacerbated by low-quality or even killer…

Axmed raises $2M from Founderful to streamline drug supply chains in underserved markets

For decades, the Global Positioning System (GPS) has maintained a de facto monopoly on positioning, navigation and timing, because it’s cheap and already integrated into billions of devices around the…

Xona Space Systems closes $19M Series A to build out ultra-accurate GPS alternative

Bankruptcy lawyers representing customers impacted by the dramatic crash of cryptocurrency exchange FTX 17 months ago say that the vast majority of victims will receive their money back — plus interest. The…

FTX crypto fraud victims to get their money back — plus interest

On Wednesday, Google launched its digital wallet in India with local integrations, nearly two years after the app was relaunched as a digital wallet platform in the U.S. As TechCrunch exclusively reported last month,…

Google Wallet is now available in India

Bluesky has launched a new product roadmap for the coming months. The decentralized social network said on Tuesday that it is planning to introduce direct messages, support for videos, improved…

Bluesky to add DMs, video support and in-app custom feed curation