Digitala Vetenskapliga Arkivet

Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Recollection of censored faces using modern Hopfield networks
KTH, School of Electrical Engineering and Computer Science (EECS).
KTH, School of Electrical Engineering and Computer Science (EECS).
2025 (English)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE creditsStudent thesisAlternative title
Återkallande av censurerade ansikten med hjälp av moderna Hopfield-nätverk (Swedish)
Abstract [en]

Hopfield networks are a long-standing machine-learning architecture, first presented in 1982 in the paper "Neural networks and physical systems with emergent collective computational abilities" by John J. Hopfield. Underpinning this specific architecture is the idea of associative memory, the ability of a system or model to recall patterns based upon the content or data in the item, as opposed to indexed memory, as one would be accustomed to seeing in computers. The practical upshot of associative memory is that models that leverage it can receive data that are noisy, corrupted, obfuscated, or otherwise incomplete and recall the pattern that is closest in memory. In Hopfield networks, this ability has been utilized in a variety of different circumstances. This paper explores leveraging this ability to reconstruct incomplete data to essentially match censored faces with their uncensored counterparts, effectively identifying them. However, due to the fundamental limitations of classical Hopfield networks, we elected to use modern Hopfield networks (MHN) that allow for continuous input patterns and exponential storage capacity. We found that MHNs are capable of matching censored faces to the correct corresponding uncensored face in the network, although the dataset in question, as well as the number of images in the network, vastly affect the accuracy of the model. We then compared this to classical Hopfield networks and found that the modern equivalent had a significantly better recall rate. We also found that censoring the images had little effect on the recall rate of the MHN.

Abstract [sv]

Hopfield-nätverk är en sedan länge etablerad arkitektur för maskininlärning, som först presenterades 1982 i artikeln “Neural networks and physical systems with emergent collective computational abilities” av John J. Hopfield. Grunden för denna specifika arkitektur är idén om associativt minne, det vill säga ett systems eller en modells förmåga att återkalla mönster baserat på innehållet eller data i objektet, till skillnad från indexerad minne, som man är van vid att se i datorer. Det praktiska resultatet av associativt minne är att modeller som utnyttjar det kan ta emot data som är brusiga, korrupta, förvrängda eller på annat sätt ofullständiga och återkalla det mönster som ligger närmast i minnet. I Hopfield-nätverk har denna förmåga utnyttjats i en rad olika sammanhang. Denna artikel undersöker hur man kan utnyttja denna förmåga att rekonstruera ofullständiga data för att i huvudsak matcha censurerade ansikten med deras ocensurerade motsvarigheter och därmed effektivt identifiera dem. På grund av de grundläggande begränsningarna hos klassiska Hopfield-nätverk valde vi dock att använda moderna Hopfield-nätverk (MHN) som möjliggör kontinuerliga inmatningsmönster och exponentiell lagringskapacitet. Vi fann att MHN kan matcha censurerade ansikten med rätt motsvarande ocensurerade ansikten i nätverket, även om datamängden och antalet bilder i nätverket påverkar modellens noggrannhet avsevärt. Vi jämförde sedan detta med klassiska Hopfield-nätverk och fann att den moderna motsvarigheten hade en betydligt bättre återhämtningsgrad. Vi fann även att censurering av bilderna hade lite en mycket liten effekt på återhämtningsgraden för MHN.

Place, publisher, year, edition, pages
2025. , p. 23
Series
TRITA-EECS-EX ; 2025:301
National Category
Computer and Information Sciences
Identifiers
URN: urn:nbn:se:kth:diva-367637OAI: oai:DiVA.org:kth-367637DiVA, id: diva2:1985706
Supervisors
Examiners
Available from: 2025-08-05 Created: 2025-07-27 Last updated: 2025-08-05Bibliographically approved

Open Access in DiVA

fulltext(706 kB)176 downloads
File information
File name FULLTEXT01.pdfFile size 706 kBChecksum SHA-512
2a76de308f9566d7044b762308d15bd7a4d7a26f35a1811c9b784e1c0b16d3e103737623cb2e0fb318fd45eb1497bc51b3350027ae6ea5b78256fae787a398d5
Type fulltextMimetype application/pdf

By organisation
School of Electrical Engineering and Computer Science (EECS)
Computer and Information Sciences

Search outside of DiVA

GoogleGoogle Scholar
Total: 178 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 479 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf