From Concept Erasure to Style Purification: Contrastive Eigenbases for Artist Style Protection
Organizations: Beijing University of Posts and Telecommunications, School of Cyberspace Security, Beijing, 100876
Abstract
Text-to-image diffusion models can reproduce specific artists visual styles at extremely low cost, raising copyright and deployment safety concerns about unauthorized style mimicry. Existing model-side protection methods generally follow ordinary concept erasure, emphasizing aggressive deletion or redirection of target styles. However, our causal intervention analysis shows that the central issue is not insufficient erasure strength, but a mismatch between artist styles and this paradigm: unlike ordinary object concepts, artist styles do not form compact, localized editable semantic units. Consequently, sparse editing and fixed retain lists struggle to suppress target styles while preserving generation utility. We therefore reformulate artist style protection as style purification, suppressing target style expression during inference while preserving the requested content and visual structure. We propose CAPE (Contrastive Artist Style Purification with Eigenbases), a training-free framework against artist style mimicry. CAPE constructs contrastive triplets around the target request and formulates style direction estimation as a generalized eigenvalue problem, capturing style-related directions that remain stable across content variations and are less affected by shared content. During inference, CAPE employs the Adaptive Suppression Controller to assign suppression strengths to different tokens based on Q, K, and V responses, and performs target style suppression on the K and V paths of self-attention. Experimental results show that CAPE effectively weakens target artist characteristics, including brushstrokes, textures, and local color processing, while better preserving major semantic entities, scene composition, and visual structures.
Figures & tables
| Metric | Artist style | Object | Celebrity |
| 0.702 | 0.635 | 0.229 | |
| 0.209 | 0.262 | 0.724 | |
| 0.484 | 0.539 | 0.836 | |
| 0.658 | 0.700 | 0.893 |
| Metric | ||||
| Style | Object | Style | Object | |
| 0.345 | 0.394 | 0.343 | 0.407 | |
| 0.325 | 0.294 | 0.337 | 0.274 | |
| 0.370 | 0.465 | 0.365 | 0.480 | |
| 0.323 | 0.248 | 0.328 | 0.233 | |
| Method | CLIP Acc | ||||
| SPEED [ 15 ] | 0.0566 | 0.0485 | 0.1368 | 2.55 | 0.9587 |
| ESD-u [ 8 ] | 0.1148 | 0.0747 | 0.2346 | 2.67 | 0.9365 |
| ESD-x [ 8 ] | 0.0971 | 0.1005 | 0.3657 | 4.30 | 0.9341 |
| FMN [ 35 ] | 0.0871 | 0.0653 | 0.1790 | 2.65 | 0.9675 |
| MACE [ 16 ] | 0.1077 | 0.0907 | 0.2744 | 4.88 | 0.9730 |
| P2P [ 12 ] | 0.0115 | 0.0195 | 0.0596 | 0.66 | 0.9000 |
| Estimation | |||||
| Random | 6.643 | 6.654 | 1.7 | 24.29 | 30.83 |
| Shuffled | 0.955 | 0.956 | 1.9 | 24.08 | 30.59 |
| AP-only | 10.164 | 10.181 | 2.6 | 23.38 | 31.28 |
| Swap | 10.152 | 10.174 | 2.6 | 23.41 | 31.12 |
| Triplet | 10.157 | 10.170 | 2.7 | 23.36 | 31.19 |
| Metric | |||||
| only_K | 0.631 | 0.200 | -0.027 | 29.52 | 26.41 |
| only_V | 0.649 | 0.239 | -0.013 | 29.31 | 26.91 |
| only_Q | 0.592 | 0.177 | -0.012 | 29.73 | 26.22 |
| w/o Sigmoid | 0.591 | 0.154 | 0.001 | 30.40 | 26.69 |
| Ours | 0.664 | 0.251 | -0.043 | 28.79 | 27.24 |
| Selected patches | ||
| Top 20% | 28.78 | 29.76 |
| Random 20% | 29.13 | 29.56 |
| Bottom 20% | 29.29 | 29.34 |
| Pathway | SSIM | ||||||
| Q | 0.3709 | 0.0600 | 32.42 | 0.0244 | 32.95 | 0.8402 | 0.6425 |
| K | 0.3792 | 0.0553 | 32.47 | 0.0203 | 32.61 | 0.8331 | 0.6164 |
| V | 0.4426 | 0.1059 | 31.33 | 0.0565 | 32.24 | 0.7408 | 0.5113 |
| QK | 0.4080 | 0.0759 | 31.93 | 0.0347 | 32.45 | 0.8336 | 0.5844 |
| QV | 0.5153 | 0.1473 | 31.56 | 0.0893 | 32.30 | 0.7145 | 0.4743 |
| KV | 0.5280 | 0.1581 | 30.98 | 0.0885 | 31.86 | 0.7194 | 0.4707 |
| Pathway | SSIM | |||
| Q | 0.0620 | 32.14 | 0.7477 | 0.5520 |
| K | 0.0616 | 31.83 | 0.7388 | 0.5059 |
| V | 0.0560 | 32.30 | 0.7492 | 0.5122 |
| QK | 0.0664 | 30.83 | 0.6771 | 0.5021 |
| QV | 0.0707 | 32.26 | 0.7641 | 0.5245 |
| KV | 0.0520 | 32.36 | 0.7890 | 0.5398 |
| Method | Offline E2E (s) | Offline VRAM (MiB) | Inference (s/img) | Inference VRAM (MiB) |
| SD1.4 | – | – | 2.268 | 3272 |
| SPEED [ 15 ] | 56.647 | 17116 | 2.164 | 3272 |
| ESD-u [ 8 ] | 1217.075 | 15423 | 2.131 | 3272 |
| ESD-x [ 8 ] | 897.789 | 10320 | 2.130 | 3272 |
| FMN [ 35 ] | 262.485 | 18838 | 2.145 | 3272 |
| MACE [ 16 ] | 180.005 | 17844 | 2.238 | 3272 |
| Top-k | Bottom-k | Random-k | Random Subspace | |
| 1 | -0.001592 | -0.001611 | -0.001830 | -0.001770 |
| 5 | 0.008412 | 0.005367 | 0.004510 | 0.004044 |
| 10 | 0.012353 | 0.012669 | 0.012005 | 0.012716 |
| 15 | 0.021918 | 0.019880 | 0.018557 | 0.016450 |
| Category | Concept |
| Artist style | Agnes Martin, Albert Bierstadt, Alphonse Mucha, Amedeo Modigliani, Andre Derain, Aubrey Beardsley, Caspar David Friedrich, Chaim Soutine, Clyfford Still, Dali, David Hockney, Dorothea Tanning, Edgar Degas, Edvard Munch, Egon Schiele, El Greco, El Lissitzky, Ernst Ludwig Kirchner, Fernand Leger, Fra Angelico, Francis Bacon, Francis Picabia, Francisco Goya, Franz Kline, Georges Braque, Gerhard Richter, Giorgio de Chirico, Gustave Courbet, Henri Matisse, Henri Rousseau, Henri de Toulouse-Lautrec, Hieronymus Bosch, Hilma af Klint, Jean Arp, Jean-Francois Millet, Jean-Honore Fragonard, Joan Miro, Johannes Vermeer, John Constable, John Everett Millais, Juan Gris, Kandinsky, Kazimir Malevich, Keith Haring, Leonardo da Vinci, Leonora Carrington, Man Ray, Marcel Duchamp, Mary Cassatt, Max Ernst, Monet, Odilon Redon, Paul Cezanne, Paul Gauguin, Paul Klee, Picasso, Piet Mondrian, Pieter Bruegel the Elder, Rembrandt, Remedios Varo, Rene Magritte, Robert Delaunay, Roy Lichtenstein, Sonia Delaunay, Theo van Doesburg, Thomas Gainsborough, Van Gogh, Warhol, William Blake, William-Adolphe Bouguereau, Winslow Homer, Yayoi Kusama, Yves Tanguy |
| Object | Mickey Mouse, Naruto, Spider-Man, airplane, ambulance, apple, backpack, banana, bed, bicycle, bird, boat, book, bottle, bowl, bridge, broccoli, bus, butterfly, cake, camera, car, carrot, castle, cat, chair, clock, clothing, comb, corgi, cup, dog, doughnut, drum, eiffel tower, elephant, fire truck, fish, flower, fork, frog, fruit, garbage truck, giraffe, guitar, hamburger, hammer, hat, helmet, horse, ice cream, knife, lamp, laptop, lemon, lesser panda, machine, mango, motorcycle, orange, pear, phone, piano, pineapple, pizza, plate, pyramid, rabbit, rose, sandwich, saxophone, scissors, screwdriver, shark, shoe, snake, sneakers, sofa, spoon, squirrel, statue, strawberry, table, taxi, television, tomato, toothbrush, towel, traffic light, train, tree, truck, trumpet, turtle, umbrella, vegetable, violin, watermelon, wrench, zebra |
| Celebrity | 50 Cent, Aaron Paul, Adam Driver, Adam Sandler, Adele, Al Gore, Al Pacino, Alan Rickman, Alicia Keys, Amy Adams, Angelina Jolie, Anne Hathaway, Ariana Grande, Barack Obama, Ben Affleck, Benedict Cumberbatch, Bernie Sanders, Beyoncé, Bill Clinton, Brad Pitt, Bradley Cooper, Britney Spears, Bruce Willis, Bruno Mars, Bryan Cranston, Cameron Diaz, Celine Dion, Charlize Theron, Chris Evans, Chris Pratt, Christian Bale, Cristiano Ronaldo, David Beckham, David Bowie, Denzel Washington, Donald Trump, Drake, Drew Barrymore, Dua Lipa, Dwayne Johnson, Ed Sheeran, Elon Musk, Elton John, Emma Stone, Emma Watson, George Clooney, Halle Berry, Harrison Ford, Hillary Clinton, Hugh Jackman, Idris Elba, Jack Black, Jack Nicholson, Jackie Chan, Jake Gyllenhaal, Jamie Foxx, Jay Z, Jennifer Aniston, Jennifer Lawrence, Jennifer Lopez, Jim Carrey, Joaquin Phoenix, Joe Biden, Johnny Depp, Julia Roberts, Justin Bieber, Katy Perry, Keanu Reeves, Kevin Hart, Kim Kardashian, Kobe Bryant, Lady Gaga, Leonardo DiCaprio, Lionel Messi, Margot Robbie, Matt Damon, Matthew McConaughey, Miley Cyrus, Morgan Freeman, Natalie Portman, Nicole Kidman, Oprah Winfrey, Reese Witherspoon, Rihanna, Robert Downey Jr, Roger Federer, Sandra Bullock, Scarlett Johansson, Selena Gomez, Serena Williams, Shakira, Sofia Vergara, Stephen Curry, Steve Jobs, Taylor Swift, Vladimir Putin, Whoopi Goldberg, Will Smith, Zendaya, Zoe Saldana |
| Category | target concept | Near 8 | Middle 8 | Far 8 |
| artist | Alphonse Mucha | organic arabesque composition; vintage theatrical poster; symbolist decorative illustration; ornate bookplate design; ornamental art nouveau illustration; flowing botanical linework; decorative belle epoque poster; whiplash curve design | dreamlike religious illustration; spiritual allegorical image; hand-colored visionary print; cosmic poetic scene; symbolic gothic watercolor; visionary romantic illustration; mystical literary watercolor; symbolic biblical drawing | mass-media appropriation art; vivid product illustration; repeated icon composition; retro pop poster; hard-edged popular imagery; pop art screenprint; bold commercial graphic painting; comic-inspired modern artwork |
| Amedeo Modigliani | linear figurative painting; restrained expressionist portrait; simplified seated figure; earth-toned studio portrait; modernist nude study; elongated modernist portrait; simplified sculptural face; muted bohemian portrait painting | organic arabesque composition; vintage theatrical poster; symbolist decorative illustration; ornate bookplate design; ornamental art nouveau illustration; flowing botanical linework; decorative belle epoque poster; whiplash curve design | dynamic color-wheel composition; musical cubist color field; radiant modernist geometry; interlocking spectral disks; abstract urban rhythm; vibrating concentric forms; color-based cubist painting; orphic cubist abstraction | |
| Andre Derain | loose colorful figure painting; radiant decorative landscape; fauvist color painting; vivid non-naturalistic landscape; bold chromatic portrait; high-saturation brushwork; decorative fauvist interior; expressive color-block painting | distorted emotional portrait; agitated brushwork composition; intense psychological landscape; raw chromatic painting; angular urban expressionism; anxious modernist scene; rough impasto portrait; emotionally charged color field | dreamlike religious illustration; spiritual allegorical image; hand-colored visionary print; cosmic poetic scene; symbolic gothic watercolor; visionary romantic illustration; mystical literary watercolor; symbolic biblical drawing | |
| Caspar David Friedrich | misty mountain painting; luminous pastoral landscape; stormy romantic scene; moonlit wilderness painting; heroic natural panorama; poetic rural landscape; cloud-filled coastal painting; picturesque countryside scene | ornate narrative oil painting; poetic Shakespearean scene; crisp decorative realism; pre-raphaelite painting; jewel-toned medieval portrait; highly detailed romantic figure; botanical literary illustration; luminous Victorian narrative scene | orphic cubist abstraction; simultaneous color circles; rhythmic prismatic painting; luminous geometric color; circular chromatic abstraction; dynamic color-wheel composition; musical cubist color field; radiant modernist geometry | |
| Edvard Munch | visceral figurative painting; expressionist figure painting; distorted emotional portrait; agitated brushwork composition; intense psychological landscape; raw chromatic painting; angular urban expressionism; anxious modernist scene | vivid non-naturalistic landscape; bold chromatic portrait; high-saturation brushwork; decorative fauvist interior; expressive color-block painting; bright Mediterranean scene; flat intense color composition; wild-beast modern painting | spiritual abstract painting; mystical geometric symbolism; esoteric color diagram; theosophical abstraction; cosmic circular composition; visionary nonobjective painting; symbolic spectral geometry; meditative abstract cosmology | |
| object | airplane | hot air balloon; drone; seaplane; biplane; airship; fighter jet; cargo plane; paraglider | construction site; airport terminal; harbor; subway station; warehouse; service road; public square; city street | laundry basket; mirror; rug; soap dispenser; vacuum cleaner; iron; doormat; pillow |
| Prompt | Type | ID | Prompt Description |
| P1 | Anchor | A | A still life of several apples beside a ceramic jug on a wooden table, with a folded cloth and a simple wall behind the objects in the style of Vincent van Gogh. |
| Positive | P1 | A bright coastal harbor with small sailboats and a stone quay in the style of Vincent van Gogh. | |
| P2 | A cypress-lined country road leading toward distant hills in the style of Vincent van Gogh. | ||
| P3 | A wheat field beside a small farmhouse under an open sky in the style of Vincent van Gogh. | ||
| P4 | A flowered garden terrace with a table and wicker chairs in the style of Vincent van Gogh. | ||
| P5 | A quiet riverside village with a stone bridge and leafy trees in the style of Vincent van Gogh. |