CivArchive
    ← All articles
    Published November 21, 2026by tboilettrauma

    CAME vs AdamW8bit on Illustrious XL: Character LoRAs Compared at Equal Training Time

    25 views0 reactions0 comments on CivitAI0 collected

    When I retrained my Mariabelle Rosso LoRA on a slightly revised dataset, I also switched from CAME to AdamW8bit. The training loss looked about the same, and AdamW8bit was getting through roughly 1.5 times as many steps per minute. At step 470 I could barely recognize Mariabelle in the samples. To check what had happened, I ran CAME on the revised dataset and AdamW8bit on the original one. That let me compare the two optimizers on each version of the data. The choice of optimizer made a visible difference on Mariabelle. Would I see it on other characters too?

    I ran shorter tests on Alya Kujou and Suzune Horikita to find out. For each character I kept the training images and captions fixed and compared both optimizers at a learning rate (LR) of 1e-4 on the same RTX 4060. I also tried AdamW8bit at 3e-4 and CAME at 5e-5 to see how much the LR changed the early samples. To save time, I sampled these runs after five and ten minutes of training. The Mariabelle images later in the article come from a separate comparison at about 19 minutes.

    The five-column grids show base model, AdamW8bit 1e-4, AdamW8bit 3e-4, CAME 1e-4, CAME 5e-5, from left to right.

    Alya Kujou

    I trained on 82 captioned images. The captions include four outfit triggers. Training dataset

    Alya in a hoodie at five minutes

    Open full-resolution PNG

    Green hoodie · 5 min · seed 731

    Every column got the green hoodie right. The prompt gave no hair or eye color. On seed 731, look above the collar. At 1e-4, AdamW8bit had completed 147 steps and still gave the girl dark reddish hair, much like the base model. CAME had completed 77 steps and already gave her much paler, pinkish-silver hair and a visible blue eye.

    The two CAME columns show why the loss was easy to misread. Both had reached step 77, and their mean losses over the last 40 batches were 0.07443 and 0.07429. At the lower LR the eye was already blue, but the hair was still dark red.

    The same scene at ten minutes

    Open full-resolution PNG

    Same hoodie prompt · 10 min · seed 731

    By ten minutes, both AdamW8bit columns show lighter hair on the same prompt and seed. The change is especially clear at 1e-4. CAME reached that look earlier on this scene. Its ten-minute 1e-4 sample has closed eyes, so hair color is the feature we can compare across both snapshots.

    Alya without a ribbon prompt

    Open full-resolution PNG

    Portrait with no ribbon specified · 10 min · seed 42

    Both CAME versions produced a red side ribbon on seed 42, although the portrait prompt never mentioned one. AdamW8bit 3e-4 had drawn ribbons on both sides at five minutes. By ten minutes both were gone. Five-minute portrait

    Seed 42 gave me the idea for the count. On seven additional seeds, CAME 1e-4 showed a clear red side ribbon on three (509, 1009 and 2027). On seed 211 a bow hangs below the ear and the attachment is unclear, so I left it out. AdamW8bit 3e-4 and CAME 5e-5 each showed one clear ribbon, both on seed 509. AdamW8bit 1e-4 showed none. I counted a visible ribbon on either side of the head. A tight crop can hide it entirely. Alya reference · Seed 509 · Ambiguous bow · Tight crop

    A green ribbon for Alya on two base models

    Open full-resolution PNG

    Green ribbon requested on IL and WAI · 10 min · seed 42

    I changed the side ribbon from red to green in the prompt. The top row uses Illustrious XL v0.1 and the bottom row uses WAI Illustrious SDXL v160. Both use the same ten-minute adapters. On IL, CAME 1e-4 kept the side ribbon red. Adam 3e-4 and CAME 5e-5 added a green bow on top while keeping the red one at the side. On WAI, the same CAME 1e-4 adapter turned the side ribbon itself green. On seed 731, both CAME versions recolored it on IL, while Adam 3e-4 left it red and tinted the hair green. Original red-ribbon prompt · Green ribbon, seed 731

    Suzune Horikita

    I trained on 36 captioned images. Training dataset

    Suzune in her school uniform

    Open full-resolution PNG

    Suzune’s reference outfit has a burgundy blazer with gold piping, a navy collar bow and a narrow braid beneath a white hair ribbon. On seed 42, AdamW8bit 3e-4 captured the braid but gave her a red collar bow. CAME 1e-4 drew the navy bow on both school-uniform seeds without a color prompt. All four missed the complete burgundy blazer outfit on both seeds. For the eyes, I personally preferred Adam 3e-4 and CAME 5e-5 on Suzune. Uniform reference · Braid close-up

    Suzune on WAI and changing her bow color

    Open full-resolution PNG

    On seed 731, switching to WAI also gave AdamW8bit 3e-4 and CAME 5e-5 a blue collar bow. On seed 42, CAME 1e-4 was the only adapter that drew it blue on both bases. Those prompts asked for a school uniform and left the colors open.

    With an explicit color request on the original IL base, all four adapters drew a blue bow when asked for blue and a yellow bow when asked for yellow, on both seeds. The base model followed both colors too. What CAME 1e-4 added on these uniform prompts was the navy bow without being asked for its color. Blue on request · Yellow, same seed

    Mariabelle Rosso

    I trained on 20 images, including two-character scenes and close-ups of the outfit. Both runs used Illustrious XL v0.1, a U-Net LoRA with rank 8 and alpha 4, 1024 px buckets and batch 3. AdamW8bit and CAME both used LR 1e-4 with 35 warmup steps and a 705-step cosine schedule.

    Mariabelle’s brooch and hair color

    Open full-resolution PNG

    The three columns show base IL, AdamW8bit 1e-4 at step 282 and CAME 1e-4 at step 188. I selected these two intermediate checkpoints because each represented about 19 minutes of training. The prompt named Mariabelle and left hair and eye color unspecified. On seed 42 both missed the blonde hair, but CAME drew a pale flower on a black bow, echoing the shape and placement of her brooch. In the green hoodie on seed 731, CAME kept her long blonde hair and Adam gave her short red hair. For a solo outfit prompt, switching to WAI helped CAME reproduce the hair, pale capelet and brooch together. Reference · Green hoodie · Outfit on IL · On WAI

    Mariabelle beside a second character

    Open full-resolution PNG

    The prompt placed Mariabelle on the right and a red-haired girl in a plain blue shirt on the left. CAME put a blonde girl in burgundy on the requested side, but cape-like details also appeared on the blue clothing. When I asked for Mariabelle on the left, the blue outfit stayed on the left and the burgundy stayed on the right. CAME gave both girls reddish hair. The successful brooch in the solo portrait tells us little about who gets the outfit when two characters share a frame. Same seed, Mariabelle on the left

    Conclusions

    Switching optimizers changed how much of the character I could see at the same LR and elapsed time. The clearest example was Alya in the hoodie. AdamW8bit 1e-4 had taken almost twice as many steps by minute five, yet CAME 1e-4 was already closer to her reference hair and eye color. Raising AdamW8bit to 3e-4 made a visible difference early on. On Suzune it picked up the side braid on seed 42, while CAME 1e-4 picked up the navy collar bow.

    If I switch optimizers again, I'll keep an early checkpoint and rerun the same portrait and outfit-change prompts before committing to the recipe. On Alya, the loss gave me little reason to distinguish the two CAME runs at step 77. The hoodie samples did. I'd also keep the five-minute portrait. By ten minutes, one of the adapters had already lost a detail it drew earlier.

    There was one training seed per recipe, both follow-up datasets were prepared by the same creator, and the WAI scenes were selected after inspecting the IL outputs. These runs show what was visible by each checkpoint on this GPU. They leave open how early within each interval a feature emerged and how the 768 results would transfer to training at 1024.

    Technical appendix

    The original observation came from a 20-image dataset for Mariabelle Rosso, including two-character scenes and close-ups of her outfit. For the follow-up I used two publicly available captioned datasets from the same creator, with 36 images of Suzune Horikita and 82 of Alya Kujou. Alya's dataset includes four outfit triggers. Both optimizers got the same images and captions for each character. Suzune dataset · Alya dataset

    For Alya and Suzune I trained eight standard LoRAs from scratch on Illustrious XL v0.1. All eight used U-Net-only training, rank 8, alpha 4, a 768-pixel target resolution with aspect-ratio bucketing, batch size 1, and training seed 1729. The frozen base used FP8 with BF16 mixed-precision training. I compared the optimizers at the same LR of 1e-4, then gave AdamW8bit a higher LR of 3e-4 and CAME a lower LR of 5e-5. All four recipes used a constant LR, zero warmup, and weight decay of 0.02. The implementations were bitsandbytes AdamW8bit and LoraEasyCustomOptimizer.came.CAME. Training configs and generation workflows

    For these eight runs I saved the first completed step past five and ten minutes of training, excluding model loading, latent caching, and checkpoint writes. Each row compares the same prompt and generation seed across optimizers. Inference used LoRA strength 1.0, Euler, 22 steps, CFG 5, and 768 × 960 output. Each PNG preserves the original resolution so you can inspect faces and accessories. Download the comparison gallery

    Training resolution differed between the two series. The Suzune and Alya runs targeted a 768 × 768 bucket area (up to 0.590 megapixels). Their actual image areas averaged 0.529 and 0.491 megapixels respectively. Mariabelle used 1024 × 1024 buckets, averaging 0.923 megapixels with repeats included. Each within-character optimizer comparison used identical buckets. The fine-detail observations for Suzune and Alya apply to the 768 runs.

    Steps and loss at ten minutes

    Loss is the mean over the last 40 logged batches. At equal wall time the faster optimizer has seen more examples, so these averages cover different batches. The final column gives the Frobenius norm of the effective LoRA update at inference strength 1.0.

    Ten-minute training results for Suzune and Alya

    Open full-resolution table

    At matching steps, the Pearson correlation between the 40-step moving-average loss curves for the two LRs within each optimizer ranged from 0.9989 to nearly 1.0. The runs shared a seed and data order, and successive windows overlapped. Loss curves · Checkpoint measurements · Per-batch loss

    Where the weights moved

    For each of the 722 U-Net modules, I used the effective weight update ΔW = (alpha / rank) × up @ down. To get one number per checkpoint, I summed the squares of all entries across all 722 updates and took the square root. At the shared LR of 1e-4, CAME's ten-minute update norm was 10.27× as large for Suzune and 9.82× for Alya. Tripling AdamW8bit's LR brought both ratios down to about four.

    Could a change in inference strength reproduce the same weight update? Increasing inference strength scales the update while preserving its direction. For Suzune, cosine similarity between the two full updates was 0.125 at the shared LR. Raising AdamW8bit's training LR to 3e-4 moved that to 0.127. The two AdamW8bit runs were more similar to each other at 0.641. For Alya, the shared-LR AdamW8bit–CAME cosine was 0.089. These checkpoints learned different update directions. Different directions can still yield visually similar results.

    For both characters, roughly 94–95% of the squared update norm fell in the U-Net's deepest spatial stage. At the shared LR, output blocks 0–2 accounted for 64% of the total for Suzune and 72% for Alya under AdamW8bit. CAME allocated 47% and 46% to the same output blocks. Its corresponding shares for input blocks 7–8 plus the middle block were 48% and 49%. The measurements locate changes in the weights. Assigning Suzune's braid or bow to a particular block would take a separate experiment.

    Mariabelle showed the same trend over a longer time window. AdamW8bit reached step 282 in 18:50 with an update norm of 3.60. CAME reached step 188 in 18:31 with a norm of 31.90. Both used 1e-4, a cosine schedule with a 705-step horizon, and 35 warmup steps. The runs stopped at 470 and 400 steps respectively, and their LR schedules matched at equal step numbers. As a cross-check, cosine similarity at step 376 for both runs was 0.249, close to 0.246 for the wall-time-matched pair.

    Attachments

    Archived from CivitAI · Updated November 21, 2026View source